[Python-modules-team] Bug#849591: python-webob: FTBFS (The 'WebOb' distribution was not found)
Santiago Vila
sanvila at debian.org
Thu Dec 29 00:09:51 UTC 2016
Package: src:python-webob
Version: 1.7.0-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:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh build-indep --with python2,python3,sphinxdoc --buildsystem=pybuild
dh_testdir -i -O--buildsystem=pybuild
dh_update_autotools_config -i -O--buildsystem=pybuild
dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:184: python2.7 setup.py config
running config
I: pybuild base:184: python3.5 setup.py config
running config
dh_auto_build -i -O--buildsystem=pybuild
I: pybuild base:184: /usr/bin/python setup.py build
running build
running build_py
[... snipped ...]
copying webob/multidict.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/webob
copying webob/cookies.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/webob
copying webob/etag.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/webob
copying webob/util.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/webob
copying webob/byterange.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/webob
copying webob/cachecontrol.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/webob
copying webob/response.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/webob
copying webob/exc.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/webob
copying webob/client.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/webob
copying webob/request.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/webob
copying webob/dec.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/webob
copying webob/acceptparse.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/webob
copying webob/static.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/webob
copying webob/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/webob
copying webob/compat.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/webob
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# enable network, tests.test_in_wsgiref.test_request_reading needs it
http_proxy='' dh_auto_test
I: pybuild base:184: cd /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build; python2.7 -m pytest tests
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/_pytest/config.py", line 362, in _importconftest
mod = conftestpath.pyimport()
File "/usr/lib/python2.7/dist-packages/py/_path/local.py", line 662, in pyimport
__import__(modname)
File "/usr/lib/python2.7/dist-packages/_pytest/assertion/rewrite.py", line 216, in load_module
py.builtin.exec_(co, mod.__dict__)
File "/usr/lib/python2.7/dist-packages/py/_builtin.py", line 221, in exec_
exec2(obj, globals, locals)
File "<string>", line 7, in exec2
File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/tests/conftest.py", line 4, in <module>
pkg_resources.require('WebOb')
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 963, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 849, in resolve
raise DistributionNotFound(req, requirers)
DistributionNotFound: The 'WebOb' distribution was not found and is required by the application
ERROR: could not load /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/tests/conftest.py
E: pybuild pybuild:276: test: plugin distutils failed with: exit code=4: cd /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build; python2.7 -m pytest tests
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 2.7 returned exit code 13
debian/rules:11: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:8: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------
Please consider uploading in source-only form (dpkg-buildpackage -S), so that
we get official build logs here:
https://buildd.debian.org/status/package.php?p=python-webob
Thanks.
More information about the Python-modules-team
mailing list