Hi,

I built crystal on arm64 earlier this year and still have the results, so here
is some data for this bug.

Upstream's platform support page lists, for Linux, x86_64-linux-gnu as tier 1
and aarch64-linux-gnu, arm-linux-gnueabihf and i386-linux-gnu as tier 2. That
maps to amd64, arm64, armhf and i386 in Debian, so the current
Architecture: amd64 does understate what upstream supports.

I packaged and built crystal 1.18.2+dfsg on an arm64 machine in April:

  primitives_spec   717 / 717 pass
  compiler_spec     13290 / 13290 pass, 18 pending
  std_spec          17562 examples, 4 fail, 30 pending
  lintian           no errors, no warnings

The four std_spec failures are DNS resolver tests that fail on amd64 on my
network too, because of a middlebox that rewrites NXDOMAIN; a buildd with the
network unshared would not reach them. I also checked that the build itself
needs no network, by running dpkg-buildpackage under "unshare -rn".

> So, If I'm not wrong, should be amd64 and arm, not any, I guess.

On what Architecture: any actually causes, which I think is the open question
here: since crystal Build-Depends on crystal, an architecture with no
bootstrapped compiler in the archive just becomes BD-Uninstallable. That is
not recorded as a build failure, so it does not appear as an FTBFS anywhere.

fpc, which Paul mentioned, shows the steady state. It is Architecture: any and
currently sits at:

  Installed         amd64 arm64 armhf i386 ppc64el m68k powerpc ppc64 sparc64
  BD-Uninstallable  loong64 riscv64 s390x alpha hppa hurd-amd64 sh4 x32

Nine built, eight waiting for a bootstrap, nothing failing.

So the Architecture field can be relaxed independently of the bootstrap work:
changing it commits nobody to doing a binary-only upload, and it stops Debian
from claiming less than upstream supports. The bootstrap can then happen
whenever someone has time for it.

Cheers,
Cheng Li

Reply via email to