Bug#1079515: bullseye-pu: package rustc-web/1.78.0+dfsg1-2~deb11u1

Emilio Pozuelo Monfort <[email protected]> Wed, 28 Aug 2024 11:16:10 +0200
Newsgroups gmane.linux.debian.devel.bugs.general,gmane.linux.debian.ports.mips
Message-ID <[email protected]>
On 25/08/2024 11:16, Adam D. Barratt wrote:
> On Sun, 2024-08-25 at 10:08 +0200, Paul Gevers wrote:
>> Hi Emilio,
>>
>> On 24-08-2024 12:29, Emilio Pozuelo Monfort wrote:
>>> Uploaded.
>>
>> The package fails its own autopkgtest. Did something go wrong?
>>
>>    63s autopkgtest [22:00:29]: test create-and-build-crate:
>> [-----------------------
>>    63s      Created binary (application) `hello` package
>>    63s error: no such subcommand: `add`
>>    63s
>>    63s   Did you mean `doc`?
>>    63s autopkgtest [22:00:29]: test create-and-build-crate:
>> -----------------------]
> 
> 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.

I'll look at the autopkgtest and the other issues (conflicts et al).

Cheers,
Emilio