Debian Bug report logs - #901678
lintian: Do not recommend MAINT_OPTIONS for nocheck

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

Reported by: Drew Parsons <[email protected]>

Date: Fri, 15 Jun 2018 14:03:02 UTC

Severity: normal

Tags: moreinfo

Merged with 1001588

Full log


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

Received: (at 901609) by bugs.debian.org; 15 Jun 2018 22:53:30 +0000
From [email protected] Fri Jun 15 22:53:30 2018
X-Spam-Checker-Version: SpamAssassin 3.4.1-bugs.debian.org_2005_01_02
	(2015-04-28) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-14.6 required=4.0 tests=BAYES_00,FROMDEVELOPER,
	HAS_BUG_NUMBER,RCVD_IN_DNSWL_NONE,TXREP autolearn=ham autolearn_force=no
	version=3.4.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 4; hammy, 106; neutral, 52; spammy, 0.
	spammytokens: hammytokens:0.000-+--H*o:Debian, 0.000-+--nocheck,
	0.000-+--lintian, 0.000-+--sk:dpkgbu, 0.000-+--sk:dpkg-bu
Return-path: <[email protected]>
Received: from ipmail03.adl6.internode.on.net ([150.101.137.143])
	by buxtehude.debian.org with esmtp (Exim 4.89)
	(envelope-from <[email protected]>)
	id 1fTxb0-0000AA-0v
	for [email protected]; Fri, 15 Jun 2018 22:53:30 +0000
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A2DJAgDOQSRb/3mPXD5bGwEBAQEDAQEBCQEBAYNIgWGEIZZWkEiGIDYBg09uAQICglIhNxUBAgEBAQEBAQJtKIUpAQQBI1sLCAMNDQImAgJXBgGFLQypcoIcGgKEMBCDb4FoImmJGj+EG4d2glUCmRMJjweIGAOFHyuReH0igVIzGggoCIISbZBQPYEmARYIDAGPKQEB
Received: from unknown (HELO grendel) ([62.92.143.121])
  by ipmail03.adl6.internode.on.net with ESMTP; 16 Jun 2018 08:18:21 +0930
Message-ID: <[email protected]>
Subject: Re: Bug#901609: dpkg-dev: dpkg-buildpackage ignores
 DEB_BUILD_MAINT_OPTIONS
From: Drew Parsons <[email protected]>
Reply-To: [email protected]
To: Guillem Jover <[email protected]>, [email protected]
Date: Sat, 16 Jun 2018 00:48:16 +0200
In-Reply-To: <[email protected]>
References: 
	<152907131495.5375.10104291859541328989.reportbug@grendel.emerall.com>
	 <[email protected]>
Organization: The Debian Project
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.28.2-1 
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Greylist: delayed 303 seconds by postgrey-1.36 at buxtehude; Fri, 15 Jun 2018 22:53:29 UTC
> Perhaps I'm misunderstanding the request, but this is inside-out,
> dpkg-buildpackage always calls debian/rules (and never the other way
> around) so whatever is set from within that file will not be visible
> to the outter process. dpkg-buildpckage does not (and cannot) really
> care what you do with either of the variables in debian/rules. :)
> 
> Barring some misunderstanding from my part, I'm planning on closing
> this report in a bit.


The problem is this:  in debian/rules I have DEB_BUILD_OPTIONS=nocheck,
which is used (I don't know by what exactly) to prevent the build
system from automatically running test.

But lintian complains that it should be set to DEB_BUILD_MAINT_OPTIONS
instead.

But when I change it to DEB_BUILD_MAINT_OPTIONS=nocheck (or "export
DEB_BUILD_MAINT_OPTIONS=nocheck"), the tests are run.
DEB_BUILD_MAINT_OPTIONS is being ignored at build time.

Is it dh and debhelper that the bug needs to be sent to?





Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 11:55:36 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.