D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/btanks-0.9.8083-19.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6X64uj sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.iuFIsu + umask 022 + cd /home/pterjan/rpmbuild/BUILD/btanks-0.9.8083-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/btanks-0.9.8083-build + rm -rf btanks-0.9.8083 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/btanks-0.9.8083.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd btanks-0.9.8083 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (btanks-remove-rpath.patch):' Patch #0 (btanks-remove-rpath.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .remove-rpath --fuzz=0 patching file clunk/SConscript patching file clunk/SConstruct patching file sdlx/SConscript patching file objects/SConscript patching file engine/SConscript patching file editor/SConscript + echo 'Patch #1 (btanks-disable-smpeg.patch):' Patch #1 (btanks-disable-smpeg.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .disable-smpeg --fuzz=0 patching file engine/menu/video_control.cpp patching file engine/menu/video_control_disabled.h patching file engine/menu/video_control.h patching file SConstruct patching file engine/SConscript + echo 'Patch #2 (btanks-libcheck.patch):' Patch #2 (btanks-libcheck.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .libcheck --fuzz=0 patching file SConstruct + echo 'Patch #3 (btanks-excessopts.patch):' Patch #3 (btanks-excessopts.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .excessopts --fuzz=0 patching file SConstruct + echo 'Patch #4 (btanks-gcc.patch):' Patch #4 (btanks-gcc.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .gcc --fuzz=0 patching file engine/sl08/sl08.py patching file engine/sl08/sl08.h + echo 'Patch #5 (btanks-dso.patch):' Patch #5 (btanks-dso.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .dso --fuzz=0 patching file editor/SConscript patching file engine/SConscript + echo 'Patch #6 (btanks-gcc4.7.patch):' Patch #6 (btanks-gcc4.7.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gcc47 --fuzz=0 patching file engine/sl08/sl08.h patching file math/range_list.h patching file mrt/base_file.h + echo 'Patch #7 (btanks-0.9.8083-lua-5.2.patch):' Patch #7 (btanks-0.9.8083-lua-5.2.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .lua-52 --fuzz=0 patching file engine/luaxx/state.cpp + echo 'Patch #8 (btanks-scons-3.0.3.patch):' Patch #8 (btanks-scons-3.0.3.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .scons --fuzz=0 patching file SConstruct + echo 'Patch #9 (btanks-py3-scons.patch):' Patch #9 (btanks-py3-scons.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .py3 --fuzz=0 patching file SConstruct patching file mrt/SConscript + dos2unix -k README-editor.txt README-en.txt README-fr.txt README-linux.txt README-ru.txt video.txt ChangeLog donate.url homepage.url project_page.url LICENSE LICENSE.EXCEPTION dos2unix: converting file README-editor.txt to Unix format... dos2unix: converting file README-en.txt to Unix format... dos2unix: converting file README-fr.txt to Unix format... dos2unix: converting file README-linux.txt to Unix format... dos2unix: converting file README-ru.txt to Unix format... dos2unix: converting file video.txt to Unix format... dos2unix: converting file ChangeLog to Unix format... dos2unix: converting file donate.url to Unix format... dos2unix: converting file homepage.url to Unix format... dos2unix: converting file project_page.url to Unix format... dos2unix: converting file LICENSE to Unix format... dos2unix: converting file LICENSE.EXCEPTION to Unix format... + iconv -f latin1 -t utf-8 LICENSE.EXCEPTION + touch -r LICENSE.EXCEPTION LICENSE.EXCEPTION.new + mv -f LICENSE.EXCEPTION.new LICENSE.EXCEPTION + iconv -f latin1 -t utf-8 README-fr.txt + touch -r README-fr.txt README-fr.txt.new + mv -f README-fr.txt.new README-fr.txt + iconv -f cp1251 -t utf-8 README-ru.txt + touch -r README-ru.txt README-ru.txt.new + mv -f README-ru.txt.new README-ru.txt + sed -i -e s,pow10f,exp10f,g clunk/source.cpp + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.qQSrGy + umask 022 + cd /home/pterjan/rpmbuild/BUILD/btanks-0.9.8083-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd btanks-0.9.8083 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/scons -j48 prefix=/usr lib_dir=/usr/lib64 plugins_dir=/usr/lib64/btanks resources_dir=/usr/share/games/btanks mode=release enable_lua=true scons: Reading SConscript files ... /home/pterjan/rpmbuild/BUILD/btanks-0.9.8083-build/btanks-0.9.8083/SConstruct:261: SyntaxWarning: invalid escape sequence '\*' install_targets.append(env.Command(resources_dir + '/resources.dat', '#/data', 'zip -q -0 -r $TARGET * -x \*.svn\* -x \*.wav', chdir='data')) Checking for C library expat... no error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.qQSrGy (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.qQSrGy (%build) I: [iurt_root_command] ERROR: chroot