* Package: net-misc/pcapfix-1.1.4 * Repository: gentoo * Maintainer: robbat2@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking pcapfix-1.1.4.tar.gz to /var/tmp/portage/net-misc/pcapfix-1.1.4/work >>> Source unpacked in /var/tmp/portage/net-misc/pcapfix-1.1.4/work >>> Preparing source in /var/tmp/portage/net-misc/pcapfix-1.1.4/work/pcapfix-1.1.4 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-misc/pcapfix-1.1.4/work/pcapfix-1.1.4 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-misc/pcapfix-1.1.4/work/pcapfix-1.1.4 ... make -j1 getconf: LFS_CFLAGS: unknown variable cc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector --param=ssp-buffer-size=4 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Werror=format-security -c pcap.c -o pcap.o getconf: LFS_CFLAGS: unknown variable In file included from pcap.c:21: pcap.h:31:3: error: unknown type name ‘u_int32_t’ 31 | u_int32_t magic_number; /* magic number */ | ^~~~~~~~~ pcap.h:32:3: error: unknown type name ‘u_int16_t’ 32 | u_int16_t version_major; /* major version number */ | ^~~~~~~~~ pcap.h:33:3: error: unknown type name ‘u_int16_t’ 33 | u_int16_t version_minor; /* minor version number */ | ^~~~~~~~~ pcap.h:35:3: error: unknown type name ‘u_int32_t’ 35 | u_int32_t sigfigs; /* accuracy of timestamps */ | ^~~~~~~~~ pcap.h:36:3: error: unknown type name ‘u_int32_t’ 36 | u_int32_t snaplen; /* max length of captured packets, in octets */ | ^~~~~~~~~ pcap.h:37:3: error: unknown type name ‘u_int32_t’ 37 | u_int32_t network; /* data link type */ | ^~~~~~~~~ pcap.h:42:3: error: unknown type name ‘u_int32_t’ 42 | u_int32_t ts_sec; /* timestamp seconds */ | ^~~~~~~~~ pcap.h:43:3: error: unknown type name ‘u_int32_t’ 43 | u_int32_t ts_usec; /* timestamp microseconds */ | ^~~~~~~~~ pcap.h:44:3: error: unknown type name ‘u_int32_t’ 44 | u_int32_t incl_len; /* number of octets of packet saved in file */ | ^~~~~~~~~ pcap.h:45:3: error: unknown type name ‘u_int32_t’ 45 | u_int32_t orig_len; /* actual length of packet */ | ^~~~~~~~~ pcap.c: In function ‘fix_pcap’: pcap.c:230:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | if (global_hdr.magic_number == PCAP_MAGIC) { | ^~ pcap.c:233:38: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 233 | } else if (global_hdr.magic_number == htonl(PCAP_MAGIC)) { | ^~ pcap.c:237:38: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 237 | } else if (global_hdr.magic_number == PCAP_NSEC_MAGIC) { | ^~ pcap.c:241:38: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 241 | } else if (global_hdr.magic_number == htonl(PCAP_NSEC_MAGIC)) { | ^~ make: *** [Makefile:21: pcap] Error 1 * ERROR: net-misc/pcapfix-1.1.4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-misc/pcapfix-1.1.4::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/pcapfix-1.1.4::gentoo'`. * The complete build log is located at '/var/log/portage/net-misc:pcapfix-1.1.4:20200315-213315.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/pcapfix-1.1.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/pcapfix-1.1.4/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/pcapfix-1.1.4/work/pcapfix-1.1.4' * S: '/var/tmp/portage/net-misc/pcapfix-1.1.4/work/pcapfix-1.1.4'