Package: src:python-pytils Version: 0.3-1 Severity: serious Dear maintainer:
I tried to build this package in stretch with "dpkg-buildpackage -A" (which is what the "Arch: all" autobuilder would do to build it) but it failed: -------------------------------------------------------------------------------- [...] debian/rules build-indep dh --with python2,python3 build-indep --buildsystem=pybuild dh: Compatibility levels before 9 are deprecated (level 7 in use) dh_testdir -i -O--buildsystem=pybuild dh_update_autotools_config -i -O--buildsystem=pybuild dh_auto_configure -i -O--buildsystem=pybuild dh_auto_configure: Compatibility levels before 9 are deprecated (level 7 in use) 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 dh_auto_build: Compatibility levels before 9 are deprecated (level 7 in use) [... snipped ...] File "/<<PKGBUILDDIR>>/pytils/test/test_dt.py", line 182, in testDOTIWDefaultToTimeAcc1 self.ckDefaultToTime("2day_ago", 1, u"позавÑеÑа") File "/<<PKGBUILDDIR>>/pytils/test/test_dt.py", line 95, in ckDefaultToTime self.assertEquals(res, estimated) AssertionError: u'\u0432\u0447\u0435\u0440\u0430' != u'\u043f\u043e\u0437\u0430\u0432\u0447\u0435\u0440\u0430' - \u0432\u0447\u0435\u0440\u0430 + \u043f\u043e\u0437\u0430\u0432\u0447\u0435\u0440\u0430 ? ++++ ====================================================================== FAIL: testDOTIWDefaultToTimeAcc2 (pytils.test.test_dt.DistanceOfTimeInWordsTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/pytils/test/test_dt.py", line 211, in testDOTIWDefaultToTimeAcc2 self.ckDefaultToTime("2day_ago", 2, u"позавÑеÑа") File "/<<PKGBUILDDIR>>/pytils/test/test_dt.py", line 95, in ckDefaultToTime self.assertEquals(res, estimated) AssertionError: u'1 \u0434\u0435\u043d\u044c 23 \u0447\u0430\u0441\u0430 \u043d\u0430\u0437\u043 [truncated]... != u'\u043f\u043e\u0437\u0430\u0432\u0447\u0435\u0440\u0430' - 1 \u0434\u0435\u043d\u044c 23 \u0447\u0430\u0441\u0430 \u043d\u0430\u0437\u0430\u0434 + \u043f\u043e\u0437\u0430\u0432\u0447\u0435\u0440\u0430 ====================================================================== FAIL: testDOTIWDefaultToTimeAcc3 (pytils.test.test_dt.DistanceOfTimeInWordsTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/pytils/test/test_dt.py", line 243, in testDOTIWDefaultToTimeAcc3 u"2 Ð´Ð½Ñ 0 ÑаÑов 40 минÑÑ Ð½Ð°Ð·Ð°Ð´") File "/<<PKGBUILDDIR>>/pytils/test/test_dt.py", line 95, in ckDefaultToTime self.assertEquals(res, estimated) AssertionError: u'1 \u0434\u0435\u043d\u044c 23 \u0447\u0430\u0441\u0430 40 \u043c\u0438\u043d\u [truncated]... != u'2 \u0434\u043d\u044f 0 \u0447\u0430\u0441\u043e\u0432 40 \u043c\u0438\u043d\u0 [truncated]... - 1 \u0434\u0435\u043d\u044c 23 \u0447\u0430\u0441\u0430 40 \u043c\u0438\u043d\u0443\u0442 \u043d\u0430\u0437\u0430\u0434 ? ^ - ^^^^ ^ + 2 \u0434\u043d\u044f 0 \u0447\u0430\u0441\u043e\u0432 40 \u043c\u0438\u043d\u0443\u0442 \u043d\u0430\u0437\u0430\u0434 ? ^ ^^^ ^^ ---------------------------------------------------------------------- Ran 71 tests in 0.039s FAILED (failures=5) E: pybuild pybuild:276: 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 debian/rules:4: recipe for target 'build-indep' failed make: *** [build-indep] Error 25 dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2 -------------------------------------------------------------------------------- The relevant part of the build log is included above. 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 page for this package. If you could not reproduce this using sbuild on a single CPU virtual machine (as I did), please do not downgrade or mark as unreproducible, I would then consider giving you access to a virtual machine on which I can reproduce it so that you can as well. (In such case, please contact me off-list for details). Thanks.