[Debian-med-packaging] Bug#1074893: ctn: ftbfs with GCC-14

Matthias Klose doko at debian.org
Wed Jul 3 13:24:39 BST 2024


Package: src:ctn
Version: 3.2.0~dfsg-7.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/ctn_3.2.0~dfsg-7.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

[...]
ln -s ../facilities/tbl/tblprivate.h /<<PKGBUILDDIR>>/libsrc
ln -s ../facilities/tbl/tblcond.c /<<PKGBUILDDIR>>/libsrc
ln -s ../facilities/tbl/tbl_sqlserver.c /<<PKGBUILDDIR>>/libsrc
ln -s ../facilities/tbl/tbl_sqlserver.h /<<PKGBUILDDIR>>/libsrc
ln -s ../facilities/tbl/tbl_sybase.c /<<PKGBUILDDIR>>/libsrc
ln -s ../facilities/tbl/tbl_sybase.h /<<PKGBUILDDIR>>/libsrc
ln -s ../facilities/tbl/tbl_msql.c /<<PKGBUILDDIR>>/libsrc
ln -s ../facilities/tbl/tbl_msql.h /<<PKGBUILDDIR>>/libsrc
ln -s ../facilities/tbl/tbl_mysql.c /<<PKGBUILDDIR>>/libsrc
ln -s ../facilities/tbl/tbl_mysql.h /<<PKGBUILDDIR>>/libsrc
ln -s ../facilities/tbl/tbl_psql.c /<<PKGBUILDDIR>>/libsrc
ln -s ../facilities/tbl/tbl_psql.h /<<PKGBUILDDIR>>/libsrc
ln -s ../facilities/tbl/ufs.c /<<PKGBUILDDIR>>/libsrc
make[4]: Leaving directory '/<<PKGBUILDDIR>>/facilities/tbl'
cd tblmb		; make links
make[4]: Entering directory '/<<PKGBUILDDIR>>/facilities/tblmb'
rm -f /<<PKGBUILDDIR>>/libsrc/tblmb.h /<<PKGBUILDDIR>>/libsrc/tblmb_ufs.h
rm -f /<<PKGBUILDDIR>>/libsrc/tblmbprivate.h /<<PKGBUILDDIR>>/libsrc/tblmbcond.c
rm -f /<<PKGBUILDDIR>>/libsrc/tblmb_sqlserver.c /<<PKGBUILDDIR>>/libsrc/tblmb_sqlserver.h
rm -f /<<PKGBUILDDIR>>/libsrc/tblmb_sybase.c /<<PKGBUILDDIR>>/libsrc/tblmb_sybase.h
rm -f /<<PKGBUILDDIR>>/libsrc/tblmb_msql.c /<<PKGBUILDDIR>>/libsrc/tblmb_msql.h
rm -f /<<PKGBUILDDIR>>/libsrc/tblmb_psql.c /<<PKGBUILDDIR>>/libsrc/tblmb_psql.h
rm -f /<<PKGBUILDDIR>>/libsrc/ufs.c
ln -s ../facilities/tblmb/tblmb.h /<<PKGBUILDDIR>>/libsrc
ln -s ../facilities/tblmb/tblmbprivate.h /<<PKGBUILDDIR>>/libsrc
ln -s ../facilities/tblmb/tblmbcond.c /<<PKGBUILDDIR>>/libsrc
ln -s ../facilities/tblmb/tblmb_psql.c /<<PKGBUILDDIR>>/libsrc
ln -s ../facilities/tblmb/tblmb_psql.h /<<PKGBUILDDIR>>/libsrc
make[4]: Leaving directory '/<<PKGBUILDDIR>>/facilities/tblmb'
cd thread		; make links
make[4]: Entering directory '/<<PKGBUILDDIR>>/facilities/thread'
rm -f /<<PKGBUILDDIR>>/libsrc/ctnthread.h /<<PKGBUILDDIR>>/libsrc/ctnthread.c
rm -f /<<PKGBUILDDIR>>/libsrc/thrcond.c 
ln -s ../facilities/thread/ctnthread.h /<<PKGBUILDDIR>>/libsrc
ln -s ../facilities/thread/ctnthread.c /<<PKGBUILDDIR>>/libsrc
ln -s ../facilities/thread/thrcond.c /<<PKGBUILDDIR>>/libsrc
make[4]: Leaving directory '/<<PKGBUILDDIR>>/facilities/thread'
cd uid			; make links
make[4]: Entering directory '/<<PKGBUILDDIR>>/facilities/uid'
rm -f /<<PKGBUILDDIR>>/libsrc/uid.c /<<PKGBUILDDIR>>/libsrc/uidcond.c
rm -f /<<PKGBUILDDIR>>/libsrc/dicom_uids.h
ln -s ../facilities/uid/uid.c /<<PKGBUILDDIR>>/libsrc
ln -s ../facilities/uid/uidcond.c /<<PKGBUILDDIR>>/libsrc
ln -s ../facilities/uid/dicom_uids.h /<<PKGBUILDDIR>>/libsrc
make[4]: Leaving directory '/<<PKGBUILDDIR>>/facilities/uid'
cd utility		; make links
make[4]: Entering directory '/<<PKGBUILDDIR>>/facilities/utility'
rm -f /<<PKGBUILDDIR>>/libsrc/utility.h /<<PKGBUILDDIR>>/libsrc/utility.c
ln -s ../facilities/utility/utility.h /<<PKGBUILDDIR>>/libsrc
ln -s ../facilities/utility/utility.c /<<PKGBUILDDIR>>/libsrc
make[4]: Leaving directory '/<<PKGBUILDDIR>>/facilities/utility'
cd xutl			; make links
make[4]: Entering directory '/<<PKGBUILDDIR>>/facilities/xutl'
rm -f /<<PKGBUILDDIR>>/libsrc/xutl.h /<<PKGBUILDDIR>>/libsrc/xutl.c /<<PKGBUILDDIR>>/libsrc/xutl_mb.c
ln -s ../facilities/xutl/xutl.h /<<PKGBUILDDIR>>/libsrc
ln -s ../facilities/xutl/xutl.c /<<PKGBUILDDIR>>/libsrc
make[4]: Leaving directory '/<<PKGBUILDDIR>>/facilities/xutl'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/facilities'
cd libsrc;		make install
make[3]: Entering directory '/<<PKGBUILDDIR>>/libsrc'
gcc -g -DDEBUG -D -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/<<PKGBUILDDIR>>/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/<<PKGBUILDDIR>>/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o build.o build.c
<command-line>: error: macro names must be identifiers
make[3]: *** [<builtin>: build.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/libsrc'
make[2]: *** [Makefile:5: install] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:35: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debian-med-packaging mailing list