Bug#1075566: text-engine: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:45:51 BST 2024
Package: src:text-engine
Version: 0.1.1-4
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/text-engine_0.1.1-4_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
[...]
| |
| TextNode * {aka struct _TextNode *}
../src/ui/display.c:109:43: note: expected ‘TextLayoutBox *’ {aka ‘struct _TextLayoutBox *’} but argument is of type ‘TextNode *’ {aka ‘struct _TextNode *’}
109 | TextLayoutBox *layout_box,
| ~~~~~~~~~~~~~~~^~~~~~~~~~
../src/ui/display.c: In function ‘text_display_snapshot’:
../src/ui/display.c:167:5: warning: ‘gtk_style_context_get_color’ is deprecated [-Wdeprecated-declarations]
167 | gtk_style_context_get_color (gtk_widget_get_style_context (widget), &fg_color);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-4.0/gtk/gtk.h:263,
from ../src/ui/display.h:23,
from ../src/ui/display.c:21:
/usr/include/gtk-4.0/gtk/deprecated/gtkstylecontext.h:112:6: note: declared here
112 | void gtk_style_context_get_color (GtkStyleContext *context,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/ui/display.c:167:5: warning: ‘gtk_widget_get_style_context’ is deprecated [-Wdeprecated-declarations]
167 | gtk_style_context_get_color (gtk_widget_get_style_context (widget), &fg_color);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
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:
/usr/include/gtk-4.0/gtk/gtkwidget.h:710:19: note: declared here
710 | GtkStyleContext * gtk_widget_get_style_context (GtkWidget *widget);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/ui/display.c: In function ‘text_display_get_request_mode’:
../src/ui/display.c:175:43: warning: unused parameter ‘widget’ [-Wunused-parameter]
175 | text_display_get_request_mode (GtkWidget* widget)
| ~~~~~~~~~~~^~~~~~
[16/20] cc -Idemo/text-engine-demo.p -Idemo -I../demo -Isrc -I../src -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/libmount -I/usr/include/blkid -I/usr/include/json-glib-1.0 -I/usr/include/libxml2 -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/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/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -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 -mfpmath=sse -msse -msse2 -pthread -mfpmath=sse -msse -msse2 -MD -MQ demo/text-engine-demo.p/demo.c.o -MF demo/text-engine-demo.p/demo.c.o.d -o demo/text-engine-demo.p/demo.c.o -c ../demo/demo.c
../demo/demo.c: In function ‘demo_window_finalize’:
../demo/demo.c:51:17: warning: unused variable ‘self’ [-Wunused-variable]
51 | DemoWindow *self = (DemoWindow *)object;
| ^~~~
../demo/demo.c: In function ‘demo_window_get_property’:
../demo/demo.c:62:17: warning: unused variable ‘self’ [-Wunused-variable]
62 | DemoWindow *self = DEMO_WINDOW (object);
| ^~~~
../demo/demo.c:59:39: warning: unused parameter ‘value’ [-Wunused-parameter]
59 | GValue *value,
| ~~~~~~~~~~~~^~~~~
../demo/demo.c: In function ‘demo_window_set_property’:
../demo/demo.c:77:17: warning: unused variable ‘self’ [-Wunused-variable]
77 | DemoWindow *self = DEMO_WINDOW (object);
| ^~~~
../demo/demo.c:74:41: warning: unused parameter ‘value’ [-Wunused-parameter]
74 | const GValue *value,
| ~~~~~~~~~~~~~~^~~~~
../demo/demo.c: In function ‘main’:
../demo/demo.c:155:5: warning: ‘G_APPLICATION_FLAGS_NONE’ is deprecated: Use 'G_APPLICATION_DEFAULT_FLAGS' instead [-Wdeprecated-declarations]
155 | app = adw_application_new ("com.mattjakeman.TextEngine.Demo", G_APPLICATION_FLAGS_NONE);
| ^~~
In file included from /usr/include/glib-2.0/gio/giotypes.h:30,
from /usr/include/glib-2.0/gio/gio.h:28,
from /usr/include/gtk-4.0/gtk/css/gtkcsssection.h:24,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:36,
from /usr/include/gtk-4.0/gtk/gtk.h:29,
from /usr/include/libadwaita-1/adwaita.h:9,
from ../demo/demo.c:26:
/usr/include/glib-2.0/gio/gioenums.h:1545:3: note: declared here
1545 | G_APPLICATION_FLAGS_NONE GIO_DEPRECATED_ENUMERATOR_IN_2_74_FOR(G_APPLICATION_DEFAULT_FLAGS),
| ^~~~~~~~~~~~~~~~~~~~~~~~
../demo/demo.c: At top level:
../demo/demo.c:46:20: warning: ‘properties’ defined but not used [-Wunused-variable]
46 | static GParamSpec *properties [N_PROPS];
| ^~~~~~~~~~
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:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the pkg-gnome-maintainers
mailing list