Closed
Bug 1325932
Opened 7 years ago
Closed 7 years ago
Build with rust from the distro is failing on "env: ':': No such file or directory"
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1298600
People
(Reporter: Sylvestre, Unassigned)
References
Details
Using rustc 1.13.0+dfsg1-2 from Debian. 0:06.27 make[5]: Entering directory '/home/sylvestre/dev/mozilla/mozilla-central.hg/obj-x86_64-pc-linux-gnu/toolkit/library/gtest/rust' 0:06.27 force-cargo-library-build 0:06.27 env CARGO_TARGET_DIR=. RUSTC=/usr/bin/rustc MOZ_DIST=/home/sylvestre/dev/mozilla/mozilla-central.hg/obj-x86_64-pc-linux-gnu/dist : build --release --manifest-path /home/sylvestre/dev/mozilla/mozilla-central.hg/toolkit/library/gtest/rust/Cargo.toml --verbose --lib --target=x86_64-unknown-linux-gnu 0:06.27 env: ':': No such file or directory 0:06.27 /home/sylvestre/dev/mozilla/mozilla-central.hg/config/rules.mk:959: recipe for target 'force-cargo-library-build' failed 0:06.27 make[5]: *** [force-cargo-library-build] Error 127 0:06.27 make[5]: Leaving directory '/home/sylvestre/dev/mozilla/mozilla-central.hg/obj-x86_64-pc-linux-gnu/toolkit/library/gtest/rust' Building with --disable-rust fixes the issue.
Comment 1•7 years ago
|
||
Looks like you don't have cargo installed, but configure should have failed in that case... I guess /that/ is what needs fixing.
Also affects some BSDs until bug 1320940. Landry, do you run |./mach bootstrap| on the buildbot? http://buildbot.rhaalovely.net/builders/mozilla-central-amd64/builds/1954/steps/build/logs/stdio
Flags: needinfo?(landry)
Comment 3•7 years ago
|
||
No i dont, only mach configure + mach build, but rust and cargo should have been installed on the slave - i was missing cargo. Oh, and having to run mach bootstrap for each build would feel wrong....
Flags: needinfo?(landry)
Comment 4•7 years ago
|
||
I ran into this problem as well, then I installed my system cargo (on Debian Unstable) but then discovered that I had to do a clobber before it would detect my newly installed executable as otherwise it would keep complaining (which confused me for a while).
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•6 years ago
|
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•