In file included from /usr/include/net/ethernet.h:10, from ethersrv-linux.c:37: /usr/include/netinet/if_ether.h:113:8: error: redefinition of struct ethhdr 113 | struct ethhdr { | ^~~~~~ In file included from ethersrv-linux.c:34: ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl-20200328-141627 ------------------------------------------------------------------- Please see the tracker bug for details. gcc-config -l: [1] x86_64-gentoo-linux-musl-9.3.0 * clang version 10.0.0 Target: x86_64-gentoo-linux-musl Thread model: posix InstalledDir: /usr/lib/llvm/10/bin /usr/lib/llvm/10 10.0.0 Available Python interpreters, in order of preference: [1] python3.8 [2] python3.7 [3] python3.6 [4] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.42.0 * timestamp of HEAD at this tinderbox image: /var/db/repos/gentoo Mon Mar 30 12:38:57 UTC 2020 /var/db/repos/musl Fri Mar 27 00:25:27 UTC 2020 emerge -qpvO net-misc/etherdfs [ebuild N ] net-misc/etherdfs-20180203 USE="-tsr"
Created attachment 627354 [details] emerge-info.txt
Created attachment 627356 [details] emerge-history.txt
Created attachment 627358 [details] environment
Created attachment 627360 [details] etc.portage.tbz2
Created attachment 627362 [details] net-misc:etherdfs-20180203:20200330-131307.log
Created attachment 627364 [details] temp.tbz2
musl upstream has a FAQ entry specifically for this error: https://wiki.musl-libc.org/faq.html#Q:-Why-am-I-getting- Suggested workarounds are in the FAQ.
What's the best way to test musl? Since I am not using it. A stage3 in a chroot?
(In reply to Conrad Kostecki from comment #8) > What's the best way to test musl? Since I am not using it. A stage3 in a > chroot? A chroot will work fine. This is just a mismatch between the system headers and kernel headers.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0aacafb66737245439ac8a2fa2d96b4b873f18f commit a0aacafb66737245439ac8a2fa2d96b4b873f18f Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2020-08-27 18:18:18 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2020-08-27 18:18:32 +0000 net-misc/etherdfs: fix compilation with musl Closes: https://bugs.gentoo.org/715454 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> net-misc/etherdfs/etherdfs-20180203-r1.ebuild | 5 ++++- net-misc/etherdfs/files/etherdfs-20180203-musl.patch | 10 ++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-)