Bug#1075025: gnome-font-viewer: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:28:42 BST 2024
Package: src:gnome-font-viewer
Version: 46.0-1
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/gnome-font-viewer_46.0-1_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
[...]
../src/sushi-font-widget.c:282:5: warning: ‘gtk_widget_get_allocated_width’ is deprecated: Use 'gtk_widget_get_width' instead [-Wdeprecated-declarations]
282 | pos_x = gtk_widget_get_allocated_width (GTK_WIDGET (self)) -
| ^~~~~
In file included from /usr/include/gtk-4.0/gtk/gtkapplication.h:26,
from /usr/include/gtk-4.0/gtk/gtkwindow.h:32,
from /usr/include/gtk-4.0/gtk/gtkaboutdialog.h:29,
from /usr/include/gtk-4.0/gtk/gtk.h:33,
from ../src/sushi-font-widget.h:30,
from ../src/sushi-font-widget.c:27:
/usr/include/gtk-4.0/gtk/gtkwidget.h:472:23: note: declared here
472 | int gtk_widget_get_allocated_width (GtkWidget *widget);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/sushi-font-widget.c: In function ‘sushi_font_widget_size_request’:
../src/sushi-font-widget.c:540:3: warning: ‘gtk_widget_get_style_context’ is deprecated [-Wdeprecated-declarations]
540 | context = gtk_widget_get_style_context (drawing_area);
| ^~~~~~~
/usr/include/gtk-4.0/gtk/gtkwidget.h:710:19: note: declared here
710 | GtkStyleContext * gtk_widget_get_style_context (GtkWidget *widget);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/sushi-font-widget.c:541:3: warning: ‘gtk_style_context_get_padding’ is deprecated [-Wdeprecated-declarations]
541 | gtk_style_context_get_padding (context, &padding);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-4.0/gtk/gtk.h:263:
/usr/include/gtk-4.0/gtk/deprecated/gtkstylecontext.h:118:6: note: declared here
118 | void gtk_style_context_get_padding (GtkStyleContext *context,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/sushi-font-widget.c: In function ‘sushi_font_widget_snapshot’:
../src/sushi-font-widget.c:657:3: warning: ‘gtk_widget_get_style_context’ is deprecated [-Wdeprecated-declarations]
657 | context = gtk_widget_get_style_context (drawing_area);
| ^~~~~~~
/usr/include/gtk-4.0/gtk/gtkwidget.h:710:19: note: declared here
710 | GtkStyleContext * gtk_widget_get_style_context (GtkWidget *widget);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/sushi-font-widget.c:659:3: warning: ‘gtk_widget_get_allocated_width’ is deprecated: Use 'gtk_widget_get_width' instead [-Wdeprecated-declarations]
659 | allocated_width = gtk_widget_get_allocated_width (drawing_area);
| ^~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/gtkwidget.h:472:23: note: declared here
472 | int gtk_widget_get_allocated_width (GtkWidget *widget);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/sushi-font-widget.c:660:3: warning: ‘gtk_widget_get_allocated_height’ is deprecated: Use 'gtk_widget_get_height' instead [-Wdeprecated-declarations]
660 | allocated_height = gtk_widget_get_allocated_height (drawing_area);
| ^~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/gtkwidget.h:474:23: note: declared here
474 | int gtk_widget_get_allocated_height (GtkWidget *widget);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/sushi-font-widget.c:665:3: warning: ‘gtk_render_background’ is deprecated [-Wdeprecated-declarations]
665 | gtk_render_background (context, cr,
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-4.0/gtk/gtk.h:219:
/usr/include/gtk-4.0/gtk/deprecated/gtkrender.h:56:13: note: declared here
56 | void gtk_render_background (GtkStyleContext *context,
| ^~~~~~~~~~~~~~~~~~~~~
../src/sushi-font-widget.c:668:3: warning: ‘gtk_style_context_get_color’ is deprecated [-Wdeprecated-declarations]
668 | gtk_style_context_get_color (context, &color);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkstylecontext.h:112:6: note: declared here
112 | void gtk_style_context_get_color (GtkStyleContext *context,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/sushi-font-widget.c:669:3: warning: ‘gtk_style_context_get_padding’ is deprecated [-Wdeprecated-declarations]
669 | gtk_style_context_get_padding (context, &padding);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkstylecontext.h:118:6: note: declared here
118 | void gtk_style_context_get_padding (GtkStyleContext *context,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[114/116] /usr/bin/meson --internal msgfmthelper --msgfmt=/usr/bin/msgfmt data/org.gnome.font-viewer.desktop.in data/org.gnome.font-viewer.desktop desktop ../data/../po
[115/116] cc -Isrc/gnome-font-viewer.p -Isrc -I../src -I. -I.. -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/gtk-4.0 -I/usr/include/pango-1.0 -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/graphene-1.0 -I/usr/lib/x86_64-linux-gnu/graphene-1.0/include -I/usr/include/libadwaita-1 -I/usr/include/appstream -I/usr/include/gnome-desktop-4.0 -I/usr/include/gsettings-desktop-schemas -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 -MD -MQ src/gnome-font-viewer.p/font-model.c.o -MF src/gnome-font-viewer.p/font-model.c.o.d -o src/gnome-font-viewer.p/font-model.c.o -c ../src/font-model.c
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j8 -v returned exit code 1
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the pkg-gnome-maintainers
mailing list