Bug#1072334: libconfig-model-dpkg-perl: add loong64 and riscv64 to available archs

Dominique Dumont dod at debian.org
Sun Jun 2 17:46:22 BST 2024


On Sunday, 2 June 2024 02:53:49 CEST you wrote:
> On Sat, 01 Jun 2024 08:45:03 +0000, Francesco Ballarin wrote:
> > is it possible to add loong64 and riscv64 to the archs listed in
> > /usr/share/perl5/Config/Model/Dpkg/Dependency.pm
> > ?
> 
> Maybe we should use (in lib/Config/Model/Dpkg/Dependency.pm)
> /usr/share/dpkg/ostable or Dpkg::Arch's get_valid_arches() instead of
> hardcoding architectures?
> 
> What do you think, Dominique?

Well, ostable file does not mention loong64 arch.

And get_valid_arches returns quite a lot of architectures, just for loong64 (and for all others):

$ perl -MDpkg::Arch=get_valid_arches -E 'my @list = get_valid_arches(); say join("\n", at list);' | grep loong64
uclibc-linux-loong64
musl-linux-loong64
loong64
netbsd-loong64
openbsd-loong64

Are these values suitable for the arch restriction of a dependency ? 

I.e. is it allowed to specify something like:

 foo (>=1.2.3) [netbsd-loong64]

All the best



More information about the pkg-perl-maintainers mailing list