D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/perl-Net-RawIP-0.250.0-30.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.f2OG9G + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Net-RawIP-0.250.0-build + test -d /home/pterjan/rpmbuild/BUILD/perl-Net-RawIP-0.250.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/perl-Net-RawIP-0.250.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/perl-Net-RawIP-0.250.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Net-RawIP-0.250.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Net-RawIP-0.250.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.edeGzg + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Net-RawIP-0.250.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/perl-Net-RawIP-0.250.0-build + rm -rf Net-RawIP-0.25 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/Net-RawIP-0.25.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Net-RawIP-0.25 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/Net-RawIP-0.23-format.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/Net-RawIP-0.25-Use-_DEFAULT_SOURCE-instead-of-_BSD_SOURCE.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/Net-RawIP-0.25-Decalare-used-function.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/Net-RawIP-0.25-Silent-compiler-warnings.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + find . -type d -exec chmod 755 '{}' ';' + find . -type f -exec chmod 644 '{}' ';' + find . -type f + xargs file + grep CRLF + cut -d: -f1 + xargs perl -p -i -e 's/\r//' -i used with no filenames on the command line, reading from STDIN. + find . -type f + xargs file + grep text + cut -d: -f1 + xargs perl -p -i -e 's/\r//' + perl -pi -e 's!/usr/lib!/usr/lib64!g' Makefile.PL + 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.x5iObR + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Net-RawIP-0.250.0-build + cd Net-RawIP-0.25 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor Compiler: gcc gcc (Mageia 14.2.0-1.mga10) 14.2.0 Copyright (C) 2024 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Net::RawIP Writing MYMETA.yml and MYMETA.json + /usr/bin/make -O -j48 V=1 VERBOSE=1 Running Mkbootstrap for RawIP () chmod 644 "RawIP.bs" "/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- RawIP.bs blib/arch/auto/Net/RawIP/RawIP.bs 644 cp lib/Net/RawIP/ethhdr.pm blib/lib/Net/RawIP/ethhdr.pm cp lib/Net/RawIP.pm blib/lib/Net/RawIP.pm AutoSplitting blib/lib/Net/RawIP.pm (blib/lib/auto/Net/RawIP) cp lib/Net/RawIP/tcphdr.pm blib/lib/Net/RawIP/tcphdr.pm cp RawIP/libpcap.pod blib/lib/Net/RawIP/libpcap.pod cp lib/Net/RawIP/opt.pm blib/lib/Net/RawIP/opt.pm cp lib/Net/RawIP/iphdr.pm blib/lib/Net/RawIP/iphdr.pm cp lib/Net/RawIP/generichdr.pm blib/lib/Net/RawIP/generichdr.pm cp lib/Net/RawIP/icmphdr.pm blib/lib/Net/RawIP/icmphdr.pm cp lib/Net/RawIP/udphdr.pm blib/lib/Net/RawIP/udphdr.pm 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=\"0.25\" -DXS_VERSION=\"0.25\" -fPIC "-I/usr/lib64/perl5/CORE" -D_LINUX_ -D_ETH_ -D_IFLIST_ -D_GLIBC_ ifaddrlist.c "/usr/bin/perl5.40.0" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/home/pterjan/rpmbuild/BUILD/perl-Net-RawIP-0.250.0-build/Net-RawIP-0.25/typemap' RawIP.xs > RawIP.xsc mv RawIP.xsc RawIP.c 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=\"0.25\" -DXS_VERSION=\"0.25\" -fPIC "-I/usr/lib64/perl5/CORE" -D_LINUX_ -D_ETH_ -D_IFLIST_ -D_GLIBC_ eth.c 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=\"0.25\" -DXS_VERSION=\"0.25\" -fPIC "-I/usr/lib64/perl5/CORE" -D_LINUX_ -D_ETH_ -D_IFLIST_ -D_GLIBC_ util.c 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=\"0.25\" -DXS_VERSION=\"0.25\" -fPIC "-I/usr/lib64/perl5/CORE" -D_LINUX_ -D_ETH_ -D_IFLIST_ -D_GLIBC_ RawIP.c RawIP.xs: In function 'XS_Net__RawIP_lookupdev': RawIP.xs:1365:5: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 1365 | RETVAL = pcap_lookupdev(ebuf); | ^~~~~~ In file included from /usr/include/pcap.h:43, from RawIP.xs:37: /usr/include/pcap/pcap.h:444:18: note: declared here 444 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ rm -f blib/arch/auto/Net/RawIP/RawIP.so gcc -lpthread -shared -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -fstack-protector-strong RawIP.o util.o eth.o ifaddrlist.o -o blib/arch/auto/Net/RawIP/RawIP.so \ -lpcap -lperl \ chmod 755 blib/arch/auto/Net/RawIP/RawIP.so Manifying 2 pod documents + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Ur2kGm + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Net-RawIP-0.250.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/perl-Net-RawIP-0.250.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/perl-Net-RawIP-0.250.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/perl-Net-RawIP-0.250.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Net-RawIP-0.250.0-build + mkdir /home/pterjan/rpmbuild/BUILD/perl-Net-RawIP-0.250.0-build/BUILDROOT + cd Net-RawIP-0.25 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/perl-Net-RawIP-0.250.0-build/BUILDROOT 'INSTALL=/usr/bin/install -p' "/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- RawIP.bs blib/arch/auto/Net/RawIP/RawIP.bs 644 Manifying 2 pod documents Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /home/pterjan/rpmbuild/BUILD/perl-Net-RawIP-0.250.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/Net/RawIP/RawIP.so Installing /home/pterjan/rpmbuild/BUILD/perl-Net-RawIP-0.250.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/Net/RawIP/autosplit.ix Installing /home/pterjan/rpmbuild/BUILD/perl-Net-RawIP-0.250.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Net/RawIP.pm Installing /home/pterjan/rpmbuild/BUILD/perl-Net-RawIP-0.250.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Net/RawIP/libpcap.pod Installing /home/pterjan/rpmbuild/BUILD/perl-Net-RawIP-0.250.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Net/RawIP/ethhdr.pm Installing /home/pterjan/rpmbuild/BUILD/perl-Net-RawIP-0.250.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Net/RawIP/icmphdr.pm Installing /home/pterjan/rpmbuild/BUILD/perl-Net-RawIP-0.250.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Net/RawIP/generichdr.pm Installing /home/pterjan/rpmbuild/BUILD/perl-Net-RawIP-0.250.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Net/RawIP/tcphdr.pm Installing /home/pterjan/rpmbuild/BUILD/perl-Net-RawIP-0.250.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Net/RawIP/iphdr.pm Installing /home/pterjan/rpmbuild/BUILD/perl-Net-RawIP-0.250.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Net/RawIP/udphdr.pm Installing /home/pterjan/rpmbuild/BUILD/perl-Net-RawIP-0.250.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Net/RawIP/opt.pm Installing /home/pterjan/rpmbuild/BUILD/perl-Net-RawIP-0.250.0-build/BUILDROOT/usr/share/man/man3/Net::RawIP::libpcap.3pm Installing /home/pterjan/rpmbuild/BUILD/perl-Net-RawIP-0.250.0-build/BUILDROOT/usr/share/man/man3/Net::RawIP.3pm Appending installation info to /home/pterjan/rpmbuild/BUILD/perl-Net-RawIP-0.250.0-build/BUILDROOT/usr/lib64/perl5/perllocal.pod + /usr/bin/find-debuginfo -j48 --strict-build-id -m -i --build-id-seed 0.250.0-30.mga10 --unique-debug-suffix -0.250.0-30.mga10.x86_64 --unique-debug-src-base perl-Net-RawIP-0.250.0-30.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/perl-Net-RawIP-0.250.0-build/Net-RawIP-0.25 find-debuginfo: starting Extracting debug info from 1 files objcopy: unable to copy file '/home/pterjan/rpmbuild/BUILD/perl-Net-RawIP-0.250.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/Net/RawIP/RawIP.so'; reason: Permission denied *** ERROR:: GDB exited with exit status 1 during index generation error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Ur2kGm (%install) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Ur2kGm (%install) I: [iurt_root_command] ERROR: chroot