=> Bootstrap dependency digest>=20010302: found digest-20180917 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for p5-Net-Pcap-0.18nb2 --- blib/lib/Net/.exists --- --- blib/arch/.exists --- --- blib/lib/auto/Net/Pcap/.exists --- --- blib/arch/auto/Net/Pcap/.exists --- --- blib/bin/.exists --- --- blib/script/.exists --- --- blib/man1/.exists --- --- blib/man3/.exists --- --- config --- --- subdirs --- --- dynamic --- --- Pcap.c --- --- Pcap.bs --- --- pm_to_blib --- --- Pcap.bs --- Running Mkbootstrap for Pcap () --- Pcap.c --- "/usr/pkg/bin/perl" "/usr/pkg/lib/perl5/5.28.0/ExtUtils/xsubpp" -typemap '/usr/pkg/lib/perl5/5.28.0/ExtUtils/typemap' -typemap '/data/scratch/net/p5-Net-Pcap/work/Net-Pcap-0.18/typemap' Pcap.xs > Pcap.xsc --- Pcap.bs --- chmod 644 "Pcap.bs" --- blib/arch/auto/Net/Pcap/Pcap.bs --- "/usr/pkg/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Pcap.bs blib/arch/auto/Net/Pcap/Pcap.bs 644 --- blib/script/pcapinfo --- --- blibdirs --- --- config --- --- blib/script/pcapinfo --- cp bin/pcapinfo blib/script/pcapinfo "/usr/pkg/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/pcapinfo --- pm_to_blib --- cp Pcap.pm blib/lib/Net/Pcap.pm --- Pcap.c --- mv Pcap.xsc Pcap.c --- Pcap.o --- clang -c -I/usr/include -O2 -pthread -I/usr/include -fno-strict-aliasing -pipe -D_FORTIFY_SOURCE=2 -Wall -Wwrite-strings -O2 -I/usr/include -I/usr/include -DVERSION=\"0.18\" -DXS_VERSION=\"0.18\" -DPIC -fPIC "-I/usr/pkg/lib/perl5/5.28.0/x86_64-netbsd-thread-multi/CORE" -DHAVE_BLANK -DHAVE_PCAP_LIB_VERSION -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 Pcap.c --- pure_all --- --- Pcap.o --- In file included from Pcap.xs:43: ./stubs.inc:187:2: warning: "the function pcap_list_datalinks() is not available" [-W#warnings] #warning "the function pcap_list_datalinks() is not available" ^ ./stubs.inc:322:2: warning: "the function pcap_createsrcstr() is not available" [-W#warnings] #warning "the function pcap_createsrcstr() is not available" ^ ./stubs.inc:337:2: warning: "the function pcap_parsesrcstr() is not available" [-W#warnings] #warning "the function pcap_parsesrcstr() is not available" ^ ./stubs.inc:352:2: warning: "the function pcap_open() is not available" [-W#warnings] #warning "the function pcap_open() is not available" ^ ./stubs.inc:357:8: error: redefinition of 'pcap_rmtauth' struct pcap_rmtauth { ^ /usr/include/pcap.h:792:8: note: previous definition is here struct pcap_rmtauth ^ In file included from Pcap.xs:43: ./stubs.inc:373:2: warning: "the function pcap_setbuff() is not available" [-W#warnings] #warning "the function pcap_setbuff() is not available" ^ ./stubs.inc:388:2: warning: "the function pcap_setuserbuffer() is not available" [-W#warnings] #warning "the function pcap_setuserbuffer() is not available" ^ ./stubs.inc:403:2: warning: "the function pcap_setmode() is not available" [-W#warnings] #warning "the function pcap_setmode() is not available" ^ ./stubs.inc:418:2: warning: "the function pcap_setmintocopy() is not available" [-W#warnings] #warning "the function pcap_setmintocopy() is not available" ^ ./stubs.inc:433:2: warning: "the function pcap_sendqueue_alloc() is not available" [-W#warnings] #warning "the function pcap_sendqueue_alloc() is not available" ^ ./stubs.inc:455:2: warning: "the function pcap_sendqueue_destroy() is not available" [-W#warnings] #warning "the function pcap_sendqueue_destroy() is not available" ^ ./stubs.inc:469:2: warning: "the function pcap_sendqueue_queue() is not available" [-W#warnings] #warning "the function pcap_sendqueue_queue() is not available" ^ ./stubs.inc:484:2: warning: "the function pcap_sendqueue_transmit() is not available" [-W#warnings] #warning "the function pcap_sendqueue_transmit() is not available" ^ ./stubs.inc:499:2: warning: "the function pcap_event() is not available" [-W#warnings] #warning "the function pcap_event() is not available" ^ ./stubs.inc:514:2: warning: "the function pcap_setsampling() is not available" [-W#warnings] #warning "the function pcap_setsampling() is not available" ^ ./stubs.inc:519:8: error: redefinition of 'pcap_samp' struct pcap_samp { ^ /usr/include/pcap.h:918:8: note: previous definition is here struct pcap_samp ^ Pcap.xs:108:13: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] RETVAL = pcap_lookupdev(errbuf); ^ /usr/include/pcap.h:331:1: note: 'pcap_lookupdev' has been explicitly marked deprecated here PCAP_DEPRECATED(pcap_lookupdev, "use 'pcap_findalldevs' and use the first device"); ^ /usr/include/pcap/funcattrs.h:225:53: note: expanded from macro 'PCAP_DEPRECATED' #define PCAP_DEPRECATED(func, msg) __attribute__((deprecated(msg))) ^ Pcap.xs:222:33: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] char *dev = pcap_lookupdev(errbuf); ^ /usr/include/pcap.h:331:1: note: 'pcap_lookupdev' has been explicitly marked deprecated here PCAP_DEPRECATED(pcap_lookupdev, "use 'pcap_findalldevs' and use the first device"); ^ /usr/include/pcap/funcattrs.h:225:53: note: expanded from macro 'PCAP_DEPRECATED' #define PCAP_DEPRECATED(func, msg) __attribute__((deprecated(msg))) ^ Pcap.c:1703:9: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] RETVAL = pcap_strerror(error); ^ ~~~~~~~~~~~~~~~~~~~~ 17 warnings and 2 errors generated. *** [Pcap.o] Error code 1 make: stopped in /data/scratch/net/p5-Net-Pcap/work/Net-Pcap-0.18 1 error make: stopped in /data/scratch/net/p5-Net-Pcap/work/Net-Pcap-0.18 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/net/p5-Net-Pcap *** Error code 1 Stop. make: stopped in /data/pkgsrc/net/p5-Net-Pcap