Bug#1084380: spaghetti: FTBFS: ModuleNotFoundError: No module named 'matplotlib'
Santiago Vila
sanvila at debian.org
Mon Oct 7 09:42:16 BST 2024
Package: src:spaghetti
Version: 1.7.6-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 python3,sphinxdoc --buildsystem=pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" module
I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spaghetti
* Building wheel...
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/spaghetti
copying spaghetti/network.py -> build/lib/spaghetti
copying spaghetti/__init__.py -> build/lib/spaghetti
copying spaghetti/util.py -> build/lib/spaghetti
copying spaghetti/analysis.py -> build/lib/spaghetti
creating build/lib/spaghetti/tests
copying spaghetti/tests/__init__.py -> build/lib/spaghetti/tests
copying spaghetti/tests/test_network.py -> build/lib/spaghetti/tests
running egg_info
creating spaghetti.egg-info
writing spaghetti.egg-info/PKG-INFO
writing dependency_links to spaghetti.egg-info/dependency_links.txt
writing requirements to spaghetti.egg-info/requires.txt
writing top-level names to spaghetti.egg-info/top_level.txt
writing manifest file 'spaghetti.egg-info/SOURCES.txt'
reading manifest file 'spaghetti.egg-info/SOURCES.txt'
adding license file 'LICENSE.txt'
writing manifest file 'spaghetti.egg-info/SOURCES.txt'
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/spaghetti
copying build/lib/spaghetti/network.py -> build/bdist.linux-x86_64/wheel/./spaghetti
copying build/lib/spaghetti/__init__.py -> build/bdist.linux-x86_64/wheel/./spaghetti
creating build/bdist.linux-x86_64/wheel/spaghetti/tests
copying build/lib/spaghetti/tests/__init__.py -> build/bdist.linux-x86_64/wheel/./spaghetti/tests
copying build/lib/spaghetti/tests/test_network.py -> build/bdist.linux-x86_64/wheel/./spaghetti/tests
copying build/lib/spaghetti/util.py -> build/bdist.linux-x86_64/wheel/./spaghetti
copying build/lib/spaghetti/analysis.py -> build/bdist.linux-x86_64/wheel/./spaghetti
running install_egg_info
Copying spaghetti.egg-info to build/bdist.linux-x86_64/wheel/./spaghetti-1.7.6.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/spaghetti-1.7.6.dist-info/WHEEL
creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spaghetti/.tmp-dtr99ug8/spaghetti-1.7.6-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'spaghetti/__init__.py'
adding 'spaghetti/analysis.py'
adding 'spaghetti/network.py'
adding 'spaghetti/util.py'
adding 'spaghetti/tests/__init__.py'
adding 'spaghetti/tests/test_network.py'
adding 'spaghetti-1.7.6.dist-info/LICENSE.txt'
adding 'spaghetti-1.7.6.dist-info/METADATA'
adding 'spaghetti-1.7.6.dist-info/WHEEL'
adding 'spaghetti-1.7.6.dist-info/top_level.txt'
adding 'spaghetti-1.7.6.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built spaghetti-1.7.6-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with "installer" module
PYTHONPATH=. https_proxy='https://127.0.0.1:9/' no_proxy=localhost python3 -m sphinx -N -bhtml docs/ debian/html
Running Sphinx v7.4.7
Configuration error:
There is a programmable error in your configuration file:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sphinx/config.py", line 529, in eval_config_file
exec(code, namespace) # NoQA: S102
^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/docs/conf.py", line 13, in <module>
import spaghetti
File "/<<PKGBUILDDIR>>/spaghetti/__init__.py", line 8, in <module>
from .network import (
File "/<<PKGBUILDDIR>>/spaghetti/network.py", line 11, in <module>
import esda
File "/usr/lib/python3/dist-packages/esda/__init__.py", line 29, in <module>
from .moran import (
File "/usr/lib/python3/dist-packages/esda/moran.py", line 19, in <module>
from matplotlib import colors
ModuleNotFoundError: No module named 'matplotlib'
make[1]: *** [debian/rules:13: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: binary] Error 2
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/202410/
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 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-science-maintainers
mailing list