mach build modifies Cargo.lock
Categories
(Firefox Build System :: General, defect)
Tracking
(firefox-esr78 unaffected, firefox88 unaffected, firefox89 unaffected, firefox90 fixed)
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox88 | --- | unaffected |
firefox89 | --- | unaffected |
firefox90 | --- | fixed |
People
(Reporter: tnikkel, Assigned: mhentges)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
When I run ./mach build now it modifies my Cargo.lock
diff --git a/Cargo.lock b/Cargo.lock
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1789,7 +1789,6 @@ dependencies = [
"log",
"marionette",
"mozdevice",
- "mozilla-central-workspace-hack",
"mozprofile",
"mozrunner",
"mozversion",
Assuming from bug 1705376
Reporter | ||
Updated•3 years ago
|
Comment 1•3 years ago
|
||
Set release status flags based on info from the regressing bug 1705376
Assignee | ||
Comment 2•3 years ago
|
||
Hmm, I could see this happening if the patch didn't include this change requested by glandium.
I did a /mach build
on both Windows and Linux and I'm unable to reproduce this problem.
- Is
mozilla-central-workspace-hack
intesting/geckodriver/Cargo.toml
for you? - Can you reproduce the issue on clean
central
? - If so, what does your
mozconfig
look like?
Assignee | ||
Updated•3 years ago
|
Comment 3•3 years ago
|
||
It's because mozilla-central-workspace-hack is not in testing/geckodriver/Cargo.toml that there is a problem. Cargo.lock was not updated to reflect that.
Reporter | ||
Comment 4•3 years ago
|
||
Not sure if you need this information now but here it is.
mozconfig
#ac_add_options --with-macos-sdk=$HOME/.mozbuild/macOS-SDK-archive/MacOSX10.14.sdk
ac_add_options --enable-optimize
#ac_add_options --disable-debug
ac_add_options --enable-debug
#ac_add_options RUSTC_OPT_LEVEL=2
ac_add_options --enable-dump-painting
What do you mean clean central? I had no patches applied, no changesets in progress, and made no changes to any files, I rm -fr'd my obj dir.
There is no mozilla-central-workspace-hack in testing/geckodriver/Cargo.toml
I'm on macos if that matters.
I tested it more than once (rm -fr objdir, revert all, build again).
Backing out bug 1705376 locally fixed the issue.
Tried today in a different source tree and it didn't seem to have this problem.
Assignee | ||
Comment 5•3 years ago
|
||
Oh, I see, the way Bugzilla rendered your original message caused me to assume that the workspace-hack was added, which threw me off.
Assignee | ||
Updated•3 years ago
|
Reporter | ||
Comment 6•3 years ago
•
|
||
(In reply to Mitchell Hentges [:mhentges] 🦀 from comment #5)
Oh, I see, the way Bugzilla rendered your original message caused me to assume that the workspace-hack was added, which threw me off.
It was removed, sorry about the rendering.
Updated•3 years ago
|
Assignee | ||
Comment 7•3 years ago
|
||
This was resolved in this patch by accident.
Updated•3 years ago
|
Updated•3 years ago
|
Description
•