Debian Bug report logs -
#364260
LZMA support
Reported by: Robert Millan <rmh@aybabtu.com>
Date: Sat, 22 Apr 2006 10:33:09 UTC
Severity: wishlist
Tags: patch
Found in versions file/4.17-1, file/4.21-3, file/4.20-3
Fixed in version 4.24-1
Done: Daniel Baumann <daniel@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Michael Piefel <piefel@debian.org>:
Bug#364260; Package file.
(full text, mbox, link).
Acknowledgement sent to Robert Millan <rmh@aybabtu.com>:
New Bug report received and forwarded. Copy sent to Michael Piefel <piefel@debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: file
Version: 4.17-1
Severity: wishlist
Tags: patch
LZMA support (http://www.7-zip.org/sdk.html).
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-amd64-k8
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Versions of packages file depends on:
ii libc6 2.3.6-3 GNU C Library: Shared libraries an
ii libmagic1 4.17-1 File type determination library us
ii zlib1g 1:1.2.3-11 compression library - runtime
file recommends no packages.
-- no debconf information
[lzma.diff (text/plain, attachment)]
Reply sent to Daniel Baumann <daniel@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Robert Millan <rmh@aybabtu.com>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #10 received at 364260-close@bugs.debian.org (full text, mbox, reply):
Source: file
Source-Version: 4.20-3
We believe that the bug you reported is fixed in the latest version of
file, which is due to be installed in the Debian FTP archive:
file_4.20-3.diff.gz
to pool/main/f/file/file_4.20-3.diff.gz
file_4.20-3.dsc
to pool/main/f/file/file_4.20-3.dsc
file_4.20-3_i386.deb
to pool/main/f/file/file_4.20-3_i386.deb
libmagic-dev_4.20-3_i386.deb
to pool/main/f/file/libmagic-dev_4.20-3_i386.deb
libmagic1_4.20-3_i386.deb
to pool/main/f/file/libmagic1_4.20-3_i386.deb
python-magic_4.20-3_i386.deb
to pool/main/f/file/python-magic_4.20-3_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 364260@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Daniel Baumann <daniel@debian.org> (supplier of updated file package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Tue, 27 Mar 2007 17:51:00 +0100
Source: file
Binary: libmagic1 file libmagic-dev python-magic
Architecture: source i386
Version: 4.20-3
Distribution: unstable
Urgency: low
Maintainer: Daniel Baumann <daniel@debian.org>
Changed-By: Daniel Baumann <daniel@debian.org>
Description:
file - Determines file type using "magic" numbers
libmagic-dev - File type determination library using "magic" numbers (developmen
libmagic1 - File type determination library using "magic" numbers
python-magic - File type determination library using "magic" numbers (python bin
Closes: 38543 242644 263488 282680 283515 293427 296202 316076 319128 323291 334862 339397 364260 368613 384018 394524 410847
Changes:
file (4.20-3) unstable; urgency=low
.
* Added patch from Josh Triplett <josh@freedesktop.org> to add magic for
SNES SPC700 sound files (Closes: #410847).
* Added patch from Reuben Thomas <rrt@sc3d.org> to add magic for the
Lua scripting language (Closes: #394524).
* Added patch from Nigel McNie <nigel@mcnie.name> to detect m4v files as m4v
instead of mp4 (Closes: #384018).
* Added patch from Mark Hindley <mark@hindley.org.uk> to update
sh scripts identifier (Closes: #368613).
* Added patch from Robert Millan <rmh@aybabtu.com> to add magic for the
LZMA compression format (Closes: #364260).
* Added patch from Simon Horman <horms@debian.org> to add magic for the
Ulead Photo Explorer5 image format (Closes: #339397).
* Added patch from Robert Millan <rmh@aybabtu.com> to add magic for the
Monkey's audio format (Closes: #334862).
* Added patch from Josh Babcock <jbabcock@atlantech.net> to updated magic for
Blender (Closes: #323291).
* Added patch from Matthew Palmer <mpalmer@debian.org> to update magic for
COW from 2.0 to 3.0 (Closes: #283515, #319128).
* Added patch from Robert Millan <rmh@aybabtu.com> to add magic for the
OpenRISC binary format (Closes: #316076).
* Added patch from Philip Kendall <pak21@srcf.ucam.org> to update the
spectrum magics (Closes: #296202).
* Added patch from Al Stone <ahs3@debian.org> to add magic for the
LLVM byte-codes (Closes: #293427).
* Added patch from Julien Blache <jblache@debian.org> to add magic for
Clarion files (Closes: #282680).
* Added patch from Sven Hartge <debian@ds9.argh.org> to add magic for
scummVM savegame files (Closes: #263488).
* Added patch from Nicolas Chauvat <nicolas.chauvat@logilab.fr> to add magic
for CGNS Advnaced Data Format files (Closes: #242644).
* Added patch from Edward Betts <edward@debian.org> to add magic for
pmenu (Closes: #38543).
Files:
6019b8dd076eea0902f4a85ce06e10e6 678 utils standard file_4.20-3.dsc
11dadcbc30f86028c47fb843a7864476 31270 utils standard file_4.20-3.diff.gz
2a4a202d9a878b5095fc1fb0bbeb6468 37570 utils standard file_4.20-3_i386.deb
1761b3a07af0553960c0482e80f7a787 322980 libs standard libmagic1_4.20-3_i386.deb
97edab1fb1681ca1678d8114b095c876 62070 libdevel optional libmagic-dev_4.20-3_i386.deb
aab29aba75ced3159a5d11a87a723e96 25648 python extra python-magic_4.20-3_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGCVxF+C5cwEsrK54RAgDsAJ4htALPlmivvL6B4ysdLrcpeN2+0QCdEnAx
MDQivrjxpoumRKyGPRjMMIc=
=B2G7
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 22 Jul 2007 07:31:45 GMT) (full text, mbox, link).
Bug unarchived.
Request was from Géraud Meyer <geraud_meyer@hotmail.com>
to control@bugs.debian.org.
(Tue, 23 Oct 2007 09:51:05 GMT) (full text, mbox, link).
Bug marked as found in version 4.21-3 and reopened.
Request was from Géraud Meyer <geraud_meyer@hotmail.com>
to control@bugs.debian.org.
(Tue, 23 Oct 2007 09:51:06 GMT) (full text, mbox, link).
Bug marked as found in version 4.20-3.
Request was from Géraud Meyer <geraud_meyer@hotmail.com>
to control@bugs.debian.org.
(Tue, 23 Oct 2007 09:51:07 GMT) (full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Daniel Baumann <daniel@debian.org>:
Bug#364260; Package file.
(full text, mbox, link).
Acknowledgement sent to Géraud Meyer <geraud_meyer@hotmail.com>:
Extra info received and forwarded to list. Copy sent to Daniel Baumann <daniel@debian.org>.
(full text, mbox, link).
Message #23 received at 364260@bugs.debian.org (full text, mbox, reply):
Package: file
Version: 4.21-3
Any lzma compressed file I encountered is not recognized as LZMA
compressed data. An example:
$ cat > test
Text file
$ lzma test
$ file test.lzma
test.lzma: data
I also tested the version 4.20-3 (found here:
http://archive.daniel-baumann.ch/debian/packages/file/4.20-3/) that was
supposed to be fixed and it gives the same result.
Regards
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (990, 'unstable'), (850, 'testing'), (760, 'stable'), (10,
'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-desk2-k7 (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages file depends on:
ii libc6 2.6.1-6 GNU C Library: Shared libraries
ii libmagic1 4.21-3 File type determination
library us
file recommends no packages.
-- no debconf information
Message sent on to Robert Millan <rmh@aybabtu.com>:
Bug#364260.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Daniel Baumann <daniel@debian.org>:
Bug#364260; Package file.
(full text, mbox, link).
Message #29 received at 364260@bugs.debian.org (full text, mbox, reply):
On Tue, Oct 23, 2007 at 12:11:31PM +0200, Géraud Meyer wrote:
> Package: file
> Version: 4.21-3
>
> Any lzma compressed file I encountered is not recognized as LZMA
> compressed data. An example:
>
> $ cat > test
> Text file
> $ lzma test
> $ file test.lzma
> test.lzma: data
>
> I also tested the version 4.20-3 (found here:
> http://archive.daniel-baumann.ch/debian/packages/file/4.20-3/) that was
> supposed to be fixed and it gives the same result.
I recall they had plans to change the signature. CCing the lzma maintainers,
maybe they know something..
--
Robert Millan
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)
Message sent on to Robert Millan <rmh@aybabtu.com>:
Bug#364260.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Daniel Baumann <daniel@debian.org>:
Bug#364260; Package file.
(full text, mbox, link).
Acknowledgement sent to Lasse Collin <lasse.collin@tukaani.org>:
Extra info received and forwarded to list. Copy sent to Daniel Baumann <daniel@debian.org>.
(full text, mbox, link).
Message #40 received at 364260@bugs.debian.org (full text, mbox, reply):
Robert Millan wrote:
> On Tue, Oct 23, 2007 at 12:11:31PM +0200, Géraud Meyer wrote:
> > Package: file
> > Version: 4.21-3
> >
> > Any lzma compressed file I encountered is not recognized as LZMA
> > compressed data. An example:
> >
> > $ cat > test
> > Text file
> > $ lzma test
> > $ file test.lzma
> > test.lzma: data
> >
> > I also tested the version 4.20-3 (found here:
> > http://archive.daniel-baumann.ch/debian/packages/file/4.20-3/) that
> > was supposed to be fixed and it gives the same result.
>
> I recall they had plans to change the signature. CCing the lzma
> maintainers, maybe they know something..
The .lzma format currently in use is too hard to detect without looking
at the filename suffix. The new .lzma format will fix this and a few
other problems, but there are no stable tools to handle the new format
yet.
--
Lasse Collin | IRC: Larhzu @ IRCnet & Freenode
Acknowledgement sent to Lasse Collin <lasse.collin@tukaani.org>:
Extra info received and filed, but not forwarded.
(full text, mbox, link).
Message sent on to Robert Millan <rmh@aybabtu.com>:
Bug#364260.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Daniel Baumann <daniel@debian.org>:
Bug#364260; Package file.
(full text, mbox, link).
Message #51 received at 364260@bugs.debian.org (full text, mbox, reply):
On Tue, Oct 23, 2007 at 04:36:07PM +0300, Lasse Collin wrote:
> Robert Millan wrote:
> > On Tue, Oct 23, 2007 at 12:11:31PM +0200, Géraud Meyer wrote:
> > > Package: file
> > > Version: 4.21-3
> > >
> > > Any lzma compressed file I encountered is not recognized as LZMA
> > > compressed data. An example:
> > >
> > > $ cat > test
> > > Text file
> > > $ lzma test
> > > $ file test.lzma
> > > test.lzma: data
> > >
> > > I also tested the version 4.20-3 (found here:
> > > http://archive.daniel-baumann.ch/debian/packages/file/4.20-3/) that
> > > was supposed to be fixed and it gives the same result.
> >
> > I recall they had plans to change the signature. CCing the lzma
> > maintainers, maybe they know something..
>
> The .lzma format currently in use is too hard to detect without looking
> at the filename suffix. The new .lzma format will fix this and a few
> other problems, but there are no stable tools to handle the new format
> yet.
Wait, I'm lost now. Which version of the format was my patch targetted
at, the old or the new one? Or there are 3 of them? :-)
P.S: don't CC me, I'm the bug submitter
--
Robert Millan
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)
Message sent on to Robert Millan <rmh@aybabtu.com>:
Bug#364260.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Daniel Baumann <daniel@debian.org>:
Bug#364260; Package file.
(full text, mbox, link).
Acknowledgement sent to Lasse Collin <lasse.collin@tukaani.org>:
Extra info received and forwarded to list. Copy sent to Daniel Baumann <daniel@debian.org>.
(full text, mbox, link).
Message #62 received at 364260@bugs.debian.org (full text, mbox, reply):
Robert Millan wrote:
> On Tue, Oct 23, 2007 at 04:36:07PM +0300, Lasse Collin wrote:
> > Robert Millan wrote:
> > > On Tue, Oct 23, 2007 at 12:11:31PM +0200, Géraud Meyer wrote:
> > > > Package: file
> > > > Version: 4.21-3
> > > >
> > > > Any lzma compressed file I encountered is not recognized as
> > > > LZMA compressed data. An example:
> > > >
> > > > $ cat > test
> > > > Text file
> > > > $ lzma test
> > > > $ file test.lzma
> > > > test.lzma: data
> > > >
> > > > I also tested the version 4.20-3 (found here:
> > > > http://archive.daniel-baumann.ch/debian/packages/file/4.20-3/)
> > > > that was supposed to be fixed and it gives the same result.
> > >
> > > I recall they had plans to change the signature. CCing the lzma
> > > maintainers, maybe they know something..
> >
> > The .lzma format currently in use is too hard to detect without
> > looking at the filename suffix. The new .lzma format will fix this
> > and a few other problems, but there are no stable tools to handle
> > the new format yet.
>
> Wait, I'm lost now. Which version of the format was my patch
> targetted at, the old or the new one? Or there are 3 of them? :-)
There are two formats: the current/old LZMA_Alone format, and the new
upcoming .lzma format. Your patch was for the LZMA_Alone format.
I tried writing a magic string for "file" two years ago, but the result
is quite useless. It's still included in LZMA Utils 4.32.0beta source
tarballs in the "extra" directory, but I don't recommend using those
magic strings.
The new format has magic bytes of "\xFFLZMA\x00" (six bytes) which
should be nice for the "file" command. There is a patch for "file"
already, which adds support for the -z option too. It's not submitted
upstream yet, but I will do it some day.
> P.S: don't CC me, I'm the bug submitter
Sorry, I'm not familiar with Debian's bug tracking system. I hope I got
the addresses better now.
--
Lasse Collin | IRC: Larhzu @ IRCnet & Freenode
Acknowledgement sent to Lasse Collin <lasse.collin@tukaani.org>:
Extra info received and filed, but not forwarded.
(full text, mbox, link).
Message sent on to Robert Millan <rmh@aybabtu.com>:
Bug#364260.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Daniel Baumann <daniel@debian.org>:
Bug#364260; Package file.
(full text, mbox, link).
Message #73 received at 364260@bugs.debian.org (full text, mbox, reply):
On Tue, Oct 23, 2007 at 11:00:43PM +0300, Lasse Collin wrote:
> > P.S: don't CC me, I'm the bug submitter
>
> Sorry, I'm not familiar with Debian's bug tracking system. I hope I got
> the addresses better now.
Don't worry. Thanks for the explanation.
--
Robert Millan
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)
Message sent on to Robert Millan <rmh@aybabtu.com>:
Bug#364260.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Daniel Baumann <daniel@debian.org>:
Bug#364260; Package file.
(full text, mbox, link).
Acknowledgement sent to Reuben Thomas <rrt@femur.dyndns.org>:
Extra info received and forwarded to list. Copy sent to Daniel Baumann <daniel@debian.org>.
(full text, mbox, link).
Message #84 received at 364260@bugs.debian.org (full text, mbox, reply):
Package: file
Version: 4.21-3
Followup-For: Bug #364260
Hi, file upstream here.
If I produce an LZMA file using lzma 4.43, it still produces an
old-style signature. I don't see any sign of the new-style one.
Could we please have a definite patch clearly marked with applicability?
I'm going to comment out the current lzma magic, as according to
comments in this thread it's not reliable, and the format's not even
reliably detectable.
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (700, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-k7
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Versions of packages file depends on:
ii libc6 2.3.6.ds1-13etch4 GNU C Library: Shared libraries
ii libmagic1 4.21-3 File type determination library us
file recommends no packages.
-- no debconf information
Reply sent to daniel@debian.org:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Robert Millan <rmh@aybabtu.com>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #89 received at 364260-done@bugs.debian.org (full text, mbox, reply):
Version: 4.24-1
Hi,
this bug has been fixed in file 4.24-1, thus closing. Thanks a lot to
Reuben Thomas for making this possible in upstream.
Regards,
Daniel
--
Address: Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email: daniel.baumann@panthera-systems.net
Internet: http://people.panthera-systems.net/~daniel-baumann/
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 15 Jun 2008 07:34:09 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Tue Jul 2 22:19:54 2024;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.