D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/shntool-3.0.10-11.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.jz8PSu sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.MnvyuT + umask 022 + cd /home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build + rm -rf shntool-3.0.10 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/shntool-3.0.10.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd shntool-3.0.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + 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.1HntSk + umask 022 + cd /home/pterjan/rpmbuild/BUILD/shntool-3.0.10-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 shntool-3.0.10 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force 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:218: warning: AC_OUTPUT should be used without arguments. configure.ac:218: You should run autoupdate. autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:15: installing './compile' src/Makefile.am:6: warning: shell echo $(MODE_SOURCES_ALL: non-POSIX variable name src/Makefile.am:6: (probably a GNU make extension) 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 checking build system type... x86_64-mageia-linux-gnu checking host 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 gawk... (cached) gawk checking whether ln -s works... yes 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 whether byte ordering is bigendian... no configure: checking for optional helper programs checking for shorten... no (install for shn support) checking for flac... no (install for flac support) checking for sox... no (install for aiff support) checking for mac... no (install for ape support) checking for ofr... no (install for ofr support) checking for lpac... no (install for lpac support) checking for wvunpack... no (install for wv support) checking for alac... no (install for alac support) checking for la... no (install for la support) checking for ttaenc... no (install for tta support) checking for mp4als... no (install for als support) checking for mkwcon... no (install for mkw support) checking for takc... no (install for tak support) checking for bonk... no (install for bonk support) checking for kexis... no (install for kxs support) configure: checking for win32 environment checking for windows.h... no configure: checking for library functions checking for strerror... yes checking for vsnprintf... yes checking for atol... yes checking for sysconf... yes configure: creating build files checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating man/Makefile config.status: creating src/Makefile config.status: creating Makefile config.status: creating include/config.h config.status: executing depfiles commands configure: creating module glue files processing modes... processing formats... configure: ready to compile. shntool is now configured with the following options: version : 3.0.10 modes : len fix hash pad join split cat cmp cue conv info strip gen trim formats : wav aiff shn flac ape alac tak ofr tta als wv lpac la mkw bonk kxs cust term null install : /usr/bin + /usr/bin/make -O -j48 V=1 VERBOSE=1 Making all in man make[1]: Nothing to be done for 'all'. Making all in src make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -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 -c -o format_alac.o format_alac.c make[1]: gcc: Resource temporarily unavailable make[1]: *** [Makefile:464: format_alac.o] Error 127 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -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 -c -o format_wav.o format_wav.c gcc: fatal error: cannot execute 'as': posix_spawnp: Resource temporarily unavailable compilation terminated. make[1]: *** [Makefile:464: format_wav.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -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 -c -o format_aiff.o format_aiff.c gcc: fatal error: cannot execute '/usr/lib/gcc/x86_64-mageia-linux/15/cc1': posix_spawn: Resource temporarily unavailable compilation terminated. make[1]: *** [Makefile:464: format_aiff.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -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 -c -o format_shn.o format_shn.c gcc: fatal error: cannot execute 'as': posix_spawnp: Resource temporarily unavailable compilation terminated. make[1]: *** [Makefile:464: format_shn.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -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 -c -o format_flac.o format_flac.c gcc: fatal error: cannot execute 'as': posix_spawnp: Resource temporarily unavailable compilation terminated. make[1]: *** [Makefile:464: format_flac.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -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 -c -o format_ape.o format_ape.c gcc: fatal error: cannot execute '/usr/lib/gcc/x86_64-mageia-linux/15/cc1': posix_spawn: Resource temporarily unavailable compilation terminated. make[1]: *** [Makefile:464: format_ape.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -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 -c -o core_convert.o core_convert.c In file included from ../include/format-types.h:27, from ../include/format.h:26, from ../include/shntool.h:30, from core_convert.c:19: ../include/module-types.h:48:13: error: 'bool' cannot be defined via 'typedef' 48 | typedef int bool; | ^~~~ ../include/module-types.h:48:13: note: 'bool' is a keyword with '-std=c23' onwards ../include/module-types.h:48:1: warning: useless type name in empty declaration 48 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:464: core_convert.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -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 -c -o glue_formats.o glue_formats.c In file included from ../include/format-types.h:27, from ../include/format.h:26, from ../include/shntool.h:30, from glue_formats.c:5: ../include/module-types.h:48:13: error: 'bool' cannot be defined via 'typedef' 48 | typedef int bool; | ^~~~ ../include/module-types.h:48:13: note: 'bool' is a keyword with '-std=c23' onwards ../include/module-types.h:48:1: warning: useless type name in empty declaration 48 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:464: glue_formats.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -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 -c -o glue_modes.o glue_modes.c In file included from ../include/format-types.h:27, from ../include/format.h:26, from ../include/shntool.h:30, from glue_modes.c:5: ../include/module-types.h:48:13: error: 'bool' cannot be defined via 'typedef' 48 | typedef int bool; | ^~~~ ../include/module-types.h:48:13: note: 'bool' is a keyword with '-std=c23' onwards ../include/module-types.h:48:1: warning: useless type name in empty declaration 48 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:464: glue_modes.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -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 -c -o core_module.o core_module.c In file included from ../include/format-types.h:27, from ../include/format.h:26, from ../include/shntool.h:30, from core_module.c:20: ../include/module-types.h:48:13: error: 'bool' cannot be defined via 'typedef' 48 | typedef int bool; | ^~~~ ../include/module-types.h:48:13: note: 'bool' is a keyword with '-std=c23' onwards ../include/module-types.h:48:1: warning: useless type name in empty declaration 48 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:464: core_module.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -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 -c -o core_output.o core_output.c In file included from ../include/format-types.h:27, from ../include/format.h:26, from ../include/shntool.h:30, from core_output.c:21: ../include/module-types.h:48:13: error: 'bool' cannot be defined via 'typedef' 48 | typedef int bool; | ^~~~ ../include/module-types.h:48:13: note: 'bool' is a keyword with '-std=c23' onwards ../include/module-types.h:48:1: warning: useless type name in empty declaration 48 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:464: core_output.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -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 -c -o mode_pad.o mode_pad.c In file included from ../include/format-types.h:27, from ../include/mode.h:28, from mode_pad.c:19: ../include/module-types.h:48:13: error: 'bool' cannot be defined via 'typedef' 48 | typedef int bool; | ^~~~ ../include/module-types.h:48:13: note: 'bool' is a keyword with '-std=c23' onwards ../include/module-types.h:48:1: warning: useless type name in empty declaration 48 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:464: mode_pad.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -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 -c -o core_format.o core_format.c In file included from ../include/format-types.h:27, from ../include/format.h:26, from ../include/shntool.h:30, from core_format.c:24: ../include/module-types.h:48:13: error: 'bool' cannot be defined via 'typedef' 48 | typedef int bool; | ^~~~ ../include/module-types.h:48:13: note: 'bool' is a keyword with '-std=c23' onwards ../include/module-types.h:48:1: warning: useless type name in empty declaration 48 | typedef int bool; | ^~~~~~~ core_format.c:503:6: error: conflicting types for 'clobber_check'; have '_Bool(char *)' 503 | bool clobber_check(char *filename) | ^~~~~~~~~~~~~ ../include/format.h:38:5: note: previous declaration of 'clobber_check' with type 'int(char *)' 38 | int clobber_check(char *); | ^~~~~~~~~~~~~ core_format.c: In function 'clobber_ask': core_format.c:264:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 264 | fgets(response,BUF_SIZE-1,stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ core_format.c:293:11: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 293 | fgets(response,BUF_SIZE-1,stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:464: core_format.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -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 -c -o core_fileio.o core_fileio.c In file included from ../include/format-types.h:27, from ../include/format.h:26, from ../include/shntool.h:30, from core_fileio.c:20: ../include/module-types.h:48:13: error: 'bool' cannot be defined via 'typedef' 48 | typedef int bool; | ^~~~ ../include/module-types.h:48:13: note: 'bool' is a keyword with '-std=c23' onwards ../include/module-types.h:48:1: warning: useless type name in empty declaration 48 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:464: core_fileio.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -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 -c -o mode_cat.o mode_cat.c In file included from ../include/format-types.h:27, from ../include/mode.h:28, from mode_cat.c:19: ../include/module-types.h:48:13: error: 'bool' cannot be defined via 'typedef' 48 | typedef int bool; | ^~~~ ../include/module-types.h:48:13: note: 'bool' is a keyword with '-std=c23' onwards ../include/module-types.h:48:1: warning: useless type name in empty declaration 48 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:464: mode_cat.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -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 -c -o mode_info.o mode_info.c In file included from ../include/format-types.h:27, from ../include/mode.h:28, from mode_info.c:19: ../include/module-types.h:48:13: error: 'bool' cannot be defined via 'typedef' 48 | typedef int bool; | ^~~~ ../include/module-types.h:48:13: note: 'bool' is a keyword with '-std=c23' onwards ../include/module-types.h:48:1: warning: useless type name in empty declaration 48 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:464: mode_info.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -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 -c -o mode_len.o mode_len.c In file included from ../include/format-types.h:27, from ../include/mode.h:28, from mode_len.c:20: ../include/module-types.h:48:13: error: 'bool' cannot be defined via 'typedef' 48 | typedef int bool; | ^~~~ ../include/module-types.h:48:13: note: 'bool' is a keyword with '-std=c23' onwards ../include/module-types.h:48:1: warning: useless type name in empty declaration 48 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:464: mode_len.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -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 -c -o mode_cue.o mode_cue.c In file included from ../include/format-types.h:27, from ../include/mode.h:28, from mode_cue.c:20: ../include/module-types.h:48:13: error: 'bool' cannot be defined via 'typedef' 48 | typedef int bool; | ^~~~ ../include/module-types.h:48:13: note: 'bool' is a keyword with '-std=c23' onwards ../include/module-types.h:48:1: warning: useless type name in empty declaration 48 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:464: mode_cue.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -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 -c -o mode_conv.o mode_conv.c In file included from ../include/format-types.h:27, from ../include/mode.h:28, from mode_conv.c:19: ../include/module-types.h:48:13: error: 'bool' cannot be defined via 'typedef' 48 | typedef int bool; | ^~~~ ../include/module-types.h:48:13: note: 'bool' is a keyword with '-std=c23' onwards ../include/module-types.h:48:1: warning: useless type name in empty declaration 48 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:464: mode_conv.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -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 -c -o mode_gen.o mode_gen.c In file included from ../include/format-types.h:27, from ../include/mode.h:28, from mode_gen.c:20: ../include/module-types.h:48:13: error: 'bool' cannot be defined via 'typedef' 48 | typedef int bool; | ^~~~ ../include/module-types.h:48:13: note: 'bool' is a keyword with '-std=c23' onwards ../include/module-types.h:48:1: warning: useless type name in empty declaration 48 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:464: mode_gen.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -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 -c -o mode_join.o mode_join.c In file included from ../include/format-types.h:27, from ../include/mode.h:28, from mode_join.c:20: ../include/module-types.h:48:13: error: 'bool' cannot be defined via 'typedef' 48 | typedef int bool; | ^~~~ ../include/module-types.h:48:13: note: 'bool' is a keyword with '-std=c23' onwards ../include/module-types.h:48:1: warning: useless type name in empty declaration 48 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:464: mode_join.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -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 -c -o mode_fix.o mode_fix.c In file included from ../include/format-types.h:27, from ../include/mode.h:28, from mode_fix.c:19: ../include/module-types.h:48:13: error: 'bool' cannot be defined via 'typedef' 48 | typedef int bool; | ^~~~ ../include/module-types.h:48:13: note: 'bool' is a keyword with '-std=c23' onwards ../include/module-types.h:48:1: warning: useless type name in empty declaration 48 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:464: mode_fix.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -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 -c -o mode_cmp.o mode_cmp.c In file included from ../include/format-types.h:27, from ../include/mode.h:28, from mode_cmp.c:19: ../include/module-types.h:48:13: error: 'bool' cannot be defined via 'typedef' 48 | typedef int bool; | ^~~~ ../include/module-types.h:48:13: note: 'bool' is a keyword with '-std=c23' onwards ../include/module-types.h:48:1: warning: useless type name in empty declaration 48 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:464: mode_cmp.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -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 -c -o core_wave.o core_wave.c In file included from ../include/format-types.h:27, from ../include/format.h:26, from ../include/shntool.h:30, from core_wave.c:23: ../include/module-types.h:48:13: error: 'bool' cannot be defined via 'typedef' 48 | typedef int bool; | ^~~~ ../include/module-types.h:48:13: note: 'bool' is a keyword with '-std=c23' onwards ../include/module-types.h:48:1: warning: useless type name in empty declaration 48 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:464: core_wave.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -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 -c -o core_shntool.o core_shntool.c In file included from ../include/format-types.h:27, from ../include/format.h:26, from ../include/shntool.h:30, from core_shntool.c:21: ../include/module-types.h:48:13: error: 'bool' cannot be defined via 'typedef' 48 | typedef int bool; | ^~~~ ../include/module-types.h:48:13: note: 'bool' is a keyword with '-std=c23' onwards ../include/module-types.h:48:1: warning: useless type name in empty declaration 48 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:464: core_shntool.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -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 -c -o mode_trim.o mode_trim.c In file included from ../include/format-types.h:27, from ../include/mode.h:28, from mode_trim.c:19: ../include/module-types.h:48:13: error: 'bool' cannot be defined via 'typedef' 48 | typedef int bool; | ^~~~ ../include/module-types.h:48:13: note: 'bool' is a keyword with '-std=c23' onwards ../include/module-types.h:48:1: warning: useless type name in empty declaration 48 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:464: mode_trim.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -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 -c -o mode_strip.o mode_strip.c In file included from ../include/format-types.h:27, from ../include/mode.h:28, from mode_strip.c:19: ../include/module-types.h:48:13: error: 'bool' cannot be defined via 'typedef' 48 | typedef int bool; | ^~~~ ../include/module-types.h:48:13: note: 'bool' is a keyword with '-std=c23' onwards ../include/module-types.h:48:1: warning: useless type name in empty declaration 48 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:464: mode_strip.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -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 -c -o mode_split.o mode_split.c In file included from ../include/format-types.h:27, from ../include/mode.h:28, from mode_split.c:21: ../include/module-types.h:48:13: error: 'bool' cannot be defined via 'typedef' 48 | typedef int bool; | ^~~~ ../include/module-types.h:48:13: note: 'bool' is a keyword with '-std=c23' onwards ../include/module-types.h:48:1: warning: useless type name in empty declaration 48 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:464: mode_split.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -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 -c -o core_mode.o core_mode.c In file included from ../include/format-types.h:27, from ../include/format.h:26, from ../include/shntool.h:30, from core_mode.c:29: ../include/module-types.h:48:13: error: 'bool' cannot be defined via 'typedef' 48 | typedef int bool; | ^~~~ ../include/module-types.h:48:13: note: 'bool' is a keyword with '-std=c23' onwards ../include/module-types.h:48:1: warning: useless type name in empty declaration 48 | typedef int bool; | ^~~~~~~ core_mode.c: In function 'ascii_sort_files': core_mode.c:569:11: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(const wave_info **, const wave_info **)' {aka 'int (*)(const struct _wave_info **, const struct _wave_info **)'} [-Wincompatible-pointer-types] 569 | cmpfunc = compare_ascii; | ^ core_mode.c:560:12: note: 'compare_ascii' declared here 560 | static int compare_ascii(const wave_info **w1,const wave_info **w2) | ^~~~~~~~~~~~~ core_mode.c:570:48: error: passing argument 4 of 'qsort' from incompatible pointer type [-Wincompatible-pointer-types] 570 | qsort(filenames,numfiles,sizeof(wave_info *),cmpfunc); | ^~~~~~~ | | | int (*)(void) In file included from ../include/mode.h:26, from ../include/shntool.h:31: /usr/include/stdlib.h:971:34: note: expected '__compar_fn_t' {aka 'int (*)(const void *, const void *)'} but argument is of type 'int (*)(void)' 971 | __compar_fn_t __compar) __nonnull ((1, 4)); | ~~~~~~~~~~~~~~^~~~~~~~ /usr/include/stdlib.h:948:15: note: '__compar_fn_t' declared here 948 | typedef int (*__compar_fn_t) (const void *, const void *); | ^~~~~~~~~~~~~ core_mode.c: In function 'version_sort_files': core_mode.c:577:11: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(const wave_info **, const wave_info **)' {aka 'int (*)(const struct _wave_info **, const struct _wave_info **)'} [-Wincompatible-pointer-types] 577 | cmpfunc = compare_version; | ^ core_mode.c:555:12: note: 'compare_version' declared here 555 | static int compare_version(const wave_info **w1,const wave_info **w2) | ^~~~~~~~~~~~~~~ core_mode.c:578:48: error: passing argument 4 of 'qsort' from incompatible pointer type [-Wincompatible-pointer-types] 578 | qsort(filenames,numfiles,sizeof(wave_info *),cmpfunc); | ^~~~~~~ | | | int (*)(void) /usr/include/stdlib.h:971:34: note: expected '__compar_fn_t' {aka 'int (*)(const void *, const void *)'} but argument is of type 'int (*)(void)' 971 | __compar_fn_t __compar) __nonnull ((1, 4)); | ~~~~~~~~~~~~~~^~~~~~~~ /usr/include/stdlib.h:948:15: note: '__compar_fn_t' declared here 948 | typedef int (*__compar_fn_t) (const void *, const void *); | ^~~~~~~~~~~~~ core_mode.c: At top level: core_mode.c:679:6: error: conflicting types for 'files_are_identical'; have '_Bool(char *, char *)' 679 | bool files_are_identical(char *file1,char *file2) | ^~~~~~~~~~~~~~~~~~~ ../include/mode.h:81:5: note: previous declaration of 'files_are_identical' with type 'int(char *, char *)' 81 | int files_are_identical(char *,char *); | ^~~~~~~~~~~~~~~~~~~ core_mode.c: In function 'alter_file_order': core_mode.c:994:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 994 | fgets(response,BUF_SIZE-1,stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ core_mode.c: In function 'input_get_filename': core_mode.c:1688:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1688 | fgets(internal_filename,FILENAME_SIZE-1,st_input.fd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:464: core_mode.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -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 -c -o mode_hash.o mode_hash.c In file included from ../include/format-types.h:27, from ../include/mode.h:28, from mode_hash.c:26: ../include/module-types.h:48:13: error: 'bool' cannot be defined via 'typedef' 48 | typedef int bool; | ^~~~ ../include/module-types.h:48:13: note: 'bool' is a keyword with '-std=c23' onwards ../include/module-types.h:48:1: warning: useless type name in empty declaration 48 | typedef int bool; | ^~~~~~~ make[1]: *** [Makefile:464: mode_hash.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shntool-3.0.10-build/shntool-3.0.10/src' make: *** [Makefile:386: all-recursive] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.1HntSk (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.1HntSk (%build) I: [iurt_root_command] ERROR: chroot