Subject: shapetools: ftbfs with GCC-14

From: Matthias Klose <[email-masked]>
Date: Wed, 03 Jul 2024 12:43:59 +0000

Package: src:shapetools
Version: 1.4pl6-16.1
Severity: important
Tags: sid trixie
User: [email-masked]
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/shapetools_1.4pl6-16.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

[...]
make[6]: Leaving directory '/<<PKGBUILDDIR>>/src/vc/scripts'
make[5]: Leaving directory '/<<PKGBUILDDIR>>/src/vc/scripts'
cd vadm
make[5]: Entering directory '/<<PKGBUILDDIR>>/src/vc/vadm'
make[6]: Entering directory '/<<PKGBUILDDIR>>/src/vc/vadm'
rm -f vadm sbmt publ accs frze vrm vattr vadm.o dovadm.o vadmversion.o	
make[6]: Leaving directory '/<<PKGBUILDDIR>>/src/vc/vadm'
make[5]: Leaving directory '/<<PKGBUILDDIR>>/src/vc/vadm'
cd vfind
make[5]: Entering directory '/<<PKGBUILDDIR>>/src/vc/vfind'
make[6]: Entering directory '/<<PKGBUILDDIR>>/src/vc/vfind'
rm -f vfind  vfind.o vfversion.o	
make[6]: Leaving directory '/<<PKGBUILDDIR>>/src/vc/vfind'
make[5]: Leaving directory '/<<PKGBUILDDIR>>/src/vc/vfind'
cd vl
make[5]: Entering directory '/<<PKGBUILDDIR>>/src/vc/vl'
make[6]: Entering directory '/<<PKGBUILDDIR>>/src/vc/vl'
rm -f vl vlog vl.o display.o vlversion.o	
make[6]: Leaving directory '/<<PKGBUILDDIR>>/src/vc/vl'
make[5]: Leaving directory '/<<PKGBUILDDIR>>/src/vc/vl'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/vc'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/vc'
cd src/rms
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/rms'
make[4]: Entering directory '/<<PKGBUILDDIR>>/src/rms'
rm -f sfind lastrelease  
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/rms'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/rms'
rm -f    \
lib/libAtFS.a.old lib/libAtFS.a lib/libsttk.a.old \
lib/libsttk.a lib/libAtFStk.a.old lib/libAtFStk.a \
lib/libAtFS.so* \
lib/libsttk.so* \
lib/libAtFStk.so* \
include/atfs.h include/afsys.h include/config.h \
include/sttk.h include/atfstk.h
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
/usr/bin/make doclean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f    \
lib/libAtFS.a.old lib/libAtFS.a lib/libsttk.a.old \
lib/libsttk.a lib/libAtFStk.a.old lib/libAtFStk.a \
lib/libAtFS.so* \
lib/libsttk.so* \
lib/libAtFStk.so* \
include/atfs.h include/afsys.h include/config.h \
include/sttk.h include/atfstk.h
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
/usr/bin/make -C vgrep-2.0 -f Makefile.in distclean
make[1]: Entering directory '/<<PKGBUILDDIR>>/vgrep-2.0'
rm -f core vgrep *.o check.done tmp.script khadafy.out
rm -f Makefile config.status
make[1]: Leaving directory '/<<PKGBUILDDIR>>/vgrep-2.0'
rm -f config.{cache,log,status}
find src -name '*.so*' | xargs rm -f
dh_clean
 debian/rules build
dh_testdir
rm -f build-stamp
chmod a+x configure
MAKECFLAGS="-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -Wno-unused-result -Wno-implicit-int -Wno-discarded-qualifiers -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast" \
MAKELDFLAGS="-Wl,-z,relro" \
CC=gcc ./configure --prefix=/usr --enable-shared
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
make: *** [debian/rules:91: build-stamp] Error 1
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2