* Package: net-analyzer/cutter-1.04 * Repository: gentoo * Maintainer: netmon@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking cutter-1.04.tgz to /var/tmp/portage/net-analyzer/cutter-1.04/work >>> Source unpacked in /var/tmp/portage/net-analyzer/cutter-1.04/work >>> Preparing source in /var/tmp/portage/net-analyzer/cutter-1.04/work/cutter-1.04 ... * Applying cutter-1.03-debian.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/cutter-1.04/work/cutter-1.04 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-analyzer/cutter-1.04/work/cutter-1.04 ... make -j1 cutter CC=x86_64-gentoo-linux-musl-gcc x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 cutter.c -o cutter In file included from /usr/include/net/ethernet.h:10, from cutter.c:50: /usr/include/netinet/if_ether.h:113:8: error: redefinition of ‘struct ethhdr’ 113 | struct ethhdr { | ^~~~~~ In file included from cutter.c:47: /usr/include/linux/if_ether.h:163:8: note: originally defined here 163 | struct ethhdr { | ^~~~~~ cutter.c: In function ‘getnexthop’: cutter.c:133:27: warning: format ‘%lx’ expects argument of type ‘long unsigned int *’, but argument 4 has type ‘in_addr_t *’ {aka ‘unsigned int *’} [-Wformat=] 133 | if (sscanf(buff, "%s %8lx %8lx %4x %d %d %d %8lx %d %d %d", | ~~~^ | | | long unsigned int * | %8x 134 | iface, &dest_ip, &gateway_ip, &flags, &refcnt, | ~~~~~~~~ | | | in_addr_t * {aka unsigned int *} cutter.c:133:32: warning: format ‘%lx’ expects argument of type ‘long unsigned int *’, but argument 5 has type ‘in_addr_t *’ {aka ‘unsigned int *’} [-Wformat=] 133 | if (sscanf(buff, "%s %8lx %8lx %4x %d %d %d %8lx %d %d %d", | ~~~^ | | | long unsigned int * | %8x 134 | iface, &dest_ip, &gateway_ip, &flags, &refcnt, | ~~~~~~~~~~~ | | | in_addr_t * {aka unsigned int *} cutter.c:133:50: warning: format ‘%lx’ expects argument of type ‘long unsigned int *’, but argument 10 has type ‘in_addr_t *’ {aka ‘unsigned int *’} [-Wformat=] 133 | if (sscanf(buff, "%s %8lx %8lx %4x %d %d %d %8lx %d %d %d", | ~~~^ | | | long unsigned int * | %8x 134 | iface, &dest_ip, &gateway_ip, &flags, &refcnt, 135 | &use, &metric, &mask, &mtu, &window, &irtt | ~~~~~ | | | in_addr_t * {aka unsigned int *} make: *** [: cutter] Error 1 * ERROR: net-analyzer/cutter-1.04::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-analyzer/cutter-1.04::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/cutter-1.04::gentoo'`. * The complete build log is located at '/var/log/portage/net-analyzer:cutter-1.04:20200403-053850.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/cutter-1.04/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/cutter-1.04/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/cutter-1.04/work/cutter-1.04' * S: '/var/tmp/portage/net-analyzer/cutter-1.04/work/cutter-1.04'