D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/abe-1.1-18.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Ssspj0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.BScqXg + umask 022 + cd /home/pterjan/rpmbuild/BUILD/abe-1.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/abe-1.1-build + rm -rf abe-1.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/abe-1.1.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd abe-1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (abe-1.1-fix-str-fmt.patch):' Patch #0 (abe-1.1-fix-str-fmt.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file src/Game.c + echo 'Patch #1 (abe-1.1-drop-x-req.patch):' Patch #1 (abe-1.1-drop-x-req.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file configure.in + echo 'Patch #2 (abe-1.1-automake-1.13.patch):' Patch #2 (abe-1.1-automake-1.13.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .automake-1_13 --fuzz=0 patching file configure.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.zrlvxC + umask 022 + cd /home/pterjan/rpmbuild/BUILD/abe-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 abe-1.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -fi autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' 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 configure.in:6: 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:6: the top level configure.in:36: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.in:36: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.in:36: the top level configure.in:41: warning: The macro 'AC_HEADER_TIME' is obsolete. configure.in:41: You should run autoupdate. ./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from... configure.in:41: the top level configure.in:115: warning: The macro 'AC_TRY_RUN' is obsolete. configure.in:115: 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:115: the top level configure.in:115: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:115: 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:115: the top level configure.in:174: warning: AC_OUTPUT should be used without arguments. configure.in:174: You should run autoupdate. autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:6: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:6: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:18: installing './compile' src/Makefile.am: installing './depcomp' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' + 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 --with-data-dir=/usr/share/games/abe 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 build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu 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 whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking whether make sets $(MAKE)... (cached) 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 sys/time.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for getcwd... yes checking for gettimeofday... yes checking for strdup... yes checking for finite... yes checking for isnan... yes checking for _finite... no checking for _isnan... no checking for ieeefp.h... no checking for Win32 platform... checking how to run the C preprocessor... gcc -E checking for egrep -e... (cached) /usr/bin/grep -E no checking for Mac OSX platform... no checking for main in -ldl... yes checking for main in -lm... yes checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.0.1... yes checking for SDL_JoystickOpen... yes checking for Mix_OpenAudio in -lSDL_mixer... 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 config.h config.status: executing depfiles commands + /usr/bin/make -O -j16 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/abe-1.1-build/abe-1.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DBASE_DIR="/usr/share/games/abe" -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 -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Directories.o Directories.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/abe-1.1-build/abe-1.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/abe-1.1-build/abe-1.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DBASE_DIR="/usr/share/games/abe" -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 -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Font.o Font.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/abe-1.1-build/abe-1.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/abe-1.1-build/abe-1.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DBASE_DIR="/usr/share/games/abe" -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 -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Trans.o Trans.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/abe-1.1-build/abe-1.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/abe-1.1-build/abe-1.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DBASE_DIR="/usr/share/games/abe" -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 -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Image.o Image.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/abe-1.1-build/abe-1.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/abe-1.1-build/abe-1.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DBASE_DIR="/usr/share/games/abe" -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 -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Map.o Map.c Map.c: In function 'moveMap': Map.c:948:9: error: too many arguments to function 'finishDrawMap'; expected 0, have 1 948 | finishDrawMap(!map.redraw); | ^~~~~~~~~~~~~ ~~~~~~~~~~~ Map.c:15:6: note: declared here 15 | void finishDrawMap(); | ^~~~~~~~~~~~~ make[2]: *** [Makefile:434: Map.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/abe-1.1-build/abe-1.1/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/abe-1.1-build/abe-1.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DBASE_DIR="/usr/share/games/abe" -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 -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Icons.o Icons.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/abe-1.1-build/abe-1.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/abe-1.1-build/abe-1.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DBASE_DIR="/usr/share/games/abe" -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 -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Main.o Main.c Main.c: In function 'main': Main.c:92:17: warning: variable 'mapheight' set but not used [-Wunused-but-set-variable] 92 | int mapwidth, mapheight; | ^~~~~~~~~ Main.c:92:7: warning: variable 'mapwidth' set but not used [-Wunused-but-set-variable] 92 | int mapwidth, mapheight; | ^~~~~~~~ Main.c:91:9: warning: variable 'mapname' set but not used [-Wunused-but-set-variable] 91 | char *mapname; | ^~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/abe-1.1-build/abe-1.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/abe-1.1-build/abe-1.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DBASE_DIR="/usr/share/games/abe" -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 -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Editor.o Editor.c Editor.c: In function 'drawSlide': Editor.c:100:12: warning: variable 'pos' set but not used [-Wunused-but-set-variable] 100 | Position pos; | ^~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/abe-1.1-build/abe-1.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/abe-1.1-build/abe-1.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DBASE_DIR="/usr/share/games/abe" -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 -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Sound.o Sound.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/abe-1.1-build/abe-1.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/abe-1.1-build/abe-1.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DBASE_DIR="/usr/share/games/abe" -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 -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o MapIO.o MapIO.c MapIO.c: In function 'loadMapPath': MapIO.c:96:17: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 96 | printf("size %u\n", size); | ~^ ~~~~ | | | | | size_t {aka long unsigned int} | unsigned int | %lu MapIO.c: In function 'convertMap': MapIO.c:157:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 157 | fread(&(w), sizeof(w), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MapIO.c:158:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 158 | fread(&(h), sizeof(h), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/abe-1.1-build/abe-1.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/abe-1.1-build/abe-1.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DBASE_DIR="/usr/share/games/abe" -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 -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Menu.o Menu.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/abe-1.1-build/abe-1.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/abe-1.1-build/abe-1.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DBASE_DIR="/usr/share/games/abe" -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 -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Splash.o Splash.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/abe-1.1-build/abe-1.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/abe-1.1-build/abe-1.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DBASE_DIR="/usr/share/games/abe" -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 -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Util.o Util.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/abe-1.1-build/abe-1.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/abe-1.1-build/abe-1.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DBASE_DIR="/usr/share/games/abe" -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 -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Game.o Game.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/abe-1.1-build/abe-1.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/abe-1.1-build/abe-1.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DBASE_DIR="/usr/share/games/abe" -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 -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Monster.o Monster.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/abe-1.1-build/abe-1.1/src' make[1]: *** [Makefile:383: all-recursive] Error 1 make: *** [Makefile:324: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.zrlvxC (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.zrlvxC (%build) I: [iurt_root_command] ERROR: chroot