>>> perl-net-pcap: Building community/perl-net-pcap 0.21-r1 (using abuild 3.13.0-r6) started Wed, 09 Oct 2024 07:01:24 +0000 >>> perl-net-pcap: Checking sanity of /home/buildozer/aports/community/perl-net-pcap/APKBUILD... >>> perl-net-pcap: Analyzing dependencies... >>> perl-net-pcap: Installing for build: build-base perl libpcap-dev perl-dev (1/10) Installing libbz2 (1.0.8-r6) (2/10) Installing perl (5.40.0-r2) (3/10) Installing libpcap (1.10.5-r0) (4/10) Installing libpcap-dev (1.10.5-r0) (5/10) Installing perl-utils (5.40.0-r2) (6/10) Installing perl-dev (5.40.0-r2) (7/10) Installing .makedepends-perl-net-pcap (20241009.070125) (8/10) Installing perl-error (0.17029-r2) (9/10) Installing perl-git (2.46.2-r0) (10/10) Installing git-perl (2.46.2-r0) Executing busybox-1.36.1-r32.trigger OK: 376 MiB in 113 packages >>> perl-net-pcap: Cleaning up srcdir >>> perl-net-pcap: Cleaning up pkgdir >>> perl-net-pcap: Cleaning up tmpdir >>> perl-net-pcap: Fetching https://distfiles.alpinelinux.org/distfiles/edge/Net-Pcap-0.21.tar.gz >>> perl-net-pcap: Fetching https://distfiles.alpinelinux.org/distfiles/edge/Net-Pcap-0.21.tar.gz >>> perl-net-pcap: Checking sha512sums... Net-Pcap-0.21.tar.gz: OK >>> perl-net-pcap: Unpacking /var/cache/distfiles/edge/Net-Pcap-0.21.tar.gz... looking for -lpcap... yes checking for pcap_lib_version() in -lpcap... yes detecting available functions... ok detecting libpcap version... Running [cc -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -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 Running Mkbootstrap for Pcap () "/usr/bin/perl" "/usr/share/perl5/core_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/core_perl/ExtUtils/typemap' -typemap '/home/buildozer/aports/community/perl-net-pcap/src/Net-Pcap-0.21/typemap' Pcap.xs > Pcap.xsc chmod 644 "Pcap.bs" cp Pcap.pm blib/lib/Net/Pcap.pm "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Pcap.bs blib/arch/auto/Net/Pcap/Pcap.bs 644 mv Pcap.xsc Pcap.c cc -c -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wwrite-strings -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DVERSION=\"0.21\" -DXS_VERSION=\"0.21\" -fPIC "-I/usr/lib/perl5/core_perl/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.c: In function 'XS_Net__Pcap_dump_open': Pcap.c:693:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 693 | p = (pcap_t *) tmp; | ^ Pcap.c: In function 'XS_Net__Pcap_setnonblock': Pcap.c:728:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 728 | p = (pcap_t *) tmp; | ^ Pcap.c: In function 'XS_Net__Pcap_getnonblock': Pcap.c:777:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 777 | p = (pcap_t *) tmp; | ^ Pcap.c: In function 'XS_Net__Pcap_dispatch': Pcap.c:830:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 830 | p = (pcap_t *) tmp; | ^ Pcap.c: In function 'XS_Net__Pcap_loop': Pcap.c:875:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 875 | p = (pcap_t *) tmp; | ^ Pcap.c: In function 'XS_Net__Pcap_next': Pcap.c:913:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 913 | p = (pcap_t *) tmp; | ^ Pcap.c: In function 'XS_Net__Pcap_next_ex': Pcap.c:971:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 971 | p = (pcap_t *) tmp; | ^ Pcap.c: In function 'XS_Net__Pcap_dump': Pcap.c:1033:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1033 | p = (pcap_dumper_t *) tmp; | ^ Pcap.c: In function 'XS_Net__Pcap_compile': Pcap.c:1105:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1105 | p = (pcap_t *) tmp; | ^ 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_offline_filter': Pcap.c:1191:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1191 | fp = (pcap_bpf_program_t *) tmp; | ^ Pcap.c: In function 'XS_Net__Pcap_setfilter': Pcap.c:1258:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1258 | p = (pcap_t *) tmp; | ^ Pcap.c:1266:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1266 | fp = (pcap_bpf_program_t *) tmp; | ^ Pcap.c: In function 'XS_Net__Pcap_freecode': Pcap.c:1291:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1291 | fp = (pcap_bpf_program_t *) tmp; | ^ Pcap.c: In function 'XS_Net__Pcap_breakloop': Pcap.c:1314:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1314 | p = (pcap_t *) tmp; | ^ Pcap.c: In function 'XS_Net__Pcap_close': Pcap.c:1337:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1337 | p = (pcap_t *) tmp; | ^ Pcap.c: In function 'XS_Net__Pcap_dump_close': Pcap.c:1360:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1360 | p = (pcap_dumper_t *) tmp; | ^ Pcap.c: In function 'XS_Net__Pcap_dump_file': Pcap.c:1384:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1384 | p = (pcap_dumper_t *) tmp; | ^ Pcap.c: In function 'XS_Net__Pcap_dump_flush': Pcap.c:1424:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1424 | p = (pcap_dumper_t *) tmp; | ^ Pcap.c: In function 'XS_Net__Pcap_datalink': Pcap.c:1451:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1451 | p = (pcap_t *) tmp; | ^ Pcap.c: In function 'XS_Net__Pcap_set_datalink': Pcap.c:1480:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1480 | p = (pcap_t *) tmp; | ^ Pcap.c: In function 'XS_Net__Pcap_snapshot': Pcap.c:1569:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1569 | p = (pcap_t *) tmp; | ^ Pcap.c: In function 'XS_Net__Pcap_is_swapped': Pcap.c:1596:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1596 | p = (pcap_t *) tmp; | ^ Pcap.c: In function 'XS_Net__Pcap_major_version': Pcap.c:1623:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1623 | p = (pcap_t *) tmp; | ^ Pcap.c: In function 'XS_Net__Pcap_minor_version': Pcap.c:1650:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1650 | p = (pcap_t *) tmp; | ^ Pcap.c: In function 'XS_Net__Pcap_perror': Pcap.c:1677:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1677 | p = (pcap_t *) tmp; | ^ Pcap.c: In function 'XS_Net__Pcap_geterr': Pcap.c:1702:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1702 | p = (pcap_t *) tmp; | ^ 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.c: In function 'XS_Net__Pcap_file': Pcap.c:1801:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1801 | p = (pcap_t *) tmp; | ^ Pcap.c: In function 'XS_Net__Pcap_fileno': Pcap.c:1841:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1841 | p = (pcap_t *) tmp; | ^ Pcap.c: In function 'XS_Net__Pcap_get_selectable_fd': Pcap.c:1868:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1868 | p = (pcap_t *) tmp; | ^ Pcap.c: In function 'XS_Net__Pcap_stats': Pcap.c:1897:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1897 | p = (pcap_t *) tmp; | ^ Pcap.c: In function 'XS_Net__Pcap_setuserbuffer': Pcap.c:2180:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2180 | p = (pcap_t *) tmp; | ^ Pcap.c: In function 'XS_Net__Pcap_setbuff': Pcap.c:2209:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2209 | p = (pcap_t *) tmp; | ^ Pcap.c: In function 'XS_Net__Pcap_setmode': Pcap.c:2238:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2238 | p = (pcap_t *) tmp; | ^ Pcap.c: In function 'XS_Net__Pcap_setmintocopy': Pcap.c:2267:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2267 | p = (pcap_t *) tmp; | ^ Pcap.c: In function 'XS_Net__Pcap_getevent': Pcap.c:2298:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2298 | p = (pcap_t *) tmp; | ^ Pcap.c: In function 'XS_Net__Pcap_sendpacket': Pcap.c:2330:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2330 | p = (pcap_t *) tmp; | ^ Pcap.c: In function 'XS_Net__Pcap_sendqueue_queue': Pcap.c:2412:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2412 | queue = (pcap_send_queue *) tmp; | ^ Pcap.c: In function 'XS_Net__Pcap_sendqueue_transmit': Pcap.c:2482:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2482 | p = (pcap_t *) tmp; | ^ Pcap.c:2490:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2490 | queue = (pcap_send_queue *) tmp; | ^ rm -f blib/arch/auto/Net/Pcap/Pcap.so LD_RUN_PATH="/usr/lib" cc -shared -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -L/usr/local/lib -fstack-protector-strong Pcap.o -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 Manifying 1 pod document "/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 # Testing Net::Pcap 0.21 (libpcap version 1.10.5 (with TPACKET_V3)) under Perl 5.040000 t/00-load.t ................ ok t/01-api.t ................. ok t/02-lookup.t .............. ok t/03-openlive.t ............ skipped: must be run as root t/04-loop.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/09-error.t ............... ok t/10-fileno.t .............. ok 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/14-datalink.t ............ ok # This platform has been detected as a little endian architecture t/15-is_swapped.t .......... ok t/16-setnonblock.t ......... ok # libpcap version 1.10.5 (with TPACKET_V3) t/17-lib_version.t ......... ok t/18-open_dead.t ........... ok t/19-breakloop.t ........... skipped: must be run as root t/20-constants.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/23-srcstr.t .............. skipped: pcap_createsrcstr() is not available t/24-offline_filter.t ...... ok t/50-anyevent-pcap.t ....... skipped: AnyEvent 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/distchk.t ................ skipped: Test::Distribution required for checking distribution t/pod.t .................... skipped: Test::Pod 1.14 required for testing POD t/podcover.t ............... skipped: Currently not working for Net::Pcap t/podspell.t ............... skipped: Pod spelling: for maintainer only t/portfs.t ................. skipped: Only for the module maintainer All tests successful. Test Summary Report ------------------- t/10-fileno.t (Wstat: 0 Tests: 21 Failed: 0) TODO passed: 19 Files=33, Tests=486, 3 wallclock secs ( 0.12 usr 0.02 sys + 1.95 cusr 0.36 csys = 2.45 CPU) Result: PASS >>> perl-net-pcap: Entering fakeroot... "/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 /home/buildozer/aports/community/perl-net-pcap/pkg/perl-net-pcap/usr/lib/perl5/vendor_perl/auto/Net/Pcap/Pcap.so Installing /home/buildozer/aports/community/perl-net-pcap/pkg/perl-net-pcap/usr/lib/perl5/vendor_perl/Net/Pcap.pm Installing /home/buildozer/aports/community/perl-net-pcap/pkg/perl-net-pcap/usr/share/man/man1/pcapinfo.1 Installing /home/buildozer/aports/community/perl-net-pcap/pkg/perl-net-pcap/usr/share/man/man3/Net::Pcap.3pm Installing /home/buildozer/aports/community/perl-net-pcap/pkg/perl-net-pcap/usr/bin/pcapinfo >>> perl-net-pcap-doc*: Running split function doc... >>> perl-net-pcap-doc*: Preparing subpackage perl-net-pcap-doc... libfakeroot internal error: payload not recognized! >>> perl-net-pcap-doc*: Running postcheck for perl-net-pcap-doc >>> perl-net-pcap*: Running postcheck for perl-net-pcap >>> perl-net-pcap*: Preparing package perl-net-pcap... >>> perl-net-pcap*: Stripping binaries >>> WARNING: perl-net-pcap*: Redundant /usr/lib in rpath found >>> perl-net-pcap-doc*: Scanning shared objects >>> perl-net-pcap*: Scanning shared objects >>> perl-net-pcap-doc*: Tracing dependencies... >>> perl-net-pcap-doc*: Package size: 44.0 KB >>> perl-net-pcap-doc*: Compressing data... >>> perl-net-pcap-doc*: Create checksum... >>> perl-net-pcap-doc*: Create perl-net-pcap-doc-0.21-r1.apk >>> perl-net-pcap*: Tracing dependencies... perl so:libc.musl-armhf.so.1 so:libpcap.so.1 >>> perl-net-pcap*: Package size: 148.0 KB >>> perl-net-pcap*: Compressing data... >>> perl-net-pcap*: Create checksum... >>> perl-net-pcap*: Create perl-net-pcap-0.21-r1.apk >>> perl-net-pcap: Build complete at Wed, 09 Oct 2024 07:01:38 +0000 elapsed time 0h 0m 14s >>> perl-net-pcap: Cleaning up srcdir >>> perl-net-pcap: Cleaning up pkgdir >>> perl-net-pcap: Uninstalling dependencies... (1/10) Purging .makedepends-perl-net-pcap (20241009.070125) (2/10) Purging libpcap-dev (1.10.5-r0) (3/10) Purging libpcap (1.10.5-r0) (4/10) Purging perl-dev (5.40.0-r2) (5/10) Purging perl-utils (5.40.0-r2) (6/10) Purging git-perl (2.46.2-r0) (7/10) Purging perl-git (2.46.2-r0) (8/10) Purging perl-error (0.17029-r2) (9/10) Purging perl (5.40.0-r2) (10/10) Purging libbz2 (1.0.8-r6) Executing busybox-1.36.1-r32.trigger OK: 331 MiB in 103 packages >>> perl-net-pcap: Updating the community/armhf repository index... >>> perl-net-pcap: Signing the index...