Closed Bug 1732216 Opened 3 years ago Closed 3 years ago

./mach ide vscode errors due to function not existing

Categories

(Developer Infrastructure :: Developer Environment Integration, defect)

defect

Tracking

(firefox-esr78 unaffected, firefox-esr91 unaffected, firefox92 unaffected, firefox93 unaffected, firefox94 fixed)

RESOLVED FIXED
Tracking Status
firefox-esr78 --- unaffected
firefox-esr91 --- unaffected
firefox92 --- unaffected
firefox93 --- unaffected
firefox94 --- fixed

People

(Reporter: nika, Assigned: farre)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 obsolete file)

It appears as though some recent changes in mach (perhaps bug 1696251) changed how ./mach ide vscode is implemented, and the command no longer functions correctly. The following error is emitted:

AttributeError: module 'mozbuild.build_commands' has no attribute '_run_make'

  File "/path/to/gecko/python/mozbuild/mozbuild/backend/mach_commands.py", line 64, in run
    rc = build_commands._run_make(

This appears to refer to https://searchfox.org/mozilla-central/rev/1749ba14c2ebe200855802c478780122135727f2/python/mozbuild/mozbuild/backend/mach_commands.py#67, which is calling a function which does not exist anymore. It appears as though there are a couple of other calls to build_commands._run_make which I expect will also no longer function correctly (https://searchfox.org/mozilla-central/search?q=build_commands._run_make&path=).

Flags: needinfo?(alex.lopez.zorzano)
Assignee: nobody → afarre
Status: NEW → ASSIGNED
See Also: → 1732255

The issue that was causing this, https://hg.mozilla.org/mozilla-central/rev/53b1fa0faa6d78f7cf72f9cbe3dc85221a04eea3, has been backed out.

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Attachment #9242626 - Attachment is obsolete: true
Flags: needinfo?(alex.lopez.zorzano)

Set release status flags based on info from the regressing bug 1696251

Has Regression Range: --- → yes
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: