Bug#523408: lintian says "file: unrecognized option `--lzma'" with 3.0 format.
retitle 523408 file-info should use "file -- foo", not "file foo"
thank you
On Fri, Apr 10, 2009 at 10:49:06AM +0100, Adam D. Barratt wrote:
>> file: unrecognized option `--lzma'
>
> Assuming that the "file-info" script is generating the error, that
> implies that the source tarball index Lintian has generated contains
> a line which contains "--lzma" which is then being split and passed
> to 'file'. Would it be possible for you to make a copy of the source
> and binary packages available? That would be very useful for
> debugging the issue.
Oh, you're right! I realized (after sending the mail above) that I
had accidentally called "tar -cf --lzma ..." by accident, before I
successfully created the .orig.tar.lzma. So there was a file CALLED
--lzma in the source tarball or in the working tree (or both).
So this sounds like my fault, but in future perhaps lintian should
called "file -- foo" instead of just "file foo"?
(When I filed the original report, I thought lintian was calling file
--lzma instead of file -z or something.)
Reply to: