* Package: dev-perl/Net-Pcap-0.210.0:0 * Repository: gentoo * Maintainer: perl@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux test * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking Net-Pcap-0.21.tar.gz to /var/tmp/portage/dev-perl/Net-Pcap-0.210.0/work >>> Source unpacked in /var/tmp/portage/dev-perl/Net-Pcap-0.210.0/work >>> Preparing source in /var/tmp/portage/dev-perl/Net-Pcap-0.210.0/work/Net-Pcap-0.21 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-perl/Net-Pcap-0.210.0/work/Net-Pcap-0.21 ... * Using ExtUtils::MakeMaker * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/dev-perl/Net-Pcap-0.210.0/image looking for -lpcap... yes checking for pcap_lib_version() in -lpcap... yes detecting available functions... ok detecting libpcap version... Running [x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -DNO_PERL_RAND_SEED -fwrapv -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wwrite-strings 'pcap_version.c' -lpcap -o pcap_version.exe] 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 Writing MYMETA.yml and MYMETA.json >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-perl/Net-Pcap-0.210.0/work/Net-Pcap-0.21 ... make -j5 'OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' 'OPTIMIZE=-O2 -pipe -march=native -fno-diagnostics-color' "/usr/bin/perl" "/usr/lib64/perl5/5.38/ExtUtils/xsubpp" -typemap '/usr/lib64/perl5/5.38/ExtUtils/typemap' -typemap '/var/tmp/portage/dev-perl/Net-Pcap-0.210.0/work/Net-Pcap-0.21/typemap' Pcap.xs > Pcap.xsc 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 mv Pcap.xsc Pcap.c x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -DNO_PERL_RAND_SEED -fwrapv -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wwrite-strings -O2 -pipe -march=native -fno-diagnostics-color -DVERSION=\"0.21\" -DXS_VERSION=\"0.21\" -fPIC "-I/usr/lib64/perl5/5.38/x86_64-linux/CORE" -DHAVE_BLANK -DHAVE_PCAP_LIB_VERSION -DHAVE_PCAP_SETSAMPLING -DHAVE_PCAP_BREAKLOOP -DHAVE_PCAP_COMPILE_NOPCAP -DHAVE_PCAP_CREATESRCSTR -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 -DHAVE_PCAP_OPEN_DEAD -DHAVE_PCAP_PARSESRCSTR -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: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 LD_RUN_PATH="/usr/lib64" x86_64-pc-linux-gnu-gcc -shared -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 Pcap.o -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o blib/arch/auto/Net/Pcap/Pcap.so \ -lpcap \ 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 >>> Source compiled. >>> Test phase: dev-perl/Net-Pcap-0.210.0 * Comprehensive testing of this module requires root permissions. * For details, see: * https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/dev-perl/Net-Pcap * Removing un-needed t/pod.t * Removing un-needed t/podcover.t * Removing un-needed t/podspell.t * Removing un-needed t/distchk.t * Removing un-needed t/portfs.t * Fixing Manifest * Test::Harness Jobs=5 make -j5 test TEST_VERBOSE=0 "/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 ===( 1;0 1/1 0/? 0/? 0/? 0/? )===============================# Testing Net::Pcap 0.21 (libpcap version 1.10.4 (with TPACKET_V3)) under Perl 5.038000 t/00-load.t ................ ok t/01-api.t ................. ok t/02-lookup.t .............. ok t/04-loop.t ................ skipped: must be run as root t/03-openlive.t ............ skipped: must be run as root 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/08-filter.t .............. ok t/10-fileno.t .............. ok t/11-snapshot.t ............ skipped: must be run as root t/09-error.t ............... ok 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 ===( 137;1 27/59 1/5 0/? 0/? 0/? )=============================# This platform has been detected as a little endian architecture t/15-is_swapped.t .......... ok t/14-datalink.t ............ ok ===( 175;1 1/23 1/2 0/? 0/? 0/? )=============================# libpcap version 1.10.4 (with TPACKET_V3) t/17-lib_version.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/19-breakloop.t ........... skipped: must be run as root ===( 294;1 90/276 1/24 0/? 0/? )============================== # Failed test 'calling setbuff() with no argument' # at t/22-open.t line 46. # expecting: /^arg1 not a reference/ # found: p is not of type pcap_tPtr at t/22-open.t line 45. # Failed test 'calling userbuffer() with no argument' # at t/22-open.t line 52. # expecting: /^Usage: Net::Pcap::setbuff\(p, size\)/ # found: userbuffer is not a valid pcap macro at t/22-open.t line 51. # Failed test 'calling userbuffer() with no argument' # at t/22-open.t line 57. # expecting: /^arg1 not a reference/ # found: userbuffer is not a valid pcap macro at t/22-open.t line 56. # Failed test 'calling setmode() with no argument' # at t/22-open.t line 68. # expecting: /^arg1 not a reference/ # found: p is not of type pcap_tPtr at t/22-open.t line 67. # Failed test 'calling setmintocopy() with no argument' # at t/22-open.t line 79. # expecting: /^arg1 not a reference/ # found: p is not of type pcap_tPtr at t/22-open.t line 78. # Looks like you failed 5 tests of 24. t/22-open.t ................ Dubious, test returned 5 (wstat 1280, 0x500) Failed 5/24 subtests (less 13 skipped subtests: 6 okay) ===( 332;1 104/276 1/18 0/? 0/? 0/? )========================= # Failed test 'calling createsrcstr() with incorrect argument type for arg6' # at t/23-srcstr.t line 33. # expecting: /^arg6 not a hash ref/ # found: arg6 not a reference at t/23-srcstr.t line 32. # Failed test 'createsrcstr() ' # at t/23-srcstr.t line 70. # got: 'Undefined subroutine &main::createsrcstr called at t/23-srcstr.t line 69. # ' # expected: '' # Failed test ' - should return zero: ' # at t/23-srcstr.t line 71. # got: undef # expected: '0' # Failed test ' - checking created source string' # at t/23-srcstr.t line 72. # got: '' # expected: 'rpcap://fangorn:12345/eth0' # Failed test 'parsesrcstr() ' # at t/23-srcstr.t line 76. # got: 'Undefined subroutine &main::parsesrcstr called at t/23-srcstr.t line 75. # ' # expected: '' # Failed test ' - should return zero: ' # at t/23-srcstr.t line 77. # got: undef # expected: '0' # Failed test ' - checking parsed type' # at t/23-srcstr.t line 78. # got: '' # expected: 'rpcap' # Failed test ' - checking parsed host' # at t/23-srcstr.t line 79. # got: '' # expected: 'fangorn' # Failed test ' - checking parsed port' # at t/23-srcstr.t line 80. # got: '' # expected: '12345' # Failed test ' - checking parsed name' # at t/23-srcstr.t line 81. # got: '' # expected: 'eth0' # Looks like you failed 10 tests of 18. t/23-srcstr.t .............. Dubious, test returned 10 (wstat 2560, 0xa00) Failed 10/18 subtests t/20-constants.t ........... ok t/24-offline_filter.t ...... ok t/50-net-pcap-easy.t ....... skipped: Net::Pcap::Easy is not available t/50-anyevent-pcap.t ....... skipped: AnyEvent::Pcap is not available t/50-poe-component-pcap.t .. skipped: POE is not available Test Summary Report ------------------- t/10-fileno.t (Wstat: 0 Tests: 21 Failed: 0) TODO passed: 19 t/22-open.t (Wstat: 1280 (exited 5) Tests: 24 Failed: 5) Failed tests: 5-7, 9, 11 Non-zero exit status: 5 t/23-srcstr.t (Wstat: 2560 (exited 10) Tests: 18 Failed: 10) Failed tests: 3, 10-18 Non-zero exit status: 10 Files=28, Tests=528, 1 wallclock secs ( 0.09 usr 0.04 sys + 1.52 cusr 0.33 csys = 1.98 CPU) Result: FAIL Failed 2/28 test programs. 15/528 subtests failed. make: *** [Makefile:1068: test_dynamic] Error 255 * ERROR: dev-perl/Net-Pcap-0.210.0::gentoo failed (test phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-perl/Net-Pcap-0.210.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-perl/Net-Pcap-0.210.0::gentoo'`. * The complete build log is located at '/var/log/portage/dev-perl:Net-Pcap-0.210.0:20230728-011502.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-perl/Net-Pcap-0.210.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-perl/Net-Pcap-0.210.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-perl/Net-Pcap-0.210.0/work/Net-Pcap-0.21' * S: '/var/tmp/portage/dev-perl/Net-Pcap-0.210.0/work/Net-Pcap-0.21'