Bug#1121393: h5py: FTBFS with Python 3.14

Graham Inggs ginggs at debian.org
Tue Nov 25 18:55:04 GMT 2025


Source: h5py
Version: 3.15.1-3
Severity: important
Tags: ftbfs
User: debian-python at lists.debian.org
Usertags: python3.14

Hi Maintainer

h5py will FTBFS once Python 3.14 is added as a supported version in Debian.
I've copied what I hope is the relevant part of the log below, seen in Ubuntu,

It looks like lzf_filter.o is being linked more than once.

Regards
Graham


cd build-h5py_mpi; \
x86_64-linux-gnu-gcc `find . -name lzf_filter.o` -Wdate-time
-D_FORTIFY_SOURCE=3 -g -O2 -Werror=implicit-function-declaration
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/h5py-3.15.1-3
-I/usr/include/liblzf  -Wl,-Bsymbolic-functions
-Wl,--package-metadata={%22type%22:%22deb%22%2C%22os%22:%22ubuntu%22%2C%22name%22:%22h5py%22%2C%22version%22:%223.15.1-3%22%2C%22architecture%22:%22amd64%22}
-flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now
-I/usr/include/hdf5/openmpi
-I/usr/lib/x86_64-linux-gnu/openmpi/lib/../../fortran/gfortran-mod-16/openmpi
-I/usr/lib/x86_64-linux-gnu/openmpi/include
-I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi
-I/usr/include/liblzf -L/usr/lib/x86_64-linux-gnu/hdf5/openmpi -lhdf5
-L/usr/lib/x86_64-linux-gnu/openmpi/lib -lmpi_usempif08
-lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -llzf  -fPIC -shared -o
liblzf_filter.so
/usr/bin/ld: ./build/temp.linux-x86_64-cpython-314/<<PKGBUILDDIR>>/build-h5py_mpi/lzf/lzf_filter.o
(symbol from plugin): in function `lzf_set_local':
(.text+0x0): multiple definition of `lzf_set_local';
./build/temp.linux-x86_64-cpython-313/<<PKGBUILDDIR>>/build-h5py_mpi/lzf/lzf_filter.o
(symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: ./build/temp.linux-x86_64-cpython-314/<<PKGBUILDDIR>>/build-h5py_mpi/lzf/lzf_filter.o
(symbol from plugin): in function `lzf_set_local':
(.text+0x0): multiple definition of `lzf_filter';
./build/temp.linux-x86_64-cpython-313/<<PKGBUILDDIR>>/build-h5py_mpi/lzf/lzf_filter.o
(symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: ./build/temp.linux-x86_64-cpython-314/<<PKGBUILDDIR>>/build-h5py_mpi/lzf/lzf_filter.o
(symbol from plugin): in function `lzf_set_local':
(.text+0x0): multiple definition of `H5PLget_plugin_type';
./build/temp.linux-x86_64-cpython-313/<<PKGBUILDDIR>>/build-h5py_mpi/lzf/lzf_filter.o
(symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: ./build/temp.linux-x86_64-cpython-314/<<PKGBUILDDIR>>/build-h5py_mpi/lzf/lzf_filter.o
(symbol from plugin): in function `lzf_set_local':
(.text+0x0): multiple definition of `H5PLget_plugin_info';
./build/temp.linux-x86_64-cpython-313/<<PKGBUILDDIR>>/build-h5py_mpi/lzf/lzf_filter.o
(symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: ./build/temp.linux-x86_64-cpython-314/<<PKGBUILDDIR>>/build-h5py_mpi/lzf/lzf_filter.o
(symbol from plugin): in function `lzf_set_local':
(.text+0x0): multiple definition of `register_lzf';
./build/temp.linux-x86_64-cpython-313/<<PKGBUILDDIR>>/build-h5py_mpi/lzf/lzf_filter.o
(symbol from plugin):(.text+0x0): first defined here
collect2: error: ld returned 1 exit status



More information about the debian-science-maintainers mailing list