Bug#997238: lordsawar: 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:18:06 BST 2021


Source: lordsawar
Version: 0.3.2+frogknows-1
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++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I..  -pthread -I/usr/include/gstreamermm-1.0 -I/usr/lib/x86_64-linux-gnu/gstreamermm-1.0/include -I/usr/include/giomm-2.4 -I/usr/lib/x86_64-linux-gnu/giomm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/gstreamer-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib/x86_64-linux-gnu/gtkmm-3.0/include -I/usr/include/atkmm-1.6 -I/usr/lib/x86_64-linux-gnu/atkmm-1.6/include -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0 -I/usr/lib/x86_64-linux-gnu/gdkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib/x86_64-linux-gnu/giomm-2.4/include -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/atk-1.0 -I/usr/include/cairo -I/usr/include/pangomm-1.4 -I/usr/lib/x86_64-linux-gnu/pangomm-1.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/cairomm-1.0 -I/usr/lib/x86_64-linux-gnu/cairomm-1.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -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/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/libxml++-2.6 -I/usr/lib/x86_64-linux-gnu/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/libxml2  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -DLORDSAWAR_DATADIR='"/usr/share/lordsawar"' -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wshadow -Wextra -pedantic -Wno-deprecated-declarations -Wno-deprecated-copy -std=c++11 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o snd.lo snd.cpp
> libtool: compile:  g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gstreamermm-1.0 -I/usr/lib/x86_64-linux-gnu/gstreamermm-1.0/include -I/usr/include/giomm-2.4 -I/usr/lib/x86_64-linux-gnu/giomm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/gstreamer-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib/x86_64-linux-gnu/gtkmm-3.0/include -I/usr/include/atkmm-1.6 -I/usr/lib/x86_64-linux-gnu/atkmm-1.6/include -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0 -I/usr/lib/x86_64-linux-gnu/gdkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib/x86_64-linux-gnu/giomm-2.4/include -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/atk-1.0 -I/usr/include/cairo -I/usr/include/pangomm-1.4 -I/usr/lib/x86_64-linux-gnu/pangomm-1.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/cairomm-1.0 -I/usr/lib/x86_64-linux-gnu/cairomm-1.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -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/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/libxml++-2.6 -I/usr/lib/x86_64-linux-gnu/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -DLORDSAWAR_DATADIR=\"/usr/share/lordsawar\" -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wshadow -Wextra -pedantic -Wno-deprecated-declarations -Wno-deprecated-copy -std=c++11 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c snd.cpp  -fPIC -DPIC -o .libs/snd.o
> In file included from /usr/include/gstreamermm-1.0/gstreamermm/structure.h:30,
>                  from /usr/include/gstreamermm-1.0/gstreamermm/query.h:30,
>                  from /usr/include/gstreamermm-1.0/gstreamermm/message.h:32,
>                  from /usr/include/gstreamermm-1.0/gstreamermm/element.h:33,
>                  from /usr/include/gstreamermm-1.0/gstreamermm/check.h:13,
>                  from /usr/include/gstreamermm-1.0/gstreamermm.h:63,
>                  from snd.cpp:35:
> /usr/include/gstreamermm-1.0/gstreamermm/value.h: In constructor ‘Gst::Range<T>::Range(T, T)’:
> /usr/include/gstreamermm-1.0/gstreamermm/value.h:204:18: warning: declaration of ‘max’ shadows a member of ‘Gst::Range<T>’ [-Wshadow]
>   204 |   Range(T min, T max) : min(min), max(max) {}
>       |                ~~^~~
> /usr/include/gstreamermm-1.0/gstreamermm/value.h:234:5: note: shadowed declaration is here
>   234 |   T max;
>       |     ^~~
> /usr/include/gstreamermm-1.0/gstreamermm/value.h:204:11: warning: declaration of ‘min’ shadows a member of ‘Gst::Range<T>’ [-Wshadow]
>   204 |   Range(T min, T max) : min(min), max(max) {}
>       |         ~~^~~
> /usr/include/gstreamermm-1.0/gstreamermm/value.h:233:5: note: shadowed declaration is here
>   233 |   T min;
>       |     ^~~
> libtool: compile:  g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gstreamermm-1.0 -I/usr/lib/x86_64-linux-gnu/gstreamermm-1.0/include -I/usr/include/giomm-2.4 -I/usr/lib/x86_64-linux-gnu/giomm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/gstreamer-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib/x86_64-linux-gnu/gtkmm-3.0/include -I/usr/include/atkmm-1.6 -I/usr/lib/x86_64-linux-gnu/atkmm-1.6/include -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0 -I/usr/lib/x86_64-linux-gnu/gdkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib/x86_64-linux-gnu/giomm-2.4/include -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/atk-1.0 -I/usr/include/cairo -I/usr/include/pangomm-1.4 -I/usr/lib/x86_64-linux-gnu/pangomm-1.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/cairomm-1.0 -I/usr/lib/x86_64-linux-gnu/cairomm-1.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -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/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/libxml++-2.6 -I/usr/lib/x86_64-linux-gnu/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -DLORDSAWAR_DATADIR=\"/usr/share/lordsawar\" -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wshadow -Wextra -pedantic -Wno-deprecated-declarations -Wno-deprecated-copy -std=c++11 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c tarfile.cpp -o tarfile.o >/dev/null 2>&1
> In file included from /usr/include/gstreamermm-1.0/gstreamermm.h:66,
>                  from snd.cpp:35:
> /usr/include/gstreamermm-1.0/gstreamermm/register.h: In constructor ‘Gst::ElementClass<DerivedCppType>::ElementClass(typename DerivedCppType::BaseClassType*)’:
> /usr/include/gstreamermm-1.0/gstreamermm/register.h:40:56: warning: declaration of ‘klass’ shadows a member of ‘Gst::ElementClass<DerivedCppType>’ [-Wshadow]
>    40 |   ElementClass(typename DerivedCppType::BaseClassType* klass): klass((GstElementClass*) klass){}
>       |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
> /usr/include/gstreamermm-1.0/gstreamermm/register.h:39:20: note: shadowed declaration is here
>    39 |   GstElementClass* klass;
>       |                    ^~~~~
> 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 /usr/include/glibmm-2.4/glibmm/thread.h:39,
>                  from /usr/include/glibmm-2.4/glibmm.h:103,
>                  from snd.cpp:22:
> /usr/include/gstreamermm-1.0/gstreamermm/register.h: In function ‘GType Gst::register_mm_type(const gchar*)’:
> /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) &&                             \
>       |       ^~~~~~~~~~~~~~~~~~~~
> /usr/include/gstreamermm-1.0/gstreamermm/register.h:114:9: note: in expansion of macro ‘g_once_init_enter’
>   114 |     if (g_once_init_enter (&gonce_data)) {
>       |         ^~~~~~~~~~~~~~~~~
> In file included from /usr/include/gstreamermm-1.0/gstreamermm.h:88,
>                  from snd.cpp:35:
> /usr/include/gstreamermm-1.0/gstreamermm/iterator.h: In constructor ‘Gst::IteratorBase<CppType>::IteratorBase(GstIterator*, bool)’:
> /usr/include/gstreamermm-1.0/gstreamermm/iterator.h:359:65: warning: declaration of ‘take_ownership’ shadows a member of ‘Gst::IteratorBase<CppType>’ [-Wshadow]
>   359 | IteratorBase<CppType>::IteratorBase(GstIterator* castitem, bool take_ownership)
>       |                                                            ~~~~~^~~~~~~~~~~~~~
> /usr/include/gstreamermm-1.0/gstreamermm/iterator.h:221:8: note: shadowed declaration is here
>   221 |   bool take_ownership;      // Whether to destroy C object with the wrapper.
>       |        ^~~~~~~~~~~~~~
> In file included from /usr/include/gstreamermm-1.0/gstreamermm/videoframe.h:30,
>                  from /usr/include/gstreamermm-1.0/gstreamermm.h:143,
>                  from snd.cpp:35:
> /usr/include/gstreamermm-1.0/gstreamermm/videoinfo.h: At global scope:
> /usr/include/gstreamermm-1.0/gstreamermm/videoinfo.h:547:43: warning: extra ‘;’ [-Wpedantic]
>   547 |   Glib::RefPtr<Gst::Caps> to_caps() const;;
>       |                                           ^
>       |                                           -
> make[4]: *** [Makefile:1097: snd.lo] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/lordsawar_0.3.2+frogknows-1_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-games-devel mailing list