[Python-modules-team] Bug#840761: python-opcua: FTBFS (ImportError: No module named setuptools)

Santiago Vila sanvila at debian.org
Fri Oct 14 14:10:03 UTC 2016


Package: src:python-opcua
Version: 0.10.17-1
Severity: serious

Dear maintainer:

I tried to build this package with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 dpkg-source --before-build python-opcua-0.10.17
 fakeroot debian/rules clean
dh clean --buildsystem=pybuild --with python2,python3
   dh_testdir -O--buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:184: python2.7 setup.py clean 
Traceback (most recent call last):
  File "setup.py", line 1, in <module>
    from setuptools import setup, find_packages
ImportError: No module named setuptools
E: pybuild pybuild:276: clean: plugin distutils failed with: exit code=1: python2.7 setup.py clean 
dh_auto_clean: pybuild --clean -i python{version} -p 2.7 returned exit code 13
debian/rules:8: recipe for target 'clean' failed
make: *** [clean] Error 25
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2
--------------------------------------------------------------------------------

It is strongly recommended that packages are built in a clean sid chroot
to ensure that they are buildable (i.e. no missing build-dependencies).

Thanks.



More information about the Python-modules-team mailing list