Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/perl-Net-Pcap.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-195730-13298/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/perl-Net-Pcap.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/perl-Net-Pcap-0.21-2.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/perl-Net-Pcap.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-195730-13298/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/perl-Net-Pcap.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.itOtXJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Net-Pcap-0.21 + /usr/lib/rpm/rpmuncompress -x /builddir/build/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 . + for f in README Changes + iconv -f iso-8859-1 -t utf-8 README + mv -f README.conv README + for f in README Changes + iconv -f iso-8859-1 -t utf-8 Changes + mv -f Changes.conv Changes + chmod 0644 eg/pcapdump eg/pktdump.pl ++ find t -name '*.t' -o -name '*.pl' + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/leaktests/leaktest6.pl + chmod +x t/leaktests/leaktest6.pl + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/leaktests/leaktest4.pl + chmod +x t/leaktests/leaktest4.pl + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/leaktests/leaktest2.pl + chmod +x t/leaktests/leaktest2.pl + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/leaktests/leaktest1.pl + chmod +x t/leaktests/leaktest1.pl + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/leaktests/leaktest5.pl + chmod +x t/leaktests/leaktest5.pl + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/leaktests/leaktest3.pl + chmod +x t/leaktests/leaktest3.pl + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/21-next_ex.t + chmod +x t/21-next_ex.t + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/50-anyevent-pcap.t + chmod +x t/50-anyevent-pcap.t + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/14-datalink.t + chmod +x t/14-datalink.t + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/07-stats.t + chmod +x t/07-stats.t + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/20-constants.t + chmod +x t/20-constants.t + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/18-open_dead.t + chmod +x t/18-open_dead.t + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/distchk.t + chmod +x t/distchk.t + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/10-fileno.t + chmod +x t/10-fileno.t + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/11-snapshot.t + chmod +x t/11-snapshot.t + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/portfs.t + chmod +x t/portfs.t + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/podspell.t + chmod +x t/podspell.t + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/03-openlive.t + chmod +x t/03-openlive.t + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/05-dump.t + chmod +x t/05-dump.t + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/04-loop.t + chmod +x t/04-loop.t + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/podcover.t + chmod +x t/podcover.t + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/22-open.t + chmod +x t/22-open.t + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/23-srcstr.t + chmod +x t/23-srcstr.t + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/pod.t + chmod +x t/pod.t + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/15-is_swapped.t + chmod +x t/15-is_swapped.t + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/12-next.t + chmod +x t/12-next.t + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/08-filter.t + chmod +x t/08-filter.t + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/19-breakloop.t + chmod +x t/19-breakloop.t + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/50-net-pcap-easy.t + chmod +x t/50-net-pcap-easy.t + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/02-lookup.t + chmod +x t/02-lookup.t + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/13-dispatch.t + chmod +x t/13-dispatch.t + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/50-poe-component-pcap.t + chmod +x t/50-poe-component-pcap.t + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/16-setnonblock.t + chmod +x t/16-setnonblock.t + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/09-error.t + chmod +x t/09-error.t + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/17-lib_version.t + chmod +x t/17-lib_version.t + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/24-offline_filter.t + chmod +x t/24-offline_filter.t + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/00-load.t + chmod +x t/00-load.t + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/06-offline.t + chmod +x t/06-offline.t + for F in `find t -name *.t -o -name *.pl` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/01-api.t + chmod +x t/01-api.t + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.s6M6B0 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Net-Pcap-0.21 + perl Makefile.PL INSTALLDIRS=vendor 'OPTIMIZE=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' NO_PACKLIST=1 NO_PERLLOCAL=1 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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] Warning: prerequisite Sys::Hostname 0 not found. ok (libpcap version 1.10.4 (with TPACKET_V3)) Setting -DPERL_PCAP_VERSION=1010004 Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Net::Pcap + /usr/bin/make -O -j32 V=1 VERBOSE=1 Running Mkbootstrap for Pcap () chmod 644 "Pcap.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Pcap.bs blib/arch/auto/Net/Pcap/Pcap.bs 644 cp Pcap.pm blib/lib/Net/Pcap.pm "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/builddir/build/BUILD/Net-Pcap-0.21/typemap' Pcap.xs > Pcap.xsc mv Pcap.xsc Pcap.c gcc -c -D_REENTRANT -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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=1010004 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:395:18: note: declared here 395 | 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:395:18: note: declared here 395 | 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:618:17: note: declared here 618 | 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 -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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/perl" -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 /var/tmp/rpm-tmp.sV6wAL + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Net-Pcap-0.21-2.ocs23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Net-Pcap-0.21-2.ocs23.x86_64 ++ dirname /builddir/build/BUILDROOT/perl-Net-Pcap-0.21-2.ocs23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Net-Pcap-0.21-2.ocs23.x86_64 + cd Net-Pcap-0.21 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/perl-Net-Pcap-0.21-2.ocs23.x86_64 'INSTALL=/usr/bin/install -p' "/usr/bin/perl" -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 /builddir/build/BUILDROOT/perl-Net-Pcap-0.21-2.ocs23.x86_64/usr/lib64/perl5/vendor_perl/auto/Net/Pcap/Pcap.so Installing /builddir/build/BUILDROOT/perl-Net-Pcap-0.21-2.ocs23.x86_64/usr/lib64/perl5/vendor_perl/Net/Pcap.pm Installing /builddir/build/BUILDROOT/perl-Net-Pcap-0.21-2.ocs23.x86_64/usr/share/man/man1/pcapinfo.1 Installing /builddir/build/BUILDROOT/perl-Net-Pcap-0.21-2.ocs23.x86_64/usr/share/man/man3/Net::Pcap.3pm Installing /builddir/build/BUILDROOT/perl-Net-Pcap-0.21-2.ocs23.x86_64/usr/bin/pcapinfo + find /builddir/build/BUILDROOT/perl-Net-Pcap-0.21-2.ocs23.x86_64 -type f -name '*.bs' -a -size 0 -delete + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-Net-Pcap-0.21-2.ocs23.x86_64/usr + mkdir -p /builddir/build/BUILDROOT/perl-Net-Pcap-0.21-2.ocs23.x86_64/usr/libexec/perl-Net-Pcap + cp -a t /builddir/build/BUILDROOT/perl-Net-Pcap-0.21-2.ocs23.x86_64/usr/libexec/perl-Net-Pcap + rm -rf /builddir/build/BUILDROOT/perl-Net-Pcap-0.21-2.ocs23.x86_64/usr/libexec/perl-Net-Pcap/t/pod.t /builddir/build/BUILDROOT/perl-Net-Pcap-0.21-2.ocs23.x86_64/usr/libexec/perl-Net-Pcap/t/podcover.t /builddir/build/BUILDROOT/perl-Net-Pcap-0.21-2.ocs23.x86_64/usr/libexec/perl-Net-Pcap/t/podspell.t + rm -rf /builddir/build/BUILDROOT/perl-Net-Pcap-0.21-2.ocs23.x86_64/usr/libexec/perl-Net-Pcap/t/distchk.t + cp -a macros.all funcs.txt /builddir/build/BUILDROOT/perl-Net-Pcap-0.21-2.ocs23.x86_64/usr/libexec/perl-Net-Pcap + cat + chmod +x /builddir/build/BUILDROOT/perl-Net-Pcap-0.21-2.ocs23.x86_64/usr/libexec/perl-Net-Pcap/test + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 0.21-2.ocs23 --unique-debug-suffix -0.21-2.ocs23.x86_64 --unique-debug-src-base perl-Net-Pcap-0.21-2.ocs23.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/Net-Pcap-0.21 extracting debug info from /builddir/build/BUILDROOT/perl-Net-Pcap-0.21-2.ocs23.x86_64/usr/lib64/perl5/vendor_perl/auto/Net/Pcap/Pcap.so 295 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs *** WARNING: ./usr/libexec/perl-Net-Pcap/test is executable but has no shebang, removing executable bit + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.6j7cp2 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Net-Pcap-0.21 ++ perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- -j32 + export HARNESS_OPTIONS=j32 + HARNESS_OPTIONS=j32 + make test "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Pcap.bs blib/arch/auto/Net/Pcap/Pcap.bs 644 PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/03-openlive.t ............ skipped: must be run as root # Testing Net::Pcap 0.21 (libpcap version 1.10.4 (with TPACKET_V3)) under Perl 5.036000 t/00-load.t ................ ok t/04-loop.t ................ skipped: must be run as root t/01-api.t ................. ok t/05-dump.t ................ skipped: must be run as root t/06-offline.t ............. skipped: must be run as root t/07-stats.t ............... skipped: must be run as root t/11-snapshot.t ............ skipped: must be run as root t/12-next.t ................ skipped: pcap_next() behaves too strangely for being tested on random machines t/13-dispatch.t ............ skipped: must be run as root t/09-error.t ............... ok # libpcap version 1.10.4 (with TPACKET_V3) t/17-lib_version.t ......... ok t/08-filter.t .............. ok # This platform has been detected as a little endian architecture t/15-is_swapped.t .......... ok t/02-lookup.t .............. ok t/19-breakloop.t ........... skipped: must be run as root t/10-fileno.t .............. ok t/16-setnonblock.t ......... ok t/18-open_dead.t ........... ok t/21-next_ex.t ............. skipped: slowness and random failures... testing pcap_next_ex() is a PITA t/22-open.t ................ skipped: pcap_open() is not available t/14-datalink.t ............ ok t/podcover.t ............... skipped: Currently not working for Net::Pcap t/50-anyevent-pcap.t ....... skipped: AnyEvent is not available t/24-offline_filter.t ...... ok t/23-srcstr.t .............. skipped: pcap_createsrcstr() is not available t/50-net-pcap-easy.t ....... skipped: Net::Pcap::Easy is not available t/50-poe-component-pcap.t .. skipped: POE is not available t/podspell.t ............... skipped: Pod spelling: for maintainer only t/portfs.t ................. skipped: Only for the module maintainer t/20-constants.t ........... ok t/pod.t .................... ok t/distchk.t ................ ok All tests successful. Test Summary Report ------------------- t/10-fileno.t (Wstat: 0 Tests: 21 Failed: 0) TODO passed: 19 Files=33, Tests=494, 1 wallclock secs ( 0.10 usr 0.04 sys + 2.06 cusr 0.47 csys = 2.67 CPU) Result: PASS + RPM_EC=0 ++ jobs -p + exit 0 Processing files: perl-Net-Pcap-0.21-2.ocs23.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.NKL48z + umask 022 + cd /builddir/build/BUILD + cd Net-Pcap-0.21 + DOCDIR=/builddir/build/BUILDROOT/perl-Net-Pcap-0.21-2.ocs23.x86_64/usr/share/doc/perl-Net-Pcap + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Net-Pcap-0.21-2.ocs23.x86_64/usr/share/doc/perl-Net-Pcap + cp -pr Changes /builddir/build/BUILDROOT/perl-Net-Pcap-0.21-2.ocs23.x86_64/usr/share/doc/perl-Net-Pcap + cp -pr README /builddir/build/BUILDROOT/perl-Net-Pcap-0.21-2.ocs23.x86_64/usr/share/doc/perl-Net-Pcap + cp -pr eg/ /builddir/build/BUILDROOT/perl-Net-Pcap-0.21-2.ocs23.x86_64/usr/share/doc/perl-Net-Pcap + cp -pr t/ /builddir/build/BUILDROOT/perl-Net-Pcap-0.21-2.ocs23.x86_64/usr/share/doc/perl-Net-Pcap + RPM_EC=0 ++ jobs -p + exit 0 Provides: perl(Net::Pcap) = 0.21 perl-Net-Pcap = 0.21-2.ocs23 perl-Net-Pcap(x86-64) = 0.21-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/perl ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libpcap.so.1()(64bit) libperl.so.5.36()(64bit) perl(:MODULE_COMPAT_5.36.0) perl(Carp) perl(Exporter) perl(Net::Pcap) perl(Sys::Hostname) perl(strict) perl(warnings) perl-libs rtld(GNU_HASH) Processing files: perl-Net-Pcap-tests-0.21-2.ocs23.x86_64 Provides: perl-Net-Pcap-tests = 0.21-2.ocs23 perl-Net-Pcap-tests(x86-64) = 0.21-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/perl perl(English) perl(ExtUtils::testlib) perl(File::Spec) perl(Net::Pcap) perl(Socket) perl(Test::More) perl(lib) perl(strict) Processing files: perl-Net-Pcap-debugsource-0.21-2.ocs23.x86_64 Provides: perl-Net-Pcap-debugsource = 0.21-2.ocs23 perl-Net-Pcap-debugsource(x86-64) = 0.21-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: perl-Net-Pcap-debuginfo-0.21-2.ocs23.x86_64 Provides: debuginfo(build-id) = f56f1bebc6c8438dca7e0913983d8ea9e788f1e5 perl-Net-Pcap-debuginfo = 0.21-2.ocs23 perl-Net-Pcap-debuginfo(x86-64) = 0.21-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-Net-Pcap-debugsource(x86-64) = 0.21-2.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Net-Pcap-0.21-2.ocs23.x86_64 Wrote: /builddir/build/RPMS/perl-Net-Pcap-debugsource-0.21-2.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/perl-Net-Pcap-debuginfo-0.21-2.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/perl-Net-Pcap-0.21-2.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/perl-Net-Pcap-tests-0.21-2.ocs23.x86_64.rpm Child return code was: 0