Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 577666 - sys-auth/polkit-pkla-compat-0.1-r2 fails to build with musl
Summary: sys-auth/polkit-pkla-compat-0.1-r2 fails to build with musl
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
: 841854 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-03-17 22:43 UTC by Vic Kerr (wikky)
Modified: 2022-10-04 07:10 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Adds fixed version to ::musl (0001-sys-auth-polkit-pkla-compat-Ignore-innetgr.patch,4.97 KB, patch)
2016-03-17 22:43 UTC, Vic Kerr (wikky)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.