* Package: dev-perl/Net-RawIP-0.250.0-r3:0 * Repository: gentoo * Maintainer: perl@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking Net-RawIP-0.25.tar.gz to /var/tmp/portage/dev-perl/Net-RawIP-0.250.0-r3/work >>> Source unpacked in /var/tmp/portage/dev-perl/Net-RawIP-0.250.0-r3/work >>> Preparing source in /var/tmp/portage/dev-perl/Net-RawIP-0.250.0-r3/work/Net-RawIP-0.25 ... * Applying Net-RawIP-0.25-no-network-tests.patch ... [ ok ] * Removing un-needed t/90-pod.t * Removing un-needed t/91-pod-coverage.t * Removing un-needed t/99-critic.t * Fixing Manifest >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-perl/Net-RawIP-0.250.0-r3/work/Net-RawIP-0.25 ... * Using ExtUtils::MakeMaker * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/dev-perl/Net-RawIP-0.250.0-r3/image Compiler: x86_64-pc-linux-gnu-gcc x86_64-pc-linux-gnu-gcc (Gentoo 12.2.0 p1) 12.2.0 Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Net::RawIP Writing MYMETA.yml and MYMETA.json >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-perl/Net-RawIP-0.250.0-r3/work/Net-RawIP-0.25 ... make -j4 'OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' 'OPTIMIZE=-pipe -march=native -fno-diagnostics-color -O2' Running Mkbootstrap for RawIP () "/usr/bin/perl" "/usr/lib64/perl5/5.36/ExtUtils/xsubpp" -typemap '/usr/lib64/perl5/5.36/ExtUtils/typemap' -typemap '/var/tmp/portage/dev-perl/Net-RawIP-0.250.0-r3/work/Net-RawIP-0.25/typemap' RawIP.xs > RawIP.xsc x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -O2 -fwrapv -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -march=native -fno-diagnostics-color -O2 -DVERSION=\"0.25\" -DXS_VERSION=\"0.25\" -fPIC "-I/usr/lib64/perl5/5.36/x86_64-linux/CORE" -D_LINUX_ -D_ETH_ -D_IFLIST_ -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_GLIBC_ util.c chmod 644 "RawIP.bs" x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -O2 -fwrapv -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -march=native -fno-diagnostics-color -O2 -DVERSION=\"0.25\" -DXS_VERSION=\"0.25\" -fPIC "-I/usr/lib64/perl5/5.36/x86_64-linux/CORE" -D_LINUX_ -D_ETH_ -D_IFLIST_ -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_GLIBC_ eth.c cp lib/Net/RawIP/opt.pm blib/lib/Net/RawIP/opt.pm cp RawIP/libpcap.pod blib/lib/Net/RawIP/libpcap.pod cp lib/Net/RawIP.pm blib/lib/Net/RawIP.pm AutoSplitting blib/lib/Net/RawIP.pm (blib/lib/auto/Net/RawIP) cp lib/Net/RawIP/icmphdr.pm blib/lib/Net/RawIP/icmphdr.pm cp lib/Net/RawIP/generichdr.pm blib/lib/Net/RawIP/generichdr.pm cp lib/Net/RawIP/udphdr.pm blib/lib/Net/RawIP/udphdr.pm cp lib/Net/RawIP/tcphdr.pm blib/lib/Net/RawIP/tcphdr.pm cp lib/Net/RawIP/iphdr.pm blib/lib/Net/RawIP/iphdr.pm cp lib/Net/RawIP/ethhdr.pm blib/lib/Net/RawIP/ethhdr.pm x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -O2 -fwrapv -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -march=native -fno-diagnostics-color -O2 -DVERSION=\"0.25\" -DXS_VERSION=\"0.25\" -fPIC "-I/usr/lib64/perl5/5.36/x86_64-linux/CORE" -D_LINUX_ -D_ETH_ -D_IFLIST_ -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_GLIBC_ ifaddrlist.c In file included from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from ifaddrlist.c:6: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ mv RawIP.xsc RawIP.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -O2 -fwrapv -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -march=native -fno-diagnostics-color -O2 -DVERSION=\"0.25\" -DXS_VERSION=\"0.25\" -fPIC "-I/usr/lib64/perl5/5.36/x86_64-linux/CORE" -D_LINUX_ -D_ETH_ -D_IFLIST_ -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_GLIBC_ RawIP.c "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- RawIP.bs blib/arch/auto/Net/RawIP/RawIP.bs 644 RawIP.xs: In function ‘XS_Net__RawIP_timem’: RawIP.xs:614:27: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘__time_t’ {aka ‘long int’} [-Wformat=] 614 | RETVAL = newSVpvf("%u.%06u",tv.tv_sec,tv.tv_usec); | ^~~~~~~~~ ~~~~~~~~~ | | | __time_t {aka long int} RawIP.xs:614:27: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘__suseconds_t’ {aka ‘long int’} [-Wformat=] 614 | RETVAL = newSVpvf("%u.%06u",tv.tv_sec,tv.tv_usec); | ^~~~~~~~~ ~~~~~~~~~~ | | | __suseconds_t {aka long int} RawIP.xs: In function ‘XS_Net__RawIP_tap’: RawIP.xs:660:14: error: implicit declaration of function ‘tap’; did you mean ‘tan’? [-Werror=implicit-function-declaration] 660 | RETVAL = tap(device,&i,m); | ^~~ | tan RawIP.xs: In function ‘XS_Net__RawIP_mac_disc’: RawIP.xs:676:14: error: implicit declaration of function ‘mac_disc’ [-Werror=implicit-function-declaration] 676 | RETVAL = mac_disc(addr,m); | ^~~~~~~~ RawIP.xs: In function ‘XS_Net__RawIP_send_eth_packet’: RawIP.xs:691:5: error: implicit declaration of function ‘send_eth_packet’ [-Werror=implicit-function-declaration] 691 | send_eth_packet(fd, eth_device, (char*)SvPV(pkt,PL_na), SvCUR(pkt),flag); | ^~~~~~~~~~~~~~~ RawIP.xs: In function ‘XS_Net__RawIP_lookupdev’: RawIP.xs:1370:5: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 1370 | RETVAL = pcap_lookupdev(ebuf); | ^~~~~~ In file included from /usr/include/pcap.h:43, from RawIP.xs:36: /usr/include/pcap/pcap.h:394:18: note: declared here 394 | PCAP_API char *pcap_lookupdev(char *) | ^~~~~~~~~~~~~~ cc1: some warnings being treated as errors make: *** [Makefile:363: RawIP.o] Error 1 * ERROR: dev-perl/Net-RawIP-0.250.0-r3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-perl/Net-RawIP-0.250.0-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-perl/Net-RawIP-0.250.0-r3::gentoo'`. * The complete build log is located at '/var/log/portage/dev-perl:Net-RawIP-0.250.0-r3:20220918-200336.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-perl/Net-RawIP-0.250.0-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-perl/Net-RawIP-0.250.0-r3/temp/environment'. * Working directory: '/var/tmp/portage/dev-perl/Net-RawIP-0.250.0-r3/work/Net-RawIP-0.25' * S: '/var/tmp/portage/dev-perl/Net-RawIP-0.250.0-r3/work/Net-RawIP-0.25'