Created attachment 428472 [details, diff] Adds fixed version to ::musl This package seems somewhat obsolete, but it's still required for e.g. kde-plasma/powerdevil[-systemd]. Upstream last updated ~2.5 years ago, seems quite dead. The number of consumers seems shrinking. Anyway, for those that need it, here's the patch for ::musl.
The patch is hacky, but should at the very least help with compilation on musl systems while not breaking anything else. On the other hand, note that kde-plasma/powerdevil is sys-auth/polkit-pkla-compat's only reverse dependency in the main tree. This dependency is not inherent to powerdevil but due to .pkla files added by gentoo, which have not yet been converted to the new polkit format.
(In reply to Felix Janda from comment #1) > The patch is hacky, but should at the very least help with compilation > on musl systems while not breaking anything else. Indeed :) > On the other hand, note that kde-plasma/powerdevil is > sys-auth/polkit-pkla-compat's only reverse dependency in the main tree. > This dependency is not inherent to powerdevil but due to .pkla files > added by gentoo, which have not yet been converted to the new polkit > format. Hopefully by the time we see serious Plasma5+musl users, this package will be long gone. This is just a quick hack around the crappy current reality. It would be nice to have it committed (there are other patches that just disable something already) until the package is completely dropped.
*** Bug 841854 has been marked as a duplicate of this bug. ***
there is no build log, but from the patch I suppose the error is: polkitbackendlocalauthorizationstore.c:(.text+0xa56): undefined reference to `innetgr'
tinderbox_musl has reproduced this issue with version 0.1-r2 - Updating summary.