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/utrac-0.3.0-15.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.KmRsv7 sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.BvrbEk + umask 022 + cd /home/pterjan/rpmbuild/BUILD/utrac-0.3.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/utrac-0.3.0-build + rm -rf utrac-0.3.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/utrac-0.3.0.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd utrac-0.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (utrac-fix-long-64bit.diff):' Patch #0 (utrac-fix-long-64bit.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file utrac.h patching file ut_utils.c + perl -pi -e 's|/usr/local|/usr|g' Makefile + perl -pi -e 's|/lib|/lib64|g' Makefile + perl -pi -e 's|/man/man1|/share/man/man1|g' Makefile + 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.F8pfFU + umask 022 + cd /home/pterjan/rpmbuild/BUILD/utrac-0.3.0-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 utrac-0.3.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j48 V=1 VERBOSE=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' ln -sf ut_messages_en.c ut_messages.c gcc -c -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 ut_messages.c -o ut_messages.o In file included from ut_messages.c:30: utrac.h:34:28: error: 'bool' cannot be defined via 'typedef' 34 | typedef unsigned short int bool; | ^~~~ utrac.h:34:28: note: 'bool' is a keyword with '-std=c23' onwards utrac.h:34:1: warning: useless type name in empty declaration 34 | typedef unsigned short int bool; | ^~~~~~~ make: *** [Makefile:94: ut_messages.o] Error 1 make: *** Waiting for unfinished jobs.... gcc -c -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 ut_recognition2.c -o ut_recognition2.o In file included from ut_recognition2.c:35: utrac.h:34:28: error: 'bool' cannot be defined via 'typedef' 34 | typedef unsigned short int bool; | ^~~~ utrac.h:34:28: note: 'bool' is a keyword with '-std=c23' onwards utrac.h:34:1: warning: useless type name in empty declaration 34 | typedef unsigned short int bool; | ^~~~~~~ make: *** [Makefile:81: ut_recognition2.o] Error 1 gcc -c -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 utrac.c -o utrac.o In file included from utrac.c:35: utrac.h:34:28: error: 'bool' cannot be defined via 'typedef' 34 | typedef unsigned short int bool; | ^~~~ utrac.h:34:28: note: 'bool' is a keyword with '-std=c23' onwards utrac.h:34:1: warning: useless type name in empty declaration 34 | typedef unsigned short int bool; | ^~~~~~~ make: *** [Makefile:100: utrac.o] Error 1 gcc -c -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 ut_loading.c -o ut_loading.o In file included from ut_loading.c:38: utrac.h:34:28: error: 'bool' cannot be defined via 'typedef' 34 | typedef unsigned short int bool; | ^~~~ utrac.h:34:28: note: 'bool' is a keyword with '-std=c23' onwards utrac.h:34:1: warning: useless type name in empty declaration 34 | typedef unsigned short int bool; | ^~~~~~~ make: *** [Makefile:75: ut_loading.o] Error 1 gcc -c -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 ut_recognition1.c -o ut_recognition1.o In file included from ut_recognition1.c:35: utrac.h:34:28: error: 'bool' cannot be defined via 'typedef' 34 | typedef unsigned short int bool; | ^~~~ utrac.h:34:28: note: 'bool' is a keyword with '-std=c23' onwards utrac.h:34:1: warning: useless type name in empty declaration 34 | typedef unsigned short int bool; | ^~~~~~~ make: *** [Makefile:78: ut_recognition1.o] Error 1 gcc -c -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 ut_utils.c -o ut_utils.o In file included from ut_utils.c:44: utrac.h:34:28: error: 'bool' cannot be defined via 'typedef' 34 | typedef unsigned short int bool; | ^~~~ utrac.h:34:28: note: 'bool' is a keyword with '-std=c23' onwards utrac.h:34:1: warning: useless type name in empty declaration 34 | typedef unsigned short int bool; | ^~~~~~~ make: *** [Makefile:91: ut_utils.o] Error 1 gcc -w -Wno-multichar -c -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 -DUT_CHARMAPS_FILENAME='"/usr/share/utrac/charsets.dat"' ut_charset.c -o ut_charset.o In file included from ut_charset.c:44: utrac.h:34:28: error: 'bool' cannot be defined via 'typedef' 34 | typedef unsigned short int bool; | ^~~~ utrac.h:34:28: note: 'bool' is a keyword with '-std=c23' onwards make: *** [Makefile:88: ut_charset.o] Error 1 gcc -c -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 ut_conversion.c -o ut_conversion.o In file included from ut_conversion.c:36: utrac.h:34:28: error: 'bool' cannot be defined via 'typedef' 34 | typedef unsigned short int bool; | ^~~~ utrac.h:34:28: note: 'bool' is a keyword with '-std=c23' onwards utrac.h:34:1: warning: useless type name in empty declaration 34 | typedef unsigned short int bool; | ^~~~~~~ make: *** [Makefile:84: ut_conversion.o] Error 1 gcc -c -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 utrac_cmd.c -o utrac_cmd.o In file included from utrac_cmd.c:39: utrac.h:34:28: error: 'bool' cannot be defined via 'typedef' 34 | typedef unsigned short int bool; | ^~~~ utrac.h:34:28: note: 'bool' is a keyword with '-std=c23' onwards utrac.h:34:1: warning: useless type name in empty declaration 34 | typedef unsigned short int bool; | ^~~~~~~ make: *** [Makefile:72: utrac_cmd.o] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.F8pfFU (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.F8pfFU (%build) I: [iurt_root_command] ERROR: chroot