Debian Bug report logs - #112325
dpkg-dev: should allow exclusion of architectures

version graph

Package: dpkg-dev; Maintainer for dpkg-dev is Dpkg Developers <debian-dpkg@lists.debian.org>; Source for dpkg-dev is src:dpkg (PTS, buildd, popcon).

Reported by: Wouter Verhelst <wouter@debian.org>

Date: Sat, 15 Sep 2001 11:33:01 UTC

Severity: wishlist

Found in version 1.9.17

Done: Guillem Jover <guillem@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

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


Report forwarded to debian-bugs-dist@lists.debian.org, Wichert Akkerman <wakkerma@debian.org>:
Bug#112325; Package dpkg-dev. (full text, mbox, link).


Acknowledgement sent to Wouter Verhelst <wouter@debian.org>:
New Bug report received and forwarded. Copy sent to Wichert Akkerman <wakkerma@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Wouter Verhelst <wouter@debian.org>
To: submit@bugs.debian.org
Subject: dpkg-gencontrol: mistakes hurd-i386 for i386
Date: Sat, 15 Sep 2001 13:21:13 +0200 (CEST)
Package: dpkg-dev
Version: 1.9.17
Severity: normal

one of my packages, nbd-client, requires kernel support from the Linux
kernel. So, it won't run on The Hurd (currently the only non-linux port in
the archive), which is why I added a line like 

Architecture: !hurd-i386

to the controlfile, thereby assuming that nbd-client will be built on all
architectures but The Hurd. However, when trying to build nbd on my
personal system (an i386), I get an error:

dpkg-gencontrol: error: current build architecture i386 does not appear in package's list (!(hurd-i386))

-- System Information
Debian release: testing/unstable
Architecture: i386
Kernel: Linux rock 2.4.9 #3 vr aug 17 20:18:58 CEST 2001 i586
Locale: LANG=nl_BE, LC_CTYPE=nl_BE

Versions of packages dpkg-dev depends on:
ii  binutils                  2.11.90.0.31-1 The GNU assembler, linker and bina
ii  cpio                      2.4.2-37       GNU cpio -- a program to manage ar
ii  make                      3.79.1-10      The GNU version of the "make" util
ii  patch                     2.5.4-5        Apply a diff file to an original
ii  perl [perl5]              5.6.1-5        Larry Wall's Practical Extraction
ii  perl-modules              5.6.1-5        Core Perl modules.




Reply sent to Wichert Akkerman <wichert@wiggy.net>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Wouter Verhelst <wouter@debian.org>:
Bug acknowledged by developer. (full text, mbox, link).


Message #10 received at 112325-done@bugs.debian.org (full text, mbox, reply):

From: Wichert Akkerman <wichert@wiggy.net>
To: Wouter Verhelst <wouter@debian.org>, 112325-done@bugs.debian.org
Subject: Re: Bug#112325: dpkg-gencontrol: mistakes hurd-i386 for i386
Date: Sat, 15 Sep 2001 15:14:11 +0200
Previously Wouter Verhelst wrote:
> Architecture: !hurd-i386

That is not a valid syntax, exclusions are not supported there. You have
to give the full list of architectures.

Wichert.

-- 
  _________________________________________________________________
 /       Nothing is fool-proof to a sufficiently talented fool     \
| wichert@wiggy.net                   http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |



Information forwarded to debian-bugs-dist@lists.debian.org, Wichert Akkerman <wakkerma@debian.org>:
Bug#112325; Package dpkg-dev. (full text, mbox, link).


Acknowledgement sent to Wouter Verhelst <wouter@debian.org>:
Extra info received and forwarded to list. Copy sent to Wichert Akkerman <wakkerma@debian.org>. (full text, mbox, link).


Message #15 received at 112325@bugs.debian.org (full text, mbox, reply):

From: Wouter Verhelst <wouter@debian.org>
To: Wichert Akkerman <wichert@wiggy.net>
Cc: 112325@bugs.debian.org, control@bugs.debian.org
Subject: Re: Bug#112325: dpkg-gencontrol: mistakes hurd-i386 for i386
Date: Sat, 15 Sep 2001 15:24:22 +0200 (CEST)
reopen 112325
severity 112325 wishlist

On Sat, 15 Sep 2001, Wichert Akkerman wrote:

> Previously Wouter Verhelst wrote:
> > Architecture: !hurd-i386
> 
> That is not a valid syntax, exclusions are not supported there. You have
> to give the full list of architectures.

I tried to do it that way since it's easier to maintain, as compared
to a nearly-full list of architectures. If not valid currently, please
consider allowing this syntax somewhere in the future (that would be
after woody's release, probably).

-- 
wouter dot verhelst at advalvas dot be

"Human knowledge belongs to the world"
  -- From the movie "Antitrust"

rm -rf /bin/laden




Bug reopened, originator not changed. Request was from Wouter Verhelst <wouter@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Severity set to `wishlist'. Request was from Wouter Verhelst <wouter@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Changed Bug title. Request was from Wouter Verhelst <wouter@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Reply sent to Guillem Jover <guillem@debian.org>:
You have taken responsibility. (Wed, 18 Jul 2012 14:42:03 GMT) (full text, mbox, link).


Notification sent to Wouter Verhelst <wouter@debian.org>:
Bug acknowledged by developer. (Wed, 18 Jul 2012 14:42:03 GMT) (full text, mbox, link).


Message #26 received at 112325-done@bugs.debian.org (full text, mbox, reply):

From: Guillem Jover <guillem@debian.org>
To: Wouter Verhelst <wouter@debian.org>, 112325-done@bugs.debian.org
Cc: Wichert Akkerman <wichert@wiggy.net>
Subject: Re: Bug#112325: dpkg-gencontrol: mistakes hurd-i386 for i386
Date: Wed, 18 Jul 2012 16:33:13 +0200
Hi!

On Sat, 2001-09-15 at 15:24:22 +0200, Wouter Verhelst wrote:
> reopen 112325
> severity 112325 wishlist
> 
> On Sat, 15 Sep 2001, Wichert Akkerman wrote:
> 
> > Previously Wouter Verhelst wrote:
> > > Architecture: !hurd-i386
> > 
> > That is not a valid syntax, exclusions are not supported there. You have
> > to give the full list of architectures.
> 
> I tried to do it that way since it's easier to maintain, as compared
> to a nearly-full list of architectures. If not valid currently, please
> consider allowing this syntax somewhere in the future (that would be
> after woody's release, probably).

Using the negated list has the problem that it's not really correct,
because the package will only build on a positive set of
architectures, it would need to be updated whenever new architectures
that do not support the package get introduced and will cause issues
for third party distributions building for architectures not supported
by Debian.

Now that we have architecture wildcards your specific problem can be
solved more cleanly with just:

  Architecture: linux-any

and as such I'm closing this request.

thanks,
guillem



Information forwarded to debian-bugs-dist@lists.debian.org, Dpkg Developers <debian-dpkg@lists.debian.org>:
Bug#112325; Package dpkg-dev. (Fri, 20 Jul 2012 00:27:03 GMT) (full text, mbox, link).


Acknowledgement sent to Wouter Verhelst <w@uter.be>:
Extra info received and forwarded to list. Copy sent to Dpkg Developers <debian-dpkg@lists.debian.org>. (Fri, 20 Jul 2012 00:27:04 GMT) (full text, mbox, link).


Message #31 received at 112325@bugs.debian.org (full text, mbox, reply):

From: Wouter Verhelst <w@uter.be>
To: Guillem Jover <guillem@debian.org>
Cc: 112325@bugs.debian.org
Subject: Re: Bug#112325: dpkg-gencontrol: mistakes hurd-i386 for i386
Date: Fri, 20 Jul 2012 01:48:32 +0200
On Wed, Jul 18, 2012 at 04:33:13PM +0200, Guillem Jover wrote:
> Hi!
> 
> On Sat, 2001-09-15 at 15:24:22 +0200, Wouter Verhelst wrote:

(i.e., over a decade ago -- time sure flies).

> > reopen 112325
> > severity 112325 wishlist
> > 
> > On Sat, 15 Sep 2001, Wichert Akkerman wrote:
> > 
> > > Previously Wouter Verhelst wrote:
> > > > Architecture: !hurd-i386
> > > 
> > > That is not a valid syntax, exclusions are not supported there. You have
> > > to give the full list of architectures.
> > 
> > I tried to do it that way since it's easier to maintain, as compared
> > to a nearly-full list of architectures. If not valid currently, please
> > consider allowing this syntax somewhere in the future (that would be
> > after woody's release, probably).
> 
> Using the negated list has the problem that it's not really correct,
> because the package will only build on a positive set of
> architectures, it would need to be updated whenever new architectures
> that do not support the package get introduced and will cause issues
> for third party distributions building for architectures not supported
> by Debian.
> 
> Now that we have architecture wildcards your specific problem can be
> solved more cleanly with just:
> 
>   Architecture: linux-any

Which is what I've been using since a few weeks after it was allowed :-)

> and as such I'm closing this request.

Sure. I'd completely forgotten about it, otherwise I would've done so myself.

Thanks,

-- 
The volume of a pizza of thickness a and radius z can be described by
the following formula:

pi zz a



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 17 Aug 2012 07:25:47 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Jun 5 03:28:35 2023; Machine Name: buxtehude

Debian Bug tracking system

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