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/barrage-1.0.7-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.2zgMU0 sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Pv7Fla + umask 022 + cd /home/pterjan/rpmbuild/BUILD/barrage-1.0.7-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/barrage-1.0.7-build + rm -rf barrage-1.0.7 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/barrage-1.0.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd barrage-1.0.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/barrage-1.0.2-spelling.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.oi3Fne + umask 022 + cd /home/pterjan/rpmbuild/BUILD/barrage-1.0.7-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 barrage-1.0.7 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ echo '-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' ++ sed s/-Werror=format-security// + export 'CFLAGS=-O2 -g -pipe -Wformat -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' + CFLAGS='-O2 -g -pipe -Wformat -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' + CFLAGS='-O2 -g -pipe -Wformat -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 + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --localstatedir=/var/games --bindir=/usr/games checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking target system type... x86_64-mageia-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /home/pterjan/rpmbuild/BUILD/barrage-1.0.7-build/barrage-1.0.7/missing: Unknown `--is-lightweight' option Try `/home/pterjan/rpmbuild/BUILD/barrage-1.0.7-build/barrage-1.0.7/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports the include directive... yes (GNU style) checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for x86_64-mageia-linux-gnu-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking for main in -lm... yes checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.0... yes checking for main in -lSDL_mixer... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for _Bool... yes checking for stdbool.h that conforms to C99... no checking for inline... inline checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for GNU libc compatible malloc... yes checking for GNU libc compatible realloc... yes checking for working strtod... no checking for pow... yes checking for memset... yes checking for strchr... yes checking for strdup... yes checking for strrchr... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/gfx/Makefile config.status: creating src/sounds/Makefile config.status: creating barrage.spec config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j48 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src Making all in gfx make[3]: Nothing to be done for 'all'. Making all in sounds make[3]: Nothing to be done for 'all'. make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/barrage-1.0.7-build/barrage-1.0.7/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -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 -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DAUDIO_ENABLED -DSRC_DIR=\"/usr/share/barrage\" -DCONFIGDIRNAME=\"~/.config\" -DHISCOREDIR=\"/var/games\" -c -o main.o main.c main.c: In function 'fade_screen': main.c:304:17: error: too many arguments to function 'refresh_screen'; expected 0, have 1 304 | refresh_screen(screen); | ^~~~~~~~~~~~~~ ~~~~~~ main.c:251:6: note: declared here 251 | void refresh_screen() | ^~~~~~~~~~~~~~ main.c:314:9: error: too many arguments to function 'refresh_screen'; expected 0, have 1 314 | refresh_screen(screen); | ^~~~~~~~~~~~~~ ~~~~~~ main.c:251:6: note: declared here 251 | void refresh_screen() | ^~~~~~~~~~~~~~ main.c: In function 'game_finalize': main.c:532:25: error: too many arguments to function 'refresh_screen'; expected 0, have 1 532 | refresh_screen(screen); | ^~~~~~~~~~~~~~ ~~~~~~ main.c:251:6: note: declared here 251 | void refresh_screen() | ^~~~~~~~~~~~~~ main.c:541:25: error: too many arguments to function 'refresh_screen'; expected 0, have 1 541 | refresh_screen(screen); | ^~~~~~~~~~~~~~ ~~~~~~ main.c:251:6: note: declared here 251 | void refresh_screen() | ^~~~~~~~~~~~~~ main.c: In function 'main_loop': main.c:638:17: error: too many arguments to function 'refresh_screen'; expected 0, have 1 638 | refresh_screen(screen); | ^~~~~~~~~~~~~~ ~~~~~~ main.c:251:6: note: declared here 251 | void refresh_screen() | ^~~~~~~~~~~~~~ make[3]: *** [Makefile:434: main.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/barrage-1.0.7-build/barrage-1.0.7/src' make[3]: *** Waiting for unfinished jobs.... make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/barrage-1.0.7-build/barrage-1.0.7/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -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 -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DAUDIO_ENABLED -DSRC_DIR=\"/usr/share/barrage\" -DCONFIGDIRNAME=\"~/.config\" -DHISCOREDIR=\"/var/games\" -c -o menu.o menu.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/barrage-1.0.7-build/barrage-1.0.7/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/barrage-1.0.7-build/barrage-1.0.7/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -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 -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DAUDIO_ENABLED -DSRC_DIR=\"/usr/share/barrage\" -DCONFIGDIRNAME=\"~/.config\" -DHISCOREDIR=\"/var/games\" -c -o shots.o shots.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/barrage-1.0.7-build/barrage-1.0.7/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/barrage-1.0.7-build/barrage-1.0.7/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -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 -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DAUDIO_ENABLED -DSRC_DIR=\"/usr/share/barrage\" -DCONFIGDIRNAME=\"~/.config\" -DHISCOREDIR=\"/var/games\" -c -o chart.o chart.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/barrage-1.0.7-build/barrage-1.0.7/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/barrage-1.0.7-build/barrage-1.0.7/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -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 -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DAUDIO_ENABLED -DSRC_DIR=\"/usr/share/barrage\" -DCONFIGDIRNAME=\"~/.config\" -DHISCOREDIR=\"/var/games\" -c -o SFont.o SFont.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/barrage-1.0.7-build/barrage-1.0.7/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/barrage-1.0.7-build/barrage-1.0.7/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -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 -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DAUDIO_ENABLED -DSRC_DIR=\"/usr/share/barrage\" -DCONFIGDIRNAME=\"~/.config\" -DHISCOREDIR=\"/var/games\" -c -o data.o data.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/barrage-1.0.7-build/barrage-1.0.7/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/barrage-1.0.7-build/barrage-1.0.7/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -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 -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DAUDIO_ENABLED -DSRC_DIR=\"/usr/share/barrage\" -DCONFIGDIRNAME=\"~/.config\" -DHISCOREDIR=\"/var/games\" -c -o units.o units.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/barrage-1.0.7-build/barrage-1.0.7/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/barrage-1.0.7-build/barrage-1.0.7/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -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 -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DAUDIO_ENABLED -DSRC_DIR=\"/usr/share/barrage\" -DCONFIGDIRNAME=\"~/.config\" -DHISCOREDIR=\"/var/games\" -c -o bfield.o bfield.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/barrage-1.0.7-build/barrage-1.0.7/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/barrage-1.0.7-build/barrage-1.0.7/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -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 -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DAUDIO_ENABLED -DSRC_DIR=\"/usr/share/barrage\" -DCONFIGDIRNAME=\"~/.config\" -DHISCOREDIR=\"/var/games\" -c -o particle.o particle.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/barrage-1.0.7-build/barrage-1.0.7/src' make[2]: *** [Makefile:450: all-recursive] Error 1 make[1]: *** [Makefile:460: all-recursive] Error 1 make: *** [Makefile:357: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.oi3Fne (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.oi3Fne (%build) I: [iurt_root_command] ERROR: chroot