Bug#748936: Re: Bug#748936: apt doesnt understand architecture wildcards
- To: Balint Reczey <balint@balintreczey.hu>, Johannes Schauer <j.schauer@email.de>, 748936@bugs.debian.org, debian-policy@lists.debian.org, debian-dpkg@lists.debian.org
- Subject: Bug#748936: Re: Bug#748936: apt doesnt understand architecture wildcards
- From: Bill Allombert <ballombe@debian.org>
- Date: Wed, 20 Jan 2016 15:17:18 +0100
- Message-id: <[🔎] 20160120141718.GA10787@yellowpig>
- Mail-followup-to: Balint Reczey <balint@balintreczey.hu>, Johannes Schauer <j.schauer@email.de>, 748936@bugs.debian.org, debian-policy@lists.debian.org, debian-dpkg@lists.debian.org
- Reply-to: Bill Allombert <ballombe@debian.org>, 748936@bugs.debian.org
- In-reply-to: <[🔎] 20160120133944.GB17587@riva.ucam.org>
- References: <20140522112800.16419.64484.reportbug@hoothoot> <20140525200448.GA21884@client.brlink.eu> <20140604014159.GA19649@gaara.hadrons.org> <[🔎] 569F7028.4020309@balintreczey.hu> <[🔎] 20160120133944.GB17587@riva.ucam.org>
On Wed, Jan 20, 2016 at 01:39:45PM +0000, Colin Watson wrote:
> On Wed, Jan 20, 2016 at 12:31:52PM +0100, Balint Reczey wrote:
> > On 06/04/2014 03:41 AM, Guillem Jover wrote:
> > > * Other programs could “easily” use dpkg-architecture to check for
> > > identity or a match. (This poses problems for programs that do not
> >
> > I think making apt call dpkg-architecture for matching would be a good
> > way of ensuring consistency with dpkg. Caching the results in a hash
> > table would make matching even faster than it is currently.
>
> dpkg-architecture is in dpkg-dev, so not reliably usable at run-time.
> dpkg doesn't currently provide a way to make this kind of query without
> development tools installed. It's also probably not trivial to move it
> because its current implementation relies on dpkg's Perl modules, which
> also aren't part of the core dpkg binary package.
>
> I think this is somewhat unfortunate, but it is the reality right now.
> Perhaps a good thing for somebody to work on would be reimplementing
> dpkg-architecture in C so that it could be moved to the dpkg binary
> package?
As I understand, dpkg-architecture query the C compiler which is not
always avalaible.
Cheers,
--
Bill. <ballombe@debian.org>
Imagine a large red swirl here.
Reply to: