Bug#1075366: pcsxr: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:39:36 BST 2024
Package: src:pcsxr
Version: 1.9.94-6
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/pcsxr_1.9.94-6_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
[...]
246 | gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(widget), TRUE);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27,
from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29,
from /usr/include/gtk-3.0/gtk/gtk.h:42,
from cfg-gtk.c:23:
/usr/include/gtk-3.0/gtk/gtktreeview.h:246:24: note: declared here
246 | void gtk_tree_view_set_rules_hint (GtkTreeView *tree_view,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
libtool: link: gcc -shared -fPIC -DPIC .libs/cfg.o .libs/pad.o .libs/sdljoy.o .libs/xkb.o .libs/analog.o .libs/util.o -lpthread -lX11 -lSDL2 -ldl -g -O2 -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -specs=/usr/share/dpkg/no-pie-link.specs -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -Wl,-soname -Wl,libDFInput.so -o .libs/libDFInput.so
libtool: link: ( cd ".libs" && rm -f "libDFInput.la" && ln -s "../libDFInput.la" "libDFInput.la" )
/bin/bash ../../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -specs=/usr/share/dpkg/no-pie-link.specs -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o cfgDFInput cfg-gtk.o -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lSDL2 -lX11 -ldl
libtool: link: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -specs=/usr/share/dpkg/no-pie-link.specs -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -o cfgDFInput cfg-gtk.o -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lSDL2 -lX11 -ldl
make[2]: Leaving directory '/<<PKGBUILDDIR>>/plugins/dfinput'
Making all in plugins/dfsound
make[2]: Entering directory '/<<PKGBUILDDIR>>/plugins/dfsound'
gcc -DHAVE_CONFIG_H -I. -I../../include -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -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 -pthread -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c -o cfgDFSound-main.o `test -f 'spucfg-0.1df/main.c' || echo './'`spucfg-0.1df/main.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c -o libDFSound_la-adsr.lo `test -f 'adsr.c' || echo './'`adsr.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c -o libDFSound_la-spu.lo `test -f 'spu.c' || echo './'`spu.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c -o libDFSound_la-cfg.lo `test -f 'cfg.c' || echo './'`cfg.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c -o libDFSound_la-dma.lo `test -f 'dma.c' || echo './'`dma.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c -o libDFSound_la-freeze.lo `test -f 'freeze.c' || echo './'`freeze.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c -o libDFSound_la-reverb.lo `test -f 'reverb.c' || echo './'`reverb.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c -o libDFSound_la-registers.lo `test -f 'registers.c' || echo './'`registers.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c dma.c -fPIC -DPIC -o .libs/libDFSound_la-dma.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c spu.c -fPIC -DPIC -o .libs/libDFSound_la-spu.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c adsr.c -fPIC -DPIC -o .libs/libDFSound_la-adsr.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c reverb.c -fPIC -DPIC -o .libs/libDFSound_la-reverb.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c cfg.c -fPIC -DPIC -o .libs/libDFSound_la-cfg.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c freeze.c -fPIC -DPIC -o .libs/libDFSound_la-freeze.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c registers.c -fPIC -DPIC -o .libs/libDFSound_la-registers.o
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c -o libDFSound_la-externals.lo `test -f 'externals.c' || echo './'`externals.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c -o libDFSound_la-xa.lo `test -f 'xa.c' || echo './'`xa.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c -o libDFSound_la-sdl.lo `test -f 'sdl.c' || echo './'`sdl.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c externals.c -fPIC -DPIC -o .libs/libDFSound_la-externals.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c xa.c -fPIC -DPIC -o .libs/libDFSound_la-xa.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c sdl.c -fPIC -DPIC -o .libs/libDFSound_la-sdl.o
spucfg-0.1df/main.c: In function ‘OnConfigClose’:
spucfg-0.1df/main.c:50:28: error: passing argument 1 of ‘gtk_widget_destroy’ from incompatible pointer type [-Wincompatible-pointer-types]
50 | gtk_widget_destroy(gtk_builder_get_object(builder, "CfgWnd"));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| GObject * {aka struct _GObject *}
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 spucfg-0.1df/main.c:9:
/usr/include/gtk-3.0/gtk/gtkwidget.h:619:65: note: expected ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} but argument is of type ‘GObject *’ {aka ‘struct _GObject *’}
619 | void gtk_widget_destroy (GtkWidget *widget);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~
spucfg-0.1df/main.c: In function ‘main’:
spucfg-0.1df/main.c:106:28: error: assignment to ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} from incompatible pointer type ‘GObject *’ {aka ‘struct _GObject *’} [-Wincompatible-pointer-types]
106 | MainWindow = gtk_builder_get_object(builder, "CfgWnd");
| ^
spucfg-0.1df/main.c:225:24: error: assignment to ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} from incompatible pointer type ‘GObject *’ {aka ‘struct _GObject *’} [-Wincompatible-pointer-types]
225 | widget = gtk_builder_get_object(builder, "CfgWnd");
| ^
spucfg-0.1df/main.c:229:24: error: assignment to ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} from incompatible pointer type ‘GObject *’ {aka ‘struct _GObject *’} [-Wincompatible-pointer-types]
229 | widget = gtk_builder_get_object(builder, "btn_close");
| ^
make[2]: *** [Makefile:749: cfgDFSound-main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/<<PKGBUILDDIR>>/plugins/dfsound'
make[1]: *** [Makefile:451: all-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Pkg-games-devel
mailing list