Bug#1074878: cheese: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:24:10 BST 2024
Package: src:cheese
Version: 44.1-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/cheese_44.1-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
[...]
| ^~~~~~~~~~~~~
/usr/include/cogl/cogl/deprecated/cogl-clip-state.h:207:1: note: declared here
207 | cogl_clip_pop (void);
| ^~~~~~~~~~~~~
[20/192] cc -Isrc/cheese.p -Isrc -I../src -I. -I.. -Ilibcheese -I../libcheese -Idata -I/usr/include/gnome-desktop-3.0 -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 -I/usr/include/gsettings-desktop-schemas -I/usr/include/libxml2 -I/usr/include/clutter-gtk-1.0 -I/usr/include/clutter-1.0 -I/usr/include/cogl -I/usr/include/libdrm -I/usr/include/json-glib-1.0 -I/usr/include/gudev-1.0 -I/usr/include/gstreamer-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -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 -D_REENTRANT '-DPACKAGE_LOCALEDIR="/usr/share/locale"' -DGNOME_DESKTOP_USE_UNSTABLE_API=1 '-DGETTEXT_PACKAGE="cheese"' -MD -MQ src/cheese.p/thumbview_cheese-thumbnail.c.o -MF src/cheese.p/thumbview_cheese-thumbnail.c.o.d -o src/cheese.p/thumbview_cheese-thumbnail.c.o -c ../src/thumbview/cheese-thumbnail.c
[21/192] cc -Ilibcheese/libcheese-gtk.so.25.1.7.p -Ilibcheese -I../libcheese -I. -I.. -I/usr/include/clutter-gtk-1.0 -I/usr/include/clutter-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/libmount -I/usr/include/blkid -I/usr/include/cogl -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -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/libdrm -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/gudev-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 -I/usr/include/clutter-gst-3.0 -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -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 -fPIC -pthread '-DG_LOG_DOMAIN="cheese-gtk"' -MD -MQ libcheese/libcheese-gtk.so.25.1.7.p/cheese-widget.c.o -MF libcheese/libcheese-gtk.so.25.1.7.p/cheese-widget.c.o.d -o libcheese/libcheese-gtk.so.25.1.7.p/cheese-widget.c.o -c ../libcheese/cheese-widget.c
../libcheese/cheese-widget.c: In function ‘cheese_widget_spinner_invert’:
../libcheese/cheese-widget.c:173:5: warning: ‘gtk_style_context_get_background_color’ is deprecated: Use 'gtk_render_background' instead [-Wdeprecated-declarations]
173 | gtk_style_context_get_background_color (context, gtk_style_context_get_state (context), &bg);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtkicontheme.h:27,
from /usr/include/gtk-3.0/gtk/gtk.h:127,
from ../libcheese/cheese-widget.h:24,
from ../libcheese/cheese-widget.c:25:
/usr/include/gtk-3.0/gtk/gtkstylecontext.h:1201:6: note: declared here
1201 | void gtk_style_context_get_background_color (GtkStyleContext *context,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../libcheese/cheese-widget.c:175:5: warning: ‘gtk_widget_override_color’ is deprecated [-Wdeprecated-declarations]
175 | gtk_widget_override_color (spinner, i, &bg);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27,
from /usr/include/gtk-3.0/gtk/gtkwindow.h:33,
from /usr/include/gtk-3.0/gtk/gtkdialog.h:32,
from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
from /usr/include/gtk-3.0/gtk/gtk.h:31:
/usr/include/gtk-3.0/gtk/gtkwidget.h:1144:14: note: declared here
1144 | void gtk_widget_override_color (GtkWidget *widget,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../libcheese/cheese-widget.c:176:5: warning: ‘gtk_widget_override_background_color’ is deprecated [-Wdeprecated-declarations]
176 | gtk_widget_override_background_color (spinner, i, &fg);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/gtkwidget.h:1148:14: note: declared here
1148 | void gtk_widget_override_background_color (GtkWidget *widget,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../libcheese/cheese-widget.c:178:5: warning: ‘gtk_widget_override_color’ is deprecated [-Wdeprecated-declarations]
178 | gtk_widget_override_color (parent, i, &bg);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/gtkwidget.h:1144:14: note: declared here
1144 | void gtk_widget_override_color (GtkWidget *widget,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../libcheese/cheese-widget.c:179:5: warning: ‘gtk_widget_override_background_color’ is deprecated [-Wdeprecated-declarations]
179 | gtk_widget_override_background_color (parent, i, &fg);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/gtkwidget.h:1148:14: note: declared here
1148 | void gtk_widget_override_background_color (GtkWidget *widget,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[22/192] valac -C --pkg posix --pkg gstreamer-1.0 --target-glib ' 2.38.0' --pkg glib-2.0 --pkg gio-2.0 --pkg gdk-pixbuf-2.0 --pkg clutter-1.0 --pkg gtk+-3.0 --pkg clutter-gtk-1.0 --pkg libcanberra /<<PKGBUILDDIR>>/src/vapi/eogthumbnav.vapi --pkg gnome-desktop-3.0 /<<PKGBUILDDIR>>/src/vapi/config.vapi /<<PKGBUILDDIR>>/src/vapi/cheese-thumbview.vapi /<<PKGBUILDDIR>>/src/vapi/cheese-common.vapi --color=always --directory src/cheese.p --basedir ../src --gresources=../data/org.gnome.Cheese.gresource.xml --gresourcesdir=data/data --gresourcesdir=data/../data ../src/vapi/libcanberra-gtk3.vapi ../src/cheese-application.vala ../src/cheese-countdown.vala ../src/cheese-effects-manager.vala ../src/cheese-main.vala ../src/cheese-preferences.vala ../src/cheese-window.vala
../src/cheese-window.vala:220.7-220.18: warning: `Gtk.show_uri' has been deprecated since 3.22
220 | Gtk.show_uri (screen, uri, Gtk.get_current_event_time ());
| ^~~~~~~~~~~~
../src/cheese-window.vala:1132.59-1132.85: warning: `Clutter.BinAlignment.CENTER' is deprecated
1132 | Clutter.BinLayout layout = new Clutter.BinLayout (Clutter.BinAlignment.CENTER,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cheese-window.vala:1133.59-1133.85: warning: `Clutter.BinAlignment.CENTER' is deprecated
1133 | Clutter.BinAlignment.CENTER);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cheese-preferences.vala:279.13-279.24: warning: `Gtk.show_uri' has been deprecated since 3.22
279 | Gtk.show_uri (this.get_screen (), "help:cheese/index#preferences",
| ^~~~~~~~~~~~
../src/cheese-application.vala:519.13-519.24: warning: `Gtk.show_uri' has been deprecated since 3.22
519 | Gtk.show_uri (screen, "help:cheese", Gtk.get_current_event_time ());
| ^~~~~~~~~~~~
../src/cheese-effects-manager.vala:98.3-98.31: warning: Method `Cheese.EffectsManager.cmp_value' never used
98 | private static bool cmp_value (Effect a, Effect b)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compilation succeeded - 6 warning(s)
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:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the pkg-gnome-maintainers
mailing list