D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 warning: /home/pterjan/rpmbuild/SPECS/perl-Net-Pcap.spec line 35: autopatch: no matching patches in range Installing /home/pterjan/rpmbuild/SRPMS/perl-Net-Pcap-0.210.0-3.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.R5Xs4w + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Net-Pcap-0.210.0-build + test -d /home/pterjan/rpmbuild/BUILD/perl-Net-Pcap-0.210.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/perl-Net-Pcap-0.210.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/perl-Net-Pcap-0.210.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Net-Pcap-0.210.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Net-Pcap-0.210.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.CIkDx1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Net-Pcap-0.210.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/perl-Net-Pcap-0.210.0-build + rm -rf Net-Pcap-0.21 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/Net-Pcap-0.21.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Net-Pcap-0.21 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.2rlcLS + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Net-Pcap-0.210.0-build + cd Net-Pcap-0.21 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor looking for -lpcap... yes checking for pcap_lib_version() in -lpcap... yes detecting available functions... ok detecting libpcap version... Running [gcc -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 -Wall -Wwrite-strings 'pcap_version.c' -lpcap -o pcap_version.exe] ok (libpcap version 1.10.5 (with TPACKET_V3)) Setting -DPERL_PCAP_VERSION=1010005 Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Net::Pcap Writing MYMETA.yml and MYMETA.json + /usr/bin/make -O -j16 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' Running Mkbootstrap for Pcap () chmod 644 "Pcap.bs" cp Pcap.pm blib/lib/Net/Pcap.pm "/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- Pcap.bs blib/arch/auto/Net/Pcap/Pcap.bs 644 "/usr/bin/perl5.40.0" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/home/pterjan/rpmbuild/BUILD/perl-Net-Pcap-0.210.0-build/Net-Pcap-0.21/typemap' Pcap.xs > Pcap.xsc mv Pcap.xsc Pcap.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 -Wall -Wwrite-strings -g -DVERSION=\"0.21\" -DXS_VERSION=\"0.21\" -fPIC "-I/usr/lib64/perl5/CORE" -DHAVE_BLANK -DHAVE_PCAP_LIB_VERSION -DHAVE_PCAP_SETSAMPLING -DHAVE_PCAP_BREAKLOOP -DHAVE_PCAP_COMPILE_NOPCAP -DHAVE_PCAP_DATALINK_NAME_TO_VAL -DHAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION -DHAVE_PCAP_DATALINK_VAL_TO_NAME -DHAVE_PCAP_DUMP_FILE -DHAVE_PCAP_DUMP_FLUSH -DHAVE_PCAP_FINDALLDEVS -DHAVE_PCAP_GETNONBLOCK -DHAVE_PCAP_GET_SELECTABLE_FD -DHAVE_PCAP_LIB_VERSION -DHAVE_PCAP_NEXT_EX -DHAVE_PCAP_OFFLINE_FILTER -DHAVE_PCAP_OPEN_DEAD -DHAVE_PCAP_SENDPACKET -DHAVE_PCAP_SETNONBLOCK -DHAVE_PCAP_SET_DATALINK -DPERL_PCAP_VERSION=1010005 Pcap.c In file included from Pcap.xs:43: stubs.inc:187:2: warning: #warning "the function pcap_list_datalinks() is not available" [-Wcpp] 187 | #warning "the function pcap_list_datalinks() is not available" | ^~~~~~~ stubs.inc:322:2: warning: #warning "the function pcap_createsrcstr() is not available" [-Wcpp] 322 | #warning "the function pcap_createsrcstr() is not available" | ^~~~~~~ stubs.inc:337:2: warning: #warning "the function pcap_parsesrcstr() is not available" [-Wcpp] 337 | #warning "the function pcap_parsesrcstr() is not available" | ^~~~~~~ stubs.inc:352:2: warning: #warning "the function pcap_open() is not available" [-Wcpp] 352 | #warning "the function pcap_open() is not available" | ^~~~~~~ stubs.inc:376:2: warning: #warning "the function pcap_setbuff() is not available" [-Wcpp] 376 | #warning "the function pcap_setbuff() is not available" | ^~~~~~~ stubs.inc:391:2: warning: #warning "the function pcap_setuserbuffer() is not available" [-Wcpp] 391 | #warning "the function pcap_setuserbuffer() is not available" | ^~~~~~~ stubs.inc:406:2: warning: #warning "the function pcap_setmode() is not available" [-Wcpp] 406 | #warning "the function pcap_setmode() is not available" | ^~~~~~~ stubs.inc:421:2: warning: #warning "the function pcap_setmintocopy() is not available" [-Wcpp] 421 | #warning "the function pcap_setmintocopy() is not available" | ^~~~~~~ stubs.inc:436:2: warning: #warning "the function pcap_sendqueue_alloc() is not available" [-Wcpp] 436 | #warning "the function pcap_sendqueue_alloc() is not available" | ^~~~~~~ stubs.inc:458:2: warning: #warning "the function pcap_sendqueue_destroy() is not available" [-Wcpp] 458 | #warning "the function pcap_sendqueue_destroy() is not available" | ^~~~~~~ stubs.inc:472:2: warning: #warning "the function pcap_sendqueue_queue() is not available" [-Wcpp] 472 | #warning "the function pcap_sendqueue_queue() is not available" | ^~~~~~~ stubs.inc:487:2: warning: #warning "the function pcap_sendqueue_transmit() is not available" [-Wcpp] 487 | #warning "the function pcap_sendqueue_transmit() is not available" | ^~~~~~~ stubs.inc:502:2: warning: #warning "the function pcap_event() is not available" [-Wcpp] 502 | #warning "the function pcap_event() is not available" | ^~~~~~~ Pcap.xs: In function 'XS_Net__Pcap_lookupdev': Pcap.xs:108:25: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 108 | RETVAL = pcap_lookupdev(errbuf); | ^~~~~~ In file included from /usr/include/pcap.h:43, from Pcap.xs:32: /usr/include/pcap/pcap.h:444:18: note: declared here 444 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ Pcap.xs: In function 'XS_Net__Pcap_findalldevs_xs': Pcap.xs:222:21: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 222 | char *dev = pcap_lookupdev(errbuf); | ^~~~ /usr/include/pcap/pcap.h:444:18: note: declared here 444 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ Pcap.xs: In function 'XS_Net__Pcap_compile_nopcap': Pcap.xs:601:25: warning: 'pcap_compile_nopcap' is deprecated: use pcap_open_dead(), pcap_compile() and pcap_close() [-Wdeprecated-declarations] 601 | RETVAL = pcap_compile_nopcap(snaplen, linktype, real_fp, str, optimize, mask); | ^~~~~~ /usr/include/pcap/pcap.h:667:17: note: declared here 667 | PCAP_API int pcap_compile_nopcap(int, int, struct bpf_program *, | ^~~~~~~~~~~~~~~~~~~ Pcap.c: In function 'XS_Net__Pcap_strerror': Pcap.c:1729:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1729 | RETVAL = pcap_strerror(error); | ^ Pcap.xs: In function 'XS_Net__Pcap_getevent': Pcap.xs:1038:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1038 | h = (unsigned int) pcap_getevent(p); | ^ rm -f blib/arch/auto/Net/Pcap/Pcap.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 Pcap.o -o blib/arch/auto/Net/Pcap/Pcap.so \ -lpcap -lperl \ chmod 755 blib/arch/auto/Net/Pcap/Pcap.so cp bin/pcapinfo blib/script/pcapinfo "/usr/bin/perl5.40.0" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/pcapinfo Manifying 1 pod document Manifying 1 pod document + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.SfwzRt + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Net-Pcap-0.210.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/perl-Net-Pcap-0.210.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/perl-Net-Pcap-0.210.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/perl-Net-Pcap-0.210.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Net-Pcap-0.210.0-build + mkdir /home/pterjan/rpmbuild/BUILD/perl-Net-Pcap-0.210.0-build/BUILDROOT + cd Net-Pcap-0.21 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/perl-Net-Pcap-0.210.0-build/BUILDROOT 'INSTALL=/usr/bin/install -p' "/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- Pcap.bs blib/arch/auto/Net/Pcap/Pcap.bs 644 Manifying 1 pod document Manifying 1 pod document Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /home/pterjan/rpmbuild/BUILD/perl-Net-Pcap-0.210.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/Net/Pcap/Pcap.so Installing /home/pterjan/rpmbuild/BUILD/perl-Net-Pcap-0.210.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Net/Pcap.pm Installing /home/pterjan/rpmbuild/BUILD/perl-Net-Pcap-0.210.0-build/BUILDROOT/usr/share/man/man1/pcapinfo.1 Installing /home/pterjan/rpmbuild/BUILD/perl-Net-Pcap-0.210.0-build/BUILDROOT/usr/share/man/man3/Net::Pcap.3pm Installing /home/pterjan/rpmbuild/BUILD/perl-Net-Pcap-0.210.0-build/BUILDROOT/usr/bin/pcapinfo Appending installation info to /home/pterjan/rpmbuild/BUILD/perl-Net-Pcap-0.210.0-build/BUILDROOT/usr/lib64/perl5/perllocal.pod + find /home/pterjan/rpmbuild/BUILD/perl-Net-Pcap-0.210.0-build/BUILDROOT -name perllocal.pod -delete + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 0.210.0-3.mga10 --unique-debug-suffix -0.210.0-3.mga10.x86_64 --unique-debug-src-base perl-Net-Pcap-0.210.0-3.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-Pcap-0.210.0-build/Net-Pcap-0.21 find-debuginfo: starting Extracting debug info from 1 files objcopy: unable to copy file '/home/pterjan/rpmbuild/BUILD/perl-Net-Pcap-0.210.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/Net/Pcap/Pcap.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.SfwzRt (%install) RPM build warnings: /home/pterjan/rpmbuild/SPECS/perl-Net-Pcap.spec line 35: autopatch: no matching patches in range RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.SfwzRt (%install) I: [iurt_root_command] ERROR: chroot