D: [iurt_root_command] chroot sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/penguin-command-1.6.11-18.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.jrP7Xp + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf penguin-command-1.6.11 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/penguin-command-1.6.11.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd penguin-command-1.6.11 + rm -rf /home/pterjan/rpmbuild/BUILD/penguin-command-1.6.11-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/penguin-command-1.6.11-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/penguin-command-1.6.11-mga-high-score.patch + /usr/bin/patch -p1 -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.HFSu3X + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd penguin-command-1.6.11 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi autoreconf: export WARNINGS= autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: Entering directory '.' autoreconf: configure.in: not using Gettext autoreconf: running: aclocal --force aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' acinclude.m4:11: warning: underquoted definition of AM_PATH_SDL acinclude.m4:11: run info Automake 'Extending aclocal' acinclude.m4:11: or see https://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal autoreconf: configure.in: tracing autoreconf: configure.in: not using Libtool autoreconf: configure.in: not using Intltool autoreconf: configure.in: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --force configure.in:12: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:429: AM_INIT_AUTOMAKE is expanded from... configure.in:12: the top level configure.in:23: warning: The macro 'AC_TRY_RUN' is obsolete. configure.in:23: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... acinclude.m4:11: AM_PATH_SDL is expanded from... configure.in:23: the top level configure.in:23: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:23: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... acinclude.m4:11: AM_PATH_SDL is expanded from... configure.in:23: the top level autoreconf: configure.in: not using Autoheader autoreconf: running: automake --add-missing --copy --force-missing automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:12: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:12: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:15: installing './compile' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: Leaving directory '.' + 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 + 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 --bindir=/usr/games --datadir=/usr/share/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 sleep supports fractional seconds... true checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes 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 xargs -n works... yes 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 whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking for an ANSI C-conforming const... yes checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.1.5... yes 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 math.h... yes checking for main in -lz... yes checking for main in -lm... yes checking for main in -lSDL_mixer... yes checking for main in -lSDL_image... 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 data/Makefile config.status: creating data/gfx/Makefile config.status: creating data/sound/Makefile config.status: creating penguin-command.spec config.status: executing depfiles commands + /usr/bin/make -O -j48 V=1 VERBOSE=1 Making all in data Making all in gfx make[2]: Nothing to be done for 'all'. Making all in sound make[2]: Nothing to be done for 'all'. make[2]: Nothing to be done for 'all-am'. Making all in src make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/penguin-command-1.6.11/src' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"penguin-command\" -DVERSION=\"1.6.11\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MATH_H=1 -DHAVE_LIBZ=1 -DHAVE_LIBM=1 -DHAVE_LIBSDL_IMAGE=1 -I. -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 -DUSE_SOUND -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -DJOYSTICK -DDATADIR="\"/usr/share/games/penguin-command\"" -c -o wave.o wave.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/penguin-command-1.6.11/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/penguin-command-1.6.11/src' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"penguin-command\" -DVERSION=\"1.6.11\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MATH_H=1 -DHAVE_LIBZ=1 -DHAVE_LIBM=1 -DHAVE_LIBSDL_IMAGE=1 -I. -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 -DUSE_SOUND -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -DJOYSTICK -DDATADIR="\"/usr/share/games/penguin-command\"" -c -o shot.o shot.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/penguin-command-1.6.11/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/penguin-command-1.6.11/src' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"penguin-command\" -DVERSION=\"1.6.11\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MATH_H=1 -DHAVE_LIBZ=1 -DHAVE_LIBM=1 -DHAVE_LIBSDL_IMAGE=1 -I. -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 -DUSE_SOUND -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -DJOYSTICK -DDATADIR="\"/usr/share/games/penguin-command\"" -c -o shot2.o shot2.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/penguin-command-1.6.11/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/penguin-command-1.6.11/src' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"penguin-command\" -DVERSION=\"1.6.11\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MATH_H=1 -DHAVE_LIBZ=1 -DHAVE_LIBM=1 -DHAVE_LIBSDL_IMAGE=1 -I. -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 -DUSE_SOUND -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -DJOYSTICK -DDATADIR="\"/usr/share/games/penguin-command\"" -c -o main.o main.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/penguin-command-1.6.11/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/penguin-command-1.6.11/src' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"penguin-command\" -DVERSION=\"1.6.11\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MATH_H=1 -DHAVE_LIBZ=1 -DHAVE_LIBM=1 -DHAVE_LIBSDL_IMAGE=1 -I. -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 -DUSE_SOUND -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -DJOYSTICK -DDATADIR="\"/usr/share/games/penguin-command\"" -c -o sound.o sound.c sound.c: In function 'InitSound': sound.c:65:34: warning: the comparison will always evaluate as 'false' for the address of 'Music' will never be NULL [-Waddress] 65 | if (Music==NULL) printf("COULD NOT LOAD MUSIC: %s\n", SDL_GetError()); | ^~ sound.c:6:16: note: 'Music' declared here 6 | Mix_Music *Music[MUSICNUM]; | ^~~~~ sound.c:63:41: warning: '/sound/' directive writing 7 bytes into a region of size between 1 and 200 [-Wformat-overflow=] 63 | sprintf(text,"%s/sound/%s",DATAPATH,ModName[i]); | ^~~~~~~ In file included from /usr/include/stdio.h:980, from main.h:1, from sound.c:1: In function 'sprintf', inlined from 'InitSound' at sound.c:63:4: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 8 and 266 bytes into a destination of size 200 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sound.c: In function 'InitSound': sound.c:68:33: warning: '/sound/' directive writing 7 bytes into a region of size between 1 and 200 [-Wformat-overflow=] 68 | sprintf(text,"%s/sound/%s",DATAPATH,"missex.wav"); | ^~~~~~~ In function 'sprintf', inlined from 'InitSound' at sound.c:68:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 18 and 217 bytes into a destination of size 200 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sound.c: In function 'InitSound': sound.c:74:33: warning: '/sound/' directive writing 7 bytes into a region of size between 1 and 200 [-Wformat-overflow=] 74 | sprintf(text,"%s/sound/%s",DATAPATH,"Wooeep.wav"); | ^~~~~~~ In function 'sprintf', inlined from 'InitSound' at sound.c:74:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 18 and 217 bytes into a destination of size 200 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sound.c: In function 'InitSound': sound.c:76:33: warning: '/sound/' directive writing 7 bytes into a region of size between 1 and 200 [-Wformat-overflow=] 76 | sprintf(text,"%s/sound/%s",DATAPATH,"Machine.wav"); | ^~~~~~~ In function 'sprintf', inlined from 'InitSound' at sound.c:76:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 19 and 218 bytes into a destination of size 200 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sound.c: In function 'InitSound': sound.c:78:33: warning: '/sound/' directive writing 7 bytes into a region of size between 1 and 200 [-Wformat-overflow=] 78 | sprintf(text,"%s/sound/%s",DATAPATH,"bombex.wav"); | ^~~~~~~ In function 'sprintf', inlined from 'InitSound' at sound.c:78:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 18 and 217 bytes into a destination of size 200 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sound.c: In function 'InitSound': sound.c:80:33: warning: '/sound/' directive writing 7 bytes into a region of size between 1 and 200 [-Wformat-overflow=] 80 | sprintf(text,"%s/sound/%s",DATAPATH,"click.wav"); | ^~~~~~~ In function 'sprintf', inlined from 'InitSound' at sound.c:80:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 17 and 216 bytes into a destination of size 200 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/penguin-command-1.6.11/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/penguin-command-1.6.11/src' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"penguin-command\" -DVERSION=\"1.6.11\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MATH_H=1 -DHAVE_LIBZ=1 -DHAVE_LIBM=1 -DHAVE_LIBSDL_IMAGE=1 -I. -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 -DUSE_SOUND -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -DJOYSTICK -DDATADIR="\"/usr/share/games/penguin-command\"" -c -o explosion.o explosion.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/penguin-command-1.6.11/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/penguin-command-1.6.11/src' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"penguin-command\" -DVERSION=\"1.6.11\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MATH_H=1 -DHAVE_LIBZ=1 -DHAVE_LIBM=1 -DHAVE_LIBSDL_IMAGE=1 -I. -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 -DUSE_SOUND -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -DJOYSTICK -DDATADIR="\"/usr/share/games/penguin-command\"" -c -o game.o game.c game.c: In function 'GameEvents': game.c:92:12: warning: variable 'keys' set but not used [-Wunused-but-set-variable] 92 | Uint8* keys; | ^~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/penguin-command-1.6.11/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/penguin-command-1.6.11/src' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"penguin-command\" -DVERSION=\"1.6.11\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MATH_H=1 -DHAVE_LIBZ=1 -DHAVE_LIBM=1 -DHAVE_LIBSDL_IMAGE=1 -I. -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 -DUSE_SOUND -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -DJOYSTICK -DDATADIR="\"/usr/share/games/penguin-command\"" -c -o missile.o missile.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/penguin-command-1.6.11/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/penguin-command-1.6.11/src' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"penguin-command\" -DVERSION=\"1.6.11\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MATH_H=1 -DHAVE_LIBZ=1 -DHAVE_LIBM=1 -DHAVE_LIBSDL_IMAGE=1 -I. -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 -DUSE_SOUND -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -DJOYSTICK -DDATADIR="\"/usr/share/games/penguin-command\"" -c -o joystick.o joystick.c joystick.c: In function 'JoystickInit': joystick.c:9:45: error: implicit declaration of function 'ComplainAndExit' [-Wimplicit-function-declaration] 9 | if ( SDL_Init(SDL_INIT_JOYSTICK ) < 0 ) ComplainAndExit(); | ^~~~~~~~~~~~~~~ make[1]: *** [Makefile:412: joystick.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/penguin-command-1.6.11/src' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/penguin-command-1.6.11/src' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"penguin-command\" -DVERSION=\"1.6.11\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MATH_H=1 -DHAVE_LIBZ=1 -DHAVE_LIBM=1 -DHAVE_LIBSDL_IMAGE=1 -I. -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 -DUSE_SOUND -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -DJOYSTICK -DDATADIR="\"/usr/share/games/penguin-command\"" -c -o gfx.o gfx.c gfx.c: In function 'BlitToBB': gfx.c:392:30: warning: format '%d' expects argument of type 'int', but argument 6 has type 'SDL_Surface *' [-Wformat=] 392 | printf("rect %d,%d,%d,%d: %d\n", blitrect.x, blitrect.y, blitrect.w, blitrect.h, image); | ~^ ~~~~~ | | | | int SDL_Surface * gfx.c: In function 'LoadImage': gfx.c:346:23: warning: '/gfx/' directive writing 5 bytes into a region of size between 1 and 200 [-Wformat-overflow=] 346 | sprintf(filename,"%s/gfx/%s",DATAPATH,datafile); | ^~~~~ In file included from /usr/include/stdio.h:980, from main.h:1, from gfx.c:1: In function 'sprintf', inlined from 'LoadImage' at gfx.c:346:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 205) into a destination of size 200 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/penguin-command-1.6.11/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/penguin-command-1.6.11/src' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"penguin-command\" -DVERSION=\"1.6.11\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MATH_H=1 -DHAVE_LIBZ=1 -DHAVE_LIBM=1 -DHAVE_LIBSDL_IMAGE=1 -I. -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 -DUSE_SOUND -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -DJOYSTICK -DDATADIR="\"/usr/share/games/penguin-command\"" -c -o bomb.o bomb.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/penguin-command-1.6.11/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/penguin-command-1.6.11/src' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"penguin-command\" -DVERSION=\"1.6.11\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MATH_H=1 -DHAVE_LIBZ=1 -DHAVE_LIBM=1 -DHAVE_LIBSDL_IMAGE=1 -I. -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 -DUSE_SOUND -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -DJOYSTICK -DDATADIR="\"/usr/share/games/penguin-command\"" -c -o SFont.o SFont.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/penguin-command-1.6.11/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/penguin-command-1.6.11/src' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"penguin-command\" -DVERSION=\"1.6.11\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MATH_H=1 -DHAVE_LIBZ=1 -DHAVE_LIBM=1 -DHAVE_LIBSDL_IMAGE=1 -I. -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 -DUSE_SOUND -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -DJOYSTICK -DDATADIR="\"/usr/share/games/penguin-command\"" -c -o options.o options.c options.c: In function 'ReadOptions': options.c:77:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 77 | fscanf(file, "%*s%*s%*s%*s%*s\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ options.c:79:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 79 | fscanf(file, "%[^\n]\n",Player[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ options.c:81:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 81 | fscanf(file, "%d\n",&Hiscore[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ options.c: In function 'ShowHiscore': options.c:139:23: warning: '%s' directive writing up to 1999 bytes into a region of size 200 [-Wformat-overflow=] 139 | sprintf(text,"%s", Player[i]); | ^~ In file included from /usr/include/stdio.h:980, from main.h:1, from options.c:1: In function 'sprintf', inlined from 'ShowHiscore' at options.c:139:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 1 and 2000 bytes into a destination of size 200 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/penguin-command-1.6.11/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/penguin-command-1.6.11/src' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"penguin-command\" -DVERSION=\"1.6.11\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MATH_H=1 -DHAVE_LIBZ=1 -DHAVE_LIBM=1 -DHAVE_LIBSDL_IMAGE=1 -I. -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 -DUSE_SOUND -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -DJOYSTICK -DDATADIR="\"/usr/share/games/penguin-command\"" -c -o mouse.o mouse.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/penguin-command-1.6.11/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/penguin-command-1.6.11/src' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"penguin-command\" -DVERSION=\"1.6.11\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MATH_H=1 -DHAVE_LIBZ=1 -DHAVE_LIBM=1 -DHAVE_LIBSDL_IMAGE=1 -I. -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 -DUSE_SOUND -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -DJOYSTICK -DDATADIR="\"/usr/share/games/penguin-command\"" -c -o SDL_gfxPrimitives.o SDL_gfxPrimitives.c SDL_gfxPrimitives.c: In function 'aalineColorInt': SDL_gfxPrimitives.c:1445:25: warning: variable 'wgtcompmask' set but not used [-Wunused-but-set-variable] 1445 | Uint32 erracctmp, wgt, wgtcompmask; | ^~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/penguin-command-1.6.11/src' make: *** [Makefile:438: all-recursive] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.HFSu3X (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.HFSu3X (%build) I: [iurt_root_command] ERROR: chroot