`./mach clobber` doesn't clobber the objdir hard enough
Categories
(Firefox Build System :: General, defect)
Tracking
(firefox-esr78 unaffected, firefox90 wontfix, firefox91 wontfix, firefox92 fixed)
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox90 | --- | wontfix |
firefox91 | --- | wontfix |
firefox92 | --- | fixed |
People
(Reporter: jfkthame, Assigned: mhentges)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
In particular, ./mach clobber
doesn't blow away _virtualenvs
, and this can result in a mysteriously broken build.
In my case, I was getting Glean-related build failures even after clobbering, because there was an outdated glean_parser cached in the objdir's _virtualenvs
. It took entirely too long to figure out that clobber
wasn't enough and I needed to manually rm -rf
' the entire objdir to get a successful build again.
Reporter | ||
Comment 1•4 years ago
|
||
(Bug 1645889 sounds like it should have taken care of this, but I've just been experiencing the pain on current trunk.)
Reporter | ||
Comment 2•4 years ago
|
||
I see this changed in c1bda584266e (bug 1712382) -- prior to that, ./mach clobber
did delete the _virtualenvs directory in the objdir.
I think it would be better if ./mach clobber
continues to include the functionality of ./mach clobber python
(as per bug 1645889); the default behavior here should be the simple thing that works all the time. More sophisticated users may want to be able to "clobber" individual categories of things, but ./mach clobber
should be the command that "just works" without requiring a detailed understanding of what the local breakage happens to be.
Assignee | ||
Comment 3•4 years ago
|
||
This was caused by this patch, where I assumed that virtualenv stability was stronger than it is. Fortunately, they will be made more resilient (recover incomplete venvs, automatically update venvs when requirements change) in the next few months.
However, since that stability is still a ways away, I'll temporarily adjust clobber to purge virtualenvs still.
Thanks for the report!
Updated•4 years ago
|
Assignee | ||
Comment 4•4 years ago
|
||
Until virtualenvs are more dependably consistent, we should purge them
by default when "./mach clobber" is run.
Comment 6•4 years ago
|
||
bugherder |
Updated•4 years ago
|
Comment 7•4 years ago
|
||
Set release status flags based on info from the regressing bug 1712382
Updated•4 years ago
|
Comment 8•4 years ago
|
||
The patch landed in nightly and beta is affected.
:mhentges, is this bug important enough to require an uplift?
If not please set status_beta
to wontfix
.
For more information, please visit auto_nag documentation.
Assignee | ||
Updated•4 years ago
|
Description
•