Open Bug 1431222 Opened 7 years ago Updated 2 years ago

multiple errors running bootstrap

Categories

(Firefox Build System :: General, defect)

x86_64
Windows 7
defect

Tracking

(Not tracked)

People

(Reporter: jimm, Unassigned)

Details

jim@Beast /F/Mozilla/mc $ mach bootstrap mach bootstrap is not fully implemented in MozillaBuild Note on Artifact Mode: Firefox for Desktop and Android supports a fast build mode called artifact mode. Artifact mode downloads pre-built C++ components rather than building them locally, trading bandwidth for time. Artifact builds will be useful to many developers who are not working with compiled code. If you want to work on look-and-feel of Firefox, you want "Firefox for Desktop Artifact Mode". Similarly, if you want to work on the look-and-feel of Firefox for Android, you want "Firefox for Android Artifact Mode". To work on the Gecko technology platform, you would need to opt to full, non-artifact mode. Gecko is Mozilla's web rendering engine, similar to Edge, Blink, and WebKit. Gecko is implemented in C++ and JavaScript. If you want to work on web rendering, you want "Firefox for Desktop", or "Firefox for Android". If you don't know what you want, start with just Artifact Mode of the desired platform. Your builds will be much shorter than if you build Gecko as well. But don't worry! You can always switch configurations later. You can learn more about Artifact mode builds at https://developer.mozilla.org/en-US/docs/Artifact_builds. Please choose the version of Firefox you want to build: 1. Firefox for Desktop Artifact Mode 2. Firefox for Desktop 3. Firefox for Android Artifact Mode 4. Firefox for Android Your choice: 2 Running pip to ensure Mercurial is up-to-date... Requirement already up-to-date: Mercurial in f:\mozilla-build\python\lib\site-packages Your version of Python (2.7.13) is new enough. Your version of Rust (1.23.0) is new enough. Rust supports i686-pc-windows-msvc, x86_64-pc-windows-msvc targets. Mozilla recommends a number of changes to Mercurial to enhance your experience with it. Would you like to run a configuration wizard to ensure Mercurial is optimally configured? 1. Yes 2. No Please enter your reply: 2 Error running mach: ['artifact', 'toolchain', '--from-build', 'win64-clang-cl'] 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: AttributeError: 'dict' object has no attribute 'file_url' File "f:\Mozilla\mc\python/mozbuild/mozbuild/mach_commands.py", line 1360, in artifact_toolchain toolchains = tasks('toolchain') File "f:\Mozilla\mc\python/mozbuild/mozbuild/mach_commands.py", line 1354, in tasks tasks = Kind.load(root_path, graph_config, kind_name).load_tasks(params, {}) File "f:\Mozilla\mc\taskcluster\taskgraph\generator.py", line 73, in load_tasks for task_dict in transforms(trans_config, inputs)] File "f:\Mozilla\mc\taskcluster\taskgraph\transforms\task.py", line 1645, in check_run_task_caches for task in tasks: File "f:\Mozilla\mc\taskcluster\taskgraph\transforms\task.py", line 1592, in check_task_dependencies for task in tasks: File "f:\Mozilla\mc\taskcluster\taskgraph\transforms\task.py", line 1580, in check_task_identifiers for task in tasks: File "f:\Mozilla\mc\taskcluster\taskgraph\transforms\task.py", line 1563, in chain_of_trust for task in tasks: File "f:\Mozilla\mc\taskcluster\taskgraph\transforms\task.py", line 1457, in build_task 'source': config.params.file_url(config.path), 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 '['f:\\mozilla-build\\python\\python2.7.exe', u'f:\\Mozilla\\mc\\mach', u'artifact', u'toolchain', u'--from-build', u'win64-clang-cl']' returned non-zero exit status 1 File "f:\Mozilla\mc\python/mozboot/mozboot/mach_commands.py", line 32, in bootstrap bootstrapper.bootstrap() File "f:\Mozilla\mc\python/mozboot\mozboot\bootstrap.py", line 373, in bootstrap self.instance.ensure_stylo_packages(state_dir, checkout_root) File "f:\Mozilla\mc\python/mozboot\mozboot\mozillabuild.py", line 49, in ensure_stylo_packages self.install_toolchain_artifact(state_dir, checkout_root, stylo.WINDOWS) File "f:\Mozilla\mc\python/mozboot\mozboot\base.py", line 285, in install_toolchain_artifact subprocess.check_call(cmd, cwd=state_dir) File "f:\mozilla-build\python\lib\subprocess.py", line 186, in check_call raise CalledProcessError(retcode, cmd) jim@Beast /F/Mozilla/mc $
Component: mach → Build Config
Product: Core → Firefox Build System
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.