* Package: net-misc/taptap-1.0-r1:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Source unpacked in /var/tmp/portage/net-misc/taptap-1.0-r1/work >>> Preparing source in /var/tmp/portage/net-misc/taptap-1.0-r1/work ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-misc/taptap-1.0-r1/work ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-misc/taptap-1.0-r1/work ... * x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o taptap taptap-1.0.c taptap-1.0.c: In function ‘main’: taptap-1.0.c:65:9: error: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration] 65 | memset(&ifr, 0, sizeof(ifr)); | ^~~~~~ taptap-1.0.c:43:1: note: include ‘’ or provide a declaration of ‘memset’ 42 | #include +++ |+#include 43 | taptap-1.0.c:65:9: warning: incompatible implicit declaration of built-in function ‘memset’ [-Wbuiltin-declaration-mismatch] 65 | memset(&ifr, 0, sizeof(ifr)); | ^~~~~~ taptap-1.0.c:65:9: note: include ‘’ or provide a declaration of ‘memset’ taptap-1.0.c:68:9: error: implicit declaration of function ‘strncpy’ [-Wimplicit-function-declaration] 68 | strncpy(ifr.ifr_name, "tun%d", IFNAMSIZ); | ^~~~~~~ taptap-1.0.c:68:9: note: include ‘’ or provide a declaration of ‘strncpy’ taptap-1.0.c:68:9: warning: incompatible implicit declaration of built-in function ‘strncpy’ [-Wbuiltin-declaration-mismatch] taptap-1.0.c:68:9: note: include ‘’ or provide a declaration of ‘strncpy’ taptap-1.0.c:81:9: warning: ignoring return value of ‘daemon’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 81 | daemon(0,0); | ^~~~~~~~~~~ taptap-1.0.c:86:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 86 | write(dev2,(void*)&buf,cnt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ taptap-1.0.c:91:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 91 | write(dev1,(void*)&buf,cnt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ * ERROR: net-misc/taptap-1.0-r1::gentoo failed (compile phase): * Failed to run command: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o taptap taptap-1.0.c * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 1248: Called edo 'x86_64-pc-linux-gnu-gcc' '-O2' '-pipe' '-march=native' '-fno-diagnostics-color' '-Wl,-O1' '-Wl,--as-needed' '-Wl,--defsym=__gentoo_check_ldflags__=0' '-o' 'taptap' 'taptap-1.0.c' * environment, line 601: Called die * The specific snippet of code: * "$@" || die -n "Failed to run command: $@" * * If you need support, post the output of `emerge --info '=net-misc/taptap-1.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/taptap-1.0-r1::gentoo'`. * The complete build log is located at '/var/log/portage/net-misc:taptap-1.0-r1:20231214-102659.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/taptap-1.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/taptap-1.0-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/taptap-1.0-r1/work' * S: '/var/tmp/portage/net-misc/taptap-1.0-r1/work'