Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1021216: FTBS: ModuleNotFoundError: No module named 'docutils'

63 views
Skip to first unread message

Adam Borowski

unread,
Oct 3, 2022, 7:00:04 PM10/3/22
to
Source: arandr
Version: 0.1.10-1.1
Severity: important
User: debi...@lists.debian.org
Usertags: ftbs

Hi!
I'm afraid that your package fails to repack its source if only declared
Build-Depends are installed:

dpkg-source --before-build .
debian/rules clean
dh clean --with python3 --buildsystem=pybuild
dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:240: python3.10 setup.py clean
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/setup.py", line 26, in <module>
import docutils.core
ModuleNotFoundError: No module named 'docutils'
E: pybuild pybuild:379: clean: plugin distutils failed with: exit code=1: python3.10 setup.py clean
dh_auto_clean: error: pybuild --clean -i python{version} -p 3.10 returned exit code 13
make: *** [debian/rules:4: clean] Error 25

I guess that moving python3-docutils from Build-Depends-Indep to
Build-Depends should do the trick.


喵!
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (120, 'experimental'), (1, 'experimental-debug')
merged-usr: no
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.0.0-00071-gceb3937667d3 (SMP w/64 CPU threads)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

0 new messages