Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • T tor-browser-build
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 219
    • Issues 219
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 6
    • Merge requests 6
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Applications
  • tor-browser-build
  • Issues
  • #40591
Closed
Open
Issue created Aug 08, 2022 by Pier Angelo Vendrame@pierovMaintainer

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.

Edited Aug 08, 2022 by Pier Angelo Vendrame
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking