Package: src:django-taggit
Version: 0.20.2-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 --fail-missing --with python2,python3 --buildsystem=pybuild
dh_testdir -i -O--fail-missing -O--buildsystem=pybuild
dh_update_autotools_config -i -O--fail-missing -O--buildsystem=pybuild
dh_auto_configure -i -O--fail-missing -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--fail-missing -O--buildsystem=pybuild
I: pybuild base:184: /usr/bin/python setup.py build
running build
running build_py
[... snipped ...]
Name:
>/tests/tests.py", line 156, in test_add_tag
self.assert_tags_equal(self.food_model.tags.all(), ['green'])
File "/<>/tests/tests.py", line 45, in assert_tags_equal
self.assertEqual(got, tags)
AssertionError: Lists differ: [] != [u'green']
Second list contains 1 additional elements.
First extra element 0:
u'green'
- []
+ [u'green']
==
FAIL: test_prefetch_related (tests.tests.TaggableManagerDirectCustomPKTestCase)
--
Traceback (most recent call last):
File "/<>/tests/tests.py", line 654, in test_prefetch_related
'apple': set(['1', '2'])
AssertionError: {u'orange': set([]), u'apple': set([])} != {u'orange':
set([u'2', u'4']), u'apple': set([u'1', u'2'])}
- {u'apple': set([]), u'orange': set([])}
+ {u'apple': set([u'1', u'2']), u'orange': set([u'2', u'4'])}
? ++++
--
Ran 222 tests in 1.410s
FAILED (failures=7, skipped=1)
Creating test database for alias 'default'...
System check identified no issues (0 silenced).
Destroying test database for alias 'default'...
debian/rules:8: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/<>'
debian/rules:5: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
Because this source package only generates "Arch: all" packages, this
is the same as a FTBFS bug in the usual sense and the fact that I was
using "dpkg-buildpackage -A" is quite irrelevant.
For this particular package, I've also checked that it fails to build
from source in the reproducible builds site:
https://tests.reproducible-builds.org/
Thanks.