* Package: net-libs/libnet-1.0.2a-r7:1.0 * Repository: gentoo * Maintainer: netmon@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking libnet-1.0.2a.tar.gz to /var/tmp/portage/net-libs/libnet-1.0.2a-r7/work >>> Source unpacked in /var/tmp/portage/net-libs/libnet-1.0.2a-r7/work >>> Preparing source in /var/tmp/portage/net-libs/libnet-1.0.2a-r7/work/Libnet-1.0.2a ... * Applying libnet-1.0.2a-gcc33-fix.patch ... [ ok ] * Applying libnet-1.0.2a-slot.patch ... [ ok ] * Applying libnet-1.0.2a-endian.patch ... [ ok ] * Applying libnet-1.0.2a-_SOURCE.patch ... [ ok ] * Applying libnet-1.0.2a-funroll.patch ... [ ok ] * Applying libnet-1.0.2a-test.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-libs/libnet-1.0.2a-r7/work/Libnet-1.0.2a' ... * Running 'aclocal --system-acdir=/var/tmp/portage/net-libs/libnet-1.0.2a-r7/temp/aclocal' ... [ ok ] * This package has a configure.in file which has long been deprecated. Please * update it to use configure.ac instead as newer versions of autotools will die * when it finds this file. See https://bugs.gentoo.org/426262 for details. * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ !! ] * Running elibtoolize in: Libnet-1.0.2a/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-libs/libnet-1.0.2a-r7/work/Libnet-1.0.2a ... * econf: updating Libnet-1.0.2a/config.sub with /usr/share/gnuconfig/config.sub * econf: updating Libnet-1.0.2a/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/libnet-1.0.2a-r7 --htmldir=/usr/share/doc/libnet-1.0.2a-r7/html --libdir=/usr/lib64 Beginning autoconfiguration process for libnet-1.0.2a... checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed checking for an ANSI C-conforming const... yes checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking whether make sets $(MAKE)... yes checking for ranlib... x86_64-pc-linux-gnu-ranlib checking for ar... x86_64-pc-linux-gnu-ar checking for ln... ln checking for strerror... yes checking for pcap_open_live in -lpcap... yes checking low-level packet interface type... found SOCK_PACKET checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for net/ethernet.h... yes checking for libnet_build_ip in -lnet... no checking machine endianess... lil checking if unaligned accesses fail... yes checking for sys/sockio.h... no configure: creating ./config.status config.status: creating Makefile config.status: creating test/Makefile config.status: creating test/TCP/Makefile config.status: creating test/Ethernet/Makefile config.status: creating test/UDP/Makefile config.status: creating test/ICMP/Makefile config.status: creating test/Random/Makefile config.status: creating test/OSPF/Makefile config.status: creating util/Makefile config.status: creating util/Get-mac/Makefile config.status: creating example/Makefile config.status: creating libnet-1.0-config config.status: creating include/config.h config.status: executing default commands >>> Source configured. >>> Compiling source in /var/tmp/portage/net-libs/libnet-1.0.2a-r7/work/Libnet-1.0.2a ... make -j4 x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_CONFIG_H -c src/libnet_resolve.c -o src/libnet_resolve.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_CONFIG_H -c src/libnet_socket.c -o src/libnet_socket.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_CONFIG_H -c src/libnet_checksum.c -o src/libnet_checksum.o sed -e 's/.*/#define VERSION "&"/' ./VERSION > version.h x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_CONFIG_H -c src/libnet_prand.c -o src/libnet_prand.o In file included from /usr/include/endian.h:21, from src/../include/libnet.h:35, from src/libnet_resolve.c:36: /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" | ^~~~~~~ In file included from /usr/include/endian.h:21, from src/../include/libnet.h:35, from src/libnet_socket.c:36: /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" | ^~~~~~~ In file included from /usr/include/endian.h:21, from src/../include/libnet.h:35, from src/libnet_checksum.c:37: /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" | ^~~~~~~ In file included from /usr/include/endian.h:21, from src/../include/libnet.h:35, from src/libnet_prand.c:36: /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" | ^~~~~~~ src/libnet_socket.c: In function ‘libnet_open_raw_sock’: src/libnet_socket.c:39:1: error: type of ‘prot’ defaults to ‘int’ [-Werror=implicit-int] 39 | libnet_open_raw_sock(prot) | ^~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make: *** [Makefile:71: src/libnet_socket.o] Error 1 make: *** Waiting for unfinished jobs.... * ERROR: net-libs/libnet-1.0.2a-r7::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-libs/libnet-1.0.2a-r7::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-libs/libnet-1.0.2a-r7::gentoo'`. * The complete build log is located at '/var/log/portage/net-libs:libnet-1.0.2a-r7:20221004-093159.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-libs/libnet-1.0.2a-r7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-libs/libnet-1.0.2a-r7/temp/environment'. * Working directory: '/var/tmp/portage/net-libs/libnet-1.0.2a-r7/work/Libnet-1.0.2a' * S: '/var/tmp/portage/net-libs/libnet-1.0.2a-r7/work/Libnet-1.0.2a'