worker failed to build from source in Fedora rawhide/f30 https://koji.fedoraproject.org/koji/taskinfo?taskID=32509099 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Please fix worker at your earliest convenience and set the bug's status to ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks, worker will be orphaned. Before branching of Fedora 31, worker will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://fedoraproject.org/wiki/Fails_to_build_from_source
Created attachment 1533604 [details] build.log file build.log too big, will only attach last 1024 bytes
Created attachment 1533605 [details] root.log file root.log too big, will only attach last 1024 bytes
Created attachment 1533606 [details] state.log
I was getting the following output when trying to rebuild: *** ERROR: ambiguous python shebang in /usr/share/worker/scripts/find_file_by_chksum.py: #!/usr/bin/env python. Change it to python3 (or python2) explicitly. mangling shebang in /usr/share/worker/scripts/displaywrapper_worker from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/worker/scripts/cd2mp3.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/worker/scripts/cd2ogg.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/worker/scripts/git_modified_files.sh from /bin/sh to #!/usr/bin/sh error: Bad exit status from /var/tmp/rpm-tmp.a3n86H (%install) I created the following patch: --- scripts/find_file_by_chksum.py 2019-01-28 15:40:22.000000000 -0600 +++ scripts/find_file_by_chksum.py 2019-03-31 23:22:04.805776341 -0500 @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 # # This script outputs all files matching a given checksum And that allowed a successful build. A file search with the new RPM was successful. Oh, and the version needs updating from 3.15.2 to 3.15.4.
(In reply to Jeff Krebs from comment #4) > I was getting the following output when trying to rebuild: > > *** ERROR: ambiguous python shebang in > /usr/share/worker/scripts/find_file_by_chksum.py: #!/usr/bin/env python. > Change it to python3 (or python2) explicitly. > mangling shebang in /usr/share/worker/scripts/displaywrapper_worker from > /bin/sh to #!/usr/bin/sh > mangling shebang in /usr/share/worker/scripts/cd2mp3.sh from /bin/bash to > #!/usr/bin/bash > mangling shebang in /usr/share/worker/scripts/cd2ogg.sh from /bin/bash to > #!/usr/bin/bash > mangling shebang in /usr/share/worker/scripts/git_modified_files.sh from > /bin/sh to #!/usr/bin/sh > error: Bad exit status from /var/tmp/rpm-tmp.a3n86H (%install) > > I created the following patch: > > --- scripts/find_file_by_chksum.py 2019-01-28 15:40:22.000000000 -0600 > +++ scripts/find_file_by_chksum.py 2019-03-31 23:22:04.805776341 -0500 > @@ -1,4 +1,4 @@ > -#! /usr/bin/env python > +#! /usr/bin/env python3 > # > # This script outputs all files matching a given checksum > > > And that allowed a successful build. A file search with the new RPM was > successful. > > Oh, and the version needs updating from 3.15.2 to 3.15.4. I'll handle worker tickets tonight, thanks.
My error. How about I give you the correct patch? --- scripts/find_file_by_chksum.py 2019-01-28 15:40:22.000000000 -0600 +++ scripts/find_file_by_chksum.py 2019-03-31 23:22:04.805776341 -0500 @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/python3 # # This script outputs all files matching a given checksum
worker-3.15.4-1.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-1c4e4c7ddf
worker-3.15.4-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-4f211daf19
worker-3.15.4-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2019-e6d3ef9ddd
worker-3.15.4-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-e6d3ef9ddd
worker-3.15.4-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-1c4e4c7ddf
worker-3.15.4-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-4f211daf19
worker-3.15.4-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.
worker-3.15.4-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.
worker-3.15.4-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.