Created attachment 745485 [details] build.log Previous stable iwd-1.15 was fine. [...] x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -fvisibility=hidden -DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -Os -march=x86-64 -mtune=k8 -msse3 -pipe -fsigned-char -c -o src/netconfig.o src/netconfig.c src/netconfig.c: In function 'netconfig_ipv6_to_string': src/netconfig.c:188:25: error: 'struct in6_addr' has no member named '__in6_u'; did you mean '__in6_union'? 188 | memcpy(in6_addr.__in6_u.__u6_addr8, addr, 16); | ^~~~~~~ | __in6_union make[1]: *** [Makefile:2276: src/netconfig.o] Error 1 make: *** [Makefile:1497: all] Error 2 * ERROR: net-wireless/iwd-1.18::gentoo failed (compile phase): * emake failed
Created attachment 745488 [details] emerge --info
Probably fixed in this commit, can you see if adding this patch to 1.18 helps? https://git.kernel.org/pub/scm/network/wireless/iwd.git/commit/src/netconfig.c?id=42bd5ba7c2665c5bf95ba102a8115c4cf01d31d7
(In reply to Ben Kohler from comment #2) > Probably fixed in this commit, can you see if adding this patch to 1.18 > helps? > > https://git.kernel.org/pub/scm/network/wireless/iwd.git/commit/src/netconfig. > c?id=42bd5ba7c2665c5bf95ba102a8115c4cf01d31d7 Yes, this patch fixes the build on musl. Thanks!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0dd8d6c0edaf5f3aa67f81aef727abe7aff4c86 commit a0dd8d6c0edaf5f3aa67f81aef727abe7aff4c86 Author: Ben Kohler <bkohler@gentoo.org> AuthorDate: 2021-10-17 15:37:34 +0000 Commit: Ben Kohler <bkohler@gentoo.org> CommitDate: 2021-10-17 15:50:54 +0000 net-wireless/iwd: backport musl fix Closes: https://bugs.gentoo.org/818700 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Ben Kohler <bkohler@gentoo.org> .../iwd/files/iwd-1.18-musl-backport.patch | 30 ++++++++++++++++++++++ net-wireless/iwd/iwd-1.18.ebuild | 5 ++-- 2 files changed, 33 insertions(+), 2 deletions(-)