Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 577666

Summary: sys-auth/polkit-pkla-compat-0.1-r2 fails to build with musl
Product: Gentoo Linux Reporter: Vic Kerr (wikky) <wikky>
Component: [OLD] LibraryAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: musl, sam, toralf, wikky
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=834604
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Adds fixed version to ::musl

Description Vic Kerr (wikky) 2016-03-17 22:43:33 UTC
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.
Comment 1 Felix Janda 2016-03-21 21:25:34 UTC
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.
Comment 2 Vic Kerr (wikky) 2016-03-22 08:05:27 UTC
(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.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-15 06:04:59 UTC
*** Bug 841854 has been marked as a duplicate of this bug. ***
Comment 4 Agostino Sarubbo gentoo-dev 2022-10-04 07:10:31 UTC
there is no build log, but from the patch I suppose the error is:

polkitbackendlocalauthorizationstore.c:(.text+0xa56): undefined reference to `innetgr'
Comment 5 Agostino Sarubbo gentoo-dev 2022-10-04 07:10:48 UTC
tinderbox_musl has reproduced this issue with version 0.1-r2 - Updating summary.