[Pkg-xmpp-devel] Bug#1102385: slidge-matridge: FTBFS: ModuleNotFoundError: No module named 'slidge.__version__'
Santiago Vila
sanvila at debian.org
Tue Apr 8 13:51:52 BST 2025
Package: src:slidge-matridge
Version: 0.2.2-1
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --with python3,sphinxdoc --buildsystem=pybuild
dh_auto_clean -O--buildsystem=pybuild
dh_autoreconf_clean -O--buildsystem=pybuild
dh_clean -O--buildsystem=pybuild
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
dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_matridge
* Building wheel...
running bdist_wheel
running build
running build_py
creating build/lib/matridge
copying matridge/matrix.py -> build/lib/matridge
copying matridge/util.py -> build/lib/matridge
copying matridge/group.py -> build/lib/matridge
copying matridge/__main__.py -> build/lib/matridge
copying matridge/contact.py -> build/lib/matridge
copying matridge/session.py -> build/lib/matridge
copying matridge/config.py -> build/lib/matridge
copying matridge/command.py -> build/lib/matridge
copying matridge/gateway.py -> build/lib/matridge
copying matridge/__init__.py -> build/lib/matridge
copying matridge/reactions.py -> build/lib/matridge
running egg_info
creating matridge.egg-info
writing matridge.egg-info/PKG-INFO
writing dependency_links to matridge.egg-info/dependency_links.txt
writing entry points to matridge.egg-info/entry_points.txt
writing requirements to matridge.egg-info/requires.txt
writing top-level names to matridge.egg-info/top_level.txt
writing manifest file 'matridge.egg-info/SOURCES.txt'
reading manifest file 'matridge.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'matridge.egg-info/SOURCES.txt'
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/matridge
copying build/lib/matridge/matrix.py -> build/bdist.linux-x86_64/wheel/./matridge
copying build/lib/matridge/util.py -> build/bdist.linux-x86_64/wheel/./matridge
copying build/lib/matridge/group.py -> build/bdist.linux-x86_64/wheel/./matridge
copying build/lib/matridge/__main__.py -> build/bdist.linux-x86_64/wheel/./matridge
copying build/lib/matridge/contact.py -> build/bdist.linux-x86_64/wheel/./matridge
copying build/lib/matridge/session.py -> build/bdist.linux-x86_64/wheel/./matridge
copying build/lib/matridge/config.py -> build/bdist.linux-x86_64/wheel/./matridge
copying build/lib/matridge/command.py -> build/bdist.linux-x86_64/wheel/./matridge
copying build/lib/matridge/gateway.py -> build/bdist.linux-x86_64/wheel/./matridge
copying build/lib/matridge/__init__.py -> build/bdist.linux-x86_64/wheel/./matridge
copying build/lib/matridge/reactions.py -> build/bdist.linux-x86_64/wheel/./matridge
running install_egg_info
Copying matridge.egg-info to build/bdist.linux-x86_64/wheel/./matridge-0.0.0.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/matridge-0.0.0.dist-info/WHEEL
creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_matridge/.tmp-nswxbek0/matridge-0.0.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'matridge/__init__.py'
adding 'matridge/__main__.py'
adding 'matridge/command.py'
adding 'matridge/config.py'
adding 'matridge/contact.py'
adding 'matridge/gateway.py'
adding 'matridge/group.py'
adding 'matridge/matrix.py'
adding 'matridge/reactions.py'
adding 'matridge/session.py'
adding 'matridge/util.py'
adding 'matridge-0.0.0.dist-info/LICENSE'
adding 'matridge-0.0.0.dist-info/METADATA'
adding 'matridge-0.0.0.dist-info/WHEEL'
adding 'matridge-0.0.0.dist-info/entry_points.txt'
adding 'matridge-0.0.0.dist-info/top_level.txt'
adding 'matridge-0.0.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built matridge-0.0.0-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with "installer" module
debian/rules execute_after_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
PYTHONPATH=$(pwd); export PYTHONPATH; cd docs; sphinx-build -M html "source" "build"
Running Sphinx v8.1.3
Using slower stringprep, consider using cargo to build the faster version in rust.
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/source/conf.py", line 8, in <module>
from slidge.__version__ import __version__ as slidge_version
ModuleNotFoundError: No module named 'slidge.__version__'
make[1]: *** [debian/rules:11: execute_after_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/202504/
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 add an affects on src:slidge-matridge, so that this is still
visible in the BTS web page for this package.
Thanks.
More information about the Pkg-xmpp-devel
mailing list