Bug#1061567: gnome-builder FTBFS: redefinition of glib_autoptr_*_GtkStackPage

Adrian Bunk bunk at debian.org
Fri Jan 26 16:16:35 GMT 2024


Source: gnome-builder
Version: 45.0-1
Severity: serious
Tags: ftbfs patch
Forwarded: https://gitlab.gnome.org/GNOME/gnome-builder/-/commit/7aaaecefc2ea8a37eaeae8b4d726d119d4eb8fa3

https://buildd.debian.org/status/fetch.php?pkg=gnome-builder&arch=riscv64&ver=45.0-1%2Bb2&stamp=1706281444&raw=0
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/gnome-builder.html

...
FAILED: src/libide/tweaks/libide-tweaks-45.a.p/ide-tweaks-window.c.o
cc -Isrc/libide/tweaks/libide-tweaks-45.a.p -Isrc/libide/tweaks -I../src/libide/tweaks -Isrc/libide/core -I../src/libide/core -Isrc/libide/io -I../src/libide/io -Isrc/libide/threading -I../src/libide/threading -Isrc/libide/search -I../src/libide/search -Isrc/libide/gtk -I../src/libide/gtk -Isrc/libide/plugins -I../src/libide/plugins -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/riscv64-linux-gnu -I/usr/include/webp -I/usr/include/graphene-1.0 -I/usr/lib/riscv64-linux-gnu/graphene-1.0/include -I/usr/include/libadwaita-1 -I/usr/include/appstream -I/usr/include/libdex-1 -I/usr/include/libpeas-2 -I/usr/include/gio-unix-2.0 -I/usr/include/gtksourceview-5 -I/usr/include/libxml2 -I/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_76 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_76 -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_4_10 -DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_4_10 -DGDK_DISABLE_DEPRECATION_WARNINGS -DADW_VERSION_MIN_REQUIRED=ADW_VERSION_1_4 -DADW_VERSION_MAX_ALLOWED=ADW_VERSION_1_4 -DGTK_SOURCE_VERSION_MIN_REQUIRED=GTK_SOURCE_VERSION_5_8 -DGTK_SOURCE_VERSION_MAX_ALLOWED=GTK_SOURCE_VERSION_5_8 -Wcast-align -Wdeclaration-after-statement -Werror=address -Werror=array-bounds -Werror=empty-body -Werror=implicit -Werror=implicit-function-declaration -Werror=incompatible-pointer-types -Werror=init-self -Werror=int-conversion -Werror=int-to-pointer-cast -Werror=main -Werror=misleading-indentation -Werror=missing-braces -Werror=missing-include-dirs -Werror=nonnull -Werror=overflow -Werror=pointer-arith -Werror=pointer-to-int-cast -Werror=redundant-decls -Werror=return-type -Werror=sequence-point -Werror=shadow -Werror=trigraphs -Werror=undef -Werror=write-strings -Wformat-nonliteral -Werror=format-security -Werror=format=2 -Wignored-qualifiers -Wimplicit-function-declaration -Wlogical-op -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wno-cast-function-type -Wno-dangling-pointer -Wno-missing-field-initializers -Wno-sign-compare -Wno-unused-parameter -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wuninitialized -Wunused -fno-strict-aliasing -DHAVE_CONFIG_H -D_GNU_SOURCE -DIDE_COMPILATION -DG_DISABLE_CAST_CHECKS -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -Wmissing-declarations -fvisibility=hidden -DG_DISABLE_ASSERT -DIDE_TWEAKS_COMPILATION -MD -MQ src/libide/tweaks/libide-tweaks-45.a.p/ide-tweaks-window.c.o -MF src/libide/tweaks/libide-tweaks-45.a.p/ide-tweaks-window.c.o.d -o src/libide/tweaks/libide-tweaks-45.a.p/ide-tweaks-window.c.o -c ../src/libide/tweaks/ide-tweaks-window.c
In file included from /usr/lib/riscv64-linux-gnu/glib-2.0/include/glibconfig.h:9,
                 from /usr/include/glib-2.0/glib/gtypes.h:34,
                 from /usr/include/glib-2.0/glib/galloca.h:34,
                 from /usr/include/glib-2.0/glib.h:32,
                 from /usr/include/glib-2.0/glib/gi18n.h:23,
                 from ../src/libide/tweaks/ide-tweaks-window.c:25:
/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
      |                                                 ^~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1354:36: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
 1354 |   static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_CLEAR_FUNC_NAME(TypeName) (TypeName *_ptr)                     \
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1371:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
 1371 |   _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/libide/tweaks/ide-tweaks-window.c:35:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
   35 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (GtkStackPage, g_object_unref)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1338:49: note: previous definition of ‘glib_autoptr_clear_GtkStackPage’ with type ‘void(GtkStackPage *)’ {aka ‘void(struct _GtkStackPage *)’}
 1338 | #define _GLIB_AUTOPTR_CLEAR_FUNC_NAME(TypeName) glib_autoptr_clear_##TypeName
      |                                                 ^~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1354:36: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
 1354 |   static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_CLEAR_FUNC_NAME(TypeName) (TypeName *_ptr)                     \
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1371:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
 1371 |   _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/gtkstack.h:182:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
  182 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkStackPage, g_object_unref)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1337:43: error: redefinition of ‘glib_autoptr_cleanup_GtkStackPage’
 1337 | #define _GLIB_AUTOPTR_FUNC_NAME(TypeName) glib_autoptr_cleanup_##TypeName
      |                                           ^~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1356:36: note: in expansion of macro ‘_GLIB_AUTOPTR_FUNC_NAME’
 1356 |   static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_FUNC_NAME(TypeName) (TypeName **_ptr)                          \
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1371:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
 1371 |   _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/libide/tweaks/ide-tweaks-window.c:35:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
   35 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (GtkStackPage, g_object_unref)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1337:43: note: previous definition of ‘glib_autoptr_cleanup_GtkStackPage’ with type ‘void(GtkStackPage **)’ {aka ‘void(struct _GtkStackPage **)’}
 1337 | #define _GLIB_AUTOPTR_FUNC_NAME(TypeName) glib_autoptr_cleanup_##TypeName
      |                                           ^~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1356:36: note: in expansion of macro ‘_GLIB_AUTOPTR_FUNC_NAME’
 1356 |   static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_FUNC_NAME(TypeName) (TypeName **_ptr)                          \
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1371:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
 1371 |   _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/gtkstack.h:182:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
  182 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkStackPage, g_object_unref)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1340:48: error: redefinition of ‘glib_listautoptr_cleanup_GtkStackPage’
 1340 | #define _GLIB_AUTOPTR_LIST_FUNC_NAME(TypeName) glib_listautoptr_cleanup_##TypeName
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1358:36: note: in expansion of macro ‘_GLIB_AUTOPTR_LIST_FUNC_NAME’
 1358 |   static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_LIST_FUNC_NAME(TypeName) (GList **_l)                          \
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1371:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
 1371 |   _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/libide/tweaks/ide-tweaks-window.c:35:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
   35 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (GtkStackPage, g_object_unref)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1340:48: note: previous definition of ‘glib_listautoptr_cleanup_GtkStackPage’ with type ‘void(GList **)’ {aka ‘void(struct _GList **)’}
 1340 | #define _GLIB_AUTOPTR_LIST_FUNC_NAME(TypeName) glib_listautoptr_cleanup_##TypeName
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1358:36: note: in expansion of macro ‘_GLIB_AUTOPTR_LIST_FUNC_NAME’
 1358 |   static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_LIST_FUNC_NAME(TypeName) (GList **_l)                          \
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1371:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
 1371 |   _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/gtkstack.h:182:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
  182 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkStackPage, g_object_unref)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1342:49: error: redefinition of ‘glib_slistautoptr_cleanup_GtkStackPage’
 1342 | #define _GLIB_AUTOPTR_SLIST_FUNC_NAME(TypeName) glib_slistautoptr_cleanup_##TypeName
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1360:36: note: in expansion of macro ‘_GLIB_AUTOPTR_SLIST_FUNC_NAME’
 1360 |   static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_SLIST_FUNC_NAME(TypeName) (GSList **_l)                        \
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1371:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
 1371 |   _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/libide/tweaks/ide-tweaks-window.c:35:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
   35 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (GtkStackPage, g_object_unref)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1342:49: note: previous definition of ‘glib_slistautoptr_cleanup_GtkStackPage’ with type ‘void(GSList **)’ {aka ‘void(struct _GSList **)’}
 1342 | #define _GLIB_AUTOPTR_SLIST_FUNC_NAME(TypeName) glib_slistautoptr_cleanup_##TypeName
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1360:36: note: in expansion of macro ‘_GLIB_AUTOPTR_SLIST_FUNC_NAME’
 1360 |   static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_SLIST_FUNC_NAME(TypeName) (GSList **_l)                        \
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1371:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
 1371 |   _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/gtkstack.h:182:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
  182 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkStackPage, g_object_unref)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1344:49: error: redefinition of ‘glib_queueautoptr_cleanup_GtkStackPage’
 1344 | #define _GLIB_AUTOPTR_QUEUE_FUNC_NAME(TypeName) glib_queueautoptr_cleanup_##TypeName
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1362:36: note: in expansion of macro ‘_GLIB_AUTOPTR_QUEUE_FUNC_NAME’
 1362 |   static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_QUEUE_FUNC_NAME(TypeName) (GQueue **_q)                        \
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1371:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
 1371 |   _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/libide/tweaks/ide-tweaks-window.c:35:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
   35 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (GtkStackPage, g_object_unref)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1344:49: note: previous definition of ‘glib_queueautoptr_cleanup_GtkStackPage’ with type ‘void(GQueue **)’ {aka ‘void(struct _GQueue **)’}
 1344 | #define _GLIB_AUTOPTR_QUEUE_FUNC_NAME(TypeName) glib_queueautoptr_cleanup_##TypeName
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1362:36: note: in expansion of macro ‘_GLIB_AUTOPTR_QUEUE_FUNC_NAME’
 1362 |   static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_QUEUE_FUNC_NAME(TypeName) (GQueue **_q)                        \
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1371:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
 1371 |   _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/gtkstack.h:182:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
  182 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkStackPage, g_object_unref)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...


More information about the pkg-gnome-maintainers mailing list