D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/nfrotz-0.3.3-13.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.dtjwCs Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.e5WzP3 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-build + rm -rf nfrotz-0.3.3 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/nfrotz-0.3.3.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd nfrotz-0.3.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/nfrotz-fix-building-with-gcc14.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + perl -pi -e 's|/lib/|/lib64/|' configure + sed -i -e 's|strip nfrotz||' Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ji0tXE + umask 022 + cd /home/pterjan/rpmbuild/BUILD/nfrotz-0.3.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 nfrotz-0.3.3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + 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 + /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 ncursesw found. + /usr/bin/make -O -j16 V=1 VERBOSE=1 ./configure ncursesw found. /usr/bin/make -C src nfrotz make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-build/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -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/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/random.o core/random.c In file included from core/random.c:21: include/frotz.h:14:13: error: 'bool' cannot be defined via 'typedef' 14 | typedef int bool; | ^~~~ include/frotz.h:14:13: note: 'bool' is a keyword with '-std=c23' onwards include/frotz.h:14:1: warning: useless type name in empty declaration 14 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:60: core/random.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-build/nfrotz-0.3.3/src' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-build/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -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/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/hotkey.o core/hotkey.c In file included from core/hotkey.c:21: include/frotz.h:14:13: error: 'bool' cannot be defined via 'typedef' 14 | typedef int bool; | ^~~~ include/frotz.h:14:13: note: 'bool' is a keyword with '-std=c23' onwards include/frotz.h:14:1: warning: useless type name in empty declaration 14 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:60: core/hotkey.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-build/nfrotz-0.3.3/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-build/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -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/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/process.o core/process.c In file included from core/process.c:21: include/frotz.h:14:13: error: 'bool' cannot be defined via 'typedef' 14 | typedef int bool; | ^~~~ include/frotz.h:14:13: note: 'bool' is a keyword with '-std=c23' onwards include/frotz.h:14:1: warning: useless type name in empty declaration 14 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:60: core/process.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-build/nfrotz-0.3.3/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-build/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -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/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/stream.o core/stream.c In file included from core/stream.c:21: include/frotz.h:14:13: error: 'bool' cannot be defined via 'typedef' 14 | typedef int bool; | ^~~~ include/frotz.h:14:13: note: 'bool' is a keyword with '-std=c23' onwards include/frotz.h:14:1: warning: useless type name in empty declaration 14 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:60: core/stream.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-build/nfrotz-0.3.3/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-build/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -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/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/input.o core/input.c In file included from core/input.c:21: include/frotz.h:14:13: error: 'bool' cannot be defined via 'typedef' 14 | typedef int bool; | ^~~~ include/frotz.h:14:13: note: 'bool' is a keyword with '-std=c23' onwards include/frotz.h:14:1: warning: useless type name in empty declaration 14 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:60: core/input.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-build/nfrotz-0.3.3/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-build/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -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/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/table.o core/table.c In file included from core/table.c:21: include/frotz.h:14:13: error: 'bool' cannot be defined via 'typedef' 14 | typedef int bool; | ^~~~ include/frotz.h:14:13: note: 'bool' is a keyword with '-std=c23' onwards include/frotz.h:14:1: warning: useless type name in empty declaration 14 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:60: core/table.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-build/nfrotz-0.3.3/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-build/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -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/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/math.o core/math.c In file included from core/math.c:21: include/frotz.h:14:13: error: 'bool' cannot be defined via 'typedef' 14 | typedef int bool; | ^~~~ include/frotz.h:14:13: note: 'bool' is a keyword with '-std=c23' onwards include/frotz.h:14:1: warning: useless type name in empty declaration 14 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:60: core/math.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-build/nfrotz-0.3.3/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-build/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -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/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/sound.o core/sound.c In file included from core/sound.c:21: include/frotz.h:14:13: error: 'bool' cannot be defined via 'typedef' 14 | typedef int bool; | ^~~~ include/frotz.h:14:13: note: 'bool' is a keyword with '-std=c23' onwards include/frotz.h:14:1: warning: useless type name in empty declaration 14 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:60: core/sound.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-build/nfrotz-0.3.3/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-build/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -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/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/object.o core/object.c In file included from core/object.c:21: include/frotz.h:14:13: error: 'bool' cannot be defined via 'typedef' 14 | typedef int bool; | ^~~~ include/frotz.h:14:13: note: 'bool' is a keyword with '-std=c23' onwards include/frotz.h:14:1: warning: useless type name in empty declaration 14 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:60: core/object.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-build/nfrotz-0.3.3/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-build/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -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/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/quetzal.o core/quetzal.c In file included from core/quetzal.c:23: include/frotz.h:14:13: error: 'bool' cannot be defined via 'typedef' 14 | typedef int bool; | ^~~~ include/frotz.h:14:13: note: 'bool' is a keyword with '-std=c23' onwards include/frotz.h:14:1: warning: useless type name in empty declaration 14 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:60: core/quetzal.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-build/nfrotz-0.3.3/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-build/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -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/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/options.o core/options.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-build/nfrotz-0.3.3/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-build/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -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/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/fastmem.o core/fastmem.c In file included from core/fastmem.c:27: include/frotz.h:14:13: error: 'bool' cannot be defined via 'typedef' 14 | typedef int bool; | ^~~~ include/frotz.h:14:13: note: 'bool' is a keyword with '-std=c23' onwards include/frotz.h:14:1: warning: useless type name in empty declaration 14 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:60: core/fastmem.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-build/nfrotz-0.3.3/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-build/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -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/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/files.o core/files.c In file included from core/files.c:23: include/frotz.h:14:13: error: 'bool' cannot be defined via 'typedef' 14 | typedef int bool; | ^~~~ include/frotz.h:14:13: note: 'bool' is a keyword with '-std=c23' onwards include/frotz.h:14:1: warning: useless type name in empty declaration 14 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:60: core/files.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-build/nfrotz-0.3.3/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-build/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -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/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/buffer.o core/buffer.c In file included from core/buffer.c:22: include/frotz.h:14:13: error: 'bool' cannot be defined via 'typedef' 14 | typedef int bool; | ^~~~ include/frotz.h:14:13: note: 'bool' is a keyword with '-std=c23' onwards include/frotz.h:14:1: warning: useless type name in empty declaration 14 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:60: core/buffer.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-build/nfrotz-0.3.3/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-build/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -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/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/variable.o core/variable.c In file included from core/variable.c:21: include/frotz.h:14:13: error: 'bool' cannot be defined via 'typedef' 14 | typedef int bool; | ^~~~ include/frotz.h:14:13: note: 'bool' is a keyword with '-std=c23' onwards include/frotz.h:14:1: warning: useless type name in empty declaration 14 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:60: core/variable.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-build/nfrotz-0.3.3/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-build/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -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/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/redirect.o core/redirect.c In file included from core/redirect.c:21: include/frotz.h:14:13: error: 'bool' cannot be defined via 'typedef' 14 | typedef int bool; | ^~~~ include/frotz.h:14:13: note: 'bool' is a keyword with '-std=c23' onwards include/frotz.h:14:1: warning: useless type name in empty declaration 14 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:60: core/redirect.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-build/nfrotz-0.3.3/src' make: *** [Makefile:9: make-nfrotz] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ji0tXE (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ji0tXE (%build) I: [iurt_root_command] ERROR: chroot