Package: src:sorl-thumbnail Version: 12.3+git20170708-1 Severity: serious Tags: ftbfs
Dear maintainer: I tried to build this package in buster with "dpkg-buildpackage -A" but it failed: -------------------------------------------------------------------------------- [...] debian/rules build-indep dh build-indep --with python2,python3,sphinxdoc --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 debian/rules override_dh_auto_build make[1]: Entering directory '/<<BUILDDIR>>/sorl-thumbnail-12.3+git20170708' dh_auto_build I: pybuild base:217: /usr/bin/python setup.py build [... snipped ...] ============================= test session starts ============================== platform linux2 -- Python 2.7.15, pytest-3.3.2, py-1.5.3, pluggy-0.6.0 Django settings: tests.settings.pgmagick (from environment variable) rootdir: /<<BUILDDIR>>/sorl-thumbnail-12.3+git20170708, inifile: setup.cfg plugins: django-3.1.2 collected 68 items tests/thumbnail_tests/test_alternative_resolutions.py . [ 1%] tests/thumbnail_tests/test_backends.py .......F.s.. [ 19%] tests/thumbnail_tests/test_commands.py .... [ 25%] tests/thumbnail_tests/test_engines.py ..................s.....ss [ 63%] tests/thumbnail_tests/test_filters.py s.s. [ 69%] tests/thumbnail_tests/test_kvstore.py . [ 70%] tests/thumbnail_tests/test_parsers.py ..... [ 77%] tests/thumbnail_tests/test_storage.py .... [ 83%] tests/thumbnail_tests/test_templatetags.py ........ss. [100%] =================================== FAILURES =================================== _____________________ TestDescriptors.test_is_valid_image ______________________ self = <tests.thumbnail_tests.test_backends.TestDescriptors testMethod=test_is_valid_image> def test_is_valid_image(self): with same_open_fd_count(self): > self.ENGINE.is_valid_image(b'invalidbinaryimage.jpg') tests/thumbnail_tests/test_backends.py:99: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <sorl.thumbnail.engines.pgmagick_engine.Engine object at 0x7fb03a699710> raw_data = 'invalidbinaryimage.jpg' def is_valid_image(self, raw_data): blob = Blob() blob.update(raw_data) > im = Image(blob) E RuntimeError: Magick: Unable to deduce image format () reported by magick/blob.c:739 (BlobToImage) sorl/thumbnail/engines/pgmagick_engine.py:29: RuntimeError ================ 1 failed, 59 passed, 8 skipped in 1.22 seconds ================ debian/rules:22: recipe for target 'override_dh_auto_test' failed make[1]: *** [override_dh_auto_test] Error 1 make[1]: Leaving directory '/<<BUILDDIR>>/sorl-thumbnail-12.3+git20170708' debian/rules:10: recipe for target 'build-indep' failed make: *** [build-indep] Error 2 dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2 -------------------------------------------------------------------------------- The above is how the build ends in my autobuilder and it's not necessarily the relevant part. The failure is not, however, related to using dpkg-buildpackage -A, as it also fails in reproducible builds: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/sorl-thumbnail.html 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. Thanks.