[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#801633: lintian: False positive of syntax-error-in-dep5-copyright with documentation example



control: tags -1 + moreinfo

On Mon, Oct 12, 2015 at 10:12:14PM +0200, Ben Wiederhake wrote:
> I was trying to get an ITP submission lintian-clean, when I got stumped by a
> very stubborn warning, even after reading every sentence in the packaging-
> documentation on debian/copyright ever so carefully.

I suggest you contacting debian-mentors@ to ask for help if you're not
sure this is an actual lintian bug.
Furthermore, ITPs are meant to be sent out *before* starting to work on
the package, so that other people can be aware someone is working on it
and do not duplicate human forces.  Are you actually talking about a
RFS, maybe?

> 
> Then I tried the example from the documentation itself [1], and the warning
> persists. I report this as a bug in lintian because I believe that lintian
> should accept positive examples from the documentation without warning.

The issue here is that you missed a column ':' between "Copyright" and
the data.
The dep-5 copyright format follows the RFC 822 for, thus is made of
paragraphs with key-value pairs, separated by a column.


Please, confirm us this is the issue, so we can close this bug (or close
it yourself, if that's the case).

> To reproduce, clone the given repo [2], and run:
> 
> Note that I intentionally emptied the *.orig.tar.gz, since the contents are
> irrelevant to the warning. (The same warning is produced with and without the
> original file.)

and that way you broke the .dsc

mattia@chase /tmp/lintian-copyright (git)-[master] % dpkg-source -x telegram-purple_1.2.2-1.dsc   
dpkg-source: warning: extracting unsigned source package (telegram-purple_1.2.2-1.dsc)
dpkg-source: error: file ./telegram-purple_1.2.2.orig.tar.gz has size 76 instead of expected 567568
255 mattia@chase /tmp/lintian-copyright (git)-[master] %                                                                                                             :(

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  http://mapreri.org                              : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature


Reply to: