Closed
Bug 1957516
Opened 20 days ago
Closed 19 days ago
./mach ide fails due to a missing `gyp` dependency when reticulating splines
Categories
(Developer Infrastructure :: Developer Environment Integration, defect)
Developer Infrastructure
Developer Environment Integration
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1956317
People
(Reporter: ng, Unassigned)
Details
When running ./mach ide vscode
locally, reticulating splines fails as follows:
0:10.28 /Users/ng/.mozbuild/srcdirs/mozilla-unified-7bb6bf654f5a/_virtualenvs/ide/bin/python /Users/ng/dev/mozilla-unified/obj-aarch64-apple-darwin24.3.0/config.status --backend=Clangd
Reticulating splines...
Traceback (most recent call last):
File "/Users/ng/dev/mozilla-unified/python/mozbuild/mozbuild/frontend/reader.py", line 1124, in read_mozbuild
for s in self._read_mozbuild(
File "/Users/ng/dev/mozilla-unified/python/mozbuild/mozbuild/frontend/reader.py", line 1229, in _read_mozbuild
from .gyp_reader import GypProcessor
File "/Users/ng/dev/mozilla-unified/python/mozbuild/mozbuild/frontend/gyp_reader.py", line 10, in <module>
import gyp
ModuleNotFoundError: No module named 'gyp'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/ng/dev/mozilla-unified/obj-aarch64-apple-darwin24.3.0/config.status", line 770, in <module>
config_status(**args)
File "/Users/ng/dev/mozilla-unified/python/mozbuild/mozbuild/config_status.py", line 208, in config_status
backend.consume(definitions)
File "/Users/ng/dev/mozilla-unified/python/mozbuild/mozbuild/backend/base.py", line 120, in consume
for obj in objs:
File "/Users/ng/dev/mozilla-unified/python/mozbuild/mozbuild/frontend/emitter.py", line 145, in emit
for out in output:
File "/Users/ng/dev/mozilla-unified/python/mozbuild/mozbuild/frontend/reader.py", line 906, in read_topsrcdir
for r in self.read_mozbuild(path, self.config):
File "/Users/ng/dev/mozilla-unified/python/mozbuild/mozbuild/frontend/reader.py", line 1130, in read_mozbuild
raise bre
File "/Users/ng/dev/mozilla-unified/python/mozbuild/mozbuild/frontend/reader.py", line 1124, in read_mozbuild
for s in self._read_mozbuild(
File "/Users/ng/dev/mozilla-unified/python/mozbuild/mozbuild/frontend/reader.py", line 1302, in _read_mozbuild
for res in self.read_mozbuild(
File "/Users/ng/dev/mozilla-unified/python/mozbuild/mozbuild/frontend/reader.py", line 1153, in read_mozbuild
raise BuildReaderError(
mozbuild.frontend.reader.BuildReaderError:
==============================
FATAL ERROR PROCESSING MOZBUILD FILE
==============================
The error occurred while processing the following file:
/Users/ng/dev/mozilla-unified/security/moz.build
The error appears to be part of the mozbuild.frontend.reader Python module itself! It is possible you have stumbled across a legitimate bug.
Traceback (most recent call last):
File "/Users/ng/dev/mozilla-unified/python/mozbuild/mozbuild/frontend/reader.py", line 1124, in read_mozbuild
for s in self._read_mozbuild(
File "/Users/ng/dev/mozilla-unified/python/mozbuild/mozbuild/frontend/reader.py", line 1229, in _read_mozbuild
from .gyp_reader import GypProcessor
File "/Users/ng/dev/mozilla-unified/python/mozbuild/mozbuild/frontend/gyp_reader.py", line 10, in <module>
import gyp
ModuleNotFoundError: No module named 'gyp'
As a work around I ran the following to install the dependency into the virtualenv.
./mach python --virtualenv ide -- -m pip install -e third_party/python/gyp
Comment 1•19 days ago
|
||
I get the same on macOS. Per hg bisect
this was caused by bug 1941759.
Keywords: regression
Regressed by: 1941759
Updated•19 days ago
|
Status: NEW → RESOLVED
Closed: 19 days ago
Duplicate of bug: 1956317
Keywords: regression
No longer regressed by: 1941759
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•