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/perl-Date-Pcalc-6.100.0-31.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.fa1lX5 sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.NqYvXR + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Date-Pcalc-6.100.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/perl-Date-Pcalc-6.100.0-build + rm -rf Date-Pcalc-6.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/Date-Pcalc-6.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Date-Pcalc-6.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/Date-Pcalc-6.1-fix_perl_516_boolean.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/Date-Pcalc-6.1-century.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/Date-Pcalc-6.1-fix-build-with-perl-5.26.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + 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.6ep0zt + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Date-Pcalc-6.100.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 Date-Pcalc-6.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + echo c + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor Testing your C compiler... Config.pm indicates that your version of Perl was built with this C compiler: gcc I have located and successfully tested this compiler on your system. You now have the option to either install the (fast) C/XS implementation of this module (recommended), or a (somewhat slower) pure-Perl implementation. Install C/XS version (answer 'c') or pure-Perl version (answer 'p')? [c] Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Date::Pcalc Writing MYMETA.yml and MYMETA.json Writing patchlevel.h for /usr/bin/perl5.40.1 (5.040001) + /usr/bin/make -O -j48 V=1 VERBOSE=1 Running Mkbootstrap for Pcalc () chmod 644 "Pcalc.bs" "/usr/bin/perl5.40.1" -MExtUtils::Command::MM -e 'cp_nonempty' -- Pcalc.bs blib/arch/auto/Date/Pcalc/Pcalc.bs 644 cp lib/Date/Pcalendar/Year.pod blib/lib/Date/Pcalendar/Year.pod cp lib/Date/Pcalendar/Profiles.pm blib/lib/Date/Pcalendar/Profiles.pm cp lib/Date/Pcalendar/Year.pm blib/lib/Date/Pcalendar/Year.pm cp Pcalendar.pm blib/lib/Date/Pcalendar.pm cp lib/Date/Pcalc/Object.pm blib/lib/Date/Pcalc/Object.pm cp lib/Date/Pcalc/Object.pod blib/lib/Date/Pcalc/Object.pod cp Pcalc.pm blib/lib/Date/Pcalc.pm cp Pcalc.pod blib/lib/Date/Pcalc.pod cp Pcalendar.pod blib/lib/Date/Pcalendar.pod cp lib/Date/Pcalendar/Profiles.pod blib/lib/Date/Pcalendar/Profiles.pod gcc -c -D_REENTRANT -D_GNU_SOURCE -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 -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DVERSION=\"6.1\" -DXS_VERSION=\"6.1\" -fPIC "-I/usr/lib64/perl5/CORE" DatePcalc.c In file included from DatePcalc.c:15: ToolBox.h:98:20: error: cannot use keyword 'false' as enumeration constant 98 | enum { false, true }; | ^~~~~ ToolBox.h:98:20: note: 'false' is a keyword with '-std=c23' onwards make: *** [Makefile:352: DatePcalc.o] Error 1 make: *** Waiting for unfinished jobs.... "/usr/bin/perl5.40.1" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/home/pterjan/rpmbuild/BUILD/perl-Date-Pcalc-6.100.0-build/Date-Pcalc-6.1/typemap' Pcalc.xs > Pcalc.xsc mv Pcalc.xsc Pcalc.c error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.6ep0zt (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.6ep0zt (%build) I: [iurt_root_command] ERROR: chroot