Bug#1074966: freedroidrpg: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:26:48 BST 2024
Package: src:freedroidrpg
Version: 1.0-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/freedroidrpg_1.0-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
[...]
graphics.c:578:24: error: passing argument 2 of ‘DebugPrintf’ from incompatible pointer type [-Wincompatible-pointer-types]
578 | DebugPrintf(1, stderr, "\n-OpenGL--------------------------------------------------------------------------");
| ^~~~~~
| |
| FILE *
In file included from graphics.c:38:
proto.h:721:44: note: expected ‘const char *’ but argument is of type ‘FILE *’
721 | void DebugPrintf(int db_level, const char *fmt, ...) PRINTF_FMT_ATTRIBUTE(2,3);
| ~~~~~~~~~~~~^~~
graphics.c:579:24: error: passing argument 2 of ‘DebugPrintf’ from incompatible pointer type [-Wincompatible-pointer-types]
579 | DebugPrintf(1, stderr, "\nVendor : %s", glGetString(GL_VENDOR));
| ^~~~~~
| |
| FILE *
proto.h:721:44: note: expected ‘const char *’ but argument is of type ‘FILE *’
721 | void DebugPrintf(int db_level, const char *fmt, ...) PRINTF_FMT_ATTRIBUTE(2,3);
| ~~~~~~~~~~~~^~~
graphics.c:581:24: error: passing argument 2 of ‘DebugPrintf’ from incompatible pointer type [-Wincompatible-pointer-types]
581 | DebugPrintf(1, stderr, "\nRenderer : %s", glGetString(GL_RENDERER));
| ^~~~~~
| |
| FILE *
proto.h:721:44: note: expected ‘const char *’ but argument is of type ‘FILE *’
721 | void DebugPrintf(int db_level, const char *fmt, ...) PRINTF_FMT_ATTRIBUTE(2,3);
| ~~~~~~~~~~~~^~~
graphics.c:583:24: error: passing argument 2 of ‘DebugPrintf’ from incompatible pointer type [-Wincompatible-pointer-types]
583 | DebugPrintf(1, stderr, "\nVersion : %s", glGetString(GL_VERSION));
| ^~~~~~
| |
| FILE *
proto.h:721:44: note: expected ‘const char *’ but argument is of type ‘FILE *’
721 | void DebugPrintf(int db_level, const char *fmt, ...) PRINTF_FMT_ATTRIBUTE(2,3);
| ~~~~~~~~~~~~^~~
graphics.c:585:24: error: passing argument 2 of ‘DebugPrintf’ from incompatible pointer type [-Wincompatible-pointer-types]
585 | DebugPrintf(1, stderr, "\nExtensions : %s", glGetString(GL_EXTENSIONS));
| ^~~~~~
| |
| FILE *
proto.h:721:44: note: expected ‘const char *’ but argument is of type ‘FILE *’
721 | void DebugPrintf(int db_level, const char *fmt, ...) PRINTF_FMT_ATTRIBUTE(2,3);
| ~~~~~~~~~~~~^~~
graphics.c:587:24: error: passing argument 2 of ‘DebugPrintf’ from incompatible pointer type [-Wincompatible-pointer-types]
587 | DebugPrintf(1, stderr, "\n\n");
| ^~~~~~
| |
| FILE *
proto.h:721:44: note: expected ‘const char *’ but argument is of type ‘FILE *’
721 | void DebugPrintf(int db_level, const char *fmt, ...) PRINTF_FMT_ATTRIBUTE(2,3);
| ~~~~~~~~~~~~^~~
graphics.c: In function ‘set_video_mode_for_open_gl’:
graphics.c:709:32: error: passing argument 2 of ‘DebugPrintf’ from incompatible pointer type [-Wincompatible-pointer-types]
709 | DebugPrintf(1, stderr, "\nvideo mode set (bpp=%d RGBA=%d%d%d%d depth=%d)",
| ^~~~~~
| |
| FILE *
proto.h:721:44: note: expected ‘const char *’ but argument is of type ‘FILE *’
721 | void DebugPrintf(int db_level, const char *fmt, ...) PRINTF_FMT_ATTRIBUTE(2,3);
| ~~~~~~~~~~~~^~~
make[4]: *** [Makefile:858: graphics.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[3]: *** [Makefile:532: all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:618: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:494: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Pkg-games-devel
mailing list