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/sjeng-free-11.2-22.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.BUA8zL sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.gIcNK3 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build + rm -rf Sjeng-Free-11.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/Sjeng-Free-11.2.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd Sjeng-Free-11.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (sjeng-11.2-cleanup.patch):' Patch #0 (sjeng-11.2-cleanup.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .cleanup --fuzz=0 patching file book.c patching file ecache.c patching file epd.c patching file extvars.h patching file learn.c patching file leval.c patching file moves.c patching file neval.c patching file newbook.c patching file probe.c patching file proof.c patching file protos.h patching file rcfile.c patching file search.c patching file segtb.c patching file seval.c patching file sjeng.c Hunk #1 succeeded at 33 (offset -5 lines). patching file ttable.c patching file utils.c + echo 'Patch #1 (sjeng-11.2-fhs.patch):' Patch #1 (sjeng-11.2-fhs.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fhs --fuzz=0 patching file book.c Hunk #1 succeeded at 40 (offset 2 lines). Hunk #2 succeeded at 69 (offset 2 lines). patching file rcfile.c Hunk #1 succeeded at 30 (offset 4 lines). Hunk #2 succeeded at 63 (offset 4 lines). patching file sjeng.c patching file newbook.c patching file Makefile.am patching file segtb.c + echo 'Patch #2 (sjeng-11.2-mga-fix-build-with-automake-1.13.patch):' Patch #2 (sjeng-11.2-mga-fix-build-with-automake-1.13.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file configure.in + autoreconf -fiv autoreconf: export WARNINGS= autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: Entering directory '.' autoreconf: configure.in: not using Gettext autoreconf: running: aclocal --force aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: configure.in: tracing autoreconf: configure.in: not using Libtool autoreconf: configure.in: not using Intltool autoreconf: configure.in: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --force configure.in:4: 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:4: the top level configure.in:18: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.in:18: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.in:18: the top level configure.in:23: warning: The macro 'AC_HEADER_TIME' is obsolete. configure.in:23: You should run autoupdate. ./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from... configure.in:23: the top level configure.in:26: warning: The macro 'AC_TYPE_SIGNAL' is obsolete. configure.in:26: You should run autoupdate. ./lib/autoconf/types.m4:805: AC_TYPE_SIGNAL is expanded from... configure.in:26: the top level configure.in:29: warning: AC_OUTPUT should be used without arguments. configure.in:29: You should run autoupdate. autoreconf: running: /usr/bin/autoheader --force autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: running: automake --add-missing --copy --force-missing automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:4: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:4: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:8: installing './compile' Makefile.am: installing './depcomp' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: Leaving directory '.' + bzip2 -dc /home/pterjan/rpmbuild/SOURCES/sjeng-README.bz2 + perl -pi -e 's/\r//g' AUTHORS BUGS COPYING INSTALL NEWS README README.debian THANKS TODO ChangeLog + 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.t6R4Bc + umask 022 + cd /home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -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 -fcommon -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 -fcommon -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 -fcommon -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 Sjeng-Free-11.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -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 -fcommon -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 -fcommon -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 -fcommon -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 --bindir=/usr/games --datadir=/usr/share/games 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 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 gdbm_open in -lgdbm... yes checking for floor in -lm... 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 sys/timeb.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking return type of signal handlers... void checking for ftime... yes checking for select... yes checking for strstr... yes checking for gettimeofday... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating tests/Makefile config.status: creating books/Makefile config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j48 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in books make[2]: Nothing to be done for 'all'. Making all in tests make[2]: Nothing to be done for 'all'. make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' gcc -DHAVE_CONFIG_H -I. -DBOOK_PATH="\"/usr/share/games/sjeng\"" -DSYSCONFDIR="\"/etc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o sjeng-neval.o `test -f 'neval.c' || echo './'`neval.c gcc: fatal error: cannot execute 'as': posix_spawnp: Resource temporarily unavailable compilation terminated. make[2]: *** [Makefile:743: sjeng-neval.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' gcc -DHAVE_CONFIG_H -I. -DBOOK_PATH="\"/usr/share/games/sjeng\"" -DSYSCONFDIR="\"/etc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o sjeng-leval.o `test -f 'leval.c' || echo './'`leval.c gcc: fatal error: cannot execute '/usr/lib/gcc/x86_64-mageia-linux/15/cc1': posix_spawn: Resource temporarily unavailable compilation terminated. make[2]: *** [Makefile:771: sjeng-leval.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' gcc -DHAVE_CONFIG_H -I. -DBOOK_PATH="\"/usr/share/games/sjeng\"" -DSYSCONFDIR="\"/etc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o sjeng-draw.o `test -f 'draw.c' || echo './'`draw.c gcc: fatal error: cannot execute 'as': posix_spawnp: Resource temporarily unavailable compilation terminated. make[2]: *** [Makefile:785: sjeng-draw.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' gcc -DHAVE_CONFIG_H -I. -DBOOK_PATH="\"/usr/share/games/sjeng\"" -DSYSCONFDIR="\"/etc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o sjeng-see.o `test -f 'see.c' || echo './'`see.c gcc: fatal error: cannot execute 'as': posix_spawnp: Resource temporarily unavailable compilation terminated. make[2]: *** [Makefile:799: sjeng-see.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' gcc -DHAVE_CONFIG_H -I. -DBOOK_PATH="\"/usr/share/games/sjeng\"" -DSYSCONFDIR="\"/etc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o sjeng-probe.o `test -f 'probe.c' || echo './'`probe.c gcc: fatal error: cannot execute '/usr/lib/gcc/x86_64-mageia-linux/15/cc1': posix_spawn: Resource temporarily unavailable compilation terminated. make[2]: *** [Makefile:813: sjeng-probe.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' gcc -DHAVE_CONFIG_H -I. -DBOOK_PATH="\"/usr/share/games/sjeng\"" -DSYSCONFDIR="\"/etc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o sjeng-ecache.o `test -f 'ecache.c' || echo './'`ecache.c In file included from ecache.c:24: sjeng.h:103:28: error: expected ';', identifier or '(' before 'bool' 103 | typedef enum {FALSE, TRUE} bool; | ^~~~ sjeng.h:103:28: warning: useless type name in empty declaration make[2]: *** [Makefile:631: sjeng-ecache.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' gcc -DHAVE_CONFIG_H -I. -DBOOK_PATH="\"/usr/share/games/sjeng\"" -DSYSCONFDIR="\"/etc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o sjeng-attacks.o `test -f 'attacks.c' || echo './'`attacks.c In file included from attacks.c:24: sjeng.h:103:28: error: expected ';', identifier or '(' before 'bool' 103 | typedef enum {FALSE, TRUE} bool; | ^~~~ sjeng.h:103:28: warning: useless type name in empty declaration make[2]: *** [Makefile:519: sjeng-attacks.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' gcc -DHAVE_CONFIG_H -I. -DBOOK_PATH="\"/usr/share/games/sjeng\"" -DSYSCONFDIR="\"/etc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o sjeng-learn.o `test -f 'learn.c' || echo './'`learn.c In file included from learn.c:24: sjeng.h:103:28: error: expected ';', identifier or '(' before 'bool' 103 | typedef enum {FALSE, TRUE} bool; | ^~~~ sjeng.h:103:28: warning: useless type name in empty declaration learn.c: In function 'Learn': learn.c:67:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 67 | fread(&number, sizeof(int), 1, *lrnfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ learn.c:68:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 68 | fread(&next, sizeof(int), 1, *lrnfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ learn.c: In function 'LoadLearn': learn.c:128:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 128 | fread(&number, sizeof(int), 1, *lrnfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ learn.c:133:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 133 | fread(&draft, sizeof(LearnType), 1, *lrnfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:561: sjeng-learn.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' gcc -DHAVE_CONFIG_H -I. -DBOOK_PATH="\"/usr/share/games/sjeng\"" -DSYSCONFDIR="\"/etc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o sjeng-epd.o `test -f 'epd.c' || echo './'`epd.c In file included from epd.c:24: sjeng.h:103:28: error: expected ';', identifier or '(' before 'bool' 103 | typedef enum {FALSE, TRUE} bool; | ^~~~ sjeng.h:103:28: warning: useless type name in empty declaration make[2]: *** [Makefile:547: sjeng-epd.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' gcc -DHAVE_CONFIG_H -I. -DBOOK_PATH="\"/usr/share/games/sjeng\"" -DSYSCONFDIR="\"/etc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o sjeng-seval.o `test -f 'seval.c' || echo './'`seval.c In file included from seval.c:24: sjeng.h:103:28: error: expected ';', identifier or '(' before 'bool' 103 | typedef enum {FALSE, TRUE} bool; | ^~~~ sjeng.h:103:28: warning: useless type name in empty declaration make[2]: *** [Makefile:589: sjeng-seval.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' gcc -DHAVE_CONFIG_H -I. -DBOOK_PATH="\"/usr/share/games/sjeng\"" -DSYSCONFDIR="\"/etc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o sjeng-ttable.o `test -f 'ttable.c' || echo './'`ttable.c In file included from ttable.c:24: sjeng.h:103:28: error: expected ';', identifier or '(' before 'bool' 103 | typedef enum {FALSE, TRUE} bool; | ^~~~ sjeng.h:103:28: warning: useless type name in empty declaration make[2]: *** [Makefile:603: sjeng-ttable.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' gcc -DHAVE_CONFIG_H -I. -DBOOK_PATH="\"/usr/share/games/sjeng\"" -DSYSCONFDIR="\"/etc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o sjeng-crazy.o `test -f 'crazy.c' || echo './'`crazy.c In file included from crazy.c:25: sjeng.h:103:28: error: expected ';', identifier or '(' before 'bool' 103 | typedef enum {FALSE, TRUE} bool; | ^~~~ sjeng.h:103:28: warning: useless type name in empty declaration make[2]: *** [Makefile:533: sjeng-crazy.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' gcc -DHAVE_CONFIG_H -I. -DBOOK_PATH="\"/usr/share/games/sjeng\"" -DSYSCONFDIR="\"/etc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o sjeng-partner.o `test -f 'partner.c' || echo './'`partner.c In file included from partner.c:24: sjeng.h:103:28: error: expected ';', identifier or '(' before 'bool' 103 | typedef enum {FALSE, TRUE} bool; | ^~~~ sjeng.h:103:28: warning: useless type name in empty declaration make[2]: *** [Makefile:575: sjeng-partner.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' gcc -DHAVE_CONFIG_H -I. -DBOOK_PATH="\"/usr/share/games/sjeng\"" -DSYSCONFDIR="\"/etc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o sjeng-eval.o `test -f 'eval.c' || echo './'`eval.c In file included from eval.c:24: sjeng.h:103:28: error: expected ';', identifier or '(' before 'bool' 103 | typedef enum {FALSE, TRUE} bool; | ^~~~ sjeng.h:103:28: warning: useless type name in empty declaration make[2]: *** [Makefile:645: sjeng-eval.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' gcc -DHAVE_CONFIG_H -I. -DBOOK_PATH="\"/usr/share/games/sjeng\"" -DSYSCONFDIR="\"/etc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o sjeng-book.o `test -f 'book.c' || echo './'`book.c In file included from book.c:26: sjeng.h:103:28: error: expected ';', identifier or '(' before 'bool' 103 | typedef enum {FALSE, TRUE} bool; | ^~~~ sjeng.h:103:28: warning: useless type name in empty declaration make[2]: *** [Makefile:617: sjeng-book.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' gcc -DHAVE_CONFIG_H -I. -DBOOK_PATH="\"/usr/share/games/sjeng\"" -DSYSCONFDIR="\"/etc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o sjeng-segtb.o `test -f 'segtb.c' || echo './'`segtb.c In file included from segtb.c:25: sjeng.h:103:28: error: expected ';', identifier or '(' before 'bool' 103 | typedef enum {FALSE, TRUE} bool; | ^~~~ sjeng.h:103:28: warning: useless type name in empty declaration make[2]: *** [Makefile:827: sjeng-segtb.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' gcc -DHAVE_CONFIG_H -I. -DBOOK_PATH="\"/usr/share/games/sjeng\"" -DSYSCONFDIR="\"/etc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o sjeng-rcfile.o `test -f 'rcfile.c' || echo './'`rcfile.c In file included from rcfile.c:28: sjeng.h:103:28: error: expected ';', identifier or '(' before 'bool' 103 | typedef enum {FALSE, TRUE} bool; | ^~~~ sjeng.h:103:28: warning: useless type name in empty declaration rcfile.c: In function 'read_rcfile': rcfile.c:123:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 123 | fgets(line, STR_BUFF, rcfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcfile.c:124:26: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 124 | while (line[0] == '#') fgets(line, STR_BUFF, rcfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcfile.c:127:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 127 | fgets(line, STR_BUFF, rcfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcfile.c:128:26: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 128 | while (line[0] == '#') fgets(line, STR_BUFF, rcfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcfile.c:131:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 131 | fgets(line, STR_BUFF, rcfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcfile.c:132:26: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 132 | while (line[0] == '#') fgets(line, STR_BUFF, rcfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcfile.c:135:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 135 | fgets(line, STR_BUFF, rcfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcfile.c:136:26: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 136 | while (line[0] == '#') fgets(line, STR_BUFF, rcfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcfile.c:139:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 139 | fgets(line, STR_BUFF, rcfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcfile.c:140:26: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | while (line[0] == '#') fgets(line, STR_BUFF, rcfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcfile.c:143:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 143 | fgets(line, STR_BUFF, rcfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcfile.c:144:26: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 144 | while (line[0] == '#') fgets(line, STR_BUFF, rcfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcfile.c:147:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 147 | fgets(line, STR_BUFF, rcfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcfile.c:148:26: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 148 | while (line[0] == '#') fgets(line, STR_BUFF, rcfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcfile.c:151:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 151 | fgets(line, STR_BUFF, rcfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcfile.c:152:26: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 152 | while (line[0] == '#') fgets(line, STR_BUFF, rcfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcfile.c:155:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 155 | fgets(line, STR_BUFF, rcfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcfile.c:156:26: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 156 | while (line[0] == '#') fgets(line, STR_BUFF, rcfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcfile.c:159:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 159 | fgets(line, STR_BUFF, rcfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcfile.c:160:26: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 160 | while (line[0] == '#') fgets(line, STR_BUFF, rcfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcfile.c:163:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 163 | fgets(line, STR_BUFF, rcfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcfile.c:164:26: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 164 | while (line[0] == '#') fgets(line, STR_BUFF, rcfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcfile.c:167:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 167 | fgets(line, STR_BUFF, rcfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcfile.c:168:26: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 168 | while (line[0] == '#') fgets(line, STR_BUFF, rcfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcfile.c:171:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 171 | fgets(line, STR_BUFF, rcfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcfile.c:172:26: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 172 | while (line[0] == '#') fgets(line, STR_BUFF, rcfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcfile.c:175:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 175 | fgets(line, STR_BUFF, rcfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcfile.c:176:26: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 176 | while (line[0] == '#') fgets(line, STR_BUFF, rcfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcfile.c:184:16: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 184 | do { fgets(line, STR_BUFF, rcfile);} while (line[0] == '#'); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcfile.c:195:15: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 195 | do {fgets(line, STR_BUFF, rcfile);} while ((line[0] == '#') && !feof(rcfile)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:757: sjeng-rcfile.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' gcc -DHAVE_CONFIG_H -I. -DBOOK_PATH="\"/usr/share/games/sjeng\"" -DSYSCONFDIR="\"/etc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o sjeng-search.o `test -f 'search.c' || echo './'`search.c In file included from search.c:24: sjeng.h:103:28: error: expected ';', identifier or '(' before 'bool' 103 | typedef enum {FALSE, TRUE} bool; | ^~~~ sjeng.h:103:28: warning: useless type name in empty declaration make[2]: *** [Makefile:673: sjeng-search.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' gcc -DHAVE_CONFIG_H -I. -DBOOK_PATH="\"/usr/share/games/sjeng\"" -DSYSCONFDIR="\"/etc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o sjeng-sjeng.o `test -f 'sjeng.c' || echo './'`sjeng.c In file included from sjeng.c:35: sjeng.h:103:28: error: expected ';', identifier or '(' before 'bool' 103 | typedef enum {FALSE, TRUE} bool; | ^~~~ sjeng.h:103:28: warning: useless type name in empty declaration make[2]: *** [Makefile:687: sjeng-sjeng.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' gcc -DHAVE_CONFIG_H -I. -DBOOK_PATH="\"/usr/share/games/sjeng\"" -DSYSCONFDIR="\"/etc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o sjeng-moves.o `test -f 'moves.c' || echo './'`moves.c In file included from moves.c:24: sjeng.h:103:28: error: expected ';', identifier or '(' before 'bool' 103 | typedef enum {FALSE, TRUE} bool; | ^~~~ sjeng.h:103:28: warning: useless type name in empty declaration make[2]: *** [Makefile:659: sjeng-moves.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' gcc -DHAVE_CONFIG_H -I. -DBOOK_PATH="\"/usr/share/games/sjeng\"" -DSYSCONFDIR="\"/etc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o sjeng-newbook.o `test -f 'newbook.c' || echo './'`newbook.c In file included from newbook.c:24: sjeng.h:103:28: error: expected ';', identifier or '(' before 'bool' 103 | typedef enum {FALSE, TRUE} bool; | ^~~~ sjeng.h:103:28: warning: useless type name in empty declaration make[2]: *** [Makefile:715: sjeng-newbook.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' gcc -DHAVE_CONFIG_H -I. -DBOOK_PATH="\"/usr/share/games/sjeng\"" -DSYSCONFDIR="\"/etc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o sjeng-utils.o `test -f 'utils.c' || echo './'`utils.c In file included from utils.c:25: sjeng.h:103:28: error: expected ';', identifier or '(' before 'bool' 103 | typedef enum {FALSE, TRUE} bool; | ^~~~ sjeng.h:103:28: warning: useless type name in empty declaration utils.c: In function 'rtime': utils.c:873:3: warning: 'ftime' is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations] 873 | ftime(&temp); | ^~~~~ In file included from sjeng.h:36: /usr/include/sys/timeb.h:29:12: note: declared here 29 | extern int ftime (struct timeb *__timebuf) | ^~~~~ make[2]: *** [Makefile:701: sjeng-utils.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' gcc -DHAVE_CONFIG_H -I. -DBOOK_PATH="\"/usr/share/games/sjeng\"" -DSYSCONFDIR="\"/etc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o sjeng-proof.o `test -f 'proof.c' || echo './'`proof.c In file included from proof.c:24: sjeng.h:103:28: error: expected ';', identifier or '(' before 'bool' 103 | typedef enum {FALSE, TRUE} bool; | ^~~~ sjeng.h:103:28: warning: useless type name in empty declaration make[2]: *** [Makefile:729: sjeng-proof.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sjeng-free-11.2-build/Sjeng-Free-11.2' make[1]: *** [Makefile:843: all-recursive] Error 1 make: *** [Makefile:365: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.t6R4Bc (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.t6R4Bc (%build) I: [iurt_root_command] ERROR: chroot