Bug#1074863: caribou: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:23:42 BST 2024
Package: src:caribou
Version: 0.4.21-9
Severity: important
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-14
[This bug is targeted to the upcoming trixie release]
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/caribou_0.4.21-9_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-14/porting_to.html
[...]
libtool: compile: gcc -DPACKAGE_NAME=\"caribou\" -DPACKAGE_TARNAME=\"caribou\" -DPACKAGE_VERSION=\"0.4.21\" "-DPACKAGE_STRING=\"caribou 0.4.21\"" "-DPACKAGE_BUGREPORT=\"https://bugzilla.gnome.org/enter_bug.cgi?product=caribou\"" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DPACKAGE=\"caribou\" -DVERSION=\"0.4.21\" -DGETTEXT_PACKAGE=\"caribou\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.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 -pthread -DG_LOG_DOMAIN=\"CARIBOU\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c caribou-module.c -fPIC -DPIC -o .libs/libcaribou_gtk_module_la-caribou-module.o
libtool: compile: gcc -DPACKAGE_NAME=\"caribou\" -DPACKAGE_TARNAME=\"caribou\" -DPACKAGE_VERSION=\"0.4.21\" "-DPACKAGE_STRING=\"caribou 0.4.21\"" "-DPACKAGE_BUGREPORT=\"https://bugzilla.gnome.org/enter_bug.cgi?product=caribou\"" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DPACKAGE=\"caribou\" -DVERSION=\"0.4.21\" -DGETTEXT_PACKAGE=\"caribou\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.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 -pthread -DG_LOG_DOMAIN=\"CARIBOU\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c caribou-module.c -o libcaribou_gtk_module_la-caribou-module.o >/dev/null 2>&1
In file included from /usr/include/glib-2.0/glib/gthread.h:34,
from /usr/include/glib-2.0/glib/gasyncqueue.h:34,
from /usr/include/glib-2.0/glib.h:34,
from caribou-gtk-module.c:5:
caribou-gtk-module.c: In function ‘caribou_keyboard_get_type’:
/usr/include/glib-2.0/glib/gatomic.h:131:5: warning: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier [-Wdiscarded-qualifiers]
131 | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
| ^~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gthread.h:272:7: note: in expansion of macro ‘g_atomic_pointer_get’
272 | (!g_atomic_pointer_get (location) && \
| ^~~~~~~~~~~~~~~~~~~~
caribou-gtk-module.c:199:13: note: in expansion of macro ‘g_once_init_enter’
199 | if (g_once_init_enter (&caribou_keyboard_type_id__volatile)) {
| ^~~~~~~~~~~~~~~~~
caribou-gtk-module.c: In function ‘caribou_gtk_module_callback’:
caribou-gtk-module.c:599:24: error: assignment to ‘CaribouKeyboard *’ {aka ‘struct _CaribouKeyboard *’} from incompatible pointer type ‘GObject *’ {aka ‘struct _GObject *’} [-Wincompatible-pointer-types]
599 | _tmp2_ = g_async_result_get_source_object (_tmp1_);
| ^
caribou-gtk-module.c:600:55: error: passing argument 1 of ‘g_async_initable_new_finish’ from incompatible pointer type [-Wincompatible-pointer-types]
600 | _tmp3_ = g_async_initable_new_finish (_tmp2_, _tmp1_, &_inner_error_);
| ^~~~~~
| |
| CaribouKeyboard * {aka struct _CaribouKeyboard *}
In file included from /usr/include/glib-2.0/gio/gio.h:37,
from caribou-gtk-module.c:7:
/usr/include/glib-2.0/gio/gasyncinitable.h:116:67: note: expected ‘GAsyncInitable *’ {aka ‘struct _GAsyncInitable *’} but argument is of type ‘CaribouKeyboard *’ {aka ‘struct _CaribouKeyboard *’}
116 | GObject *g_async_initable_new_finish (GAsyncInitable *initable,
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
caribou-gtk-module.c:600:24: error: assignment to ‘CaribouKeyboard *’ {aka ‘struct _CaribouKeyboard *’} from incompatible pointer type ‘GObject *’ {aka ‘struct _GObject *’} [-Wincompatible-pointer-types]
600 | _tmp3_ = g_async_initable_new_finish (_tmp2_, _tmp1_, &_inner_error_);
| ^
caribou-gtk-module.c: In function ‘caribou_gtk_module_class_init’:
caribou-gtk-module.c:1238:9: warning: ‘g_type_class_add_private’ is deprecated [-Wdeprecated-declarations]
1238 | g_type_class_add_private (klass, sizeof (CaribouGtkModulePrivate));
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
from /usr/include/glib-2.0/gobject/gbinding.h:31,
from /usr/include/glib-2.0/glib-object.h:24,
from caribou-gtk-module.c:6:
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
1497 | void g_type_class_add_private (gpointer g_class,
| ^~~~~~~~~~~~~~~~~~~~~~~~
caribou-gtk-module.c: In function ‘caribou_gtk_module_instance_init’:
caribou-gtk-module.c:1243:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
1243 | self->priv = CARIBOU_GTK_MODULE_GET_PRIVATE (self);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
caribou-gtk-module.c: In function ‘caribou_gtk_module_get_type’:
/usr/include/glib-2.0/glib/gatomic.h:131:5: warning: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier [-Wdiscarded-qualifiers]
131 | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
| ^~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gthread.h:272:7: note: in expansion of macro ‘g_atomic_pointer_get’
272 | (!g_atomic_pointer_get (location) && \
| ^~~~~~~~~~~~~~~~~~~~
caribou-gtk-module.c:1260:13: note: in expansion of macro ‘g_once_init_enter’
1260 | if (g_once_init_enter (&caribou_gtk_module_type_id__volatile)) {
| ^~~~~~~~~~~~~~~~~
make[4]: *** [Makefile:571: libcaribou_gtk_module_la-caribou-gtk-module.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/<<PKGBUILDDIR>>/modules/gtk3'
make[3]: *** [Makefile:458: all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/modules/gtk3'
make[2]: *** [Makefile:484: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/modules'
make[1]: *** [Makefile:480: all-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:9: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the pkg-gnome-maintainers
mailing list