D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/ninvaders-0.1.1-11.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.LuKzKm + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ninvaders-0.1.1-build + test -d /home/pterjan/rpmbuild/BUILD/ninvaders-0.1.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/ninvaders-0.1.1-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/ninvaders-0.1.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/ninvaders-0.1.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/ninvaders-0.1.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.UzBGVE + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ninvaders-0.1.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/ninvaders-0.1.1-build + rm -rf ninvaders-0.1.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/ninvaders-0.1.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ninvaders-0.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/ninvaders-0.1.1-add-debuginfo.patch + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch -f + 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.6n8Po5 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ninvaders-0.1.1-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 ninvaders-0.1.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j48 V=1 VERBOSE=1 'CFLAGS=-g -O3 -fcommon' gcc -c -I. -g -O3 -fcommon ufo.c gcc -c -I. -g -O3 -fcommon player.c gcc -c -I. -g -O3 -fcommon nInvaders.c gcc -c -I. -g -O3 -fcommon aliens.c aliens.c: In function 'render': aliens.c:167:31: warning: iteration 10 invokes undefined behavior [-Waggressive-loop-optimizations] 167 | lowest_ship[k]=-1; | ~~~~~~~~~~~~~~^~~ aliens.c:166:19: note: within this loop 166 | for (k=0;k<11;k++) { | ~^~~ aliens.c:167:31: warning: '__builtin_memset' writing 44 bytes into a region of size 40 overflows the destination [-Wstringop-overflow=] 167 | lowest_ship[k]=-1; | ~~~~~~~~~~~~~~^~~ In file included from aliens.c:25: aliens.h:50:5: note: destination object 'lowest_ship' of size 40 50 | int lowest_ship[ALIENS_MAX_NUMBER_X]; | ^~~~~~~~~~~ gcc -c -I. -g -O3 -fcommon globals.c gcc -c -I. -g -O3 -fcommon view.c gcc -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 -onInvaders globals.o view.o aliens.o ufo.o player.o nInvaders.o -lncurses /usr/bin/ld: globals.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: failed to set dynamic section sizes: bad value collect2: error: ld returned 1 exit status make: *** [Makefile:11: nInvaders] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.6n8Po5 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.6n8Po5 (%build) I: [iurt_root_command] ERROR: chroot