Your message dated Thu, 26 Nov 2020 22:19:13 +0000
with message-id <e1kipbd-000igo...@fasolo.debian.org>
and subject line Bug#975784: fixed in python-magic 2:0.4.15-5
has caused the Debian Bug report #975784,
regarding python-magic: FTBFS: dh_auto_test: error: pybuild --test -i 
python{version} -p "3.8 3.9" returned exit code 13
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
975784: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=975784
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-magic
Version: 2:0.4.15-4
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201125 ftbfs-bullseye

Hi,

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

Relevant part (hopefully):
> dpkg-buildpackage
> -----------------
> 
> Command: dpkg-buildpackage -us -uc -sa -rfakeroot
> dpkg-buildpackage: info: source package python-magic
> dpkg-buildpackage: info: source version 2:0.4.15-4
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Christoph Biedl 
> <debian.a...@manchmal.in-ulm.de>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
>  debian/rules clean
> dh clean --with python3 --buildsystem=pybuild
>    dh_auto_clean -O--buildsystem=pybuild
> I: pybuild base:232: python3.8 setup.py clean 
> running clean
> removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build' (and everything under 
> it)
> 'build/bdist.linux-x86_64' does not exist -- can't clean it
> 'build/scripts-3.8' does not exist -- can't clean it
> I: pybuild base:232: python3.9 setup.py clean 
> running clean
> removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build' (and everything under 
> it)
> 'build/bdist.linux-x86_64' does not exist -- can't clean it
> 'build/scripts-3.9' does not exist -- can't clean it
>    dh_autoreconf_clean -O--buildsystem=pybuild
>    dh_clean -O--buildsystem=pybuild
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building python-magic using existing 
> ./python-magic_0.4.15.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: info: building python-magic in 
> python-magic_0.4.15-4.debian.tar.xz
> dpkg-source: info: building python-magic in python-magic_0.4.15-4.dsc
>  debian/rules binary
> dh binary --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:232: python3.8 setup.py config 
> running config
> I: pybuild base:232: python3.9 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:232: /usr/bin/python3.8 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/magic
> copying magic/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/magic
> copying magic/compat.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/magic
> I: pybuild base:232: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/magic
> copying magic/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/magic
> copying magic/compat.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/magic
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:232: python3.8 setup.py test 
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> running egg_info
> creating python_magic.egg-info
> writing python_magic.egg-info/PKG-INFO
> writing dependency_links to python_magic.egg-info/dependency_links.txt
> writing top-level names to python_magic.egg-info/top_level.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) ... ok
> test_errors (test.test.MagicTest) ... ok
> test_from_buffer_str_and_bytes (test.test.MagicTest) ... FAIL
> test_keep_going (test.test.MagicTest) ... ok
> test_mime_encodings (test.test.MagicTest) ... ok
> test_mime_types (test.test.MagicTest) ... FAIL
> 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_from_buffer_str_and_bytes (test.test.MagicTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/test/test.py", line 37, in 
> test_from_buffer_str_and_bytes
>     self.assertEqual("text/x-python", m.from_buffer(s))
> AssertionError: 'text/x-python' != 'text/x-script.python'
> - text/x-python
> + text/x-script.python
> ?        +++++++
> 
> 
> ======================================================================
> FAIL: test_mime_types (test.test.MagicTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/test/test.py", line 52, in test_mime_types
>     self.assert_values(m, {
>   File "/<<PKGBUILDDIR>>/test/test.py", line 32, in assert_values
>     self.assertTrue(False, "no match for " + repr(expected_value))
> AssertionError: False is not true : no match for ('application/octet-stream',)
> 
> ----------------------------------------------------------------------
> Ran 11 tests in 0.019s
> 
> FAILED (failures=2)
> Test failed: <unittest.runner.TextTestResult run=11 errors=0 failures=2>
> error: Test failed: <unittest.runner.TextTestResult run=11 errors=0 
> failures=2>
> E: pybuild pybuild:353: test: plugin distutils failed with: exit code=1: 
> python3.8 setup.py test 
> I: pybuild base:232: python3.9 setup.py test 
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> running egg_info
> writing python_magic.egg-info/PKG-INFO
> writing dependency_links to python_magic.egg-info/dependency_links.txt
> writing top-level names to python_magic.egg-info/top_level.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) ... ok
> test_errors (test.test.MagicTest) ... ok
> test_from_buffer_str_and_bytes (test.test.MagicTest) ... FAIL
> test_keep_going (test.test.MagicTest) ... ok
> test_mime_encodings (test.test.MagicTest) ... ok
> test_mime_types (test.test.MagicTest) ... FAIL
> 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_from_buffer_str_and_bytes (test.test.MagicTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/test/test.py", line 37, in 
> test_from_buffer_str_and_bytes
>     self.assertEqual("text/x-python", m.from_buffer(s))
> AssertionError: 'text/x-python' != 'text/x-script.python'
> - text/x-python
> + text/x-script.python
> ?        +++++++
> 
> 
> ======================================================================
> FAIL: test_mime_types (test.test.MagicTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/test/test.py", line 52, in test_mime_types
>     self.assert_values(m, {
>   File "/<<PKGBUILDDIR>>/test/test.py", line 32, in assert_values
>     self.assertTrue(False, "no match for " + repr(expected_value))
> AssertionError: False is not true : no match for ('application/octet-stream',)
> 
> ----------------------------------------------------------------------
> Ran 11 tests in 0.019s
> 
> FAILED (failures=2)
> Test failed: <unittest.runner.TextTestResult run=11 errors=0 failures=2>
> error: Test failed: <unittest.runner.TextTestResult run=11 errors=0 
> failures=2>
> E: pybuild pybuild:353: test: plugin distutils failed with: exit code=1: 
> python3.9 setup.py test 
> dh_auto_test: error: pybuild --test -i python{version} -p "3.8 3.9" returned 
> exit code 13

The full build log is available from:
   http://qa-logs.debian.net/2020/11/25/python-magic_0.4.15-4_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.

--- End Message ---
--- Begin Message ---
Source: python-magic
Source-Version: 2:0.4.15-5
Done: Christoph Biedl <debian.a...@manchmal.in-ulm.de>

We believe that the bug you reported is fixed in the latest version of
python-magic, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 975...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christoph Biedl <debian.a...@manchmal.in-ulm.de> (supplier of updated 
python-magic package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 26 Nov 2020 22:20:06 +0100
Source: python-magic
Architecture: source
Version: 2:0.4.15-5
Distribution: unstable
Urgency: medium
Maintainer: Christoph Biedl <debian.a...@manchmal.in-ulm.de>
Changed-By: Christoph Biedl <debian.a...@manchmal.in-ulm.de>
Closes: 975784
Changes:
 python-magic (2:0.4.15-5) unstable; urgency=medium
 .
   * Adjust test suite for changes in file 5.39. Closes: #975784
Checksums-Sha1:
 ba7a06af06f0fc4547ce33d0e6a587b883138123 1992 python-magic_0.4.15-5.dsc
 a68ae8e341aa804b8df1b777deabad08b28a1e78 11272 
python-magic_0.4.15-5.debian.tar.xz
 1f4d194a4a69bdd80deeb51edf1af49cd9ce690c 6411 
python-magic_0.4.15-5_powerpc.buildinfo
Checksums-Sha256:
 12c9075a9d9000a35e216b770045f6b8b46ffc503cb9ec17c7fa2fb8917dd634 1992 
python-magic_0.4.15-5.dsc
 1bf68255e2e526d4f85c4582997499c7164d5ad618e375b9062d2a926266d06e 11272 
python-magic_0.4.15-5.debian.tar.xz
 ebb80b1f01826a32ce7c9b66057fef420ba26c513288b797e799320c18964d1a 6411 
python-magic_0.4.15-5_powerpc.buildinfo
Files:
 602e1b1d5be73042d230ac159a76ebc6 1992 libs extra python-magic_0.4.15-5.dsc
 e9483b46b31be948ef8b3d843f5bde8f 11272 libs extra 
python-magic_0.4.15-5.debian.tar.xz
 6bee888dd16218e868b1a3ebe019844f 6411 libs extra 
python-magic_0.4.15-5_powerpc.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEWXMI+726A12MfJXdxCxY61kUkv0FAl/AJz4ACgkQxCxY61kU
kv1V+Q/+NOQ4irNgPc9fXiAkJxrxatKSwct3NHeHtLlniQTv/XRj6nPPZBpM+9CF
kN2cN4dJ90O+oVREWu/EwIttIrGR/O5mBzbHCYWolFsKG7kvADaGeWzxP33m/NCd
HIDeU/cw7/0lkOeZzL5AIwEGHkSzON089c0nVuTCDtMPlKKo1l99oiibFqOntST6
QE2XECdcBknDrrJ0EBlEIILRnCbxkvAvoHLaQiV6EQpH8RUd5yEHs5ETdeJpQciE
jzjGXKM372p0QNx4W6UMm6zZj2oE3AF+iPaydhxb8+V5ZjDDn3GL4/wvEjC2kYbG
zcx/a/H8iDG2+dEqN08px44rRpnkNJKuwJF/9BFTGR99AdpkN/qXtuKKTSehoBZe
MDOePVhuG2m6h2Ns+0cZ+EoUnUxUQkt+DAl9aSez7J7UonWsENGBg+jdyZvU2CcO
QZgPGA/06hoGfuTT5Njkdr+41wcnFZUJdJhjQrdSuWchokVy51CU0lE09D/Iyspi
7oP5X8lpXjBl0LKw1tUc6bp4wjJ3Q0TWxBohvudKIGi5UX1BxPdU1ZA5nlqRNoU6
IQprKX/oSgAy83MQJ9Op8OwKry8SR5rl4JWjxQMokCiSn9rTq4+efH+Mj9wVzgp7
SmzSG5DCaiq9Zfo3HkaeVAF7PlMmDJ7M9bnqUwJ8ErBPrYDlf50=
=y1Zp
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to