https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sys-auth/polkit-0.120_p20220127 fails to compile. Discovered on: amd64 (internal ref: tinderbox_musl) NOTE: This machine uses MUSL libc
Created attachment 765436 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: /usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.1/../../../../x86_64-gentoo-linux-musl/bin/ld: polkitbackendinteractiveauthority.c:(.text+0x4a08): undefined reference to `getnetgrent' /usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.1/../../../../x86_64-gentoo-linux-musl/bin/ld: polkitbackendinteractiveauthority.c:(.text+0x4a98): undefined reference to `endnetgrent' Error: no ID for constraint linkend: "PolkitAgentTextListener-struct". Error: no ID for constraint linkend: "PolkitIdentity-struct". Error: no ID for constraint linkend: "eggdbus-signal-org.freedesktop.PolicyKit1.Authority::Changed". Error: no ID for constraint linkend: "pkaction.1". Error: no ID for constraint linkend: "pkcheck.1". Error: no ID for constraint linkend: "pkexec.1". Error: no ID for constraint linkend: "pkttyagent.1". Error: no ID for constraint linkend: "polkit.8". Error: no ID for constraint linkend: "polkitd.8". polkitbackendduktapeauthority.c:(.text+0x8fe): undefined reference to `innetgr' polkitbackendinteractiveauthority.c:(.text+0x49bf): undefined reference to `setnetgrent' Message: how to call pam_strerror: unknown
Looks like the same problem uclibc had: https://bugs.gentoo.org/561672 See also the freedesktop bug linked from that report: https://bugs.freedesktop.org/show_bug.cgi?id=50145 Which was migrated to gitlab: https://gitlab.freedesktop.org/polkit/polkit/-/issues/14
The bug has been closed via 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(+)