* Package: net-analyzer/packit-1.8:0 * Repository: gentoo * Maintainer: netmon@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking packit-1.8.tar.gz to /var/tmp/portage/net-analyzer/packit-1.8/work >>> Source unpacked in /var/tmp/portage/net-analyzer/packit-1.8/work >>> Preparing source in /var/tmp/portage/net-analyzer/packit-1.8/work/packit-1.8 ... * Running eautoreconf in '/var/tmp/portage/net-analyzer/packit-1.8/work/packit-1.8' ... * Running 'aclocal --system-acdir=/var/tmp/portage/net-analyzer/packit-1.8/temp/aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader --force' ... [ ok ] * Running 'automake --add-missing --copy --foreign --force-missing' ... [ ok ] * Running elibtoolize in: packit-1.8/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/packit-1.8/work/packit-1.8 ... * econf: updating packit-1.8/config.guess with /usr/share/gnuconfig/config.guess * econf: updating packit-1.8/config.sub with /usr/share/gnuconfig/config.sub ./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 --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/packit-1.8 --htmldir=/usr/share/doc/packit-1.8/html --libdir=/usr/lib64 beginning auto-configuration process for packit... checking for a BSD-compatible install... /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes 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 whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for gcc... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu 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 u_int8_t... yes checking for u_int16_t... yes checking for u_int32_t... yes checking for u_int64_t... yes checking for signal.h... yes checking for pcap-bpf.h... yes checking for sys/time.h... yes checking for libnet.h... yes checking for pcap.h... yes checking for printf... yes checking for fprintf... yes checking for snprintf... yes checking for sprintf... yes checking for strdup... yes checking for strrchr... yes checking for strstr... yes checking for strncasecmp... yes checking for strtol... yes checking for strncmp... yes checking for strncat... yes checking for memset... yes checking for malloc... yes checking for gethostbyname... yes checking for gettimeofday... yes checking for getuid... yes checking for select... yes checking for setitimer... yes checking for libnet_build_ipv4 in -lnet... yes checking for pcap_open_live in -lpcap... yes checking for pcap_setnonblock in -lpcap... yes checking for pcap_freecode in -lpcap... yes checking for bpf... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands _ _ _ _ __ __ _ ___| | _(_) |_ | '_ \ / _` |/ __| |/ / | __| | |_) | (_| | (__| <| | |_ | .__/ \__,_|\___|_|\_\_|\__| |_| has been configured with the following options: ----------------------------------------------- Host type : x86_64-pc-linux-gnu Compiler : x86_64-pc-linux-gnu-gcc Compiler flags : -O2 -pipe -march=native -fno-diagnostics-color -Wall Linker flags : -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 Libraries : -lpcap -lpcap -lpcap -lnet Binary : /usr/bin Manual pages : /usr/share/man/ Injection support : yes Capture support : yes Enable debugging : no ----------------------------------------------- >>> Source configured. >>> Compiling source in /var/tmp/portage/net-analyzer/packit-1.8/work/packit-1.8 ... make -O -j4 make all-recursive Making all in src make[2]: Entering directory '/var/tmp/portage/net-analyzer/packit-1.8/work/packit-1.8/src' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o define_defaults.o define_defaults.c make[2]: Leaving directory '/var/tmp/portage/net-analyzer/packit-1.8/work/packit-1.8/src' make[2]: Entering directory '/var/tmp/portage/net-analyzer/packit-1.8/work/packit-1.8/src' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o error.o error.c make[2]: Leaving directory '/var/tmp/portage/net-analyzer/packit-1.8/work/packit-1.8/src' make[2]: Entering directory '/var/tmp/portage/net-analyzer/packit-1.8/work/packit-1.8/src' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o injection.o injection.c injection.c: In function ‘injection_init’: injection.c:102:17: error: too many arguments to function ‘without_response’ 102 | without_response(g_port_range); | ^~~~~~~~~~~~~~~~ In file included from injection.c:32: injection.h:42:11: note: declared here 42 | u_int16_t without_response(); | ^~~~~~~~~~~~~~~~ injection.c:104:17: error: too many arguments to function ‘with_response’ 104 | with_response(g_port_range); | ^~~~~~~~~~~~~ injection.h:41:11: note: declared here 41 | u_int16_t with_response(); | ^~~~~~~~~~~~~ injection.c: At top level: injection.c:111:11: error: conflicting types for ‘with_response’; have ‘u_int16_t(u_int32_t)’ {aka ‘short unsigned int(unsigned int)’} 111 | u_int16_t with_response(u_int32_t g_port_range) | ^~~~~~~~~~~~~ injection.h:41:11: note: previous declaration of ‘with_response’ with type ‘u_int16_t(void)’ {aka ‘short unsigned int(void)’} 41 | u_int16_t with_response(); | ^~~~~~~~~~~~~ injection.c:289:11: error: conflicting types for ‘without_response’; have ‘u_int16_t(u_int32_t)’ {aka ‘short unsigned int(unsigned int)’} 289 | u_int16_t without_response(u_int32_t g_port_range) | ^~~~~~~~~~~~~~~~ injection.h:42:11: note: previous declaration of ‘without_response’ with type ‘u_int16_t(void)’ {aka ‘short unsigned int(void)’} 42 | u_int16_t without_response(); | ^~~~~~~~~~~~~~~~ make[2]: *** [Makefile:492: injection.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/net-analyzer/packit-1.8/work/packit-1.8/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/var/tmp/portage/net-analyzer/packit-1.8/work/packit-1.8/src' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o init.o init.c make[2]: Leaving directory '/var/tmp/portage/net-analyzer/packit-1.8/work/packit-1.8/src' make[2]: Entering directory '/var/tmp/portage/net-analyzer/packit-1.8/work/packit-1.8/src' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o capture.o capture.c make[2]: Leaving directory '/var/tmp/portage/net-analyzer/packit-1.8/work/packit-1.8/src' make[2]: Entering directory '/var/tmp/portage/net-analyzer/packit-1.8/work/packit-1.8/src' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o shape_arp_hdr.o shape_arp_hdr.c make[2]: Leaving directory '/var/tmp/portage/net-analyzer/packit-1.8/work/packit-1.8/src' make[1]: *** [Makefile:472: all-recursive] Error 1 make: *** [Makefile:370: all] Error 2 * ERROR: net-analyzer/packit-1.8::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-analyzer/packit-1.8::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/packit-1.8::gentoo'`. * The complete build log is located at '/var/log/portage/net-analyzer:packit-1.8:20241118-182219.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/packit-1.8/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/packit-1.8/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/packit-1.8/work/packit-1.8' * S: '/var/tmp/portage/net-analyzer/packit-1.8/work/packit-1.8'