too long lines were shrinked: [77/85] x86_64-gentoo-linux-musl-gcc -o src/polkitbackend/polkitd src/polkitbackend/polkitd.p/polkitd.c.o -Wl,--as-needed -Wl,--no-undefined -pipe -march=native -fno-diagnostics-color -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 '-Wl,-rpath,$ORIGIN/../polkit' -Wl,-rpath-link, FAILED: src/polkitbackend/polkitd x86_64-gentoo-linux-musl-gcc -o src/polkitbackend/polkitd src/polkitbackend/polkitd.p/polkitd.c.o -Wl,--as-needed -Wl,--no-undefined -pipe -march=native -fno-diagnostics-color -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 '-Wl,-rpath,$ORIGIN/../polkit' -Wl,-rpath-link,/var/tmp /usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.1/../../../../x86_64-gentoo-linux-musl/bin/ld: src/polkitbackend/libpolkit-backend-1.a.p/polkitbackendduktapeauthority.c.o: in function `js_polkit_user_is_in_netgroup': polkitbackendduktapeauthority.c:(.text+0x94e): undefined reference to `innetgr' collect2: error: ld returned 1 exit status [78/85] /usr/lib/python-exec/python3.9/meson --internal symbolextractor /var/tmp/portage/sys-auth/polkit-0.120_p20220221/work/polkit-0.120_p20220221-build src/polkitagent/libpolkit-agent-1.so.0.0.0 src/polkitagent/libpolkit-agent-1.so.0.0.0 src/polkitagent/libpolkit-agent-1.so.0.0.0.p/libpolkit-agen ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl-j4-20220302-020005 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-gentoo-linux-musl-11.2.1 * clang/llvm (if any): clang version 13.0.1 Target: x86_64-gentoo-linux-musl Thread model: posix InstalledDir: /usr/lib/llvm/13/bin /usr/lib/llvm/13 13.0.1 Python 3.9.10 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby30 (with Rubygems) * php cli: [1] php7.4 [2] php8.0 [3] php8.1 * HEAD of ::gentoo commit 7093e5a09a0cefe1b62738a1860675a0260c0996 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Mar 4 23:36:56 2022 +0000 2022-03-04 23:36:55 UTC emerge -qpvO sys-auth/polkit [ebuild N ] sys-auth/polkit-0.120_p20220221 USE="duktape introspection pam -examples -gtk -kde (-selinux) (-systemd) -test"
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(+)