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/drv_z42-0.4.3-21.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.s3pvp4 sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.R3sjV1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/drv_z42-0.4.3-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/drv_z42-0.4.3-build + rm -rf drv_z42 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/drv_z42-0.4.3.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd drv_z42 + /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.1DPAAI + umask 022 + cd /home/pterjan/rpmbuild/BUILD/drv_z42-0.4.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 drv_z42 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + pushd src ~/rpmbuild/BUILD/drv_z42-0.4.3-build/drv_z42/src ~/rpmbuild/BUILD/drv_z42-0.4.3-build/drv_z42 + gcc -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 -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 -o z42_cmyk z42_cmyk.c z42_cmyk.c:58:23: error: 'bool' cannot be defined via 'typedef' 58 | typedef unsigned char bool; | ^~~~ z42_cmyk.c:58:23: note: 'bool' is a keyword with '-std=c23' onwards z42_cmyk.c:58:1: warning: useless type name in empty declaration 58 | typedef unsigned char bool; | ^~~~~~~ z42_cmyk.c: In function 'print': z42_cmyk.c:343:25: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 343 | fread(lbuf, 1, gs_width/2, in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ z42_cmyk.c:481:62: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 481 | for (i=0; i<(gs_height-height); i++) fread(lbuf, 1, gs_width/2, in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.1DPAAI (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.1DPAAI (%build) I: [iurt_root_command] ERROR: chroot