Bug#1075299: mupen64plus-ui-console: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:37:23 BST 2024
Package: src:mupen64plus-ui-console
Version: 2.5.9+26+g3ad5cbb-3
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/mupen64plus-ui-console_2.5.9+26+g3ad5cbb-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
[...]
SCHROOT_GID=1001
SCHROOT_GROUP=user42
SCHROOT_SESSION_ID=sid-amd64-sbuild-e6fc6e75-c7d3-4072-929d-ea2394e2fea7
SCHROOT_UID=1001
SCHROOT_USER=user42
SHELL=/bin/sh
USER=user42
dpkg-buildpackage
-----------------
Command: dpkg-buildpackage --sanitize-env -us -uc -b -rfakeroot
dpkg-buildpackage: info: source package mupen64plus-ui-console
dpkg-buildpackage: info: source version 2.5.9+26+g3ad5cbb-3
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Sven Eckelmann <sven at narfation.org>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
debian/rules clean
dh clean --sourcedirectory="projects/unix"
debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean -- V=1 UNAME='linux' HOST_CPU='x86_64' APIDIR=/usr/include/mupen64plus/ DEBUG=1 PREFIX=/usr/ COREDIR="/usr/lib/x86_64-linux-gnu/" PLUGINDIR="/usr/lib/x86_64-linux-gnu/mupen64plus" MANDIR=/usr/share/man/ BINDIR=/usr/games/ OPTFLAGS="-DNDEBUG" PIE=1 SDL_CONFIG=sdl2-config
cd projects/unix && make -j8 clean V=1 UNAME=linux HOST_CPU=x86_64 APIDIR=/usr/include/mupen64plus/ DEBUG=1 PREFIX=/usr/ COREDIR=/usr/lib/x86_64-linux-gnu/ PLUGINDIR=/usr/lib/x86_64-linux-gnu/mupen64plus MANDIR=/usr/share/man/ BINDIR=/usr/games/ OPTFLAGS=-DNDEBUG PIE=1 SDL_CONFIG=sdl2-config
make[2]: Entering directory '/<<PKGBUILDDIR>>/projects/unix'
rm -f -r _obj mupen64plus
make[2]: Leaving directory '/<<PKGBUILDDIR>>/projects/unix'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_autoreconf_clean -O--sourcedirectory=projects/unix
dh_clean -O--sourcedirectory=projects/unix
debian/rules binary
dh binary --sourcedirectory="projects/unix"
debian/rules install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh install --sourcedirectory="projects/unix"
debian/rules build
make[2]: Entering directory '/<<PKGBUILDDIR>>'
dh build --sourcedirectory="projects/unix"
dh_update_autotools_config -O--sourcedirectory=projects/unix
dh_autoreconf -O--sourcedirectory=projects/unix
dh_auto_configure -O--sourcedirectory=projects/unix
debian/rules override_dh_auto_build
make[3]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build -- all V=1 UNAME='linux' HOST_CPU='x86_64' APIDIR=/usr/include/mupen64plus/ DEBUG=1 PREFIX=/usr/ COREDIR="/usr/lib/x86_64-linux-gnu/" PLUGINDIR="/usr/lib/x86_64-linux-gnu/mupen64plus" MANDIR=/usr/share/man/ BINDIR=/usr/games/ OPTFLAGS="-DNDEBUG" PIE=1 SDL_CONFIG=sdl2-config
cd projects/unix && make -j8 "INSTALL=install --strip-program=true" all V=1 UNAME=linux HOST_CPU=x86_64 APIDIR=/usr/include/mupen64plus/ DEBUG=1 PREFIX=/usr/ COREDIR=/usr/lib/x86_64-linux-gnu/ PLUGINDIR=/usr/lib/x86_64-linux-gnu/mupen64plus MANDIR=/usr/share/man/ BINDIR=/usr/games/ OPTFLAGS=-DNDEBUG PIE=1 SDL_CONFIG=sdl2-config
make[4]: Entering directory '/<<PKGBUILDDIR>>/projects/unix'
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -flto -DNDEBUG -Wall -ffast-math -fno-strict-aliasing -I../../src -pthread -I/usr/include/SDL2 -D_REENTRANT "-I/usr/include/mupen64plus/" -fPIE '-DPLUGINDIR="/usr/lib/x86_64-linux-gnu/mupen64plus"' '-DCOREDIR="/usr/lib/x86_64-linux-gnu/"' -g -MD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -c -o _obj/cheat.o ../../src/cheat.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -flto -DNDEBUG -Wall -ffast-math -fno-strict-aliasing -I../../src -pthread -I/usr/include/SDL2 -D_REENTRANT "-I/usr/include/mupen64plus/" -fPIE '-DPLUGINDIR="/usr/lib/x86_64-linux-gnu/mupen64plus"' '-DCOREDIR="/usr/lib/x86_64-linux-gnu/"' -g -MD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -c -o _obj/compare_core.o ../../src/compare_core.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -flto -DNDEBUG -Wall -ffast-math -fno-strict-aliasing -I../../src -pthread -I/usr/include/SDL2 -D_REENTRANT "-I/usr/include/mupen64plus/" -fPIE '-DPLUGINDIR="/usr/lib/x86_64-linux-gnu/mupen64plus"' '-DCOREDIR="/usr/lib/x86_64-linux-gnu/"' -g -MD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -c -o _obj/core_interface.o ../../src/core_interface.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -flto -DNDEBUG -Wall -ffast-math -fno-strict-aliasing -I../../src -pthread -I/usr/include/SDL2 -D_REENTRANT "-I/usr/include/mupen64plus/" -fPIE '-DPLUGINDIR="/usr/lib/x86_64-linux-gnu/mupen64plus"' '-DCOREDIR="/usr/lib/x86_64-linux-gnu/"' -g -MD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -c -o _obj/debugger.o ../../src/debugger.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -flto -DNDEBUG -Wall -ffast-math -fno-strict-aliasing -I../../src -pthread -I/usr/include/SDL2 -D_REENTRANT "-I/usr/include/mupen64plus/" -fPIE '-DPLUGINDIR="/usr/lib/x86_64-linux-gnu/mupen64plus"' '-DCOREDIR="/usr/lib/x86_64-linux-gnu/"' -g -MD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -c -o _obj/main.o ../../src/main.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -flto -DNDEBUG -Wall -ffast-math -fno-strict-aliasing -I../../src -pthread -I/usr/include/SDL2 -D_REENTRANT "-I/usr/include/mupen64plus/" -fPIE '-DPLUGINDIR="/usr/lib/x86_64-linux-gnu/mupen64plus"' '-DCOREDIR="/usr/lib/x86_64-linux-gnu/"' -g -MD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -c -o _obj/plugin.o ../../src/plugin.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -flto -DNDEBUG -Wall -ffast-math -fno-strict-aliasing -I../../src -pthread -I/usr/include/SDL2 -D_REENTRANT "-I/usr/include/mupen64plus/" -fPIE '-DPLUGINDIR="/usr/lib/x86_64-linux-gnu/mupen64plus"' '-DCOREDIR="/usr/lib/x86_64-linux-gnu/"' -g -MD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -c -o _obj/osal_dynamiclib_unix.o ../../src/osal_dynamiclib_unix.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -flto -DNDEBUG -Wall -ffast-math -fno-strict-aliasing -I../../src -pthread -I/usr/include/SDL2 -D_REENTRANT "-I/usr/include/mupen64plus/" -fPIE '-DPLUGINDIR="/usr/lib/x86_64-linux-gnu/mupen64plus"' '-DCOREDIR="/usr/lib/x86_64-linux-gnu/"' -g -MD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -c -o _obj/osal_files_unix.o ../../src/osal_files_unix.c
../../src/main.c:889:5: error: initialization of ‘void (*)(void *, uint8_t)’ {aka ‘void (*)(void *, unsigned char)’} from incompatible pointer type ‘char * (*)(void *)’ [-Wincompatible-pointer-types]
889 | media_loader_get_dd_rom,
| ^~~~~~~~~~~~~~~~~~~~~~~
../../src/main.c:889:5: note: (near initialization for ‘l_media_loader.set_dd_rom_region’)
make[4]: *** [Makefile:353: _obj/main.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/<<PKGBUILDDIR>>/projects/unix'
dh_auto_build: error: cd projects/unix && make -j8 "INSTALL=install --strip-program=true" all V=1 UNAME=linux HOST_CPU=x86_64 APIDIR=/usr/include/mupen64plus/ DEBUG=1 PREFIX=/usr/ COREDIR=/usr/lib/x86_64-linux-gnu/ PLUGINDIR=/usr/lib/x86_64-linux-gnu/mupen64plus MANDIR=/usr/share/man/ BINDIR=/usr/games/ OPTFLAGS=-DNDEBUG PIE=1 SDL_CONFIG=sdl2-config returned exit code 2
make[3]: *** [debian/rules:26: override_dh_auto_build] Error 25
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [debian/rules:17: build] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:17: install] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:17: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Pkg-games-devel
mailing list