Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#49125 - [file] 5.26 is buggy
Attached to Project:
Arch Linux
Opened by Adrián López (adrianlzt) - Thursday, 28 April 2016, 15:08 GMT
Last edited by Sébastien Luttringer (seblu) - Saturday, 14 May 2016, 12:52 GMT
Opened by Adrián López (adrianlzt) - Thursday, 28 April 2016, 15:08 GMT
Last edited by Sébastien Luttringer (seblu) - Saturday, 14 May 2016, 12:52 GMT
|
DetailsDescription:
file version 5.26 has a bug related to recognising compressed files. Branch master of the code (https://github.com/file/file) it's fixed. This error breaks also rpmbuild, because it uses the compress flag: https://github.com/rpm-software-management/rpm/blob/rpm-4.12.0-release/build/rpmfc.c#L910 It's possible to maintain version 5.25 in the core and testing until next version of file? Additional info: * package version: file-5.26-2 Steps to reproduce: $ echo "a" > test $ file test test: ASCII text $ file -z test test: ERROR: (null) $ file --version file-5.26 magic file from /usr/share/file/misc/magic |
This task depends upon
Closed by Sébastien Luttringer (seblu)
Saturday, 14 May 2016, 12:52 GMT
Reason for closing: Upstream
Additional comments about closing: 5.27 is in testing
Saturday, 14 May 2016, 12:52 GMT
Reason for closing: Upstream
Additional comments about closing: 5.27 is in testing
rpm is not in the arch repos, so I don't really care. Is there a good reason to include this patch before the next release of file?
Could even point a commit which could be backported.