[Python-modules-team] Bug#906348: django-prometheus: FTBFS in buster/sid (failing tests)
Santiago Vila
sanvila at debian.org
Fri Aug 17 12:19:24 BST 2018
Package: src:django-prometheus
Version: 1.0.15-1
Severity: serious
Tags: ftbfs
Dear maintainer:
I tried to build this package in buster but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh build-indep --with python2,python3 --buildsystem=pybuild
dh_update_autotools_config -i -O--buildsystem=pybuild
dh_autoreconf -i -O--buildsystem=pybuild
dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:217: python2.7 setup.py config
running config
I: pybuild base:217: python3.6 setup.py config
running config
dh_auto_build -i -O--buildsystem=pybuild
I: pybuild base:217: /usr/bin/python setup.py build
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_django-prometheus/build/django_prometheus
[... snipped ...]
dh_auto_test -i -O--buildsystem=pybuild
I: pybuild base:217: python2.7 setup.py test
running test
running egg_info
creating django_prometheus.egg-info
writing requirements to django_prometheus.egg-info/requires.txt
writing django_prometheus.egg-info/PKG-INFO
writing top-level names to django_prometheus.egg-info/top_level.txt
writing dependency_links to django_prometheus.egg-info/dependency_links.txt
writing manifest file 'django_prometheus.egg-info/SOURCES.txt'
reading manifest file 'django_prometheus.egg-info/SOURCES.txt'
writing manifest file 'django_prometheus.egg-info/SOURCES.txt'
running build_ext
Traceback (most recent call last):
File "setup.py", line 42, in <module>
"License :: OSI Approved :: Apache Software License",
File "/usr/lib/python2.7/dist-packages/setuptools/__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/dist-packages/setuptools/command/test.py", line 226, in run
self.run_tests()
File "/usr/lib/python2.7/dist-packages/setuptools/command/test.py", line 248, in run_tests
exit=False,
File "/usr/lib/python2.7/unittest/main.py", line 94, in __init__
self.parseArgs(argv)
File "/usr/lib/python2.7/unittest/main.py", line 149, in parseArgs
self.createTests()
File "/usr/lib/python2.7/unittest/main.py", line 158, in createTests
self.module)
File "/usr/lib/python2.7/unittest/loader.py", line 130, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
File "/usr/lib/python2.7/unittest/loader.py", line 103, in loadTestsFromName
return self.loadTestsFromModule(obj)
File "/usr/lib/python2.7/dist-packages/setuptools/command/test.py", line 52, in loadTestsFromModule
tests.append(self.loadTestsFromName(submodule))
File "/usr/lib/python2.7/unittest/loader.py", line 100, in loadTestsFromName
parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'test_exports'
E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: python2.7 setup.py test
dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13
make: *** [debian/rules:8: build-indep] Error 25
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------
The build was made with "dpkg-buildpackage -A" in my autobuilder.
Most probably, it also fails here in reproducible builds:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/django-prometheus.html
where you can get a full build log if you need it.
If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.
Thanks.
More information about the Python-modules-team
mailing list