Closed
Bug 1415256
Opened 8 years ago
Closed 8 years ago
./mach bootstrap fails in ./mach artifact toolchain
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1415199
People
(Reporter: u408661, Unassigned)
References
Details
Based on some quick archaeology, this appears to be fallout from bug 1410513 (which added a fifth argument to taskgraph.generator.Kind.__init__). Running ./mach bootstrap on my linux machine ends up with the following:
Error running mach:
['artifact', 'toolchain', '--from-build', 'linux64-clang']
The error occurred in the implementation of the invoked mach command.
This should never occur and is likely a bug in the implementation of that
command. Consider filing a bug for this issue.
If filing a bug, please include the full output of mach, including this error
message.
The details of the failure are as follows:
TypeError: __init__() takes exactly 5 arguments (4 given)
File "/home/nwgh/src/mozilla/gecko/python/mozbuild/mozbuild/mach_commands.py", line 1918, in artifact_toolchain
toolchains = tasks('toolchain')
File "/home/nwgh/src/mozilla/gecko/python/mozbuild/mozbuild/mach_commands.py", line 1912, in tasks
tasks = Kind(kind, kind_path, config).load_tasks(params, {})
Error running mach:
['bootstrap']
The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You should consider filing a bug for this issue.
If filing a bug, please include the full output of mach, including this error
message.
The details of the failure are as follows:
CalledProcessError: Command '['/usr/bin/python2.7', u'/home/nwgh/src/mozilla/gecko/mach', u'artifact', u'toolchain', u'--from-build', u'linux64-clang']' returned non-zero exit status 1
File "/home/nwgh/src/mozilla/gecko/python/mozboot/mozboot/mach_commands.py", line 32, in bootstrap
bootstrapper.bootstrap()
File "/home/nwgh/src/mozilla/gecko/python/mozboot/mozboot/bootstrap.py", line 372, in bootstrap
self.instance.ensure_stylo_packages(state_dir, checkout_root)
File "/home/nwgh/src/mozilla/gecko/python/mozboot/mozboot/linux_common.py", line 18, in ensure_stylo_packages
self.install_toolchain_artifact(state_dir, checkout_root, stylo.LINUX)
File "/home/nwgh/src/mozilla/gecko/python/mozboot/mozboot/base.py", line 285, in install_toolchain_artifact
subprocess.check_call(cmd, cwd=state_dir)
File "/usr/lib64/python2.7/subprocess.py", line 186, in check_call
raise CalledProcessError(retcode, cmd)
According to :tcsc on #developers, this occurs on win10, too (not surprising).
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Updated•8 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•