D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/freedroid-1.2.3-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.0QUMWq Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.oK3MGz + umask 022 + cd /home/pterjan/rpmbuild/BUILD/freedroid-1.2.3-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/freedroid-1.2.3-build + rm -rf FreedroidClassic-freedroid-1.2.3.apk + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/freedroid-1.2.3.apk.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd FreedroidClassic-freedroid-1.2.3.apk + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0000-vorbisfile.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + cp /home/pterjan/rpmbuild/SOURCES/Freedroid_Manual.ps.bz2 . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.rARvwx + umask 022 + cd /home/pterjan/rpmbuild/BUILD/freedroid-1.2.3-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 FreedroidClassic-freedroid-1.2.3.apk + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + ./autogen.sh 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.ac:19: installing './compile' configure.ac:9: installing './config.guess' configure.ac:9: installing './config.sub' configure.ac:12: installing './install-sh' configure.ac:12: installing './missing' src/Makefile.am: installing './depcomp' configure.ac:15: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.ac:15: You should use the 'AC_CONFIG_HEADERS' macro instead. aclocal.m4:707: AM_CONFIG_HEADER is expanded from... configure.ac:15: the top level configure.ac:40: warning: The macro 'AC_TRY_RUN' is obsolete. configure.ac:40: 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:40: the top level configure.ac:40: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:40: 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:40: the top level configure.ac:102: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.ac:102: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.ac:102: the top level configure.ac:108: warning: The macro 'AC_HEADER_TIME' is obsolete. configure.ac:108: You should run autoupdate. ./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from... configure.ac:108: the top level configure.ac:111: warning: The macro 'AC_TYPE_SIGNAL' is obsolete. configure.ac:111: You should run autoupdate. ./lib/autoconf/types.m4:805: AC_TYPE_SIGNAL is expanded from... configure.ac:111: the top level You are now ready to run './configure' + 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 whether make sets $(MAKE)... (cached) yes checking for sin in -lm... yes checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes configure: Checking for compulsory SDL libraries: checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.3... yes checking for SDL_Init in -lSDL... yes checking for jpeg_start_compress in -ljpeg... yes checking for compress in -lz... yes checking for png_read_png in -lpng... yes checking for IMG_LoadJPG_RW in -lSDL_image... yes checking for zoomSurface in -lSDL_gfx... yes configure: Checking for optional SDL libraries: checking for Mix_OpenAudio in -lSDL_mixer... yes checking for main in -lvorbisfile... 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 fcntl.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/ioctl.h... yes checking for sys/time.h... (cached) yes checking for time.h... yes checking for unistd.h... (cached) yes checking for dirent.h... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking return type of signal handlers... void checking for memset... yes checking for sqrt... yes checking for strstr... yes checking for strtok... yes checking for strcspn... yes checking for strspn... yes checking for rand... 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 map/Makefile config.status: creating sound/Makefile config.status: creating graphics/Makefile config.status: creating graphics/classic_theme/Makefile config.status: creating graphics/lanzz_theme/Makefile config.status: creating graphics/para90_theme/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/freedroid-1.2.3-build/FreedroidClassic-freedroid-1.2.3.apk/src' gcc -DHAVE_CONFIG_H -I. -I.. -DLOCAL_DATADIR=\"..\" -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/games/freedroid"' -c -o freedroid-BFont.o `test -f 'BFont.c' || echo './'`BFont.c In file included from proto.h:28, from BFont.c:9: struct.h:40:14: error: 'bool' cannot be defined via 'typedef' 40 | typedef char bool; | ^~~~ struct.h:40:14: note: 'bool' is a keyword with '-std=c23' onwards struct.h:40:1: warning: useless type name in empty declaration 40 | typedef char bool; | ^~~~~~~ make[2]: *** [Makefile:545: freedroid-BFont.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/freedroid-1.2.3-build/FreedroidClassic-freedroid-1.2.3.apk/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/freedroid-1.2.3-build/FreedroidClassic-freedroid-1.2.3.apk/src' gcc -DHAVE_CONFIG_H -I. -I.. -DLOCAL_DATADIR=\"..\" -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/games/freedroid"' -c -o freedroid-bullet.o `test -f 'bullet.c' || echo './'`bullet.c In file included from bullet.c:38: struct.h:40:14: error: 'bool' cannot be defined via 'typedef' 40 | typedef char bool; | ^~~~ struct.h:40:14: note: 'bool' is a keyword with '-std=c23' onwards struct.h:40:1: warning: useless type name in empty declaration 40 | typedef char bool; | ^~~~~~~ make[2]: *** [Makefile:559: freedroid-bullet.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/freedroid-1.2.3-build/FreedroidClassic-freedroid-1.2.3.apk/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/freedroid-1.2.3-build/FreedroidClassic-freedroid-1.2.3.apk/src' gcc -DHAVE_CONFIG_H -I. -I.. -DLOCAL_DATADIR=\"..\" -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/games/freedroid"' -c -o freedroid-influ.o `test -f 'influ.c' || echo './'`influ.c In file included from influ.c:38: struct.h:40:14: error: 'bool' cannot be defined via 'typedef' 40 | typedef char bool; | ^~~~ struct.h:40:14: note: 'bool' is a keyword with '-std=c23' onwards struct.h:40:1: warning: useless type name in empty declaration 40 | typedef char bool; | ^~~~~~~ make[2]: *** [Makefile:615: freedroid-influ.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/freedroid-1.2.3-build/FreedroidClassic-freedroid-1.2.3.apk/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/freedroid-1.2.3-build/FreedroidClassic-freedroid-1.2.3.apk/src' gcc -DHAVE_CONFIG_H -I. -I.. -DLOCAL_DATADIR=\"..\" -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/games/freedroid"' -c -o freedroid-level_editor.o `test -f 'level_editor.c' || echo './'`level_editor.c In file included from global.h:33, from level_editor.c:36: struct.h:40:14: error: 'bool' cannot be defined via 'typedef' 40 | typedef char bool; | ^~~~ struct.h:40:14: note: 'bool' is a keyword with '-std=c23' onwards struct.h:40:1: warning: useless type name in empty declaration 40 | typedef char bool; | ^~~~~~~ make[2]: *** [Makefile:657: freedroid-level_editor.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/freedroid-1.2.3-build/FreedroidClassic-freedroid-1.2.3.apk/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/freedroid-1.2.3-build/FreedroidClassic-freedroid-1.2.3.apk/src' gcc -DHAVE_CONFIG_H -I. -I.. -DLOCAL_DATADIR=\"..\" -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/games/freedroid"' -c -o freedroid-menu.o `test -f 'menu.c' || echo './'`menu.c In file included from menu.c:39: struct.h:40:14: error: 'bool' cannot be defined via 'typedef' 40 | typedef char bool; | ^~~~ struct.h:40:14: note: 'bool' is a keyword with '-std=c23' onwards struct.h:40:1: warning: useless type name in empty declaration 40 | typedef char bool; | ^~~~~~~ make[2]: *** [Makefile:699: freedroid-menu.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/freedroid-1.2.3-build/FreedroidClassic-freedroid-1.2.3.apk/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/freedroid-1.2.3-build/FreedroidClassic-freedroid-1.2.3.apk/src' gcc -DHAVE_CONFIG_H -I. -I.. -DLOCAL_DATADIR=\"..\" -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/games/freedroid"' -c -o freedroid-misc.o `test -f 'misc.c' || echo './'`misc.c In file included from misc.c:41: struct.h:40:14: error: 'bool' cannot be defined via 'typedef' 40 | typedef char bool; | ^~~~ struct.h:40:14: note: 'bool' is a keyword with '-std=c23' onwards struct.h:40:1: warning: useless type name in empty declaration 40 | typedef char bool; | ^~~~~~~ misc.c: In function 'ReadAndMallocAndTerminateFile': misc.c:488:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 488 | fread ( Data, (size_t) 64, (size_t) (stbuf.st_size / 64 +1 ), DataFile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:713: freedroid-misc.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/freedroid-1.2.3-build/FreedroidClassic-freedroid-1.2.3.apk/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/freedroid-1.2.3-build/FreedroidClassic-freedroid-1.2.3.apk/src' gcc -DHAVE_CONFIG_H -I. -I.. -DLOCAL_DATADIR=\"..\" -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/games/freedroid"' -c -o freedroid-ship.o `test -f 'ship.c' || echo './'`ship.c In file included from ship.c:37: struct.h:40:14: error: 'bool' cannot be defined via 'typedef' 40 | typedef char bool; | ^~~~ struct.h:40:14: note: 'bool' is a keyword with '-std=c23' onwards struct.h:40:1: warning: useless type name in empty declaration 40 | typedef char bool; | ^~~~~~~ make[2]: *** [Makefile:727: freedroid-ship.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/freedroid-1.2.3-build/FreedroidClassic-freedroid-1.2.3.apk/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/freedroid-1.2.3-build/FreedroidClassic-freedroid-1.2.3.apk/src' gcc -DHAVE_CONFIG_H -I. -I.. -DLOCAL_DATADIR=\"..\" -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/games/freedroid"' -c -o freedroid-enemy.o `test -f 'enemy.c' || echo './'`enemy.c In file included from enemy.c:40: struct.h:40:14: error: 'bool' cannot be defined via 'typedef' 40 | typedef char bool; | ^~~~ struct.h:40:14: note: 'bool' is a keyword with '-std=c23' onwards struct.h:40:1: warning: useless type name in empty declaration 40 | typedef char bool; | ^~~~~~~ make[2]: *** [Makefile:573: freedroid-enemy.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/freedroid-1.2.3-build/FreedroidClassic-freedroid-1.2.3.apk/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/freedroid-1.2.3-build/FreedroidClassic-freedroid-1.2.3.apk/src' gcc -DHAVE_CONFIG_H -I. -I.. -DLOCAL_DATADIR=\"..\" -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/games/freedroid"' -c -o freedroid-input.o `test -f 'input.c' || echo './'`input.c In file included from input.c:37: struct.h:40:14: error: 'bool' cannot be defined via 'typedef' 40 | typedef char bool; | ^~~~ struct.h:40:14: note: 'bool' is a keyword with '-std=c23' onwards struct.h:40:1: warning: useless type name in empty declaration 40 | typedef char bool; | ^~~~~~~ make[2]: *** [Makefile:643: freedroid-input.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/freedroid-1.2.3-build/FreedroidClassic-freedroid-1.2.3.apk/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/freedroid-1.2.3-build/FreedroidClassic-freedroid-1.2.3.apk/src' gcc -DHAVE_CONFIG_H -I. -I.. -DLOCAL_DATADIR=\"..\" -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/games/freedroid"' -c -o freedroid-sound.o `test -f 'sound.c' || echo './'`sound.c In file included from sound.c:39: struct.h:40:14: error: 'bool' cannot be defined via 'typedef' 40 | typedef char bool; | ^~~~ struct.h:40:14: note: 'bool' is a keyword with '-std=c23' onwards struct.h:40:1: warning: useless type name in empty declaration 40 | typedef char bool; | ^~~~~~~ make[2]: *** [Makefile:741: freedroid-sound.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/freedroid-1.2.3-build/FreedroidClassic-freedroid-1.2.3.apk/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/freedroid-1.2.3-build/FreedroidClassic-freedroid-1.2.3.apk/src' gcc -DHAVE_CONFIG_H -I. -I.. -DLOCAL_DATADIR=\"..\" -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/games/freedroid"' -c -o freedroid-graphics.o `test -f 'graphics.c' || echo './'`graphics.c In file included from graphics.c:39: struct.h:40:14: error: 'bool' cannot be defined via 'typedef' 40 | typedef char bool; | ^~~~ struct.h:40:14: note: 'bool' is a keyword with '-std=c23' onwards struct.h:40:1: warning: useless type name in empty declaration 40 | typedef char bool; | ^~~~~~~ make[2]: *** [Makefile:587: freedroid-graphics.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/freedroid-1.2.3-build/FreedroidClassic-freedroid-1.2.3.apk/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/freedroid-1.2.3-build/FreedroidClassic-freedroid-1.2.3.apk/src' gcc -DHAVE_CONFIG_H -I. -I.. -DLOCAL_DATADIR=\"..\" -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/games/freedroid"' -c -o freedroid-highscore.o `test -f 'highscore.c' || echo './'`highscore.c In file included from highscore.c:35: struct.h:40:14: error: 'bool' cannot be defined via 'typedef' 40 | typedef char bool; | ^~~~ struct.h:40:14: note: 'bool' is a keyword with '-std=c23' onwards struct.h:40:1: warning: useless type name in empty declaration 40 | typedef char bool; | ^~~~~~~ highscore.c: In function 'InitHighscores': highscore.c:69:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 69 | fread (Highscores[i], sizeof(highscore_entry), sizeof(char), file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:601: freedroid-highscore.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/freedroid-1.2.3-build/FreedroidClassic-freedroid-1.2.3.apk/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/freedroid-1.2.3-build/FreedroidClassic-freedroid-1.2.3.apk/src' gcc -DHAVE_CONFIG_H -I. -I.. -DLOCAL_DATADIR=\"..\" -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/games/freedroid"' -c -o freedroid-main.o `test -f 'main.c' || echo './'`main.c In file included from main.c:37: struct.h:40:14: error: 'bool' cannot be defined via 'typedef' 40 | typedef char bool; | ^~~~ struct.h:40:14: note: 'bool' is a keyword with '-std=c23' onwards struct.h:40:1: warning: useless type name in empty declaration 40 | typedef char bool; | ^~~~~~~ make[2]: *** [Makefile:671: freedroid-main.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/freedroid-1.2.3-build/FreedroidClassic-freedroid-1.2.3.apk/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/freedroid-1.2.3-build/FreedroidClassic-freedroid-1.2.3.apk/src' gcc -DHAVE_CONFIG_H -I. -I.. -DLOCAL_DATADIR=\"..\" -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/games/freedroid"' -c -o freedroid-init.o `test -f 'init.c' || echo './'`init.c In file included from init.c:37: struct.h:40:14: error: 'bool' cannot be defined via 'typedef' 40 | typedef char bool; | ^~~~ struct.h:40:14: note: 'bool' is a keyword with '-std=c23' onwards struct.h:40:1: warning: useless type name in empty declaration 40 | typedef char bool; | ^~~~~~~ make[2]: *** [Makefile:629: freedroid-init.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/freedroid-1.2.3-build/FreedroidClassic-freedroid-1.2.3.apk/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/freedroid-1.2.3-build/FreedroidClassic-freedroid-1.2.3.apk/src' gcc -DHAVE_CONFIG_H -I. -I.. -DLOCAL_DATADIR=\"..\" -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/games/freedroid"' -c -o freedroid-takeover.o `test -f 'takeover.c' || echo './'`takeover.c In file included from takeover.c:38: struct.h:40:14: error: 'bool' cannot be defined via 'typedef' 40 | typedef char bool; | ^~~~ struct.h:40:14: note: 'bool' is a keyword with '-std=c23' onwards struct.h:40:1: warning: useless type name in empty declaration 40 | typedef char bool; | ^~~~~~~ make[2]: *** [Makefile:755: freedroid-takeover.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/freedroid-1.2.3-build/FreedroidClassic-freedroid-1.2.3.apk/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/freedroid-1.2.3-build/FreedroidClassic-freedroid-1.2.3.apk/src' gcc -DHAVE_CONFIG_H -I. -I.. -DLOCAL_DATADIR=\"..\" -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/games/freedroid"' -c -o freedroid-map.o `test -f 'map.c' || echo './'`map.c In file included from map.c:40: struct.h:40:14: error: 'bool' cannot be defined via 'typedef' 40 | typedef char bool; | ^~~~ struct.h:40:14: note: 'bool' is a keyword with '-std=c23' onwards struct.h:40:1: warning: useless type name in empty declaration 40 | typedef char bool; | ^~~~~~~ make[2]: *** [Makefile:685: freedroid-map.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/freedroid-1.2.3-build/FreedroidClassic-freedroid-1.2.3.apk/src' make[1]: *** [Makefile:462: all-recursive] Error 1 make: *** [Makefile:360: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.rARvwx (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.rARvwx (%build) I: [iurt_root_command] ERROR: chroot