exec gcc -iquote src/include-local -Isrc/include -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -O2 -Wa,--noexecstack -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-sign -Werror=pointer-arith -Wno-unused-value -O2 -pipe -march=native -Wall -std=c99 -fomit-frame-pointer -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-stack-protector -ffunction-sections -fdata-sections -pipe -Wall -c -o src/skadns/skadnsd.o src/skadns/skadnsd.c exec gcc -o skadnsd -O2 -pipe -march=native -Wall -std=c99 -fomit-frame-pointer -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-stack-protector -ffunction-sections -fdata-sections -pipe -Wall -Wl,-O1 -Wl,--as-needed -Wl,--sort-section=alignment -Wl,--sort-common -L/lib64 src/skadns/skadnsd.o libs6dns.so.xyzzy /lib64/libskarnet.so libs6dns.so.xyzzy: undefined reference to `byte_copy' collect2: error: ld returned 1 exit status make: *** [Makefile:136: skadnsd] Error 1 * ERROR: net-dns/s6-dns-2.2.0.0::gentoo failed (compile phase): ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: gnome-libressl_20170506-094219 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-6.3.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python2.7 (fallback) java-config: The following VMs are available for generation-2:
Created attachment 472076 [details] emerge-info.txt
Created attachment 472078 [details] emerge-history.txt
Created attachment 472080 [details] environment
Created attachment 472082 [details] etc.portage.tbz2
Created attachment 472084 [details] net-dns:s6-dns-2.2.0.0:20170508-214644.log
Created attachment 472086 [details] temp.tbz2
This looks to actually be a bug in skalibs, as byte_copy is not used anywhere in s6-dns. It's only referenced from https://github.com/skarnet/skalibs/blob/4fd66d857b5e0c9cea39b48fde1b3c5e50ee687e/src/headers/ip46-without ...which gets installed as part of ip46.h only if you have ipv6 disabled. byte_copy is a macro from another header in skalibs, so there's a missing include somewhere.
This is fixed in >=dev-libs/skalibs-2.5.0.1