=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> 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.18nb3 --- 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 --- --- blib/script/pcapinfo --- --- Pcap.bs --- Running Mkbootstrap for Pcap () --- Pcap.c --- "/usr/pkg/bin/perl" "/usr/pkg/lib/perl5/5.30.0/ExtUtils/xsubpp" -typemap '/usr/pkg/lib/perl5/5.30.0/ExtUtils/typemap' -typemap '/tmp/net/p5-Net-Pcap/work/Net-Pcap-0.18/typemap' Pcap.xs > Pcap.xsc --- pm_to_blib --- --- blib/script/pcapinfo --- cp bin/pcapinfo blib/script/pcapinfo "/usr/pkg/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/pcapinfo --- Pcap.bs --- chmod 644 "Pcap.bs" --- blibdirs --- --- 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 --- config --- --- pm_to_blib --- cp Pcap.pm blib/lib/Net/Pcap.pm --- pure_all --- --- Pcap.c --- mv Pcap.xsc Pcap.c --- Pcap.o --- gcc -c -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -fwrapv -fno-strict-aliasing -pipe -Wall -Wwrite-strings -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -DVERSION=\"0.18\" -DXS_VERSION=\"0.18\" -DPIC -fPIC "-I/usr/pkg/lib/perl5/5.30.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 In file included from Pcap.xs:43:0: stubs.inc:187:2: warning: #warning "the function pcap_list_datalinks() is not available" [-Wcpp] #warning "the function pcap_list_datalinks() is not available" ^~~~~~~ stubs.inc:322:2: warning: #warning "the function pcap_createsrcstr() is not available" [-Wcpp] #warning "the function pcap_createsrcstr() is not available" ^~~~~~~ stubs.inc:337:2: warning: #warning "the function pcap_parsesrcstr() is not available" [-Wcpp] #warning "the function pcap_parsesrcstr() is not available" ^~~~~~~ stubs.inc:352:2: warning: #warning "the function pcap_open() is not available" [-Wcpp] #warning "the function pcap_open() is not available" ^~~~~~~ stubs.inc:357:8: error: redefinition of 'struct pcap_rmtauth' struct pcap_rmtauth { ^~~~~~~~~~~~ In file included from Pcap.xs:32:0: /usr/include/pcap.h:792:8: note: originally defined here struct pcap_rmtauth ^~~~~~~~~~~~ In file included from Pcap.xs:43:0: stubs.inc:363:10: error: conflicting types for 'pcap_open' pcap_t * pcap_open(const char *source, int snaplen, int flags, int read_timeout, struct pcap_rmtauth *auth, char *err); ^~~~~~~~~ In file included from Pcap.xs:32:0: /usr/include/pcap.h:839:18: note: previous declaration of 'pcap_open' was here PCAP_API pcap_t *pcap_open(const char *source, int snaplen, int flags, ^~~~~~~~~ In file included from Pcap.xs:43:0: stubs.inc:364:10: error: conflicting types for 'pcap_open' pcap_t * pcap_open(const char *source, int snaplen, int flags, int read_timeout, struct pcap_rmtauth *auth, char *err) { ^~~~~~~~~ In file included from Pcap.xs:32:0: /usr/include/pcap.h:839:18: note: previous declaration of 'pcap_open' was here PCAP_API pcap_t *pcap_open(const char *source, int snaplen, int flags, ^~~~~~~~~ In file included from Pcap.xs:43:0: stubs.inc:373:2: warning: #warning "the function pcap_setbuff() is not available" [-Wcpp] #warning "the function pcap_setbuff() is not available" ^~~~~~~ stubs.inc:388:2: warning: #warning "the function pcap_setuserbuffer() is not available" [-Wcpp] #warning "the function pcap_setuserbuffer() is not available" ^~~~~~~ stubs.inc:403:2: warning: #warning "the function pcap_setmode() is not available" [-Wcpp] #warning "the function pcap_setmode() is not available" ^~~~~~~ stubs.inc:418:2: warning: #warning "the function pcap_setmintocopy() is not available" [-Wcpp] #warning "the function pcap_setmintocopy() is not available" ^~~~~~~ stubs.inc:433:2: warning: #warning "the function pcap_sendqueue_alloc() is not available" [-Wcpp] #warning "the function pcap_sendqueue_alloc() is not available" ^~~~~~~ stubs.inc:455:2: warning: #warning "the function pcap_sendqueue_destroy() is not available" [-Wcpp] #warning "the function pcap_sendqueue_destroy() is not available" ^~~~~~~ stubs.inc:469:2: warning: #warning "the function pcap_sendqueue_queue() is not available" [-Wcpp] #warning "the function pcap_sendqueue_queue() is not available" ^~~~~~~ stubs.inc:484:2: warning: #warning "the function pcap_sendqueue_transmit() is not available" [-Wcpp] #warning "the function pcap_sendqueue_transmit() is not available" ^~~~~~~ stubs.inc:499:2: warning: #warning "the function pcap_event() is not available" [-Wcpp] #warning "the function pcap_event() is not available" ^~~~~~~ stubs.inc:514:2: warning: #warning "the function pcap_setsampling() is not available" [-Wcpp] #warning "the function pcap_setsampling() is not available" ^~~~~~~ stubs.inc:519:8: error: redefinition of 'struct pcap_samp' struct pcap_samp { ^~~~~~~~~ In file included from Pcap.xs:32:0: /usr/include/pcap.h:918:8: note: originally defined here struct pcap_samp ^~~~~~~~~ In file included from Pcap.xs:43:0: stubs.inc:524:19: error: conflicting types for 'pcap_setsampling' struct pcap_samp *pcap_setsampling(pcap_t *p); ^~~~~~~~~~~~~~~~ In file included from Pcap.xs:32:0: /usr/include/pcap.h:935:28: note: previous declaration of 'pcap_setsampling' was here PCAP_API struct pcap_samp *pcap_setsampling(pcap_t *p); ^~~~~~~~~~~~~~~~ In file included from Pcap.xs:43:0: stubs.inc:525:19: error: conflicting types for 'pcap_setsampling' struct pcap_samp *pcap_setsampling(pcap_t *p) { ^~~~~~~~~~~~~~~~ In file included from Pcap.xs:32:0: /usr/include/pcap.h:935:28: note: previous declaration of 'pcap_setsampling' was here PCAP_API struct pcap_samp *pcap_setsampling(pcap_t *p); ^~~~~~~~~~~~~~~~ Pcap.xs: In function 'XS_Net__Pcap_lookupdev': Pcap.xs:108:4: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] RETVAL = pcap_lookupdev(errbuf); ^~~~~~ In file included from Pcap.xs:32:0: /usr/include/pcap.h:330:16: note: declared here 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] char *dev = pcap_lookupdev(errbuf); ^~~~ In file included from Pcap.xs:32:0: /usr/include/pcap.h:330:16: note: declared here PCAP_API char *pcap_lookupdev(char *) ^~~~~~~~~~~~~~ Pcap.c: In function 'XS_Net__Pcap_strerror': Pcap.c:1703:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 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] h = (unsigned int) pcap_getevent(p); ^ *** [Pcap.o] Error code 1 make: stopped in /tmp/net/p5-Net-Pcap/work/Net-Pcap-0.18 1 error make: stopped in /tmp/net/p5-Net-Pcap/work/Net-Pcap-0.18 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/net/p5-Net-Pcap *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/net/p5-Net-Pcap