[Pkg-mpd-maintainers] Bug#1075019: gmpc-plugins: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:28:30 BST 2024
Package: src:gmpc-plugins
Version: 11.8.16-7
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/gmpc-plugins_11.8.16-7_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[4]: Leaving directory '/<<PKGBUILDDIR>>/gmpc-lyrics/po'
make[4]: Entering directory '/<<PKGBUILDDIR>>/gmpc-lyrics'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/gmpc-lyrics'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/gmpc-lyrics'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/gmpc-lyrics'
Making all in gmpc-shout
make[2]: Entering directory '/<<PKGBUILDDIR>>/gmpc-shout'
make all-recursive
make[3]: Entering directory '/<<PKGBUILDDIR>>/gmpc-shout'
Making all in src
make[4]: Entering directory '/<<PKGBUILDDIR>>/gmpc-shout/src'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -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-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -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/atk-1.0 -I/usr/include/libxml2 -I/usr/include/libmpd-1.0/ -I/usr/include/gmpc -pthread -Wmissing-declarations -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o shoutplugin_la-plugin.lo `test -f 'plugin.c' || echo './'`plugin.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -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-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -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/atk-1.0 -I/usr/include/libxml2 -I/usr/include/libmpd-1.0/ -I/usr/include/gmpc -pthread -Wmissing-declarations -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c plugin.c -fPIC -DPIC -o .libs/shoutplugin_la-plugin.o
plugin.c: In function ‘shout_si_button_press_event’:
plugin.c:95:25: error: initialization of ‘GtkMenu *’ from incompatible pointer type ‘GtkWidget *’ [-Wincompatible-pointer-types]
95 | GtkMenu *menu = gtk_menu_new();
| ^~~~~~~~~~~~
plugin.c:101:35: error: passing argument 1 of ‘gtk_menu_shell_append’ from incompatible pointer type [-Wincompatible-pointer-types]
101 | gtk_menu_shell_append(GTK_MENU(menu), item);
| ^~~~~~~~
| |
| GtkMenu *
In file included from /usr/include/gtk-2.0/gtk/gtkmenu.h:36,
from /usr/include/gtk-2.0/gtk/gtklabel.h:36,
from /usr/include/gtk-2.0/gtk/gtkaccellabel.h:38,
from /usr/include/gtk-2.0/gtk/gtk.h:35,
from /usr/include/gmpc/plugin.h:20,
from plugin.c:25:
/usr/include/gtk-2.0/gtk/gtkmenushell.h:101:55: note: expected ‘GtkMenuShell *’ but argument is of type ‘GtkMenu *’
101 | void gtk_menu_shell_append (GtkMenuShell *menu_shell,
| ~~~~~~~~~~~~~~^~~~~~~~~~
plugin.c:106:35: error: passing argument 1 of ‘gtk_menu_shell_append’ from incompatible pointer type [-Wincompatible-pointer-types]
106 | gtk_menu_shell_append(GTK_MENU(menu), item);
| ^~~~~~~~
| |
| GtkMenu *
/usr/include/gtk-2.0/gtk/gtkmenushell.h:101:55: note: expected ‘GtkMenuShell *’ but argument is of type ‘GtkMenu *’
101 | void gtk_menu_shell_append (GtkMenuShell *menu_shell,
| ~~~~~~~~~~~~~~^~~~~~~~~~
plugin.c:110:31: error: passing argument 1 of ‘gtk_menu_shell_append’ from incompatible pointer type [-Wincompatible-pointer-types]
110 | gtk_menu_shell_append(GTK_MENU(menu), item);
| ^~~~~~~~
| |
| GtkMenu *
/usr/include/gtk-2.0/gtk/gtkmenushell.h:101:55: note: expected ‘GtkMenuShell *’ but argument is of type ‘GtkMenu *’
101 | void gtk_menu_shell_append (GtkMenuShell *menu_shell,
| ~~~~~~~~~~~~~~^~~~~~~~~~
plugin.c: In function ‘shout_pid_callback’:
plugin.c:259:54: error: passing argument 2 of ‘g_timeout_add_seconds’ from incompatible pointer type [-Wincompatible-pointer-types]
259 | reconnect_timeout = g_timeout_add_seconds(1, restart_ogg123, NULL);
| ^~~~~~~~~~~~~~
| |
| gboolean (*)(void) {aka int (*)(void)}
In file included from /usr/include/glib-2.0/glib/giochannel.h:35,
from /usr/include/glib-2.0/glib.h:56,
from plugin.c:23:
/usr/include/glib-2.0/glib/gmain.h:801:54: note: expected ‘GSourceFunc’ {aka ‘int (*)(void *)’} but argument is of type ‘gboolean (*)(void)’ {aka ‘int (*)(void)’}
801 | GSourceFunc function,
| ~~~~~~~~~~~~~~~~^~~~~~~~
make[4]: *** [Makefile:477: shoutplugin_la-plugin.lo] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/gmpc-shout/src'
make[3]: *** [Makefile:429: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/gmpc-shout'
make[2]: *** [Makefile:361: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/gmpc-shout'
make[1]: *** [Makefile:418: all-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Pkg-mpd-maintainers
mailing list