Debian Bug report logs - #827051
lintian: Check if dep5 license texts are GFDL or GFDL-NIV

version graph

Package: lintian; Maintainer for lintian is Debian Lintian Maintainers <[email protected]>; Source for lintian is src:lintian (PTS, buildd, popcon).

Reported by: Ryan Kavanagh <[email protected]>

Date: Sat, 11 Jun 2016 16:21:02 UTC

Severity: wishlist

Found in version lintian/2.5.44

Full log


Message #17 received at [email protected] (full text, mbox, reply):

Received: (at 827051) by bugs.debian.org; 30 Sep 2019 02:55:37 +0000
From [email protected] Mon Sep 30 02:55:37 2019
X-Spam-Checker-Version: SpamAssassin 3.4.2-bugs.debian.org_2005_01_02
	(2018-09-13) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-19.2 required=4.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FREEMAIL_FROM,
	HAS_BUG_NUMBER,PGPSIGNATURE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,
	TXREP autolearn=ham autolearn_force=no
	version=3.4.2-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 40; hammy, 150; neutral, 113; spammy,
	0. spammytokens: hammytokens:0.000-+--H*ct:application,
	0.000-+--H*ct:protocol, 0.000-+--H*ct:micalg, 0.000-+--H*ct:signed,
	0.000-+--H*ct:pgp-signature
Return-path: <[email protected]>
Received: from mail-qt1-x841.google.com ([2607:f8b0:4864:20::841]:41467)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.92)
	(envelope-from <[email protected]>)
	id 1iElqa-0001mc-RN
	for [email protected]; Mon, 30 Sep 2019 02:55:37 +0000
Received: by mail-qt1-x841.google.com with SMTP id n1so15119560qtp.8
        for <[email protected]>; Sun, 29 Sep 2019 19:55:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=date:from:to:cc:subject:message-id:references:mime-version
         :content-disposition:in-reply-to:user-agent;
        bh=OLJnmTPZUwyESAoflZQYsyaLSgv45Wxpw5j7ehjFeRw=;
        b=s6iiFwd9/w3UQ0srUnixmDam+GY6X5xUdAW29dMcWfvwafOAvEj9UVAZHqf9NMZ44N
         RXnGx38WxTcuwI+cUS0NgKnaZ2vkCRxn9YU4+rS0GksrFToLlSC1j2Ug9PX/mchYcBla
         KahJDrSe0+hCBO8rZGCUFH+n6qxdw6d3Uyflf5JOaHWpez+Q/DswbdjuACcMWNfOJv4l
         pQTVqpXxSYU9383byTPit8lgxGmRc9eXngVzV0//9uyGidmTB+ooM42ta92m5Qs9RC53
         ufVlFwKVDiXQSyD1KbY938ySiPe2+mDneE2RIJbstEM0Z+9UlItcimKgwW1pq5DFrLSc
         dAnQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:date:from:to:cc:subject:message-id:references
         :mime-version:content-disposition:in-reply-to:user-agent;
        bh=OLJnmTPZUwyESAoflZQYsyaLSgv45Wxpw5j7ehjFeRw=;
        b=fxyRx/BtZ1fyGdLVWMkmzxFoDg6RTFS5kFP/SIz71gJqKONzWJEurWAVle3RSf1aoB
         E/KlqM+ekpGrTID1BvetZPHd0cD1lqw7zYIeNwqLN1Y1OtowSgQ5NFaIhEoy7+FhcXy0
         fQDYc+Ktt6p0hkfcetOjB9yHoSpxg+HWbUYdWBHlRFUycOvMTCOYfllfbydgmCURe4PH
         D23dZSDWeT0LexcUQU3e/NJ7H5I8tSuzZiDrR9WfPzIw13Y/1nfOpkZLRB/YeP1FDj2O
         5JuBGJdk3Bv9GPIymOvV0NqnA78Os5k7dCAVTqpHvz2bPT3AYSCNztPzZp9slit+0wJy
         w3UQ==
X-Gm-Message-State: APjAAAXwVvkGA34Z4UQjQjGBrzxjmfVZqdHwGsIrRz8LxO4RbCn3PVEu
	BWe0wK1Q2H6FgEUYWZRVpDPC+9jE86g=
X-Google-Smtp-Source: APXvYqxBxFbMtU4Uz/wHrd11cAC3rYP4xEq7+50AsUXedIdXFC2lGY1JKJNij41f6guhdhVMmLu2Hg==
X-Received: by 2002:aed:216a:: with SMTP id 97mr23082213qtc.114.1569812133414;
        Sun, 29 Sep 2019 19:55:33 -0700 (PDT)
Received: from DigitalMercury.dynalias.net (mtrlpq0313w-lp130-04-76-66-191-48.dsl.bell.ca. [76.66.191.48])
        by smtp.gmail.com with ESMTPSA id m14sm4772390qki.27.2019.09.29.19.55.32
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Sun, 29 Sep 2019 19:55:32 -0700 (PDT)
Received: by DigitalMercury.dynalias.net (Postfix, from userid 1000)
	id 014D819296A; Sun, 29 Sep 2019 22:55:31 -0400 (EDT)
Date: Sun, 29 Sep 2019 22:55:31 -0400
From: Nicholas D Steeves <[email protected]>
To: Chris Lamb <[email protected]>, [email protected]
Cc: Ryan Kavanagh <[email protected]>
Subject: Re: Bug#827051: check if dep5 license texts are GFDL or GFDL-NIV
Message-ID: <[email protected]>
References: <[email protected]>
 <1508940798.404937.1150598328.59B303B5@webmail.messagingengine.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="24zk1gE8NUlDmwG9"
Content-Disposition: inline
In-Reply-To: <1508940798.404937.1150598328.59B303B5@webmail.messagingengine.com>
User-Agent: Mutt/1.10.1 (2018-07-13)
[Message part 1 (text/plain, inline)]
Hi Chris,

On Wed, Oct 25, 2017 at 03:13:18PM +0100, Chris Lamb wrote:
> Hi,
> 
> > lintian should check that license blocks with short name GFDL-X.Y
> > are actually GFDL-X.Y (in which case they would be non-DFSG), or
> > if they should instead have short name GFDL-NIV-X.Y
> 
> How can Lintian tell the difference? Could you provide an example? :)
> 

I've encountered a related issue while packaging
emacs-ivy-doc-non-dfsg.  It has "Section: non-free/editors" and the
org file source used to generate its documentation is "License:
GFDL-1.3+", with invariant front-cover and back-cover texts.

Lintian errors with:

    E: emacs-ivy-doc-non-dfsg source: license-problem-gfdl-invariants
    debian/copyright invariant part is: with no invariant sections,
    with the front-cover texts being a gnu manual, and with the
    back-cover texts as in (a) below…

I would like to propose the following solution for Ryan's issue, which
also solves the error I'm experiencing:

Keep the existing parsing.  Definitely document that a lintian
override is not appropriate for the initial upload (such an override
feels like it should be an NEW AUTOREJECT).  Then add the following cases:

If a stanza has License: GFDL (no qualifiers), or GFDL-x.y[+|-only]
and the declared section isn't non-free/foo, then error. 

If a stanza has License: GFDL-x.y[+|-only], and invariants are found,
and the section is correctly declared as non-free/foo, then warn but
do not error.  That warning is an extra hint to ftpmasters imho.

If a stanza has License: GFDL-NIV.* then warn.

I've probably left out a number of possible cases, but I'll leave
those to someone more capable.  What I'm not sure about is what to do
on subsequent uploads...  It would be nice to have the liberty to
override the warning and hide it if a maintainer is 100% certain that
upstream won't budge on their choice of license.  On the other hand, I
see the benefit of a nagging lintian output to remind the maintainer
to contact upstream about their choice of license.


Regards,
Nicholas
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 11:31:45 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General 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.