On 28/08/2024 18:13, Adam D. Barratt wrote:
On Wed, 2024-08-28 at 11:16 +0200, Emilio Pozuelo Monfort wrote:
On 25/08/2024 11:16, Adam D. Barratt wrote:

[...]
Both the bullseye and bookworm builds fail on mips64el with:

   File "/<<PKGBUILDDIR>>/src/bootstrap/bootstrap.py", line 1175, in
<module>
      main()
    File "/<<PKGBUILDDIR>>/src/bootstrap/bootstrap.py", line 1160,
in main
      bootstrap(args)
    File "/<<PKGBUILDDIR>>/src/bootstrap/bootstrap.py", line 1127,
in bootstrap
      build.build_bootstrap()
    File "/<<PKGBUILDDIR>>/src/bootstrap/bootstrap.py", line 880, in
build_bootstrap
      args = self.build_bootstrap_cmd(env)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/<<PKGBUILDDIR>>/src/bootstrap/bootstrap.py", line 983, in
build_bootstrap_cmd
      raise Exception("no cargo executable found at `{}`".format(
Exception: no cargo executable found at `/usr/bin/cargo`
make[1]: *** [debian/rules:300: debian/dh_auto_build.stamp] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:203: binary-arch] Error 2

Those are expected. The reason is that there's no bootstrap binaries
for mips{64,}el because upstream dropped their tier level and no
longer provides  them. So we'll have to drop (or keep an outdated)
firefox/chromium binary. Note that for mipsel, this doesn't matter
much, as llvm-16 isn't available either,
and there are no firefox-esr/chromium/thunderbird builds there.

Thanks for the background.

Technically there /are/ firefox-esr builds on mipsel in bullseye, but
they're really old:

firefox-esr | 78.15.0esr-1~deb11u1  | oldstable                        | 
source, mipsel

chromium doesn't build for mips* in any case, and bullseye-LTS won't
support mips*el. So the practical effect AFAICT is that we lose the
ability to build firefox-esr and thunderbird on mips64el for bookworm.
I /assume/ that isn't particularly an issue.

It's an issue for mips64el firefox/thunderbird users (if any), but it shouldn't block us because the status quo will be in a similar situation (unsupported ff/tb versions). However it's not something I can solve (at least not with reasonable effort). But if a mips porter wants to provide a bootstrap tarball I could include it to get rustc-web built there.

Cheers,
Emilio

Reply via email to