Debian Bug report logs - #1104764
dpkg: Add allownetworktest to DEB_BUILD_OPTIONS

version graph

Package: dpkg; Maintainer for dpkg is Dpkg Developers <[email protected]>; Source for dpkg is src:dpkg (PTS, buildd, popcon).

Reported by: Pirate Praveen <[email protected]>

Date: Mon, 5 May 2025 21:03:03 UTC

Severity: normal

Found in version dpkg/1.22.18

Full log


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

Received: (at 1104764) by bugs.debian.org; 6 May 2025 01:48:20 +0000
From [email protected] Tue May 06 01:48:20 2025
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
	(2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-111.6 required=4.0 tests=ALL_TRUSTED,BAYES_00,
	DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,
	FROMDEVELOPER,HAS_BUG_NUMBER,SPF_HELO_NONE,SPF_NONE,
	USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST autolearn=ham
	autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 16; hammy, 150; neutral, 62; spammy,
	0. spammytokens: hammytokens:0.000-+--XDebbugsCc,
	0.000-+--X-Debbugs-Cc, 0.000-+--Hx-spam-relays-external:36ff,
	0.000-+--H*r:36ff, 0.000-+--H*RT:sk:master.
Return-path: <[email protected]>
Received: from master.debian.org ([2001:41b8:202:deb:216:36ff:fe40:4001]:42842)
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=master.debian.org,[email protected] (verified)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1uC7Pv-005Tqi-Tn
	for [email protected]; Tue, 06 May 2025 01:48:20 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
	s=smtpauto.master; h=In-Reply-To:Content-Type:MIME-Version:References:
	Message-ID:Subject:To:From:Date:Reply-To:Cc:Content-Transfer-Encoding:
	Content-ID:Content-Description;
	bh=OEFEcitX15C6G8qhRixAbX0sAW1s8jYAMJW+VtSN388=; b=BGByAiQyuq8li8sMeglE8zyFJo
	xstgxZcKBW29e0e3E9SN48Ex5DQORFRT2LwLy6K0TkDrRiDEDfRWcdQZfpJ94T3IUyl7B7/DlhUNA
	uKSn0rRNocI40qIjo/S9Cl5YslfaMcFD0JGDnWKgGVENMhaak/odcGeda/BngCvE9aGQkA04wZmZx
	+oAYZctvuGeHNB8Bt4I0omhro3y5QNxxKFkYF4ttHN5VkYpGKAj626gQH7V2hFqkVhk05YsEfHF+S
	XM1yN9lnawEJMrQjL39NHaSs6yyLs1082ok5fYwlb/hHQ3P4MOu9IyT9c17fvYuiM2AlQqgr97MmP
	tO/OmcLA==;
Received: from guillem by master.debian.org with local (Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1uC7Pt-006jSO-VN; Tue, 06 May 2025 01:48:17 +0000
Date: Tue, 6 May 2025 03:48:16 +0200
From: Guillem Jover <[email protected]>
To: Pirate Praveen <[email protected]>, [email protected]
Subject: Re: Bug#1104764: dpkg: Add allownetworktest to DEB_BUILD_OPTIONS
Message-ID: <[email protected]>
References: <174647889150.31432.9427348071230501592.reportbug@mahishi2>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <174647889150.31432.9427348071230501592.reportbug@mahishi2>
Hi!

On Tue, 2025-05-06 at 02:31:31 +0530, Pirate Praveen wrote:
> Package: dpkg
> Version: 1.22.18
> Severity: normal
> X-Debbugs-Cc: [email protected]

> As a followup to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1104643#39
> please add 'allownetworktest' as a supported option for DEB_BUILD_OPTIONS. So
> we can run tests that need internet access from salsa ci but disabled by
> default.

I suspect this report has been misdirected, because dpkg only has
explicit support for DEB_BUILD_OPTIONS that it can act on (see for
example dpkg-buildpackage(1) or dpkg-buildflags(1)). In this case I
don't think there's anything that dpkg can do about this new option?

I think this might be more appropriate as a Debian policy report,
looking for consensus on documenting this usage, if people agree with
it. I'd also like to mention that it might be worth diverging from
existing practice of tucking multiple words together with no
separators, which I've considered to be a non-ideal practice for a
while (where I think I might have made it worse when adding support
for new options/keywords from the original no<something> pattern).

Thanks,
Guillem



Send a report that this bug log contains spam.


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

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.