netgroup is a SunOS extension and is not supported by uclibc (to keep it small, it's also for microcontrolers). Whn applied, this patch checks for uclibc and replaces netgroup call by stubs returning that access cannot be granted by this method. Reproducible: Always Steps to Reproduce: 1. Get Lilblue 2. emerge -1 polkit 3. Actual Results: make failed Expected Results: polkit installed on system
Created attachment 413110 [details, diff] polkit-0.113-optional-netgroup-r2.patch
Created attachment 413112 [details, diff] polkit-0.113.ebuild.patch
Created attachment 413114 [details, diff] polkit-0.113.ebuild.patch
The patch looks fine. Did you submit it to upstream ?
(In reply to Gilles Dartiguelongue from comment #4) > The patch looks fine. Did you submit it to upstream ? Submitted the patch as an attachment to https://bugs.freedesktop.org/show_bug.cgi?id=50145 . Natanael Copa (who used to be on gentoo-embedded list before starting his Alpine distribution) hit the problem in early 2013 and sent a patch, but the bug is assigned to someone not reading emails from Bugzilla. What a shame.
Looks like this would also be needed for musl support. http://lists.openembedded.org/pipermail/openembedded-devel/2016-January/105613.html
uclibc support in Gentoo has been removed.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cca21561571e00e88f434ad94a9cde6851fab244 commit cca21561571e00e88f434ad94a9cde6851fab244 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-02-20 00:42:58 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-02-20 00:42:58 +0000 sys-auth/polkit: add musl patch to 0.120_p20220127 Pulled in from ::musl. Closes: https://bugs.gentoo.org/833753 Bug: https://bugs.gentoo.org/561672 Signed-off-by: Sam James <sam@gentoo.org> ...lkit-0.118-make-netgroup-support-optional.patch | 228 +++++++++++++++++++++ sys-auth/polkit/polkit-0.120_p20220127.ebuild | 3 + 2 files changed, 231 insertions(+)