Bug#997116: anjuta-extras: FTBFS: gatomic.h:113:19: error: argument 2 of ‘__atomic_load’ must not be a pointer to a ‘volatile’ type
Lucas Nussbaum
lucas at debian.org
Sat Oct 23 20:00:02 BST 2021
Source: anjuta-extras
Version: 3.26.0-5
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):
> /bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./include -I./src -I./lexlib -pthread -I/usr/include/libanjuta-3.0 -I/usr/include/libgdl-3.0 -I/usr/include/libxml2 -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 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DGTK -DSCI_LEXER -DUSE_XIM -Wdate-time -D_FORTIFY_SOURCE=2 -DGTK -DSCI_LEXER -DUSE_XIM -std=c++11 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ScintillaGTK.lo `test -f 'gtk/ScintillaGTK.cxx' || echo './'`gtk/ScintillaGTK.cxx
> libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./include -I./src -I./lexlib -pthread -I/usr/include/libanjuta-3.0 -I/usr/include/libgdl-3.0 -I/usr/include/libxml2 -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 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DGTK -DSCI_LEXER -DUSE_XIM -Wdate-time -D_FORTIFY_SOURCE=2 -DGTK -DSCI_LEXER -DUSE_XIM -std=c++11 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c gtk/ScintillaGTKAccessible.cxx -fPIC -DPIC -o .libs/ScintillaGTKAccessible.o
> libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./include -I./src -I./lexlib -pthread -I/usr/include/libanjuta-3.0 -I/usr/include/libgdl-3.0 -I/usr/include/libxml2 -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 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DGTK -DSCI_LEXER -DUSE_XIM -Wdate-time -D_FORTIFY_SOURCE=2 -DGTK -DSCI_LEXER -DUSE_XIM -std=c++11 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c gtk/ScintillaGTK.cxx -fPIC -DPIC -o .libs/ScintillaGTK.o
> gtk/ScintillaGTKAccessible.cxx:156:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
> 156 | return SCINTILLA_OBJECT_ACCESSIBLE_GET_PRIVATE(accessible)->pscin;
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> gtk/ScintillaGTKAccessible.cxx:1176:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
> 1176 | ScintillaObjectAccessiblePrivate *priv = SCINTILLA_OBJECT_ACCESSIBLE_GET_PRIVATE(accessible);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> gtk/ScintillaGTKAccessible.cxx:1188:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
> 1188 | ScintillaObjectAccessiblePrivate *priv = SCINTILLA_OBJECT_ACCESSIBLE_GET_PRIVATE(accessible);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> gtk/ScintillaGTKAccessible.cxx:1205:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
> 1205 | ScintillaObjectAccessiblePrivate *priv = SCINTILLA_OBJECT_ACCESSIBLE_GET_PRIVATE(object);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> gtk/ScintillaGTKAccessible.cxx:1236:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
> 1236 | ScintillaObjectAccessiblePrivate *priv = SCINTILLA_OBJECT_ACCESSIBLE_GET_PRIVATE(accessible);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> gtk/PlatGTK.cxx: In constructor ‘ElapsedTime::ElapsedTime()’:
> gtk/PlatGTK.cxx:1954:18: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
> 1954 | GTimeVal curTime;
> | ^~~~~~~
> In file included from /usr/include/glib-2.0/glib/galloca.h:32,
> from /usr/include/glib-2.0/glib.h:30,
> from gtk/PlatGTK.cxx:18:
> /usr/include/glib-2.0/glib/gtypes.h:545:26: note: declared here
> 545 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
> | ^~~~~~~~
> gtk/PlatGTK.cxx:1955:27: warning: ‘void g_get_current_time(GTimeVal*)’ is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations]
> 1955 | g_get_current_time(&curTime);
> | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
> In file included from /usr/include/glib-2.0/glib/giochannel.h:33,
> from /usr/include/glib-2.0/glib.h:54,
> from gtk/PlatGTK.cxx:18:
> /usr/include/glib-2.0/glib/gmain.h:688:8: note: declared here
> 688 | void g_get_current_time (GTimeVal *result);
> | ^~~~~~~~~~~~~~~~~~
> gtk/PlatGTK.cxx: In member function ‘double ElapsedTime::Duration(bool)’:
> gtk/PlatGTK.cxx:1997:18: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
> 1997 | GTimeVal curTime;
> | ^~~~~~~
> In file included from /usr/include/glib-2.0/glib/galloca.h:32,
> from /usr/include/glib-2.0/glib.h:30,
> from gtk/PlatGTK.cxx:18:
> /usr/include/glib-2.0/glib/gtypes.h:545:26: note: declared here
> 545 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
> | ^~~~~~~~
> gtk/PlatGTK.cxx:1998:27: warning: ‘void g_get_current_time(GTimeVal*)’ is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations]
> 1998 | g_get_current_time(&curTime);
> | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
> In file included from /usr/include/glib-2.0/glib/giochannel.h:33,
> from /usr/include/glib-2.0/glib.h:54,
> from gtk/PlatGTK.cxx:18:
> /usr/include/glib-2.0/glib/gmain.h:688:8: note: declared here
> 688 | void g_get_current_time (GTimeVal *result);
> | ^~~~~~~~~~~~~~~~~~
> In file included from gtk/ScintillaGTKAccessible.cxx:127:
> gtk/ScintillaGTK.h:57:18: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
> 57 | GTimeVal lastWheelMouseTime;
> | ^~~~~~~~~~~~~~~~~~
> In file included from /usr/include/glib-2.0/glib/galloca.h:32,
> from /usr/include/glib-2.0/glib.h:30,
> from gtk/ScintillaGTKAccessible.cxx:66:
> /usr/include/glib-2.0/glib/gtypes.h:545:26: note: declared here
> 545 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
> | ^~~~~~~~
> In file included from /usr/include/glib-2.0/glib/gthread.h:32,
> from /usr/include/glib-2.0/glib/gasyncqueue.h:32,
> from /usr/include/glib-2.0/glib.h:32,
> from gtk/ScintillaGTKAccessible.cxx:66:
> gtk/ScintillaGTKAccessible.cxx: In function ‘GType scintilla_object_accessible_get_type(GType)’:
> /usr/include/glib-2.0/glib/gatomic.h:113:19: error: argument 2 of ‘__atomic_load’ must not be a pointer to a ‘volatile’ type
> 113 | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
> | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/glib-2.0/glib/gthread.h:260:7: note: in expansion of macro ‘g_atomic_pointer_get’
> 260 | (!g_atomic_pointer_get (location) && \
> | ^~~~~~~~~~~~~~~~~~~~
> gtk/ScintillaGTKAccessible.cxx:1021:13: note: in expansion of macro ‘g_once_init_enter’
> 1021 | if (g_once_init_enter(&type_id_result)) {
> | ^~~~~~~~~~~~~~~~~
> gtk/ScintillaGTKAccessible.cxx: In function ‘void scintilla_object_accessible_class_init(ScintillaObjectAccessibleClass*)’:
> gtk/ScintillaGTKAccessible.cxx:1232:33: warning: ‘void g_type_class_add_private(gpointer, gsize)’ is deprecated [-Wdeprecated-declarations]
> 1232 | g_type_class_add_private(klass, sizeof (ScintillaObjectAccessiblePrivate));
> | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
> from /usr/include/glib-2.0/gobject/gbinding.h:29,
> from /usr/include/glib-2.0/glib-object.h:22,
> from /usr/include/glib-2.0/gio/gioenums.h:28,
> from /usr/include/glib-2.0/gio/giotypes.h:28,
> from /usr/include/glib-2.0/gio/gio.h:26,
> from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28,
> from /usr/include/gtk-3.0/gdk/gdk.h:32,
> from /usr/include/gtk-3.0/gtk/gtk.h:30,
> from gtk/ScintillaGTKAccessible.cxx:67:
> /usr/include/glib-2.0/gobject/gtype.h:1346:10: note: declared here
> 1346 | void g_type_class_add_private (gpointer g_class,
> | ^~~~~~~~~~~~~~~~~~~~~~~~
> In file included from gtk/ScintillaGTK.cxx:82:
> gtk/ScintillaGTK.h:57:18: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
> 57 | GTimeVal lastWheelMouseTime;
> | ^~~~~~~~~~~~~~~~~~
> In file included from /usr/include/glib-2.0/glib/galloca.h:32,
> from /usr/include/glib-2.0/glib.h:30,
> from gtk/ScintillaGTK.cxx:23:
> /usr/include/glib-2.0/glib/gtypes.h:545:26: note: declared here
> 545 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
> | ^~~~~~~~
> gtk/ScintillaGTK.cxx: In constructor ‘{anonymous}::PreEditString::PreEditString(GtkIMContext*)’:
> gtk/ScintillaGTK.cxx:448:51: warning: ‘PangoScript pango_script_for_unichar(gunichar)’ is deprecated: Use 'g_unichar_get_script' instead [-Wdeprecated-declarations]
> 448 | pscript = pango_script_for_unichar(uniStr[0]);
> | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
> In file included from /usr/include/pango-1.0/pango/pango-gravity.h:117,
> from /usr/include/pango-1.0/pango/pango-types.h:207,
> from /usr/include/pango-1.0/pango/pango-font.h:26,
> from /usr/include/pango-1.0/pango/pango-attributes.h:25,
> from /usr/include/pango-1.0/pango/pango.h:25,
> from /usr/include/gtk-3.0/gdk/gdktypes.h:35,
> from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30,
> from /usr/include/gtk-3.0/gdk/gdk.h:32,
> from gtk/ScintillaGTK.cxx:25:
> /usr/include/pango-1.0/pango/pango-script.h:310:13: note: declared here
> 310 | PangoScript pango_script_for_unichar (gunichar ch) G_GNUC_CONST;
> | ^~~~~~~~~~~~~~~~~~~~~~~~
> gtk/ScintillaGTK.cxx: In static member function ‘static gint ScintillaGTK::ScrollEvent(GtkWidget*, GdkEventScroll*)’:
> gtk/ScintillaGTK.cxx:1849:26: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
> 1849 | GTimeVal curTime;
> | ^~~~~~~
> In file included from /usr/include/glib-2.0/glib/galloca.h:32,
> from /usr/include/glib-2.0/glib.h:30,
> from gtk/ScintillaGTK.cxx:23:
> /usr/include/glib-2.0/glib/gtypes.h:545:26: note: declared here
> 545 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
> | ^~~~~~~~
> gtk/ScintillaGTK.cxx:1850:35: warning: ‘void g_get_current_time(GTimeVal*)’ is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations]
> 1850 | g_get_current_time(&curTime);
> | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
> In file included from /usr/include/glib-2.0/glib/giochannel.h:33,
> from /usr/include/glib-2.0/glib.h:54,
> from gtk/ScintillaGTK.cxx:23:
> /usr/include/glib-2.0/glib/gmain.h:688:8: note: declared here
> 688 | void g_get_current_time (GTimeVal *result);
> | ^~~~~~~~~~~~~~~~~~
> gtk/ScintillaGTK.cxx:1869:35: warning: ‘void g_get_current_time(GTimeVal*)’ is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations]
> 1869 | g_get_current_time(&sciThis->lastWheelMouseTime);
> | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/glib-2.0/glib/giochannel.h:33,
> from /usr/include/glib-2.0/glib.h:54,
> from gtk/ScintillaGTK.cxx:23:
> /usr/include/glib-2.0/glib/gmain.h:688:8: note: declared here
> 688 | void g_get_current_time (GTimeVal *result);
> | ^~~~~~~~~~~~~~~~~~
> make[7]: *** [Makefile:1426: ScintillaGTKAccessible.lo] Error 1
The full build log is available from:
http://qa-logs.debian.net/2021/10/23/anjuta-extras_3.26.0-5_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.
More information about the pkg-gnome-maintainers
mailing list