Compilation fails: error: redefinition of ‘glib_listautoptr_cleanup_EPhoneNumber’
Today Gnome Calls (v44_alpha.0-14-g08c4b3aa) does not compile. Previously it has compiled, but since then I did updates on my system, like on glib or the gnome-calls sourcecode itself. It fails with
[1/250] /usr/bin/meson --internal vcstagger ../src/version.h.in src/version.h 44.alpha.0 /git/gnome/calls/src @VCS_TAG@ '(.*)' git describe --dirty=+
[2/250] cc -Isrc/libcalls.a.p -Isrc -I../src -Isrc/gtklistmodels -I../src/gtklistmodels -Isubprojects/libcall-ui/src -I../subprojects/libcall-ui/src -Isrc/dbus -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libhandy-1 -I/usr/include/libfeedback-0.0 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/gom-1.0 -I/usr/local/include/evolution-data-server -I/usr/include/libsecret-1 -I/usr/local/include/libsoup-3.0 -I/usr/include/json-glib-1.0 -I/usr/include/gee-0.8 -I/usr/include/libcallaudio-0.1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -g -Wcast-align -Wdate-time -Wdeclaration-after-statement -Werror=format-security -Werror=format=2 -Wendif-labels -Werror=incompatible-pointer-types -Werror=missing-declarations -Werror=overflow -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wfloat-equal -Wformat-nonliteral -Wformat-security -Winit-self -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wshadow -Wstrict-prototypes -Wswitch-default -Wno-switch-enum -Wtype-limits -Wunused-function -Wunused-variable -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_70 -DEDS_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -fstack-protector-strong -fPIC -pthread -MD -MQ src/libcalls.a.p/meson-generated_.._enum-types.c.o -MF src/libcalls.a.p/meson-generated_.._enum-types.c.o.d -o src/libcalls.a.p/meson-generated_.._enum-types.c.o -c src/enum-types.c
FAILED: src/libcalls.a.p/meson-generated_.._enum-types.c.o
cc -Isrc/libcalls.a.p -Isrc -I../src -Isrc/gtklistmodels -I../src/gtklistmodels -Isubprojects/libcall-ui/src -I../subprojects/libcall-ui/src -Isrc/dbus -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libhandy-1 -I/usr/include/libfeedback-0.0 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/gom-1.0 -I/usr/local/include/evolution-data-server -I/usr/include/libsecret-1 -I/usr/local/include/libsoup-3.0 -I/usr/include/json-glib-1.0 -I/usr/include/gee-0.8 -I/usr/include/libcallaudio-0.1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -g -Wcast-align -Wdate-time -Wdeclaration-after-statement -Werror=format-security -Werror=format=2 -Wendif-labels -Werror=incompatible-pointer-types -Werror=missing-declarations -Werror=overflow -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wfloat-equal -Wformat-nonliteral -Wformat-security -Winit-self -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wshadow -Wstrict-prototypes -Wswitch-default -Wno-switch-enum -Wtype-limits -Wunused-function -Wunused-variable -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_70 -DEDS_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -fstack-protector-strong -fPIC -pthread -MD -MQ src/libcalls.a.p/meson-generated_.._enum-types.c.o -MF src/libcalls.a.p/meson-generated_.._enum-types.c.o.d -o src/libcalls.a.p/meson-generated_.._enum-types.c.o -c src/enum-types.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/gobject/gbinding.h:30,
from /usr/include/glib-2.0/glib-object.h:24,
from src/enum-types.h:6,
from src/enum-types.c:4:
/usr/include/glib-2.0/glib/gmacros.h:1293:49: error: redefinition of ‘glib_autoptr_clear_EPhoneNumber’
1293 | #define _GLIB_AUTOPTR_CLEAR_FUNC_NAME(TypeName) glib_autoptr_clear_##TypeName
| ^~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1309:36: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
1309 | static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_CLEAR_FUNC_NAME(TypeName) (TypeName *_ptr) \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1326:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
1326 | _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/calls-contacts-provider.h:42:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
42 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (EPhoneNumber, e_phone_number_free)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1293:49: note: previous definition of ‘glib_autoptr_clear_EPhoneNumber’ with type ‘void(EPhoneNumber *)’ {aka ‘void(struct _EPhoneNumber *)’}
1293 | #define _GLIB_AUTOPTR_CLEAR_FUNC_NAME(TypeName) glib_autoptr_clear_##TypeName
| ^~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1309:36: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
1309 | static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_CLEAR_FUNC_NAME(TypeName) (TypeName *_ptr) \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1326:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
1326 | _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/evolution-data-server/libebook-contacts/e-book-contacts-autocleanups.h:38:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
38 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(EPhoneNumber, e_phone_number_free)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1292:43: error: redefinition of ‘glib_autoptr_cleanup_EPhoneNumber’
1292 | #define _GLIB_AUTOPTR_FUNC_NAME(TypeName) glib_autoptr_cleanup_##TypeName
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1311:36: note: in expansion of macro ‘_GLIB_AUTOPTR_FUNC_NAME’
1311 | static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_FUNC_NAME(TypeName) (TypeName **_ptr) \
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1326:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
1326 | _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/calls-contacts-provider.h:42:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
42 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (EPhoneNumber, e_phone_number_free)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1292:43: note: previous definition of ‘glib_autoptr_cleanup_EPhoneNumber’ with type ‘void(EPhoneNumber **)’ {aka ‘void(struct _EPhoneNumber **)’}
1292 | #define _GLIB_AUTOPTR_FUNC_NAME(TypeName) glib_autoptr_cleanup_##TypeName
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1311:36: note: in expansion of macro ‘_GLIB_AUTOPTR_FUNC_NAME’
1311 | static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_FUNC_NAME(TypeName) (TypeName **_ptr) \
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1326:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
1326 | _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/evolution-data-server/libebook-contacts/e-book-contacts-autocleanups.h:38:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
38 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(EPhoneNumber, e_phone_number_free)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1295:48: error: redefinition of ‘glib_listautoptr_cleanup_EPhoneNumber’
1295 | #define _GLIB_AUTOPTR_LIST_FUNC_NAME(TypeName) glib_listautoptr_cleanup_##TypeName
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1313:36: note: in expansion of macro ‘_GLIB_AUTOPTR_LIST_FUNC_NAME’
1313 | static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_LIST_FUNC_NAME(TypeName) (GList **_l) \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1326:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
1326 | _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/calls-contacts-provider.h:42:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
42 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (EPhoneNumber, e_phone_number_free)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1295:48: note: previous definition of ‘glib_listautoptr_cleanup_EPhoneNumber’ with type ‘void(GList **)’ {aka ‘void(struct _GList **)’}
1295 | #define _GLIB_AUTOPTR_LIST_FUNC_NAME(TypeName) glib_listautoptr_cleanup_##TypeName
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1313:36: note: in expansion of macro ‘_GLIB_AUTOPTR_LIST_FUNC_NAME’
1313 | static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_LIST_FUNC_NAME(TypeName) (GList **_l) \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1326:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
1326 | _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/evolution-data-server/libebook-contacts/e-book-contacts-autocleanups.h:38:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
38 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(EPhoneNumber, e_phone_number_free)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1297:49: error: redefinition of ‘glib_slistautoptr_cleanup_EPhoneNumber’
1297 | #define _GLIB_AUTOPTR_SLIST_FUNC_NAME(TypeName) glib_slistautoptr_cleanup_##TypeName
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1315:36: note: in expansion of macro ‘_GLIB_AUTOPTR_SLIST_FUNC_NAME’
1315 | static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_SLIST_FUNC_NAME(TypeName) (GSList **_l) \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1326:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
1326 | _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/calls-contacts-provider.h:42:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
42 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (EPhoneNumber, e_phone_number_free)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1297:49: note: previous definition of ‘glib_slistautoptr_cleanup_EPhoneNumber’ with type ‘void(GSList **)’ {aka ‘void(struct _GSList **)’}
1297 | #define _GLIB_AUTOPTR_SLIST_FUNC_NAME(TypeName) glib_slistautoptr_cleanup_##TypeName
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1315:36: note: in expansion of macro ‘_GLIB_AUTOPTR_SLIST_FUNC_NAME’
1315 | static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_SLIST_FUNC_NAME(TypeName) (GSList **_l) \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1326:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
1326 | _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/evolution-data-server/libebook-contacts/e-book-contacts-autocleanups.h:38:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
38 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(EPhoneNumber, e_phone_number_free)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1299:49: error: redefinition of ‘glib_queueautoptr_cleanup_EPhoneNumber’
1299 | #define _GLIB_AUTOPTR_QUEUE_FUNC_NAME(TypeName) glib_queueautoptr_cleanup_##TypeName
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1317:36: note: in expansion of macro ‘_GLIB_AUTOPTR_QUEUE_FUNC_NAME’
1317 | static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_QUEUE_FUNC_NAME(TypeName) (GQueue **_q) \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1326:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
1326 | _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/calls-contacts-provider.h:42:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
42 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (EPhoneNumber, e_phone_number_free)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1299:49: note: previous definition of ‘glib_queueautoptr_cleanup_EPhoneNumber’ with type ‘void(GQueue **)’ {aka ‘void(struct _GQueue **)’}
1299 | #define _GLIB_AUTOPTR_QUEUE_FUNC_NAME(TypeName) glib_queueautoptr_cleanup_##TypeName
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1317:36: note: in expansion of macro ‘_GLIB_AUTOPTR_QUEUE_FUNC_NAME’
1317 | static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_QUEUE_FUNC_NAME(TypeName) (GQueue **_q) \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1326:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
1326 | _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/evolution-data-server/libebook-contacts/e-book-contacts-autocleanups.h:38:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
38 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(EPhoneNumber, e_phone_number_free)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.