Summary: | sys-auth/polkit-0.120_p20220221 - polkitbackendduktapeauthority.c:(.text+<snip>): undefined reference to innetgr | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo musl team <musl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | freedesktop-bugs, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=833753 https://bugs.gentoo.org/show_bug.cgi?id=577666 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
emerge-history.txt.bz2 environment etc.portage.tar.bz2 logs.tar.bz2 sys-auth:polkit-0.120_p20220221:20220305-001425.log temp.tar.bz2 |
Description
Toralf Förster
![]() Created attachment 766280 [details]
emerge-info.txt
Created attachment 766281 [details]
emerge-history.txt.bz2
Created attachment 766282 [details]
environment
Created attachment 766283 [details]
etc.portage.tar.bz2
Created attachment 766284 [details]
logs.tar.bz2
Created attachment 766285 [details]
sys-auth:polkit-0.120_p20220221:20220305-001425.log
Created attachment 766286 [details]
temp.tar.bz2
I suspect
>* Applying polkit-0.118-make-netgroup-support-optional.patch ...
needs updating for meson. Oops.
From -hardened: [16:25:28] <[Arfrever]> sam_: Regarding above bug filed by toralf, polkit-0.118-make-netgroup-support-optional.patch (as can be guessed from filename) is from pre-duktape times. This patch modifies polkitbackendjsauthority.cpp, but not polkitbackendduktapeauthority.c . [18:22:29] <listout[m]> [Arfrever]: Sorry for the late reply. Here is gist of the build log [18:22:30] <listout[m]> https://gist.github.com/listout/89f8b42ca2c5e0da0c8a436541f5be71 [18:25:41] <[Arfrever]> listout[m]: polkit-0.118-make-netgroup-support-optional.patch is applied in polkit-0.120_p20220221.ebuild, but not in polkit-0.120-r3.ebuild [18:26:57] <[Arfrever]> listout[m]: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cca21561571e00e88f434ad94a9cde6851fab244 [18:33:59] <listout[m]> [Arfrever]: So how I do I fix it? [18:36:14] <[Arfrever]> listout[m]: Do you use ::musl or only ::gentoo? [18:37:51] <[Arfrever]> listout[m]: https://gitweb.gentoo.org/proj/musl.git/tree/sys-auth/polkit/polkit-0.120-r3.ebuild happens to still apply this patch. [18:41:05] <[Arfrever]> listout[m]: Maybe ask sam_ to apply this patch to older ebuild in ::gentoo, or stabilize newer ebuild, or you can just use newer ebuild while it is still unstable. [18:42:42] Mode is +nt [18:47:43] <listout[m]> [Arfrever]: I'm new to gentoo and don't exactly know what ::musl or ::gentoo is [18:48:49] <@sam_> listout[m]: ::musl is the musl overlay, a repository separate to the main gentoo repository (::gentoo) [18:49:01] <@sam_> listout[m]: a patch is definitely being applied, the question is whether it's the wrong one [18:49:07] <@sam_> [Arfrever] has already given the analysis for the issue though :) [18:49:13] <[Arfrever]> sam_: He uses older ebuild. [18:50:01] <[Arfrever]> [2022-03-24 18:25:40] <[Arfrever]> listout[m]: polkit-0.118-make-netgroup-support-optional.patch is applied in polkit-0.120_p20220221.ebuild, but not in polkit-0.120-r3.ebuild [18:50:30] <@sam_> yes, I was thinking of the bug which toralf hit [18:51:25] <[Arfrever]> sam_: toralf's bug is for USE="duktape", and patch is incomplete for this configuration. It should probably work for USE="-duktape". The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c9e5128453698781e7acb380cf4f8431ed3d07e commit 4c9e5128453698781e7acb380cf4f8431ed3d07e Author: Sam James <sam@gentoo.org> AuthorDate: 2022-04-23 00:59:58 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-04-23 01:00:11 +0000 sys-auth/polkit: adapt musl patch for duktape build Closes: https://bugs.gentoo.org/834604 Signed-off-by: Sam James <sam@gentoo.org> ...polkit-0.118-make-netgroup-support-optional.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) |