* Package: net-proxy/tayga-0.9.2-r3:0 * Repository: gentoo * Maintainer: heroxbd@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking tayga-0.9.2.tar.bz2 to /var/tmp/portage/net-proxy/tayga-0.9.2-r3/work >>> Source unpacked in /var/tmp/portage/net-proxy/tayga-0.9.2-r3/work >>> Preparing source in /var/tmp/portage/net-proxy/tayga-0.9.2-r3/work/tayga-0.9.2 ... * Applying tayga-0.9.2-static-EAM.patch ... [ ok ] * Applying tayga-0.9.2-manpage-RFC.patch ... [ ok ] * Applying tayga-0.9.2-release-reserved-addr.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-proxy/tayga-0.9.2-r3/work/tayga-0.9.2' ... * Running 'aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running 'automake --add-missing --copy --foreign --force-missing' ... [ ok ] * Running elibtoolize in: tayga-0.9.2/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-proxy/tayga-0.9.2-r3/work/tayga-0.9.2 ... * econf: updating tayga-0.9.2/config.sub with /usr/share/gnuconfig/config.sub * econf: updating tayga-0.9.2/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 --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/tayga-0.9.2-r3 --htmldir=/usr/share/doc/tayga-0.9.2-r3/html --libdir=/usr/lib64 checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-pc-linux-gnu-gcc... clang 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 clang accepts -g... yes checking for clang option to enable C11 features... none needed checking whether clang understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of clang... none checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands >>> Source configured. '/var/tmp/portage/net-proxy/tayga-0.9.2-r3/temp/clang14.log' -> '/var/tmp/clang/net-proxy/tayga-0.9.2-r3/clang14.log' '/var/tmp/portage/net-proxy/tayga-0.9.2-r3/temp/clang15.log' -> '/var/tmp/clang/net-proxy/tayga-0.9.2-r3/clang15.log' >>> Compiling source in /var/tmp/portage/net-proxy/tayga-0.9.2-r3/work/tayga-0.9.2 ... make -j4 (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh '/var/tmp/portage/net-proxy/tayga-0.9.2-r3/work/tayga-0.9.2/missing' autoheader) rm -f stamp-h1 touch config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged make all-am make[1]: Entering directory '/var/tmp/portage/net-proxy/tayga-0.9.2-r3/work/tayga-0.9.2' clang -DTAYGA_CONF_PATH=\"/etc/tayga.conf\" -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o nat64.o nat64.c clang -DTAYGA_CONF_PATH=\"/etc/tayga.conf\" -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o addrmap.o addrmap.c clang -DTAYGA_CONF_PATH=\"/etc/tayga.conf\" -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o dynamic.o dynamic.c clang -DTAYGA_CONF_PATH=\"/etc/tayga.conf\" -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o tayga.o tayga.c nat64.c:119:6: error: call to undeclared function 'writev'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (writev(gcfg->tun_fd, iov, data_len ? 2 : 1) < 0) ^ nat64.c:119:6: note: did you mean 'write'? /usr/include/unistd.h:378:16: note: 'write' declared here extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur ^ nat64.c:226:22: warning: taking address of packed member 'dest' of class or structure 'ip6' may result in an unaligned pointer value [-Waddress-of-packed-member] if (map_ip4_to_ip6(&header.ip6.dest, &p->ip4->dest, &dest)) { ^~~~~~~~~~~~~~~ nat64.c:231:22: warning: taking address of packed member 'src' of class or structure 'ip6' may result in an unaligned pointer value [-Waddress-of-packed-member] if (map_ip4_to_ip6(&header.ip6.src, &p->ip4->src, &src)) { ^~~~~~~~~~~~~~ nat64.c:278:7: error: call to undeclared function 'writev'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (writev(gcfg->tun_fd, iov, 2) < 0) ^ nat64.c:313:8: error: call to undeclared function 'writev'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (writev(gcfg->tun_fd, iov, 2) < 0) { ^ nat64.c:418:22: warning: taking address of packed member 'src' of class or structure 'ip6' may result in an unaligned pointer value [-Waddress-of-packed-member] if (map_ip4_to_ip6(&header.ip6_em.src, &p_em.ip4->src, NULL) || ^~~~~~~~~~~~~~~~~ nat64.c:419:20: warning: taking address of packed member 'dest' of class or structure 'ip6' may result in an unaligned pointer value [-Waddress-of-packed-member] map_ip4_to_ip6(&header.ip6_em.dest, ^~~~~~~~~~~~~~~~~~ nat64.c:495:22: warning: taking address of packed member 'src' of class or structure 'ip6' may result in an unaligned pointer value [-Waddress-of-packed-member] if (map_ip4_to_ip6(&header.ip6.src, &p->ip4->src, NULL)) { ^~~~~~~~~~~~~~ nat64.c:502:22: warning: taking address of packed member 'dest' of class or structure 'ip6' may result in an unaligned pointer value [-Waddress-of-packed-member] if (map_ip4_to_ip6(&header.ip6.dest, &p->ip4->dest, NULL)) ^~~~~~~~~~~~~~~ nat64.c:525:6: error: call to undeclared function 'writev'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (writev(gcfg->tun_fd, iov, 2) < 0) ^ nat64.c:588:6: error: call to undeclared function 'writev'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (writev(gcfg->tun_fd, iov, data_len ? 2 : 1) < 0) ^ nat64.c:705:22: warning: taking address of packed member 'dest' of class or structure 'ip4' may result in an unaligned pointer value [-Waddress-of-packed-member] if (map_ip6_to_ip4(&header.ip4.dest, &p->ip6->dest, &dest, 0)) { ^~~~~~~~~~~~~~~ nat64.c:710:22: warning: taking address of packed member 'src' of class or structure 'ip4' may result in an unaligned pointer value [-Waddress-of-packed-member] if (map_ip6_to_ip4(&header.ip4.src, &p->ip6->src, &src, 1)) { ^~~~~~~~~~~~~~ nat64.c:741:6: error: call to undeclared function 'writev'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (writev(gcfg->tun_fd, iov, 2) < 0) ^ nat64.c:901:22: warning: taking address of packed member 'src' of class or structure 'ip4' may result in an unaligned pointer value [-Waddress-of-packed-member] if (map_ip6_to_ip4(&header.ip4_em.src, &p_em.ip6->src, NULL, 0) || ^~~~~~~~~~~~~~~~~ nat64.c:902:20: warning: taking address of packed member 'dest' of class or structure 'ip4' may result in an unaligned pointer value [-Waddress-of-packed-member] map_ip6_to_ip4(&header.ip4_em.dest, ^~~~~~~~~~~~~~~~~~ nat64.c:913:22: warning: taking address of packed member 'src' of class or structure 'ip4' may result in an unaligned pointer value [-Waddress-of-packed-member] if (map_ip6_to_ip4(&header.ip4.src, &p->ip6->src, NULL, 0)) { ^~~~~~~~~~~~~~ nat64.c:920:22: warning: taking address of packed member 'dest' of class or structure 'ip4' may result in an unaligned pointer value [-Waddress-of-packed-member] if (map_ip6_to_ip4(&header.ip4.dest, &p->ip6->dest, NULL, 0)) ^~~~~~~~~~~~~~~ nat64.c:943:6: error: call to undeclared function 'writev'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (writev(gcfg->tun_fd, iov, 2) < 0) ^ 12 warnings and 7 errors generated. make[1]: *** [Makefile:437: nat64.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/var/tmp/portage/net-proxy/tayga-0.9.2-r3/work/tayga-0.9.2' make: *** [Makefile:315: all] Error 2 * ERROR: net-proxy/tayga-0.9.2-r3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-proxy/tayga-0.9.2-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-proxy/tayga-0.9.2-r3::gentoo'`. * The complete build log is located at '/var/log/portage/net-proxy:tayga-0.9.2-r3:20220919-081912.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-proxy/tayga-0.9.2-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-proxy/tayga-0.9.2-r3/temp/environment'. * Working directory: '/var/tmp/portage/net-proxy/tayga-0.9.2-r3/work/tayga-0.9.2' * S: '/var/tmp/portage/net-proxy/tayga-0.9.2-r3/work/tayga-0.9.2'