Closed Bug 1692943 Opened 3 years ago Closed 3 years ago

ModuleNotFoundError: No module named 'zstandard' with --enable-bootstrap on mac

Categories

(Firefox Build System :: General, defect)

defect

Tracking

(firefox87 fixed)

RESOLVED FIXED
87 Branch
Tracking Status
firefox87 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

.

Summary: ModuleNotFoundError: No module names 'zstandard' with --enable-bootstrap on mac → ModuleNotFoundError: No module named 'zstandard' with --enable-bootstrap on mac

The subprocess.* wrapping in configure alters the environment sent
to the subprocess in two ways:

  • variable keys and values are normalized to unicode to make python
    happy.
  • when no explicit environment is passed, default to the sandbox
    environment.

The sandbox environment has one major difference with the original
environment, which is that PYTHONEXECUTABLE is unset, and that's known
to cause problems on mac, which it does when configure executes
mach artifact toolchain for --enable-bootstrap.

Blocks: 1692944
Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/21699b391899
Wrap subprocess.run in the configure sandbox. r=firefox-build-system-reviewers,andi,mhentges
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
Blocks: 1694889
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: