Bug#997268: poppler: FTBFS: poppler-private.h:154:13: 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:22:05 BST 2021


Source: poppler
Version: 20.09.0-3.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/test && /usr/bin/c++  -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/fofi -I/<<PKGBUILDDIR>>/goo -I/<<PKGBUILDDIR>>/poppler -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/poppler -isystem /usr/include/freetype2 -isystem /usr/include/openjpeg-2.4 -Wall -Wextra -Wpedantic -Wno-unused-parameter -Wcast-align -Wformat-security -Wframe-larger-than=65536 -Wlogical-op -Wmissing-format-attribute -Wnon-virtual-dtor -Woverloaded-virtual -Wmissing-declarations -Wundef -Wzero-as-null-pointer-constant -Wshadow -Wsuggest-override -fno-exceptions -fno-check-new -fno-common -D_DEFAULT_SOURCE -O2 -DNDEBUG -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++14 -MD -MT test/CMakeFiles/perf-test.dir/perf-test.cc.o -MF CMakeFiles/perf-test.dir/perf-test.cc.o.d -o CMakeFiles/perf-test.dir/perf-test.cc.o -c /<<PKGBUILDDIR>>/test/perf-test.cc
> 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/glib-2.0/gobject/gbinding.h:28,
>                  from /usr/include/glib-2.0/glib-object.h:22,
>                  from /<<PKGBUILDDIR>>/glib/poppler.h:22,
>                  from /<<PKGBUILDDIR>>/glib/poppler-action.cc:19:
> /<<PKGBUILDDIR>>/glib/poppler-action.cc: In function ‘GType poppler_dest_get_type()’:
> /<<PKGBUILDDIR>>/glib/poppler-private.h:154:13: error: argument 2 of ‘__atomic_load’ must not be a pointer to a ‘volatile’ type
>   154 |         if (g_once_init_enter(&g_define_type_id__volatile)) {                                                                                                                                                                                  \
>       |             ^~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/glib/poppler-action.cc:28:1: note: in expansion of macro ‘POPPLER_DEFINE_BOXED_TYPE’
>    28 | POPPLER_DEFINE_BOXED_TYPE(PopplerDest, poppler_dest, poppler_dest_copy, poppler_dest_free)
>       | ^~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/glib/poppler-action.cc: In function ‘GType poppler_action_get_type()’:
> /<<PKGBUILDDIR>>/glib/poppler-private.h:154:13: error: argument 2 of ‘__atomic_load’ must not be a pointer to a ‘volatile’ type
>   154 |         if (g_once_init_enter(&g_define_type_id__volatile)) {                                                                                                                                                                                  \
>       |             ^~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/glib/poppler-action.cc:91:1: note: in expansion of macro ‘POPPLER_DEFINE_BOXED_TYPE’
>    91 | POPPLER_DEFINE_BOXED_TYPE(PopplerAction, poppler_action, poppler_action_copy, poppler_action_free)
>       | ^~~~~~~~~~~~~~~~~~~~~~~~~
> make[3]: *** [glib/CMakeFiles/poppler-glib.dir/build.make:114: glib/CMakeFiles/poppler-glib.dir/poppler-action.cc.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/poppler_20.09.0-3.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-freedesktop-maintainers mailing list