Rust 1.60 not working to build 102 on Debian Jessie
Mozilla uses Rust 1.60 to build Firefox 102.
For some reason our binaries cannot complete a build, but official binaries can.
It seems like we hit a deadlock in the phase
Compiling gkrust-shared v0.1.0 (/home/rbm/tor-browser/toolkit/library/rust/shared)
Only one rustc
process remains alive, but it uses only 40-50MB of memory, and 0% of CPU, and it never ends.
I have also tried to add a RUSTC_LOGS="info"
/RUSTC_LOGS="debug"
, but I don't get any output.
Our binaries seem to work on the current stable of Debian (I have tried to set bullseye as a container in projects/firefox/config
).
As a workaround we can run ./install.sh --prefix=$distdir
on the downloaded 1.60, to convert the downloaded archive (which is organized by project) to a more standard directory structure (the usual bin/
, lib/
, etc...).
Also, I have opened a thread on Rust's forum: https://users.rust-lang.org/t/how-to-reproduce-official-rustc-builds-for-linux/79569.
My idea is that we could start by building a rustc
in the same environment and with the same configuration as the official binaries, and then make it more and more similar to our builds, to see when it breaks.