[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: invalid and duplicate architectures



Hi!

On Fri, 2014-05-23 at 19:16:41 -0700, Russ Allbery wrote:
> Paul Wise <pabs@debian.org> writes:
> > On Fri, May 23, 2014 at 10:00 PM, Johannes Schauer  wrote:
> > > In my code I counted all debian architectures as "valid" which are
> > > listed on packages.debian.net. Is there a better way to retrieve
> > > "valid" architectures in this context?
> 
> > Dpkg::Arch::get_valid_arches, which looks at /usr/share/dpkg/*table
> 
> I'm pretty sure that Lintian already uses that data to check whether
> architectures are valid (I vaguely remember working on that code), but it
> may well be that the existing check doesn't get the wildcards right.

Nah, it seems to be working fine:

  <http://lintian.debian.org/tags/invalid-arch-string-in-source-relation.html>
  <http://lintian.debian.org/tags/unknown-architecture.html>

just needs an update from the dpkg data to get or1k.

Regards,
Guillem


Reply to: