[Debian-pan-maintainers] Bug#1081092: pyobjcryst: FTBFS: ModuleNotFoundError: No module named 'numpy.distutils'
Santiago Vila
sanvila at debian.org
Sun Sep 8 00:53:49 BST 2024
Package: src:pyobjcryst
Version: 2.2.5-1
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary --with numpy3,python3 --buildsystem=pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
W: pybuild base:341: missing command (plugin=custom, method=configure, interpreter=python3.12, version=3.12)
dh_auto_build -O--buildsystem=pybuild
I: pybuild pybuild:308: mkdir -p debian/pyobjcryst
I: pybuild base:311: scons python=/usr/bin/python3.12 build=debug develop prefix=debian/pyobjcryst
scons: Reading SConscript files ...
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'numpy.distutils'
Checking if compiler allows '-fno-strict-overflow'... yes
Checking if compiler allows '-fno-strict-aliasing'... yes
Checking for C++ library ObjCryst... yes
Checking for C++ library boost_python312... yes
Traceback (most recent call last):
File "<string>", line 3, in <module>
File "/<<PKGBUILDDIR>>/setup.py", line 19, in <module>
from numpy.distutils.misc_util import get_numpy_include_dirs
ModuleNotFoundError: No module named 'numpy.distutils'
scons: done reading SConscript files.
scons: Building targets ...
/usr/bin/python3.12 -Wignore setup.py egg_info
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/setup.py", line 19, in <module>
from numpy.distutils.misc_util import get_numpy_include_dirs
ModuleNotFoundError: No module named 'numpy.distutils'
scons: *** [src/pyobjcryst.egg-info/PKG-INFO] Error 1
scons: building terminated because of errors.
E: pybuild pybuild:389: build: plugin custom failed with: exit code=2: scons python=/usr/bin/python3.12 build=debug develop prefix=debian/pyobjcryst
dh_auto_build: error: pybuild --build -i python{version} -p 3.12 returned exit code 13
make: *** [debian/rules:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202409/
About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.
If you could not 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 affects, so that this is still visible in the BTS web
page for this package.
Thanks.
More information about the Debian-pan-maintainers
mailing list