D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/bumprace-1.5.8-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.13QKb5 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.cjCtNk + umask 022 + cd /home/pterjan/rpmbuild/BUILD/bumprace-1.5.8-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/bumprace-1.5.8-build + rm -rf bumprace-1.5.8 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/bumprace-1.5.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd bumprace-1.5.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e 's/1\.5\.3/1.5.8/' configure.ac src/bumprace.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.NJBJlG + umask 022 + cd /home/pterjan/rpmbuild/BUILD/bumprace-1.5.8-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 bumprace-1.5.8 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force 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.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --force configure.ac:11: 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.ac:11: the top level configure.ac:37: warning: The macro 'AC_TRY_RUN' is obsolete. configure.ac:37: 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.ac:37: the top level configure.ac:37: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:37: 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.ac:37: the top level configure.ac:59: warning: AC_OUTPUT should be used without arguments. configure.ac:59: You should run autoupdate. autoreconf: configure.ac: not using Autoheader autoreconf: running: automake --add-missing --copy --force-missing configure.ac:11: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.ac:11: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.ac:14: installing './compile' configure.ac:11: installing './missing' 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... yes 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 main in -lm... yes checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.1.5... yes checking for main in -ljpeg... 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: executing depfiles commands + /usr/bin/make -O -j16 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/bumprace-1.5.8-build/bumprace-1.5.8/src' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"bumprace\" -DVERSION=\"1.5.8\" -DHAVE_LIBM=1 -DHAVE_LIBJPEG=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 -DSOUND -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DDATADIR=\"/usr/share/games/bumprace\" -c -o bumprace.o bumprace.c bumprace.c: In function 'main': bumprace.c:1181:14: error: too many arguments to function 'StartText'; expected 0, have 1 1181 | if (final) StartText(i); | ^~~~~~~~~ ~ bumprace.c:1070:6: note: declared here 1070 | void StartText() | ^~~~~~~~~ make[1]: *** [Makefile:387: bumprace.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/bumprace-1.5.8-build/bumprace-1.5.8/src' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/bumprace-1.5.8-build/bumprace-1.5.8/src' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"bumprace\" -DVERSION=\"1.5.8\" -DHAVE_LIBM=1 -DHAVE_LIBJPEG=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 -DSOUND -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DDATADIR=\"/usr/share/games/bumprace\" -c -o options.o options.c options.c: In function 'ReadOptions': options.c:55:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 55 | fscanf(file, "%*s%*s%*s%*s\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ options.c:57:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 57 | fscanf(file, "%199[^\n]\n",Player[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ options.c:59:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 59 | fscanf(file, "%d\n",&Hiscore[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ options.c: In function 'ShowHiscore': options.c:135:23: warning: '%s' directive writing up to 1999 bytes into a region of size 200 [-Wformat-overflow=] 135 | sprintf(text,"%s", Player[i]); | ^~ In file included from /usr/include/stdio.h:970, from /usr/include/SDL/SDL_stdinc.h:33, from /usr/include/SDL/SDL_main.h:29, from /usr/include/SDL/SDL.h:29, from bumprace.h:4, from options.c:1: In function 'sprintf', inlined from 'ShowHiscore' at options.c:135: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/bumprace-1.5.8-build/bumprace-1.5.8/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/bumprace-1.5.8-build/bumprace-1.5.8/src' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"bumprace\" -DVERSION=\"1.5.8\" -DHAVE_LIBM=1 -DHAVE_LIBJPEG=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 -DSOUND -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DDATADIR=\"/usr/share/games/bumprace\" -c -o particles.o particles.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/bumprace-1.5.8-build/bumprace-1.5.8/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/bumprace-1.5.8-build/bumprace-1.5.8/src' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"bumprace\" -DVERSION=\"1.5.8\" -DHAVE_LIBM=1 -DHAVE_LIBJPEG=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 -DSOUND -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DDATADIR=\"/usr/share/games/bumprace\" -c -o font.o font.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/bumprace-1.5.8-build/bumprace-1.5.8/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/bumprace-1.5.8-build/bumprace-1.5.8/src' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"bumprace\" -DVERSION=\"1.5.8\" -DHAVE_LIBM=1 -DHAVE_LIBJPEG=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 -DSOUND -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DDATADIR=\"/usr/share/games/bumprace\" -c -o gfx.o gfx.c gfx.c: In function 'LoadImage': gfx.c:320:23: warning: '/gfx/' directive writing 5 bytes into a region of size between 1 and 200 [-Wformat-overflow=] 320 | sprintf(filename,"%s/gfx/%s",DATAPATH,datafile); | ^~~~~ In file included from /usr/include/stdio.h:970, from /usr/include/SDL/SDL_stdinc.h:33, from /usr/include/SDL/SDL_main.h:29, from /usr/include/SDL/SDL.h:29, from bumprace.h:4, from gfx.c:1: In function 'sprintf', inlined from 'LoadImage' at gfx.c:320: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/bumprace-1.5.8-build/bumprace-1.5.8/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/bumprace-1.5.8-build/bumprace-1.5.8/src' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"bumprace\" -DVERSION=\"1.5.8\" -DHAVE_LIBM=1 -DHAVE_LIBJPEG=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 -DSOUND -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DDATADIR=\"/usr/share/games/bumprace\" -c -o menu.o menu.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/bumprace-1.5.8-build/bumprace-1.5.8/src' make: *** [Makefile:361: all-recursive] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.NJBJlG (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.NJBJlG (%build) I: [iurt_root_command] ERROR: chroot