Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 784773 - sys-apps/file-5.40 incorrectly detects XZ compression
Summary: sys-apps/file-5.40 incorrectly detects XZ compression
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: https://bugs.astron.com/view.php?id=257
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2021-04-21 09:05 UTC by Mike Auty (RETIRED)
Modified: 2021-04-21 09:42 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Auty (RETIRED) gentoo-dev 2021-04-21 09:05:53 UTC
There's an upstream bug (https://bugs.astron.com/view.php?id=257) where XZ compression is incorrectly detected as application/octet-stream (the default) rather than application/x-xz.  This has been resolved upstream in HEAD (and the commit is at https://github.com/file/file/commit/9b0459afab309a82aa4e46f73a4e50dd641f3d39) but currently breaks compression detection.
Comment 1 Larry the Git Cow gentoo-dev 2021-04-21 09:42:56 UTC
The bug has been closed via the following commit(s):

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

commit bb949123596216a8af1a18b1ba4f396919a2d976
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2021-04-21 09:41:58 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2021-04-21 09:42:48 +0000

    sys-apps/file: Revbump to fix xz magic
    
    Thanks-to: Mike Auty <ikelos@gentoo.org>
    Closes: https://bugs.gentoo.org/784773
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 .../file/{file-5.40.ebuild => file-5.40-r1.ebuild} |  1 +
 sys-apps/file/files/file-5.40-xz_magic.patch       | 37 ++++++++++++++++++++++
 2 files changed, 38 insertions(+)