Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 892379 - dev-python/python-magic-0.4.27 fails tests (LIBARCHIVE-SYSTEM)
Summary: dev-python/python-magic-0.4.27 fails tests (LIBARCHIVE-SYSTEM)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-28 11:21 UTC by Agostino Sarubbo
Modified: 2023-06-24 06:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,67.75 KB, text/plain)
2023-01-28 11:21 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-01-28 11:21:40 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/python-magic-0.4.27 fails tests (LIBARCHIVE-SYSTEM).
Discovered on: amd64 (internal ref: libarchive_tinderbox)

NOTE:
(LIBARCHIVE-SYSTEM) in the summary means that the bug was found on a machine that runs app-alternatives/tar and app-alternatives/cpio with [-gnu,+libarchive] but this bug MAY or MAY NOT BE related to the tar/cpio implementation.
Comment 1 Agostino Sarubbo gentoo-dev 2023-01-28 11:21:42 UTC
Created attachment 849349 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-01-28 11:21:42 UTC
Error(s) that match a know pattern:


AssertionError: 'gz/tgz/tpz/zabw/svgz/adz/kmy/xcfgz' not found in ('gz/tgz/tpz/zabw/svgz', '', '???')
FAILED (failures=1, skipped=2)
FAIL: test_extension (test.python_magic_test.MagicTest)
Comment 3 Larry the Git Cow gentoo-dev 2023-06-24 06:43:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f0be9f1391414bbb13ae7987d01d21ef2d1161f

commit 9f0be9f1391414bbb13ae7987d01d21ef2d1161f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-06-24 06:35:26 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-06-24 06:35:49 +0000

    dev-python/python-magic: backport test (only) fix, enable py3.12
    
    Closes: https://bugs.gentoo.org/892379
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/python-magic-0.4.27-fix-gzip-test.patch  | 26 ++++++++++++++++++++++
 dev-python/python-magic/python-magic-0.4.27.ebuild |  6 ++++-
 2 files changed, 31 insertions(+), 1 deletion(-)