D: [iurt_root_command] chroot warning: %make is deprecated, use %make_build instead warning: %make is deprecated, use %make_build instead sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/perl-Data-UUID-LibUUID-0.50.0-31.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ySoz5P + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf Data-UUID-LibUUID-0.05 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/Data-UUID-LibUUID-0.05.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Data-UUID-LibUUID-0.05 + rm -rf /home/pterjan/rpmbuild/BUILD/Data-UUID-LibUUID-0.05-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/Data-UUID-LibUUID-0.05-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/fix-building-with-gcc12.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-Fix-use-of-uninitialized-memory-in-new_uuid-when-ver.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.vprHnM + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd Data-UUID-LibUUID-0.05 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor Checking if your kit is complete... Looks good trying gcc -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -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 -o /dev/null hdr_check.c Generating a Unix-style Makefile Writing Makefile for Data::UUID::LibUUID Writing MYMETA.yml and MYMETA.json + /usr/bin/make -O -j48 Running Mkbootstrap for LibUUID () chmod 644 "LibUUID.bs" "/usr/bin/perl5.38.2" -MExtUtils::Command::MM -e 'cp_nonempty' -- LibUUID.bs blib/arch/auto/Data/UUID/LibUUID/LibUUID.bs 644 cp lib/Data/UUID/LibUUID/DataUUIDCompat.pm blib/lib/Data/UUID/LibUUID/DataUUIDCompat.pm cp lib/Data/UUID/LibUUID.pm blib/lib/Data/UUID/LibUUID.pm "/usr/bin/perl5.38.2" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' LibUUID.xs > LibUUID.xsc mv LibUUID.xsc LibUUID.c gcc -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -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=\"0.05\" -DXS_VERSION=\"0.05\" -fPIC "-I/usr/lib64/perl5/CORE" LibUUID.c LibUUID.xs: In function 'pid_check': LibUUID.xs:62:9: error: implicit declaration of function 'arc4random_stir'; did you mean 'arc4random_buf'? [-Wimplicit-function-declaration] 62 | arc4random_stir(); | ^~~~~~~~~~~~~~~ | arc4random_buf make: *** [Makefile:343: LibUUID.o] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.vprHnM (%build) RPM build warnings: %make is deprecated, use %make_build instead %make is deprecated, use %make_build instead RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.vprHnM (%build) I: [iurt_root_command] ERROR: chroot