Closed Bug 1741632 Opened 3 years ago Closed 3 years ago

Please run `create-mach-environment` automatically if it's needed

Categories

(Firefox Build System :: Mach Core, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1717051

People

(Reporter: julienw, Unassigned)

Details

It's common that when I run mach build I get the instruction to run ./mach create-mach-environment first:

$ ./mach build
The "mach" virtualenv is not up-to-date, please run "./mach create-mach-environment"

Is there any reason why it's not done automatically?

The Bugbug bot thinks this bug should belong to the 'Firefox Build System::Mach Core' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: General → Mach Core

I agree, this is annoying!
Unfortunately, we can't update the Mach virtualenv while running from the Mach virtualenv, and our "virtualenv-activation" behaviour needs to significantly change to make this possible.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE

Thanks!

Also I guess bug 1739067 makes this issue more apparent. It could be easier to fix that bug.

See Also: 1732948
You need to log in before you can comment on or make changes to this bug.