https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: net-libs/libnftnl-1.2.1 fails tests on MUSL. Discovered on: amd64 (internal ref: tinderbox_musl) NOTE: This machine uses MUSL libc
Created attachment 768464 [details] build.log build log and emerge --info
tinderbox_musl has reproduced this issue with version 1.2.3 - Updating summary.
struct tcphdr comes from netinet/tcp.h. On musl, tcphdr.dest is hidden behind _GNU_SOURCE. On glibc, it is always available. I'm not sure if we need to fix libnftnl or musl here.
(In reply to Mike Gilbert from comment #3) > struct tcphdr comes from netinet/tcp.h. > > On musl, tcphdr.dest is hidden behind _GNU_SOURCE. On glibc, it is always > available. > > I'm not sure if we need to fix libnftnl or musl here. netinet_tcp.h(0P) is very light on what netinet/tcp.h must provide, so I think it's right that it's guarded behind GNU_SOURCE.