Created attachment 757118 [details] emerge --info It appears that the patches to fix the swab.h header in hardened musl weren't completely upstreamed or something. Downloading the source for 5.15.5 results in the same error described in #791364 (would link but account is too new) and only manually applying the patches described by Moran Z. gets the kernel to build.
>sys-kernel/linux-headers: 5.15::gentoo (virtual/os-headers) We should mask newer linux-headers on musl or update our patches.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b21e04ca20bd47d68d4971a7bc0f1076447b9f3 commit 3b21e04ca20bd47d68d4971a7bc0f1076447b9f3 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-12-01 21:14:21 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-01 21:15:12 +0000 sys-kernel/linux-headers: fix build failure of linux sources on musl Closes: https://bugs.gentoo.org/827927 Signed-off-by: Sam James <sam@gentoo.org> .../{linux-headers-5.15.ebuild => linux-headers-5.15-r1.ebuild} | 5 +++++ 1 file changed, 5 insertions(+)
Could you verify it's OK now?
I'll try to do so by the end of today!
Yep, works like a dream! Thank you!
(In reply to matt from comment #5) > Yep, works like a dream! Thank you! Thanks a lot!!