Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923371 - dev-util/gnome-builder-44.2-r1: compile phase: error: redefinition of ‘glib_autoptr_clear_GtkStackPage’
Summary: dev-util/gnome-builder-44.2-r1: compile phase: error: redefinition of ‘glib_a...
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 Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-31 06:53 UTC by Dmitriy Baranov
Modified: 2024-04-15 07:04 UTC (History)
4 users (show)

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


Attachments
build log (build.log,448.24 KB, text/plain)
2024-01-31 06:54 UTC, Dmitriy Baranov
Details
emerge --info (einfo.txt,7.97 KB, text/plain)
2024-01-31 06:54 UTC, Dmitriy Baranov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitriy Baranov 2024-01-31 06:53:38 UTC
FAILED: src/libide/tweaks/libide-tweaks-44.a.p/ide-tweaks-window.c.o

/usr/include/glib-2.0/glib/gmacros.h:1338:49: error: redefinition of ‘glib_autoptr_clear_GtkStackPage’
 1338 | #define _GLIB_AUTOPTR_CLEAR_FUNC_NAME(TypeName) glib_autoptr_clear_##TypeName

Reproducible: Always
Comment 1 Dmitriy Baranov 2024-01-31 06:54:19 UTC
Created attachment 883751 [details]
build log
Comment 2 Dmitriy Baranov 2024-01-31 06:54:41 UTC
Created attachment 883752 [details]
emerge --info
Comment 3 Marinus Schraal 2024-02-15 10:13:25 UTC
This is probably due to https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/6760, added in gtk-4.12.5 .
Comment 4 Kobboi 2024-02-28 10:17:44 UTC
(In reply to Marinus Schraal from comment #3)
> This is probably due to
> https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/6760, added in
> gtk-4.12.5 .

Indeed, reverting back to gtk-4.12.4 helps gnome-builder-44.2-r1 to compile.
Comment 5 Dmitriy Baranov 2024-04-13 20:01:30 UTC
How to build it now w/o gtk-4.12.4 available??
Comment 6 Larry the Git Cow gentoo-dev 2024-04-15 07:04:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89550f1ceb58051c2d518b0e0103300a05ea80b5

commit 89550f1ceb58051c2d518b0e0103300a05ea80b5
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2024-04-15 07:02:13 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2024-04-15 07:02:13 +0000

    dev-util/gnome-builder: Fix build against gui-libs/gtk-4.12.5
    
    Closes: https://bugs.gentoo.org/923371
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 .../files/44.2-fix-gtk-4.12.5-build.patch          | 26 ++++++++++++++++++++++
 .../gnome-builder/gnome-builder-44.2-r1.ebuild     |  8 ++++++-
 2 files changed, 33 insertions(+), 1 deletion(-)