Bug#1075127: labltk: ftbfs with GCC-14
Package: src:labltk
Version: 8.06.13-2
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/labltk_8.06.13-2_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[3]: Leaving directory '/<<PKGBUILDDIR>>/examples_camltk'
make[3]: Entering directory '/<<PKGBUILDDIR>>/browser'
rm -f *.cm? ocamlbrowser dummy.ml *~ *.orig *.o help.ml
make[3]: Leaving directory '/<<PKGBUILDDIR>>/browser'
for d in camltk labltk; do \
cd $d; make -f Makefile.gen clean; cd ..; \
done
make[3]: Entering directory '/<<PKGBUILDDIR>>/camltk'
rm -f *.cm* *.ml *.mli *.o *.a .depend
make[3]: Leaving directory '/<<PKGBUILDDIR>>/camltk'
make[3]: Entering directory '/<<PKGBUILDDIR>>/labltk'
rm -f *.cm* *.ml *.mli *.o *.a .depend
make[3]: Leaving directory '/<<PKGBUILDDIR>>/labltk'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
rm -f config/Makefile config/auto-aux/tst config/auto-aux/hasgot.c
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_ocamlclean
dh_clean
debian/rules binary
dh binary --with ocaml
dh_update_autotools_config
dh_autoreconf
dh_ocamlinit
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
./configure -use-findlib -installbindir /<<PKGBUILDDIR>>/debian/tmp/usr/bin
Configuring LablTk...
tcl.h and/or tk.h not found.
** Configuration summary **
The "labltk" library: not supported
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make library
make[2]: Entering directory '/<<PKGBUILDDIR>>'
cd support; /usr/bin/make
make[3]: Entering directory '/<<PKGBUILDDIR>>/support'
/usr/bin/ocamlc.opt -c -I +unix support.mli
/usr/bin/ocamlc.opt -c -I +unix support.ml
/usr/bin/ocamlc.opt -c -I +unix rawwidget.mli
/usr/bin/ocamlc.opt -c -I +unix rawwidget.ml
/usr/bin/ocamlc.opt -c -I +unix widget.mli
/usr/bin/ocamlc.opt -c -I +unix widget.ml
/usr/bin/ocamlc.opt -c -I +unix protocol.mli
/usr/bin/ocamlc.opt -c -I +unix protocol.ml
/usr/bin/ocamlc.opt -c -I +unix textvariable.mli
/usr/bin/ocamlc.opt -c -I +unix textvariable.ml
/usr/bin/ocamlc.opt -c -I +unix timer.mli
/usr/bin/ocamlc.opt -c -I +unix timer.ml
/usr/bin/ocamlc.opt -c -I +unix fileevent.mli
/usr/bin/ocamlc.opt -c -I +unix fileevent.ml
/usr/bin/ocamlc.opt -c -I +unix camltkwrap.mli
/usr/bin/ocamlc.opt -c -I +unix camltkwrap.ml
/usr/bin/ocamlc.opt -c -I +unix -I +threads -I vmthreads tkthread.mli
/usr/bin/ocamlc.opt -c -I +unix -I +threads -I vmthreads tkthread.ml
x86_64-linux-gnu-gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -g -O2 -Werror=implicit-function-declaration -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/lib/ocaml/caml -c cltkCaml.c
cltkCaml.c:19:10: fatal error: tcl.h: No such file or directory
19 | #include <tcl.h>
| ^~~~~~~
compilation terminated.
make[3]: *** [Makefile:89: cltkCaml.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/support'
make[2]: *** [Makefile:32: library] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:19: 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: