[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1075258: mate-applets: ftbfs with GCC-14



Package: src:mate-applets
Version: 1.26.1-3
Severity: important
Tags: sid trixie
User: debian-gcc@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/mate-applets_1.26.1-3_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

[...]
make[3]: Entering directory '/<<PKGBUILDDIR>>/command'
git.mk: Generating .gitignore
Making all in data
make[4]: Entering directory '/<<PKGBUILDDIR>>/command/data'
sed \
	-e "s|\@LOCATION\@|/usr/lib/mate-applets/command-applet|" \
	org.mate.applets.CommandApplet.mate-panel-applet.desktop.in.in > org.mate.applets.CommandApplet.mate-panel-applet.desktop.in
sed \
	-e "s|\@LOCATION\@|/usr/lib/mate-applets/command-applet|" \
	org.mate.panel.applet.CommandAppletFactory.service.in > org.mate.panel.applet.CommandAppletFactory.service
/usr/lib/x86_64-linux-gnu/glib-2.0/glib-compile-schemas --strict --dry-run  --schema-file=org.mate.panel.applet.command.gschema.xml && mkdir -p . && touch org.mate.panel.applet.command.gschema.valid
git.mk: Generating .gitignore
/usr/bin/msgfmt --desktop --keyword=Name --keyword=Description --template org.mate.applets.CommandApplet.mate-panel-applet.desktop.in -d ../../po -o org.mate.applets.CommandApplet.mate-panel-applet
make[4]: Leaving directory '/<<PKGBUILDDIR>>/command/data'
Making all in src
make[4]: Entering directory '/<<PKGBUILDDIR>>/command/src'
/usr/bin/glib-compile-resources --target=command-resources.c --sourcedir=./../data --generate --c-name command ../data/command-resources.gresource.xml
/usr/bin/glib-compile-resources --target=command-resources.h --sourcedir=./../data --generate --c-name command ../data/command-resources.gresource.xml
git.mk: Generating .gitignore
/usr/bin/make  all-am
make[5]: Entering directory '/<<PKGBUILDDIR>>/command/src'
gcc -DHAVE_CONFIG_H -I. -I../..  -I/usr/include/mate-panel-4.0/libmate-panel-applet -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/gtk-3.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/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  -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wmissing-prototypes  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o command_applet-command.o `test -f 
 'command.c' || echo './'`command.c
gcc -DHAVE_CONFIG_H -I. -I../..  -I/usr/include/mate-panel-4.0/libmate-panel-applet -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/gtk-3.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/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  -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wmissing-prototypes  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o command_applet-ma-command.o `test 
 -f 'ma-command.c' || echo './'`ma-command.c
gcc -DHAVE_CONFIG_H -I. -I../..  -I/usr/include/mate-panel-4.0/libmate-panel-applet -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/gtk-3.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/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  -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wmissing-prototypes  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o command_applet-command-resources.o
  `test -f 'command-resources.c' || echo './'`command-resources.c
command.c: In function ‘command_applet_fill’:
command.c:472:59: error: passing argument 1 of ‘gtk_widget_get_accessible’ from incompatible pointer type [-Wincompatible-pointer-types]
  472 |     atk_widget = gtk_widget_get_accessible (command_applet->applet);
      |                                             ~~~~~~~~~~~~~~^~~~~~~~
      |                                                           |
      |                                                           MatePanelApplet * {aka struct _MatePanelApplet *}
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,
                 from command.c:31:
/usr/include/gtk-3.0/gtk/gtkwidget.h:1067:79: note: expected ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} but argument is of type ‘MatePanelApplet *’ {aka ‘struct _MatePanelApplet *’}
 1067 | AtkObject*       gtk_widget_get_accessible               (GtkWidget          *widget);
      |                                                           ~~~~~~~~~~~~~~~~~~~~^~~~~~
command.c:481:5: warning: ‘gtk_action_group_new’ is deprecated [-Wdeprecated-declarations]
  481 |     GtkActionGroup *action_group = gtk_action_group_new ("Command Applet Actions");
      |     ^~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:254:
/usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:175:17: note: declared here
  175 | GtkActionGroup *gtk_action_group_new                     (const gchar                *name);
      |                 ^~~~~~~~~~~~~~~~~~~~
command.c:482:5: warning: ‘gtk_action_group_set_translation_domain’ is deprecated [-Wdeprecated-declarations]
  482 |     gtk_action_group_set_translation_domain (action_group, GETTEXT_PACKAGE);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:252:17: note: declared here
  252 | void            gtk_action_group_set_translation_domain  (GtkActionGroup             *action_group,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
command.c:483:5: warning: ‘gtk_action_group_add_actions’ is deprecated [-Wdeprecated-declarations]
  483 |     gtk_action_group_add_actions (action_group, applet_menu_actions,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:210:17: note: declared here
  210 | void            gtk_action_group_add_actions             (GtkActionGroup             *action_group,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[5]: *** [Makefile:564: command_applet-command.o] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/command/src'
make[4]: *** [Makefile:435: all] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/command/src'
make[3]: *** [Makefile:441: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/command'
make[2]: *** [Makefile:583: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:515: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [/usr/share/cdbs/1/class/makefile.mk:77: debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Reply to: