Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 849566 - gnome-base/gnome-shell-42.1 - error: redefinition of glib_queueautoptr_cleanup_PolkitAgentListener
Summary: gnome-base/gnome-shell-42.1 - error: redefinition of glib_queueautoptr_cleanu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-03 21:19 UTC by Bogdan
Modified: 2022-06-24 03:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (gnome-shell-42.1:20220603-204947.log,237.63 KB, text/x-log)
2022-06-03 21:21 UTC, Bogdan
Details
emerge --info (emerge.info,15.40 KB, text/plain)
2022-06-03 21:22 UTC, Bogdan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bogdan 2022-06-03 21:19:44 UTC
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
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-03 21:20:41 UTC
Please include the full build.log and emerge --info. But I think this is fixed in 42.2 and you're using ~arch Polkit.
Comment 2 Bogdan 2022-06-03 21:21:17 UTC
Created attachment 782606 [details]
build.log
Comment 3 Bogdan 2022-06-03 21:22:13 UTC
Created attachment 782609 [details]
emerge --info
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-03 21:31:18 UTC
I think you need to just stop using ~arch polkit, really, or use ~arch gnome-shell.
Comment 5 Bogdan 2022-06-03 21:34:23 UTC
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
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-03 21:36:30 UTC
(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?
Comment 7 Bogdan 2022-06-05 05:16:06 UTC
(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.
Comment 8 Larry the Git Cow gentoo-dev 2022-06-24 03:43:11 UTC
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(+)