D: [iurt_root_command] chroot warning: Macro expanded in comment on line 8: %{version}/%{name}-%{version}-source.zip Installing /home/pterjan/rpmbuild/SRPMS/netpanzer-0.8.7-7.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.USVqut + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf netpanzer-0.8.7 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/netpanzer-0.8.7.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd netpanzer-0.8.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (fedora-netpanzer-0.8.2-MapSelectionView-memory.patch):' Patch #0 (fedora-netpanzer-0.8.2-MapSelectionView-memory.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file src/NetPanzer/Views/MainMenu/Multi/MapSelectionView.cpp Hunk #1 succeeded at 29 (offset 1 line). + echo 'Patch #1 (netpanzer-0.8.7-optflags.patch):' Patch #1 (netpanzer-0.8.7-optflags.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file SConstruct + echo 'Patch #2 (netpanzer-0.8.7-scons-python3.patch):' Patch #2 (netpanzer-0.8.7-scons-python3.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file SConstruct Hunk #4 succeeded at 173 (offset -1 lines). + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ZMJEf8 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd netpanzer-0.8.7 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/scons -j8 datadir=/usr/share/games/netpanzer scons: Reading SConscript files ... /bin/sh: line 1: svnversion: command not found NPVERSION = 0.8.7 SVERSION = Building version 0.8.7 in linux AttributeError: 'SConsEnvironment' object has no attribute 'has_key': File "/home/pterjan/rpmbuild/BUILD/netpanzer-0.8.7/SConstruct", line 245: if env.has_key('WINICON'): error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ZMJEf8 (%build) RPM build warnings: Macro expanded in comment on line 8: %{version}/%{name}-%{version}-source.zip RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ZMJEf8 (%build) I: [iurt_root_command] ERROR: chroot