FS#43087 - [file] bzip2-compressed tar files are not detected as application/x-tar

Attached to Project: Arch Linux
Opened by Peter Wu (Lekensteyn) - Friday, 12 December 2014, 10:12 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 12 December 2014, 15:45 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
testing/file 5.21 (both -1 and -2) fail to detect the proper type of bz2 archives. First noticed on GCC 4.9/5 snapshot tarballs with makepkg, but it can also be reproduced with a smaller sample:

tar cj -C /etc pacman.conf | file -bi -

Expected output (file 5.20-2):
application/x-tar; charset=binary compressed-encoding=application/x-bzip2; charset=binary

Actual result (file 5.21-1, 5.21-2):
application/x-bzip2; charset=binary
This task depends upon

Closed by  Doug Newgard (Scimmia)
Friday, 12 December 2014, 15:45 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#43082 
Comment by Peter Wu (Lekensteyn) - Friday, 12 December 2014, 10:13 GMT
That should have been file -biz, but the bug still holds.

Loading...