Closed
Bug 1845426
Opened 1 year ago
Closed 1 year ago
./mach command yields "TypeError: initialize() takes 1 positional argument but 2 were given"
Categories
(Firefox Build System :: Mach Core, defect)
Firefox Build System
Mach Core
Tracking
(firefox-esr102 unaffected, firefox-esr115 unaffected, firefox115 unaffected, firefox116 unaffected, firefox117 affected)
RESOLVED
WORKSFORME
Tracking | Status | |
---|---|---|
firefox-esr102 | --- | unaffected |
firefox-esr115 | --- | unaffected |
firefox115 | --- | unaffected |
firefox116 | --- | unaffected |
firefox117 | --- | affected |
People
(Reporter: TYLin, Unassigned)
References
(Regression)
Details
(Keywords: regression)
./mach build
or just ./mach
yield the following error.
Traceback (most recent call last):
File "/Users/tlin/Projects/gecko/./mach", line 125, in <module>
main(sys.argv[1:])
File "/Users/tlin/Projects/gecko/./mach", line 117, in main
mach = check_and_get_mach(os.path.dirname(os.path.realpath(__file__)), args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/tlin/Projects/gecko/./mach", line 37, in check_and_get_mach
return load_mach(dir_path, mach_path, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/tlin/Projects/gecko/./mach", line 23, in load_mach
return mach_initialize.initialize(dir_path, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: initialize() takes 1 positional argument but 2 were given
Comment 1•1 year ago
|
||
Set release status flags based on info from the regressing bug 1695312
:ahochheiden, since you are the author of the regressor, bug 1695312, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
status-firefox115:
--- → unaffected
status-firefox116:
--- → unaffected
status-firefox117:
--- → affected
status-firefox-esr102:
--- → unaffected
status-firefox-esr115:
--- → unaffected
Flags: needinfo?(ahochheiden)
Comment 2•1 year ago
|
||
Are you on the latest central? Your error doesn't make sense based on the the code that's there.
If after updating you're still hitting this, can you share:
- Current revision
- Current mozconfig
Flags: needinfo?(ahochheiden) → needinfo?(aethanyc)
Reporter | ||
Comment 3•1 year ago
|
||
Yes, I'm on the latest mozilla-central. After moving the outdated comm-central folder comm/
to other place, I can build without issue. Sorry for the confusion.
Status: NEW → RESOLVED
Closed: 1 year ago
Flags: needinfo?(aethanyc)
Resolution: --- → WORKSFORME
Comment 4•1 year ago
|
||
No worries! Glad you got it working.
You need to log in
before you can comment on or make changes to this bug.
Description
•