Summary: | gnome-base/gnome-shell-42.1 - error: redefinition of glib_queueautoptr_cleanup_PolkitAgentListener | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bogdan <bogdan.pylypenko107> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
emerge --info |
Please include the full build.log and emerge --info. But I think this is fixed in 42.2 and you're using ~arch Polkit. Created attachment 782606 [details]
build.log
Created attachment 782609 [details]
emerge --info
I think you need to just stop using ~arch polkit, really, or use ~arch gnome-shell. Yes, I use ~amd64 of polkit: sys-auth/polkit-0.120_p20220509 Yes, 42.2 version fix this error. gnome-base/gnome-shell-42.2 (In reply to Bogdan from comment #5) > Yes, I use ~amd64 of polkit: > sys-auth/polkit-0.120_p20220509 > > Yes, 42.2 version fix this error. > gnome-base/gnome-shell-42.2 Is there a reason you're using ~arch polkit? (In reply to Sam James from comment #6) > Is there a reason you're using ~arch polkit? Some program in the past is require it. I do not remembrer which is it. Now, I revert polkit to stable version. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dea2c90c1aee7d012a467eeb937fc4a7ecae9237 commit dea2c90c1aee7d012a467eeb937fc4a7ecae9237 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-24 03:42:30 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-24 03:42:42 +0000 gnome-base/gnome-shell: restore 42.1-r3 for Polkit fix Bug: https://bugs.gentoo.org/844919 Bug: https://bugs.gentoo.org/849566 Fixes: eed2ee4b79e40099d84db0dde29dced1e3346bb6 Signed-off-by: Sam James <sam@gentoo.org> .../gnome-shell/files/42.1-polkit-g_autoptr.patch | 53 ++++++ gnome-base/gnome-shell/gnome-shell-42.1-r3.ebuild | 206 +++++++++++++++++++++ 2 files changed, 259 insertions(+) |
Compilation fails. Reproducible: Always Actual Results: > FAILED: src/libgnome-shell.so.p/shell-polkit-authentication-agent.c.o > /usr/include/glib-2.0/glib/gmacros.h:1195:49: error: redefinition of ‘glib_autoptr_clear_PolkitAgentListener’ > 1195 | #define _GLIB_AUTOPTR_CLEAR_FUNC_NAME(TypeName) glib_autoptr_clear_##TypeName