Source: python-magic
Version: 2:0.4.15-1
Severity: serious
Tags: buster sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20180502 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
>  debian/rules build
> dh build --with python2,python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -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 -O--buildsystem=pybuild
> I: pybuild base:217: /usr/bin/python setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7/build/magic
> copying magic/compat.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7/build/magic
> copying magic/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7/build/magic
> I: pybuild base:217: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6/build/magic
> copying magic/compat.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6/build/magic
> copying magic/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6/build/magic
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:217: python2.7 setup.py test 
> running test
> running egg_info
> creating python_magic.egg-info
> writing python_magic.egg-info/PKG-INFO
> writing top-level names to python_magic.egg-info/top_level.txt
> writing dependency_links to python_magic.egg-info/dependency_links.txt
> writing manifest file 'python_magic.egg-info/SOURCES.txt'
> reading manifest file 'python_magic.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'python_magic.egg-info/SOURCES.txt'
> running build_ext
> test_descriptions (test.test.MagicTest) ... FAIL
> test_errors (test.test.MagicTest) ... ok
> test_from_buffer_str_and_bytes (test.test.MagicTest) ... ok
> test_keep_going (test.test.MagicTest) ... ok
> test_mime_encodings (test.test.MagicTest) ... ok
> test_mime_types (test.test.MagicTest) ... ok
> test_open_file (test.test.MagicTest) ... ok
> test_rethrow (test.test.MagicTest) ... ok
> test_detect_from_content (test.libmagic_test.MagicTestCase) ... ok
> test_detect_from_filename (test.libmagic_test.MagicTestCase) ... ok
> test_detect_from_fobj (test.libmagic_test.MagicTestCase) ... ok
> 
> ======================================================================
> FAIL: test_descriptions (test.test.MagicTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/test/test.py", line 73, in test_descriptions
>     'text.txt': 'ASCII text',
>   File "/<<PKGBUILDDIR>>/test/test.py", line 32, in assert_values
>     self.assertTrue(False, "no match for " + repr(expected_value))
> AssertionError: no match for ('gzip compressed data, was "test", from Unix, 
> last modified: Sun Jun 29 01:32:52 2008', 'gzip compressed data, was "test", 
> last modified: Sun Jun 29 01:32:52 2008, from Unix')
> 
> ----------------------------------------------------------------------
> Ran 11 tests in 0.044s
> 
> FAILED (failures=1)
> Test failed: <unittest.runner.TextTestResult run=11 errors=0 failures=1>
> error: Test failed: <unittest.runner.TextTestResult run=11 errors=0 
> failures=1>
> E: pybuild pybuild:336: 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

The full build log is available from:
   http://aws-logs.debian.net/2018/05/02/python-magic_0.4.15-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

Reply via email to