====================================================================== FAIL: test_descriptions (__main__.MagicTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "test/test.py", line 67, in test_descriptions ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-desktop-gnome-systemd_test_20180809-181720 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.0 * Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.8.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpv dev-python/python-magic [ebuild N ] dev-python/python-magic-0.4.15 PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5"
Created attachment 543404 [details] emerge-info.txt
Created attachment 543406 [details] dev-python:python-magic-0.4.15:20180814-101652.log
Created attachment 543408 [details] emerge-history.txt
Created attachment 543410 [details] environment
Created attachment 543412 [details] etc.portage.tbz2
Created attachment 543414 [details] temp.tbz2
I see the same in 0.4.15-r1 on sparc: FAIL: test_descriptions (__main__.MagicTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "test/test.py", line 73, in test_descriptions }, buf_equals_file=False) File "test/test.py", line 33, in assert_values self.assertIn(value, expected_value) AssertionError: 'gzip compressed data, was "test", last modified: Sun Jun 29 01:32:52 2008, from Unix, original size modulo 2^32 15' not found in ('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', 'gzip compressed data, was "test", last modified: Sun Jun 29 01:32:52 2008, from Unix, original size 15')
Fix: https://github.com/ahupp/python-magic/commit/18c909c4c98463d8292a7d1733aec007f178f1e5
*** Bug 708356 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d59faf751cc6da052f20b2b6edeb1330a303aac4 commit d59faf751cc6da052f20b2b6edeb1330a303aac4 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2020-03-03 06:15:52 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2020-03-03 06:17:04 +0000 dev-python/python-magic: Add patch to fix tests Closes: https://bugs.gentoo.org/663610 Signed-off-by: Matt Turner <mattst88@gentoo.org> .../python-magic-0.4.15-fix-gzip-test-2.patch | 26 ++++++++++++++++++++++ .../python-magic/python-magic-0.4.15-r1.ebuild | 2 ++ 2 files changed, 28 insertions(+)