[tkloczko@barrel x86_64-redhat-linux-gnu]$ meson compile
Found runner: ['/usr/bin/ninja']
ninja: Entering directory `.'
[6/48] Compiling C++ object libgjs.so.0.0.0.p/gjs_error-types.cpp.o
FAILED: libgjs.so.0.0.0.p/gjs_error-types.cpp.o
/usr/bin/g++ -Ilibgjs.so.0.0.0.p -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gobject-introspection-1.0 -I/usr/include/cairo -fvisibility=hidden -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -std=c++17 -fno-strict-aliasing -Wno-variadic-macros -Wno-missing-field-initializers -fno-semantic-interposition -fno-rtti -O2 -g -grecord-gcc-switches -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -fno-rtti -fPIC -include /usr/include/mozjs-78/js/RequiredDefines.h -isystem /usr/include/mozjs-78 -pthread -DGJS_COMPILATION '-DGJS_JS_DIR="/usr/share/gjs-1.0"' '-DPKGLIBDIR="/usr/lib64/gjs"' '-DG_LOG_DOMAIN="Gjs"' -MD -MQ libgjs.so.0.0.0.p/gjs_error-types.cpp.o -MF libgjs.so.0.0.0.p/gjs_error-types.cpp.o.d -o libgjs.so.0.0.0.p/gjs_error-types.cpp.o -c ../gjs/error-types.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/glib-2.0/gobject/gbinding.h:28,
from /usr/include/glib-2.0/glib-object.h:22,
from ../gjs/error-types.cpp:5:
../gjs/error-types.cpp: In function ‘GType gjs_js_error_get_type()’:
/usr/include/glib-2.0/glib/gatomic.h:112:73: error: argument 2 of ‘__atomic_load’ must not be a pointer to a ‘volatile’ type
112 | __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) && \
| ^~~~~~~~~~~~~~~~~~~~
../gjs/error-types.cpp:17:9: note: in expansion of macro ‘g_once_init_enter’
17 | if (g_once_init_enter(&g_type_id)) {
| ^~~~~~~~~~~~~~~~~
[9/48] Compiling C object libgjs.so.0.0.0.p/libgjs-private_gjs-util.c.o
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 /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 ../libgjs-private/gjs-util.c:12:
../libgjs-private/gjs-util.c: In function ‘gjs_locale_category_get_type’:
/usr/include/glib-2.0/glib/gatomic.h:112:5: warning: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
112 | __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) && \
| ^~~~~~~~~~~~~~~~~~~~
../libgjs-private/gjs-util.c:43:7: note: in expansion of macro ‘g_once_init_enter’
43 | if (g_once_init_enter(&g_define_type_id__volatile)) {
| ^~~~~~~~~~~~~~~~~
[11/48] Generating WarnLib-1.0.gir with a custom command
g-ir-scanner: link: gcc -pthread -o /home/tkloczko/rpmbuild/BUILD/gjs-1.67.2/x86_64-redhat-linux-gnu/tmp-introspectsm2r4gyi/WarnLib-1.0 /home/tkloczko/rpmbuild/BUILD/gjs-1.67.2/x86_64-redhat-linux-gnu/tmp-introspectsm2r4gyi/WarnLib-1.0.o -L. -Wl,-rpath,. -Wl,--no-as-needed -L/home/tkloczko/rpmbuild/BUILD/gjs-1.67.2/x86_64-redhat-linux-gnu/installed-tests/js -Wl,-rpath,/home/tkloczko/rpmbuild/BUILD/gjs-1.67.2/x86_64-redhat-linux-gnu/installed-tests/js -lwarnlib -lglib-2.0 -lgobject-2.0 -lgio-2.0 -lgirepository-1.0 -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0
../../../../../../usr/share/gobject-introspection-1.0/tests/warnlib.h:33: Warning: WarnLib: symbol='do_moo': missing parameter name; undocumentable
../../../../../../usr/share/gobject-introspection-1.0/tests/warnlib.h:33: Warning: WarnLib: symbol='do_moo': missing parameter name; undocumentable
../../../../../../usr/share/gobject-introspection-1.0/tests/warnlib.h:39: Warning: WarnLib: symbol='warnlib_whatever_do_moo': missing parameter name; undocumentable
../../../../../../usr/share/gobject-introspection-1.0/tests/warnlib.h:39: Warning: WarnLib: symbol='warnlib_whatever_do_moo': missing parameter name; undocumentable
../../../../../../usr/share/gobject-introspection-1.0/tests/warnlib.h:41: Warning: WarnLib: symbol='warnlib_whatever_do_boo': missing parameter name; undocumentable
../../../../../../usr/share/gobject-introspection-1.0/tests/warnlib.h:41: Warning: WarnLib: symbol='warnlib_whatever_do_boo': missing parameter name; undocumentable
../../../../../../usr/share/gobject-introspection-1.0/tests/warnlib.c:41: Warning: WarnLib: warnlib_whatever_do_boo: unknown parameter 'x' in documentation comment, should be one of 'arg1', 'arg2'
../../../../../../usr/share/gobject-introspection-1.0/tests/warnlib.c:42: Warning: WarnLib: warnlib_whatever_do_boo: unknown parameter 'y' in documentation comment, should be one of 'arg1', 'arg2'
<unknown>:: Warning: WarnLib: (ErrorQuarkFunction)unpaired_error_quark: warnlib_unpaired_error_quark: Couldn't find corresponding enumeration
[12/48] Compiling C++ object libgjs.so.0.0.0.p/gjs_objectbox.cpp.o
FAILED: libgjs.so.0.0.0.p/gjs_objectbox.cpp.o
/usr/bin/g++ -Ilibgjs.so.0.0.0.p -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gobject-introspection-1.0 -I/usr/include/cairo -fvisibility=hidden -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -std=c++17 -fno-strict-aliasing -Wno-variadic-macros -Wno-missing-field-initializers -fno-semantic-interposition -fno-rtti -O2 -g -grecord-gcc-switches -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -fno-rtti -fPIC -include /usr/include/mozjs-78/js/RequiredDefines.h -isystem /usr/include/mozjs-78 -pthread -DGJS_COMPILATION '-DGJS_JS_DIR="/usr/share/gjs-1.0"' '-DPKGLIBDIR="/usr/lib64/gjs"' '-DG_LOG_DOMAIN="Gjs"' -MD -MQ libgjs.so.0.0.0.p/gjs_objectbox.cpp.o -MF libgjs.so.0.0.0.p/gjs_objectbox.cpp.o.d -o libgjs.so.0.0.0.p/gjs_objectbox.cpp.o -c ../gjs/objectbox.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 ../gjs/objectbox.cpp:11:
../gjs/objectbox.cpp: In static member function ‘static GType ObjectBox::gtype()’:
/usr/include/glib-2.0/glib/gatomic.h:112:73: error: argument 2 of ‘__atomic_load’ must not be a pointer to a ‘volatile’ type
112 | __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) && \
| ^~~~~~~~~~~~~~~~~~~~
../gjs/objectbox.cpp:120:9: note: in expansion of macro ‘g_once_init_enter’
120 | if (g_once_init_enter(&type_id)) {
| ^~~~~~~~~~~~~~~~~
[36/48] Compiling C++ object libgjs.so.0.0.0.p/gjs_module.cpp.o
ninja: build stopped: subcommand failed.