[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#997198: gnomint: FTBFS: gthread.h:129:37: error: extra brace group at end of initializer



Source: gnomint
Version: 1.3.0-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> gcc -DPACKAGE_NAME=\"gnoMint\" -DPACKAGE_TARNAME=\"gnomint\" -DPACKAGE_VERSION=\"1.3.0\" -DPACKAGE_STRING=\"gnoMint\ 1.3.0\" -DPACKAGE_BUGREPORT=\"\<davefx@gmail.com\>\" -DPACKAGE_URL=\"\" -DPACKAGE_COPYRIGHT=\"\(c\)\ 2006-2016\ David\ Marín\ Carreño\ \<davefx@gmail.com\>\" -DPACKAGE_WEBSITE=\"http://gnomint.sourceforge.net\"; -DPACKAGE_AUTHORS=\"David\ Marín\ Carreño\ \<davefx@gmail.com\>\\nAhmed\ Baizid\ \<ahmed@baizid.org\>\\nJaroslav\ Imrich\ \<jariq@jariq.sk\>\\nStaněk\ Luboš\ \<lubek@users.sourceforge.net\>\" -DPACKAGE=\"gnomint\" -DVERSION=\"1.3.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBINTL_H=1 -DHAVE_LOCALE_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MALLOC=1 -DHAVE_ALARM=1 -DHAVE_STRFTIME=1 -DHAVE_MEMSET=1 -DHAVE_STRCASECMP=1 -DHAVE_STRDUP=1 -DGETTEXT_PACKAGE=\"gnomint\" -DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\"gnomint\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DADVANCED_GNUTLS=\"yes\" -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I.. -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/p11-kit-1    -DPACKAGE_DATA_DIR=\""/usr/share"\" -DCOMPILATION_DATE=`date +%s` -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o gnomint-tls.o `test -f 'tls.c' || echo './'`tls.c
> In file included from /usr/include/glib-2.0/glib/deprecated/gthread.h:124,
>                  from /usr/include/glib-2.0/glib.h:112,
>                  from ca_creation.h:23,
>                  from ca_creation.c:20:
> /usr/include/glib-2.0/glib/deprecated/gthread.h:129:37: error: extra brace group at end of initializer
>   129 | #define G_STATIC_MUTEX_INIT { NULL, PTHREAD_MUTEX_INITIALIZER } GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_init)
>       |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~
> ca_creation.c:32:49: note: in expansion of macro ‘G_STATIC_MUTEX_INIT’
>    32 | static GMutex ca_creation_thread_status_mutex = G_STATIC_MUTEX_INIT;
>       |                                                 ^~~~~~~~~~~~~~~~~~~
> /usr/include/glib-2.0/glib/deprecated/gthread.h:129:37: note: (near initialization for ‘ca_creation_thread_status_mutex’)
>   129 | #define G_STATIC_MUTEX_INIT { NULL, PTHREAD_MUTEX_INITIALIZER } GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_init)
>       |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~
> ca_creation.c:32:49: note: in expansion of macro ‘G_STATIC_MUTEX_INIT’
>    32 | static GMutex ca_creation_thread_status_mutex = G_STATIC_MUTEX_INIT;
>       |                                                 ^~~~~~~~~~~~~~~~~~~
> /usr/include/glib-2.0/glib/deprecated/gthread.h:129:37: error: extra brace group at end of initializer
>   129 | #define G_STATIC_MUTEX_INIT { NULL, PTHREAD_MUTEX_INITIALIZER } GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_init)
>       |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~
> ca_creation.c:32:49: note: in expansion of macro ‘G_STATIC_MUTEX_INIT’
>    32 | static GMutex ca_creation_thread_status_mutex = G_STATIC_MUTEX_INIT;
>       |                                                 ^~~~~~~~~~~~~~~~~~~
> /usr/include/glib-2.0/glib/deprecated/gthread.h:129:37: note: (near initialization for ‘ca_creation_thread_status_mutex’)
>   129 | #define G_STATIC_MUTEX_INIT { NULL, PTHREAD_MUTEX_INITIALIZER } GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_init)
>       |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~
> ca_creation.c:32:49: note: in expansion of macro ‘G_STATIC_MUTEX_INIT’
>    32 | static GMutex ca_creation_thread_status_mutex = G_STATIC_MUTEX_INIT;
>       |                                                 ^~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/bits/thread-shared-types.h:74,
>                  from /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:23,
>                  from /usr/include/x86_64-linux-gnu/sys/types.h:227,
>                  from /usr/include/stdlib.h:394,
>                  from /usr/include/glib-2.0/glib/gutils.h:433,
>                  from /usr/include/glib-2.0/glib/gthread.h:34,
>                  from /usr/include/glib-2.0/glib/gasyncqueue.h:32,
>                  from /usr/include/glib-2.0/glib.h:32,
>                  from ca_creation.h:23,
>                  from ca_creation.c:20:
> /usr/include/glib-2.0/glib/deprecated/gthread.h:129:37: error: extra brace group at end of initializer
>   129 | #define G_STATIC_MUTEX_INIT { NULL, PTHREAD_MUTEX_INITIALIZER } GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_init)
>       |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~
> ca_creation.c:32:49: note: in expansion of macro ‘G_STATIC_MUTEX_INIT’
>    32 | static GMutex ca_creation_thread_status_mutex = G_STATIC_MUTEX_INIT;
>       |                                                 ^~~~~~~~~~~~~~~~~~~
> /usr/include/glib-2.0/glib/deprecated/gthread.h:129:37: note: (near initialization for ‘ca_creation_thread_status_mutex’)
>   129 | #define G_STATIC_MUTEX_INIT { NULL, PTHREAD_MUTEX_INITIALIZER } GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_init)
>       |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~
> ca_creation.c:32:49: note: in expansion of macro ‘G_STATIC_MUTEX_INIT’
>    32 | static GMutex ca_creation_thread_status_mutex = G_STATIC_MUTEX_INIT;
>       |                                                 ^~~~~~~~~~~~~~~~~~~
> ca_creation.c:32:49: warning: excess elements in union initializer
> ca_creation.c:32:49: note: (near initialization for ‘ca_creation_thread_status_mutex’)
> ca_creation.c:32:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_init"
>    32 | static GMutex ca_creation_thread_status_mutex = G_STATIC_MUTEX_INIT;
>       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~        
> make[2]: *** [Makefile:865: gnomint-ca_creation.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/gnomint_1.3.0-3_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.


Reply to: