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

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], [email protected], Dpkg Developers <[email protected]>:
Bug#1104764; Package dpkg. (Mon, 05 May 2025 21:03:03 GMT) (full text, mbox, link).


Acknowledgement sent to Pirate Praveen <[email protected]>:
New Bug report received and forwarded. Copy sent to [email protected], Dpkg Developers <[email protected]>. (Mon, 05 May 2025 21:03:04 GMT) (full text, mbox, link).


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

From: Pirate Praveen <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: dpkg: Add allownetworktest to DEB_BUILD_OPTIONS
Date: Tue, 06 May 2025 02:31:31 +0530
Package: dpkg
Version: 1.22.18
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

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.


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.25-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dpkg depends on:
ii  libbz2-1.0   1.0.8-6
ii  libc6        2.41-7
ii  liblzma5     5.8.1-1
ii  libmd0       1.1.0-2+b1
ii  libselinux1  3.8.1-1
ii  libzstd1     1.5.7+dfsg-1
ii  tar          1.35+dfsg-3.1
ii  zlib1g       1:1.3.dfsg+really1.3.1-1+b1

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt            3.0.1
pn  debsig-verify  <none>

-- no debconf information



Information forwarded to [email protected], Dpkg Developers <[email protected]>:
Bug#1104764; Package dpkg. (Tue, 06 May 2025 01:51:01 GMT) (full text, mbox, link).


Acknowledgement sent to Guillem Jover <[email protected]>:
Extra info received and forwarded to list. Copy sent to Dpkg Developers <[email protected]>. (Tue, 06 May 2025 01:51:01 GMT) (full text, mbox, link).


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

From: Guillem Jover <[email protected]>
To: Pirate Praveen <[email protected]>, [email protected]
Subject: Re: Bug#1104764: dpkg: Add allownetworktest to DEB_BUILD_OPTIONS
Date: Tue, 6 May 2025 03:48:16 +0200
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 09:21:50 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.