[Debichem-devel] Bug#1125654: phonopy: FTBFS: E ModuleNotFoundError: No module named 'h5py'
Santiago Vila
sanvila at debian.org
Thu Jan 15 16:54:28 GMT 2026
Package: src:phonopy
Version: 2.47.1-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202601/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:phonopy, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
ImportError while loading conftest '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_phonopy/build/test/conftest.py'.
test/conftest.py:11: in <module>
import phonopy
phonopy/__init__.py:37: in <module>
from phonopy.api_gruneisen import PhonopyGruneisen
phonopy/api_gruneisen.py:43: in <module>
from phonopy.api_phonopy import Phonopy
phonopy/api_phonopy.py:77: in <module>
from phonopy.phonon.band_structure import BandStructure, get_band_qpoints_by_seekpath
phonopy/phonon/band_structure.py:45: in <module>
import h5py
E ModuleNotFoundError: No module named 'h5py'
E: pybuild pybuild:483: test: plugin pyproject failed with: exit code=4: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_phonopy/build; python3.14 -m pytest -k 'not test_symfc_cutoff'
I: pybuild base:384: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_phonopy/build; python3.13 -m pytest -k 'not test_symfc_cutoff'
ImportError while loading conftest '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_phonopy/build/test/conftest.py'.
test/conftest.py:11: in <module>
import phonopy
phonopy/__init__.py:37: in <module>
from phonopy.api_gruneisen import PhonopyGruneisen
phonopy/api_gruneisen.py:43: in <module>
from phonopy.api_phonopy import Phonopy
phonopy/api_phonopy.py:77: in <module>
from phonopy.phonon.band_structure import BandStructure, get_band_qpoints_by_seekpath
phonopy/phonon/band_structure.py:45: in <module>
import h5py
E ModuleNotFoundError: No module named 'h5py'
E: pybuild pybuild:483: test: plugin pyproject failed with: exit code=4: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_phonopy/build; python3.13 -m pytest -k 'not test_symfc_cutoff'
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" returned exit code 13
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the Debichem-devel
mailing list