[Pkg-kde-extras] Bug#997252: qt-gstreamer: 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:23:19 BST 2021


Source: qt-gstreamer
Version: 1.2.0-5.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):
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/elements/gstqtvideosink && /usr/bin/c++ -DGST_DISABLE_LOADSAVE -DGST_DISABLE_XML -DPACKAGE=\"qt-gstreamer\" -DPACKAGE_NAME="\"QtGStreamer (Debian)\"" -DPACKAGE_ORIGIN=\"https://packages.qa.debian.org/qt-gstreamer\" -DPACKAGE_VERSION=\"1.2.0\" -DQTGLVIDEOSINK_NAME=qt5glvideosink -DQTVIDEOSINK_NAME=qt5videosink -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQWIDGETVIDEOSINK_NAME=qwidget5videosink -Dgstqt5videosink_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/elements/gstqtvideosink -I/<<PKGBUILDDIR>>/elements/gstqtvideosink -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/elements/gstqtvideosink/gstqt5videosink_autogen/include -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt5/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt5/QtQml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtOpenGL -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wformat-security -Wundef -Wpointer-arith -fno-common -O2 -g -DNDEBUG -fPIC   -pthread -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 -fPIC -MD -MT elements/gstqtvideosink/CMakeFiles/gstqt5videosink.dir/gstqwidgetvideosink.cpp.o -MF CMakeFiles/gstqt5videosink.dir/gstqwidgetvideosink.cpp.o.d -o CMakeFiles/gstqt5videosink.dir/gstqwidgetvideosink.cpp.o -c /<<PKGBUILDDIR>>/elements/gstqtvideosink/gstqwidgetvideosink.cpp
> 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/gstreamer-1.0/gst/gst.h:27,
>                  from /<<PKGBUILDDIR>>/elements/gstqtvideosink/gstqtvideosinkplugin.h:20,
>                  from /<<PKGBUILDDIR>>/elements/gstqtvideosink/gstqtvideosinkbase.h:21,
>                  from /<<PKGBUILDDIR>>/elements/gstqtvideosink/gstqtvideosinkbase.cpp:18:
> /<<PKGBUILDDIR>>/elements/gstqtvideosink/gstqtvideosinkbase.cpp: In static member function ‘static GType GstQtVideoSinkBase::get_type()’:
> /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) &&                             \
>       |       ^~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/elements/gstqtvideosink/gstqtvideosinkplugin.h:31:13: note: in expansion of macro ‘g_once_init_enter’
>    31 |         if (g_once_init_enter(&gonce_data)) { \
>       |             ^~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/elements/gstqtvideosink/gstqtvideosinkplugin.h:56:5: note: in expansion of macro ‘DEFINE_TYPE_FULL’
>    56 |     DEFINE_TYPE_FULL(cpp_type, #cpp_type "_qt5", parent_type, Q_UNUSED)
>       |     ^~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/elements/gstqtvideosink/gstqtvideosinkbase.cpp:32:1: note: in expansion of macro ‘DEFINE_TYPE’
>    32 | DEFINE_TYPE(GstQtVideoSinkBase, GST_TYPE_VIDEO_SINK)
>       | ^~~~~~~~~~~
> make[4]: *** [elements/gstqtvideosink/CMakeFiles/gstqt5videosink.dir/build.make:199: elements/gstqtvideosink/CMakeFiles/gstqt5videosink.dir/gstqtvideosinkbase.cpp.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/qt-gstreamer_1.2.0-5.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-kde-extras mailing list