Closed Bug 2078135 Opened 1 month ago Closed 1 month ago

Unable to build ESR 153 on Mac - hangs building crashreporter

Categories

(Firefox Build System :: General, defect)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 2052456

People

(Reporter: standard8, Unassigned)

References

(Blocks 1 open bug)

Details

Attempting to build ESR 153 on MacOS 27.0.1 with the standard mozconfig that works on firefox-main, it hangs with a stuck process for 20+ minutes.

My mozconfig is:

mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-ff-opt
mk_add_options AUTOCLOBBER=1

ac_add_options --enable-application=browser
ac_add_options --enable-optimize
ac_add_options --disable-debug

The commands that were running at the time I killed it were:

0:00.01 /Library/Developer/CommandLineTools/usr/bin/make -f client.mk -j14 -s
0:00.02 /Library/Developer/CommandLineTools/usr/bin/make -C /Users/mark/mozilla-source/firefox/objdir-ff-opt
0 ttys001    0:00.01 /Library/Developer/CommandLineTools/usr/bin/make -C toolkit/crashreporter/client/app target
0 ttys001    0:05.63 /Users/mark/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo rustc --timings --release --frozen --manifest-path /Users/mark/mozilla-source/firefox/toolkit/crashreporter/client/app/Cargo.toml --color=always --bin crashreporter --target=aarch64-apple-darwin --features mozilla-central-workspace-hack --
0 ttys001   22:24.85 /Users/mark/mozilla-source/firefox/objdir-ff-opt/release/build/cocoabind-e9749d2f5696bf8d/build-script-build
0 ttys001    0:00.03 /Library/Developer/CommandLineTools/usr/bin/make compile
0 ttys001    0:00.56 /Library/Developer/CommandLineTools/usr/bin/make recurse_compile

build-script-build had been running at 100% CPU for the 20 minutes.

This sounds like a dupe of bug 2052456.
I suppose you haven't bootstrapped while on the esr153 branch?

(In reply to Mike Hommey [:glandium] from comment #1)

This sounds like a dupe of bug 2052456.
I suppose you haven't bootstrapped while on the esr153 branch?

I haven't. I just tried it and got:

Installing cargo-binstall...
    Updating crates.io index
error: cannot install package `cargo-binstall 1.25.2`, it requires rustc 1.96.1 or newer, while the currently active rustc version is 1.93.0
`cargo-binstall 1.24.0` supports rustc 1.79

(In reply to Mark Banner (:standard8) from comment #2)

(In reply to Mike Hommey [:glandium] from comment #1)

This sounds like a dupe of bug 2052456.
I suppose you haven't bootstrapped while on the esr153 branch?

I haven't. I just tried it and got:

Installing cargo-binstall...
    Updating crates.io index
error: cannot install package `cargo-binstall 1.25.2`, it requires rustc 1.96.1 or newer, while the currently active rustc version is 1.93.0
`cargo-binstall 1.24.0` supports rustc 1.79

You can either upgrade the rustc version (shouldn't cause problems), or use ac_add_options --enable-bootstrap in your mozconfig instead.

ac_add_options --enable-bootstrap in the mozconfig fixed it. Thank you.

Status: NEW → RESOLVED
Closed: 1 month ago
Duplicate of bug: 2052456
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.