[Debichem-devel] Bug#1077646: apbs: ftbfs with GCC-14
Olivier Gayot
olivier.gayot at canonical.com
Wed Jul 31 10:10:51 BST 2024
Source: apbs
Severity: important
Dear Maintainer,
When trying to build apbs using GCC-14, the build fails:
[ 59%] Building C object _deps/fetk-build/punc/src/vf2c/CMakeFiles/vf2c.dir/main.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/_deps/fetk-build/punc/src/vf2c && /usr/bin/cc -Dvf2c_EXPORTS -I/<<PKGBUILDDIR>>/debian/external_deps/fetk/punc/src/vf2c -I/<<PKGBUILDDIR>>/debian/external_deps/fetk/punc/src/vf2c/punc -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 -fcommon -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc -O2 -g -DNDEBUG -fPIC -fPIC -MD -MT _deps/fetk-build/punc/src/vf2c/CMakeFiles/vf2c.dir/main.c.o -MF CMakeFiles/vf2c.dir/main.c.o.d -o CMakeFiles/vf2c.dir/main.c.o -c /<<PKGBUILDDIR>>/debian/external_deps/fetk/punc/src/vf2c/main.c
/<<PKGBUILDDIR>>/debian/external_deps/fetk/punc/src/vf2c/main.c:115:1: error: return type defaults to ‘int’ [-Wimplicit-int]
115 | main(int argc, char **argv)
| ^~~~
make[3]: *** [_deps/fetk-build/punc/src/vf2c/CMakeFiles/vf2c.dir/build.make:2207: _deps/fetk-build/punc/src/vf2c/CMakeFiles/vf2c.dir/main.c.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:764: _deps/fetk-build/punc/src/vf2c/CMakeFiles/vf2c.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 59%] Linking CXX shared library libgamer.so
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/_deps/fetk-build/gamer/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/gamer.dir/link.txt --verbose=1
This is on amd64 but other architectures are most likely affected too.
Thanks,
Olivier
-- System Information:
Debian Release: trixie/sid
APT prefers noble-updates
APT policy: (500, 'noble-updates'), (500, 'noble-security'), (500, 'noble'), (100, 'noble-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.8.0-39-generic (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
More information about the Debichem-devel
mailing list