On my Fedora 27 system: $ fedpkg local Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qbXo2W + umask 022 + cd /home/cbm/fedora/xboxdrv + cd /home/cbm/fedora/xboxdrv + rm -rf xboxdrv-0.8.8 + /usr/bin/gzip -dc /home/cbm/fedora/xboxdrv/xboxdrv-0.8.8.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xboxdrv-0.8.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i '1s|/usr/bin/env python|/usr/bin/python2|' examples/responsecurve-generator.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1pxW1S + umask 022 + cd /home/cbm/fedora/xboxdrv + cd xboxdrv-0.8.8 + scons CC=gcc CXX=g++ BUILD=custom 'CCFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -Wl,-z,relro -fPIC -pie -Wl,-z,now' 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -Wl,-z,relro -fPIC -pie -Wl,-z,now' 'CPPFLAGS= -ansi -pedantic' 'LINKFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fPIC -pie -Wl,-z,now' scons: Reading SConscript files ... File "/home/cbm/fedora/xboxdrv/xboxdrv-0.8.8/SConstruct", line 34 print target ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(int target)? error: Bad exit status from /var/tmp/rpm-tmp.1pxW1S (%build) Bad exit status from /var/tmp/rpm-tmp.1pxW1S (%build) RPM build errors: Could not execute local: rpmbuild --define '_sourcedir /home/cbm/fedora/xboxdrv' --define '_specdir /home/cbm/fedora/xboxdrv' --define '_builddir /home/cbm/fedora/xboxdrv' --define '_srcrpmdir /home/cbm/fedora/xboxdrv' --define '_rpmdir /home/cbm/fedora/xboxdrv' --define 'dist .fc28' --define 'fedora 28' --eval '%undefine rhel' --define 'fc28 1' --eval '%undefine fc27' -ba /home/cbm/fedora/xboxdrv/xboxdrv.spec | tee .build-0.8.8-6.fc28.log - - - - - - - - - - - - - - - - - - - - - - - - - And similarly on rawhide scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=23902617 Looks like some python2 specific code ("print target") is getting run by Python 3?
Update scons to this release please, and try again. http://copr-fe.cloud.fedoraproject.org/coprs/sagitter/ForTesting/build/691292/
Yes! Locally on my F27 box, uninstalling my system scons and installing that python2-scons package fixed it.
scons-3.0.1-5.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-9a4c8472e7
scons-3.0.1-5.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-d2a3899207
scons-3.0.1-5.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-c335e11d7c
scons-3.0.1-5.el7 has been pushed to the Fedora EPEL 7 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-EPEL-2017-9a4c8472e7
scons-3.0.1-5.fc27 has been pushed to the Fedora 27 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-2017-d2a3899207
scons-3.0.1-5.fc26 has been pushed to the Fedora 26 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-2017-c335e11d7c
scons-3.0.1-5.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.
scons-3.0.1-5.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.
scons-3.0.1-5.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.