Source: python-pbr Version: 0.5.16-3 Severity: serious Justification: fails to build from source
python-pbr fails to build from source because it doesn't build-depend on python3-d2to1. When the build system fails to find d2to1 it tries to download the module from PyPI. This obviously fails without a network connection. As package builds must not rely on external network connectivity the build-dependency on python3-d2to1 is necessary. Build log: set -ex; python3.2 setup.py build; python3.3 setup.py build; + python3.2 setup.py build Download error on http://pypi.python.org/simple/d2to1/: [Errno -2] Name or service not known -- Some packages may not be found! Download error on http://pypi.python.org/simple/d2to1/: [Errno -2] Name or service not known -- Some packages may not be found! Couldn't find index page for 'd2to1' (maybe misspelled?) Download error on http://pypi.python.org/simple/: [Errno -2] Name or service not known -- Some packages may not be found! No local packages or download links found for d2to1>=0.2.10,<0.3 Traceback (most recent call last): File "setup.py", line 21, in <module> d2to1=True) File "/usr/lib/python3.2/distutils/core.py", line 109, in setup _setup_distribution = dist = klass(attrs) File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 221, in __init__ self.fetch_build_eggs(attrs.pop('setup_requires')) File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 245, in fetch_build_eggs parse_requirements(requires), installer=self.fetch_build_egg File "/usr/lib/python3/dist-packages/pkg_resources.py", line 586, in resolve dist = best[req.key] = env.best_match(req, self, installer) File "/usr/lib/python3/dist-packages/pkg_resources.py", line 832, in best_match return self.obtain(req, installer) # try and download/install File "/usr/lib/python3/dist-packages/pkg_resources.py", line 844, in obtain return installer(requirement) File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 295, in fetch_build_egg return cmd.easy_install(req) File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 616, in easy_install raise DistutilsError(msg) distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('d2to1>=0.2.10,<0.3') make[1]: *** [override_dh_auto_build] Error 1 make[1]: Leaving directory `/tmp/buildd/python-pbr-0.5.16' make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org