[Debian-med-packaging] Bug#944898: FTBFS: missing build-dependency python3-setuptools-scm

Hans Joachim Desserud debian at desserud.org
Sun Nov 17 12:25:13 GMT 2019


Source: python-dnaio
Version: 0.4-1
Severity: serious

Dear Maintainer,

python-dnaio currently fails to build from source with the following 
error message:
No local packages or working download links found for setuptools_scm
Traceback (most recent call last):
   File "setup.py", line 86, in <module>
     "Topic :: Scientific/Engineering :: Bio-Informatics"
   File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 
144, in setup
     _install_setup_requires(attrs)
   File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 
139, in _install_setup_requires
     dist.fetch_build_eggs(dist.setup_requires)
   File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 720, in 
fetch_build_eggs
     replace_conflicting=True,
   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 
782, in resolve
     replace_conflicting=replace_conflicting
   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 
1065, in best_match
     return self.obtain(req, installer)
   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 
1077, in obtain
     return installer(requirement)
   File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 787, in 
fetch_build_egg
     return cmd.easy_install(req)
   File 
"/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", 
line 698, in easy_install
     raise DistutilsError(msg)
distutils.errors.DistutilsError: Could not find suitable distribution 
for Requirement.parse('setuptools_scm')
E: pybuild pybuild:341: clean: plugin distutils failed with: exit 
code=1: python3.7 setup.py clean

(see 
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-dnaio.html 
for more details)

After adding `python3-setuptools-scm` to build-depdendencies it built 
successfully in pbuilder on my local system.


-- System Information:
Debian Release: bullseye/sid
   APT prefers unstable
   APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.3.0-2-amd64 (SMP w/3 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled


-- 
mvh / best regards
Hans Joachim Desserud
http://desserud.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ftbfs.patch
Type: text/x-diff
Size: 390 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20191117/a3ce82a8/attachment.patch>


More information about the Debian-med-packaging mailing list