Bug#523408: lintian says "file: unrecognized option `--lzma'" with 3.0 format.
On Fri, 2009-04-10 at 14:28 +1000, Trent W. Buck wrote:
> When running lintian on a binary built from a 3.0 (quilt) source
> package, with both the .orig.tar.lzma and .debian.tar.lzma being
> compressed with lzma (not gzip), I got the error
>
> file: unrecognized option `--lzma'
>
> printed early on in the output. The full output is:
>
> $ lintian dosage*changes
> E: dosage_1.6.0+2-1_source.changes: checksum-mismatch-in-changes-file md5 dosage_1.6.0+2-1.dsc
> E: dosage_1.6.0+2-1_source.changes: checksum-mismatch-in-changes-file sha1 dosage_1.6.0+2-1.dsc
> E: dosage_1.6.0+2-1_source.changes: checksum-mismatch-in-changes-file sha256 dosage_1.6.0+2-1.dsc
Those are to be expected, as the dsc will contain the details for the
generated package (i.e. it should match the checksums in
_amd64.changes).
> file: unrecognized option `--lzma'
My assumption is that the above is being generated by the "file-info"
collection script; could you please retest using Lintian's -d option to
confirm?
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.
Regards,
Adam
Reply to: