Compilation of kmod fails with musl libc because of missing strndupa. The issue is fixed in upstream git. Please add the attached patch, which is generated from git and applies cleanly to kmod-19, to the gentoo ebuild. Reproducible: Always
Created attachment 394198 [details, diff] Patch from upstream git
Its fixed in the overlay with kmod-19-r99. Did you pass this upstream?
The patch is backported from upstream git.
okay we're done. it'll percolate down to use on the next release.