Learn more about these different git repos.
Other Git URLs
It happens to me often that my browser displays the builder-live.log like this:
/usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
When in fact it should be:
/usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
I believe this is a text encoding problem. Both Firefox and Chromium read it as Windows 1252 and not UTF-8.
The headers sent by the web server are:
Content-Type: text/plain
I wonder whether it can be changed to:
Content-Type: text/plain; charset=utf-8
Thanks
Thanks for the report!
It happens to me often ..
So not always? Can you send a link to a build log which causes the problems?
Metadata Update from @praiskup: - Issue tagged with: ansible
Often - only if there are such characters in the log, most of the logs are ASCII.
Here is a build where it happened: https://copr.fedorainfracloud.org/coprs/g/python/python3.8/build/911174/
When dealing with this issue, we should take a look at https://bugzilla.redhat.com/show_bug.cgi?id=1715085 as well.
Metadata Update from @praiskup: - Issue assigned to praiskup
https://infrastructure.fedoraproject.org/cgit/ansible.git/commit/?id=d2ddf872d65e267b66f76cd0c8d2cc3679f37436
I'm running this playbook on staging now; can anyone take a look it is OK?
not sure if this is still relevant with gzipped logs.
Can be tested by: $ curl -sD - -o /dev/null https://copr-be-dev.cloud.fedoraproject.org/results/praiskup/blah/srpm-builds/00653146/builder-live.log
Until it is gziped, it is still normal log file. We need to find some clever redirect or so, but that is different topic.
Oh. It is only gzipped after the build has finished?
Yep, but better ideas are absolutely welcome! So far we thought that we would be able to do conditional redirect from *.log to *.log.gz when the *.log.gz existed.
*.log
*.log.gz
Should be OK now, though the .log/.log.gz is still discussed in #921
Metadata Update from @praiskup: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
This is still the case for spec files:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.9/fedora-rawhide-x86_64/01139368-python-cffi/python-cffi.spec
Metadata Update from @churchyard: - Issue status updated to: Open (was: Closed)
Metadata Update from @praiskup: - Assignee reset
Commit c9c718f8 fixes this issue
Needs + ".spec" => "text/plain; charset=utf-8", roles/copr/backend/files/lighttpd/mime.conf should have all "text/plain" changed similarly.
+ ".spec" => "text/plain; charset=utf-8",
Login to comment on this ticket.