[Debian-med-packaging] Bug#1097188: libgclib: ftbfs with GCC-15
Matthias Klose
doko at debian.org
Mon Feb 17 17:31:11 GMT 2025
Package: src:libgclib
Version: 0.12.7+ds-5
Severity: important
Tags: sid forky
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-15
[This bug is NOT 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-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.
The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/libgclib_0.12.7+ds-5_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.
To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other 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-15/porting_to.html
[...]
make[2]: Leaving directory '/build/reproducible-path/libgclib-0.12.7+ds'
make[1]: Leaving directory '/build/reproducible-path/libgclib-0.12.7+ds'
debian/rules override_dh_install
make[1]: Entering directory '/build/reproducible-path/libgclib-0.12.7+ds'
dh_install
d-shlibmove --commit \
--multiarch \
--devunversioned \
--exclude-la \
--movedev debian/tmp/usr/include usr \
--movedev "debian/tmp/usr/lib/*/pkgconfig/*.pc" usr/lib/x86_64-linux-gnu/pkgconfig \
debian/tmp/usr/lib/*/*.so
Library package automatic movement utility
set -e
install -d -m 755 debian/libgclib-dev/usr/lib/x86_64-linux-gnu
install -d -m 755 debian/libgclib3/usr/lib/x86_64-linux-gnu
mv debian/tmp/usr/lib/x86_64-linux-gnu/libgclib.a debian/libgclib-dev/usr/lib/x86_64-linux-gnu
mv debian/tmp/usr/lib/x86_64-linux-gnu/libgclib.so debian/libgclib-dev/usr/lib/x86_64-linux-gnu
mv /build/reproducible-path/libgclib-0.12.7+ds/debian/tmp/usr/lib/x86_64-linux-gnu/libgclib.so.3 debian/libgclib3/usr/lib/x86_64-linux-gnu
mv /build/reproducible-path/libgclib-0.12.7+ds/debian/tmp/usr/lib/x86_64-linux-gnu/libgclib.so.3.0.0 debian/libgclib3/usr/lib/x86_64-linux-gnu
PKGDEV=libgclib-dev
PKGSHL=libgclib3
install -d -m 755 debian/libgclib-dev/usr
mv debian/tmp/usr/include debian/libgclib-dev/usr
install -d -m 755 debian/libgclib-dev/usr/lib/x86_64-linux-gnu/pkgconfig
mv debian/tmp/usr/lib/*/pkgconfig/*.pc debian/libgclib-dev/usr/lib/x86_64-linux-gnu/pkgconfig
mkdir debian/libgclib-dev/usr/include/gclib
mv debian/libgclib-dev/usr/include/*.h* debian/libgclib-dev/usr/include/gclib
sed -i '/PACKAGE_NAME/d' debian/libgclib-dev/usr/include/gclib/config.h
# delete header files of not compiled C++ source files
find debian/libgclib-dev -name gdimg.h -delete
find debian/libgclib-dev -name GBam.h -delete
make[1]: Leaving directory '/build/reproducible-path/libgclib-0.12.7+ds'
dh_installdocs
dh_installchangelogs
debian/rules override_dh_installexamples
make[1]: Entering directory '/build/reproducible-path/libgclib-0.12.7+ds'
dh_installexamples
chmod a-x debian/libgclib-dev/usr/share/doc/libgclib-dev/examples/*
make[1]: Leaving directory '/build/reproducible-path/libgclib-0.12.7+ds'
dh_perl
dh_link
dh_strip_nondeterminism
dh_compress
dh_fixperms
dh_missing
dh_dwz -a
dh_strip -a
dh_makeshlibs -a
dpkg-gensymbols: error: some symbols or patterns disappeared in the symbols file: see diff output below
dpkg-gensymbols: warning: debian/libgclib3/DEBIAN/symbols doesn't match completely debian/libgclib3.symbols.amd64
--- debian/libgclib3.symbols.amd64 (libgclib3_0.12.7+ds-5_amd64)
+++ dpkg-gensymbolsdxWDUK 2025-02-16 03:22:59.576107786 +0000
@@ -323,10 +323,10 @@
_ZN5GListI6GXBandE18DefaultCompareProcEPvS2_ at Base 0.11.4
_ZN5GListI6GXSeedE18DefaultCompareProcEPvS2_ at Base 0.11.4
_ZN5GListI6GffObjE18DefaultCompareProcEPvS2_ at Base 0.11.4
- _ZN5GListI6NucOriE18DefaultCompareProcEPvS2_ at Base 0.11.4
- _ZN5GListI7GffAttrE18DefaultCompareProcEPvS2_ at Base 0.11.4
+#MISSING: 0.12.7+ds-5# _ZN5GListI6NucOriE18DefaultCompareProcEPvS2_ at Base 0.11.4
+#MISSING: 0.12.7+ds-5# _ZN5GListI7GffAttrE18DefaultCompareProcEPvS2_ at Base 0.11.4
_ZN5GListI7GffExonE18DefaultCompareProcEPvS2_ at Base 0.11.4
- _ZN5GListI8SeqDelOpE18DefaultCompareProcEPvS2_ at Base 0.11.4
+#MISSING: 0.12.7+ds-5# _ZN5GListI8SeqDelOpE18DefaultCompareProcEPvS2_ at Base 0.11.4
_ZN5GListI9GFastaRecE18DefaultCompareProcEPvS2_ at Base 0.11.4
_ZN5GListI9GXAlnInfoE18DefaultCompareProcEPvS2_ at Base 0.11.4
_ZN5GPVecI11GffNameInfoE15DefaultFreeProcEPv at Base 0.11.4
dh_makeshlibs: error: failing due to earlier errors
make: *** [debian/rules:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Debian-med-packaging
mailing list