* Package: dev-perl/Net-Pcap-0.180.0 * Repository: gentoo * Maintainer: perl@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking Net-Pcap-0.18.tar.gz to /var/tmp/portage/dev-perl/Net-Pcap-0.180.0/work >>> Source unpacked in /var/tmp/portage/dev-perl/Net-Pcap-0.180.0/work >>> Preparing source in /var/tmp/portage/dev-perl/Net-Pcap-0.180.0/work/Net-Pcap-0.18 ... * Applying Net-Pcap-0.18-test-error.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-perl/Net-Pcap-0.180.0/work/Net-Pcap-0.18 ... * Using ExtUtils::MakeMaker * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/dev-perl/Net-Pcap-0.180.0/image/ looking for -lpcap... yes checking for pcap_lib_version() in -lpcap... yes detecting available functions... ok 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.180.0/work/Net-Pcap-0.18 ... * emake OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed make -j1 'OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed' cp Pcap.pm blib/lib/Net/Pcap.pm 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 "/usr/bin/perl" "/usr/lib64/perl5/5.26.2/ExtUtils/xsubpp" -typemap '/usr/lib64/perl5/5.26.2/ExtUtils/typemap' -typemap '/var/tmp/portage/dev-perl/Net-Pcap-0.180.0/work/Net-Pcap-0.18/typemap' Pcap.xs > Pcap.xsc mv Pcap.xsc Pcap.c x86_64-pc-linux-gnu-gcc -c -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wwrite-strings -O2 -pipe -march=native -DVERSION=\"0.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib64/perl5/5.26.2/x86_64-linux/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 /usr/include/pcap.h:43:0, from Pcap.xs:32: /usr/include/pcap/pcap.h:788: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 /usr/include/pcap.h:43:0, from Pcap.xs:32: /usr/include/pcap/pcap.h:835: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 /usr/include/pcap.h:43:0, from Pcap.xs:32: /usr/include/pcap/pcap.h:835: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 /usr/include/pcap.h:43:0, from Pcap.xs:32: /usr/include/pcap/pcap.h:914: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 /usr/include/pcap.h:43:0, from Pcap.xs:32: /usr/include/pcap/pcap.h:931: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 /usr/include/pcap.h:43:0, from Pcap.xs:32: /usr/include/pcap/pcap.h:931: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 /usr/include/pcap.h:43:0, from Pcap.xs:32: /usr/include/pcap/pcap.h:326: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 /usr/include/pcap.h:43:0, from Pcap.xs:32: /usr/include/pcap/pcap.h:326:16: note: declared here PCAP_API char *pcap_lookupdev(char *) ^~~~~~~~~~~~~~ Pcap.c: In function ‘XS_Net__Pcap_strerror’: Pcap.c:1702: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); ^ make: *** [Makefile:350: Pcap.o] Error 1 * ERROR: dev-perl/Net-Pcap-0.180.0::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-perl/Net-Pcap-0.180.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-perl/Net-Pcap-0.180.0::gentoo'`. * The complete build log is located at '/var/log/portage/dev-perl:Net-Pcap-0.180.0:20180721-094717.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-perl/Net-Pcap-0.180.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-perl/Net-Pcap-0.180.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-perl/Net-Pcap-0.180.0/work/Net-Pcap-0.18' * S: '/var/tmp/portage/dev-perl/Net-Pcap-0.180.0/work/Net-Pcap-0.18'