Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 617976 - net-dns/s6-dns-2.2.0.0 : libs6dns.so.xyzzy: undefined reference to `byte_copy'
Summary: net-dns/s6-dns-2.2.0.0 : libs6dns.so.xyzzy: undefined reference to `byte_copy'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Samuel Holland
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-09 14:56 UTC by Toralf Förster
Modified: 2017-05-25 04:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,5.60 KB, text/plain)
2017-05-09 14:56 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,139.86 KB, text/plain)
2017-05-09 14:56 UTC, Toralf Förster
Details
environment (environment,84.76 KB, text/plain)
2017-05-09 14:56 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,22.74 KB, application/x-bzip)
2017-05-09 14:56 UTC, Toralf Förster
Details
net-dns:s6-dns-2.2.0.0:20170508-214644.log (net-dns:s6-dns-2.2.0.0:20170508-214644.log,60.78 KB, text/plain)
2017-05-09 14:56 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.95 KB, application/x-bzip)
2017-05-09 14:56 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-05-09 14:56:12 UTC
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:
Comment 1 Toralf Förster gentoo-dev 2017-05-09 14:56:16 UTC
Created attachment 472076 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-05-09 14:56:19 UTC
Created attachment 472078 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-05-09 14:56:22 UTC
Created attachment 472080 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-05-09 14:56:25 UTC
Created attachment 472082 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-05-09 14:56:28 UTC
Created attachment 472084 [details]
net-dns:s6-dns-2.2.0.0:20170508-214644.log
Comment 6 Toralf Förster gentoo-dev 2017-05-09 14:56:31 UTC
Created attachment 472086 [details]
temp.tbz2
Comment 7 Samuel Holland 2017-05-10 22:55:08 UTC
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.
Comment 8 Samuel Holland 2017-05-25 04:23:23 UTC
This is fixed in >=dev-libs/skalibs-2.5.0.1