46.alpha: build fails
Looks like build fails with ..
[tkloczko@pers-jacek x86_64-redhat-linux-gnu]$ ninja -k 0
[1/14] Generating src/libide/core/ide-build-ident.h with a custom command
fatal: not a git repository (or any parent up to mount point /home/tkloczko)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
[2/10] Compiling C object src/libide/tweaks/libide-tweaks-46.a.p/ide-tweaks-window.c.o
FAILED: src/libide/tweaks/libide-tweaks-46.a.p/ide-tweaks-window.c.o
/usr/bin/gcc -Isrc/libide/tweaks/libide-tweaks-46.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/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/libadwaita-1 -I/usr/include/libdex-1 -I/usr/include/libpeas-2 -I/usr/include/gio-unix-2.0 -I/usr/include/gtksourceview-5 -I/home/tkloczko/rpmbuild/BUILD/gnome-builder-46.alpha/x86_64-redhat-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -mfpmath=sse -msse -msse2 -pthread -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 -Wmissing-declarations -fvisibility=hidden -DG_DISABLE_ASSERT -DIDE_TWEAKS_COMPILATION -MD -MQ src/libide/tweaks/libide-tweaks-46.a.p/ide-tweaks-window.c.o -MF src/libide/tweaks/libide-tweaks-46.a.p/ide-tweaks-window.c.o.d -o src/libide/tweaks/libide-tweaks-46.a.p/ide-tweaks-window.c.o -c ../src/libide/tweaks/ide-tweaks-window.c
In file included from /usr/lib64/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:1339:49: error: redefinition of ‘glib_autoptr_clear_GtkStackPage’
1339 | #define _GLIB_AUTOPTR_CLEAR_FUNC_NAME(TypeName) glib_autoptr_clear_##TypeName
| ^~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1355:36: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
1355 | static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_CLEAR_FUNC_NAME(TypeName) (TypeName *_ptr) \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
1372 | _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:1339:49: note: previous definition of ‘glib_autoptr_clear_GtkStackPage’ with type ‘void(GtkStackPage *)’ {aka ‘void(struct _GtkStackPage *)’}
1339 | #define _GLIB_AUTOPTR_CLEAR_FUNC_NAME(TypeName) glib_autoptr_clear_##TypeName
| ^~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1355:36: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
1355 | static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_CLEAR_FUNC_NAME(TypeName) (TypeName *_ptr) \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
1372 | _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:1338:43: error: redefinition of ‘glib_autoptr_cleanup_GtkStackPage’
1338 | #define _GLIB_AUTOPTR_FUNC_NAME(TypeName) glib_autoptr_cleanup_##TypeName
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1357:36: note: in expansion of macro ‘_GLIB_AUTOPTR_FUNC_NAME’
1357 | static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_FUNC_NAME(TypeName) (TypeName **_ptr) \
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
1372 | _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:43: note: previous definition of ‘glib_autoptr_cleanup_GtkStackPage’ with type ‘void(GtkStackPage **)’ {aka ‘void(struct _GtkStackPage **)’}
1338 | #define _GLIB_AUTOPTR_FUNC_NAME(TypeName) glib_autoptr_cleanup_##TypeName
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1357:36: note: in expansion of macro ‘_GLIB_AUTOPTR_FUNC_NAME’
1357 | static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_FUNC_NAME(TypeName) (TypeName **_ptr) \
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
1372 | _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:1341:48: error: redefinition of ‘glib_listautoptr_cleanup_GtkStackPage’
1341 | #define _GLIB_AUTOPTR_LIST_FUNC_NAME(TypeName) glib_listautoptr_cleanup_##TypeName
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1359:36: note: in expansion of macro ‘_GLIB_AUTOPTR_LIST_FUNC_NAME’
1359 | static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_LIST_FUNC_NAME(TypeName) (GList **_l) \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
1372 | _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:1341:48: note: previous definition of ‘glib_listautoptr_cleanup_GtkStackPage’ with type ‘void(GList **)’ {aka ‘void(struct _GList **)’}
1341 | #define _GLIB_AUTOPTR_LIST_FUNC_NAME(TypeName) glib_listautoptr_cleanup_##TypeName
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1359:36: note: in expansion of macro ‘_GLIB_AUTOPTR_LIST_FUNC_NAME’
1359 | static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_LIST_FUNC_NAME(TypeName) (GList **_l) \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
1372 | _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:1343:49: error: redefinition of ‘glib_slistautoptr_cleanup_GtkStackPage’
1343 | #define _GLIB_AUTOPTR_SLIST_FUNC_NAME(TypeName) glib_slistautoptr_cleanup_##TypeName
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1361:36: note: in expansion of macro ‘_GLIB_AUTOPTR_SLIST_FUNC_NAME’
1361 | static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_SLIST_FUNC_NAME(TypeName) (GSList **_l) \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
1372 | _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:1343:49: note: previous definition of ‘glib_slistautoptr_cleanup_GtkStackPage’ with type ‘void(GSList **)’ {aka ‘void(struct _GSList **)’}
1343 | #define _GLIB_AUTOPTR_SLIST_FUNC_NAME(TypeName) glib_slistautoptr_cleanup_##TypeName
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1361:36: note: in expansion of macro ‘_GLIB_AUTOPTR_SLIST_FUNC_NAME’
1361 | static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_SLIST_FUNC_NAME(TypeName) (GSList **_l) \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
1372 | _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:1345:49: error: redefinition of ‘glib_queueautoptr_cleanup_GtkStackPage’
1345 | #define _GLIB_AUTOPTR_QUEUE_FUNC_NAME(TypeName) glib_queueautoptr_cleanup_##TypeName
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1363:36: note: in expansion of macro ‘_GLIB_AUTOPTR_QUEUE_FUNC_NAME’
1363 | static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_QUEUE_FUNC_NAME(TypeName) (GQueue **_q) \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
1372 | _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:1345:49: note: previous definition of ‘glib_queueautoptr_cleanup_GtkStackPage’ with type ‘void(GQueue **)’ {aka ‘void(struct _GQueue **)’}
1345 | #define _GLIB_AUTOPTR_QUEUE_FUNC_NAME(TypeName) glib_queueautoptr_cleanup_##TypeName
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1363:36: note: in expansion of macro ‘_GLIB_AUTOPTR_QUEUE_FUNC_NAME’
1363 | static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_QUEUE_FUNC_NAME(TypeName) (GQueue **_q) \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
1372 | _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)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: cannot make progress due to previous errors.