Bug#1075125: lablgl: ftbfs with GCC-14
Package: src:lablgl
Version: 1:1.07-1
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/lablgl_1.07-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
[...]
| ^~~~~~~~~~~~~~~~
ml_togl.c:52:7: error: implicit declaration of function ‘raise_with_string’; did you mean ‘caml_raise_with_string’? [-Wimplicit-function-declaration]
52 | raise_with_string(*caml_named_value("tkerror"), "Togl_Init failed");
| ^~~~~~~~~~~~~~~~~
| caml_raise_with_string
ml_togl.c: In function ‘callback_CreateFunc’:
ml_togl.c:80:3: error: implicit declaration of function ‘callback’; did you mean ‘calloc’? [-Wimplicit-function-declaration]
80 | { callback (Field(*callbacks, func), Val_addr(togl)); }
| ^~~~~~~~
ml_togl.c:91:1: note: in expansion of macro ‘CALLBACK’
91 | CALLBACK (CreateFunc)
| ^~~~~~~~
ml_togl.c: In function ‘ml_Togl_CreateFunc’:
ml_togl.c:87:36: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
87 | { if (callbacks == NULL) callbacks = caml_named_value ("togl_callbacks"); \
| ^
ml_togl.c:99:1: note: in expansion of macro ‘ENABLER’
99 | ENABLER (CreateFunc)
| ^~~~~~~
ml_togl.c: In function ‘ml_Togl_DisplayFunc’:
ml_togl.c:87:36: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
87 | { if (callbacks == NULL) callbacks = caml_named_value ("togl_callbacks"); \
| ^
ml_togl.c:100:1: note: in expansion of macro ‘ENABLER’
100 | ENABLER (DisplayFunc)
| ^~~~~~~
ml_togl.c: In function ‘ml_Togl_ReshapeFunc’:
ml_togl.c:87:36: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
87 | { if (callbacks == NULL) callbacks = caml_named_value ("togl_callbacks"); \
| ^
ml_togl.c:101:1: note: in expansion of macro ‘ENABLER’
101 | ENABLER (ReshapeFunc)
| ^~~~~~~
ml_togl.c: In function ‘ml_Togl_DestroyFunc’:
ml_togl.c:87:36: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
87 | { if (callbacks == NULL) callbacks = caml_named_value ("togl_callbacks"); \
| ^
ml_togl.c:102:1: note: in expansion of macro ‘ENABLER’
102 | ENABLER (DestroyFunc)
| ^~~~~~~
ml_togl.c: In function ‘ml_Togl_TimerFunc’:
ml_togl.c:87:36: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
87 | { if (callbacks == NULL) callbacks = caml_named_value ("togl_callbacks"); \
| ^
ml_togl.c:103:1: note: in expansion of macro ‘ENABLER’
103 | ENABLER (TimerFunc)
| ^~~~~~~
ml_togl.c: In function ‘ml_Togl_OverlayDisplayFunc’:
ml_togl.c:87:36: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
87 | { if (callbacks == NULL) callbacks = caml_named_value ("togl_callbacks"); \
| ^
ml_togl.c:104:1: note: in expansion of macro ‘ENABLER’
104 | ENABLER (OverlayDisplayFunc)
| ^~~~~~~
ml_togl.c: In function ‘ml_Togl_LoadBitmapFont’:
ml_togl.c:117:34: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
117 | if (Is_block(font)) fontname = String_val (Field(font,0));
| ^
ml_togl.c: In function ‘ml_Togl_DumpToEpsFile’:
ml_togl.c:145:38: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
145 | if (callbacks == NULL) callbacks = caml_named_value ("togl_callbacks");
| ^
make[3]: *** [../../Makefile.common:57: ml_togl.o] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/Togl/src'
make[2]: *** [Makefile:18: togl] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:21: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:13: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Reply to: