$ mach bootstrap Note on Artifact Mode: Artifact builds download prebuilt C++ components rather than building them locally. Artifact builds are faster! Artifact builds are recommended for people working on Firefox or Firefox for Android frontends, or the GeckoView Java API. They are unsuitable for those working on C++ code. For more information see: https://firefox-source-docs.mozilla.org/contributing/build/artifact_builds.html. Please choose the version of Firefox you want to build: 1. Firefox for Desktop Artifact Mode [default] 2. Firefox for Desktop 3. GeckoView/Firefox for Android Artifact Mode 4. GeckoView/Firefox for Android 5. SpiderMonkey JavaScript engine Your choice:2 virtualenv at c:/Users/admin/.mozbuild\_virtualenvs\mach is already up to date. Mach environment created. Your version of Mercurial (5.1.2) is sufficiently modern. Your version of Rust (1.56.1) is new enough. Rust supports x86_64-pc-windows-msvc targets. info: downloading component 'rust-std' for 'i686-pc-windows-msvc' info: installing component 'rust-std' for 'i686-pc-windows-msvc' info: using up to 500.0 MiB of RAM to unpack components 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? (Yn): Y ================================================================================ Ensuring https://hg.mozilla.org/hgcustom/version-control-tools is up to date at c:/Users/admin/.mozbuild\version-control-tools pulling from https://hg.mozilla.org/hgcustom/version-control-tools searching for changes no changes found 0 files updated, 0 files merged, 0 files removed, 0 files unresolved ================================================================================ This wizard will guide you through configuring Mercurial for an optimal experience contributing to Mozilla projects. The wizard makes no changes without your permission. To begin, press the enter/return key. \ It looks like the setup wizard has already installed a copy of the evolve extension on your machine, at c:\Users\admin\.mozbuild/evolve. (Relevant config option: extensions.evolve) Would you like to update evolve to the latest version? (Yn) Y pulling from https://www.mercurial-scm.org/repo/evolve/ no changes found 0 files updated, 0 files merged, 0 files removed, 0 files unresolved Evolve was updated successfully. 0:15.17 Setting up artifact node.tar.zst 0:15.18 Using artifact from local cache: c:\Users\admin\.mozbuild\toolchains\a9c74a6a69012027-node.tar.zst Error running mach: ['artifact', 'toolchain', '--bootstrap', '--from-build', 'win64-node'] 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 can invoke |./mach busted| to check if this issue is already on file. If it isn't, please use |./mach busted file artifact| to report it. If |./mach busted| is misbehaving, you can also inspect the dependencies of bug 1543241. If filing a bug, please include the full output of mach, including this error message. The details of the failure are as follows: ModuleNotFoundError: No module named 'zstandard' File "c:\mozilla-source\mozilla-central\python/mozbuild/mozbuild/artifact_commands.py", line 556, in artifact_toolchain unpack_file(local) File "c:\mozilla-source\mozilla-central\python/mozbuild\mozbuild\action\tooltool.py", line 993, in unpack_file import zstandard 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 can invoke |./mach busted| to check if this issue is already on file. If it isn't, please use |./mach busted file bootstrap| to report it. If |./mach busted| is misbehaving, you can also inspect the dependencies of bug 1543241. If filing a bug, please include the full output of mach, including this error message. The details of the failure are as follows: subprocess.CalledProcessError: Command '['c:/Users/admin/.mozbuild\\_virtualenvs\\mach\\Scripts\\python.exe', 'c:\\mozilla-source\\mozilla-central\\mach', 'artifact', 'toolchain', '--bootstrap', '--from-build', 'win64-node']' returned non-zero exit status 1. File "c:\mozilla-source\mozilla-central\python/mozboot/mozboot/mach_commands.py", line 42, in bootstrap bootstrapper.bootstrap(command_context.settings) File "c:\mozilla-source\mozilla-central\python/mozboot\mozboot\bootstrap.py", line 377, in bootstrap state_dir, checkout_root, application File "c:\mozilla-source\mozilla-central\python/mozboot\mozboot\bootstrap.py", line 224, in maybe_install_private_packages_or_exit self.instance.ensure_node_packages(state_dir, checkout_root) File "c:\mozilla-source\mozilla-central\python/mozboot\mozboot\mozillabuild.py", line 245, in ensure_node_packages self.install_toolchain_artifact(state_dir, checkout_root, node_artifact) File "c:\mozilla-source\mozilla-central\python/mozboot\mozboot\base.py", line 428, in install_toolchain_artifact subprocess.check_call(cmd, cwd=state_dir) File "c:\mozilla-build\python3\lib\subprocess.py", line 347, in check_call raise CalledProcessError(retcode, cmd)
Bug 1738848 Comment 1 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
``` $ mach bootstrap Note on Artifact Mode: Artifact builds download prebuilt C++ components rather than building them locally. Artifact builds are faster! Artifact builds are recommended for people working on Firefox or Firefox for Android frontends, or the GeckoView Java API. They are unsuitable for those working on C++ code. For more information see: https://firefox-source-docs.mozilla.org/contributing/build/artifact_builds.html. Please choose the version of Firefox you want to build: 1. Firefox for Desktop Artifact Mode [default] 2. Firefox for Desktop 3. GeckoView/Firefox for Android Artifact Mode 4. GeckoView/Firefox for Android 5. SpiderMonkey JavaScript engine Your choice:2 virtualenv at c:/Users/admin/.mozbuild\_virtualenvs\mach is already up to date. Mach environment created. Your version of Mercurial (5.1.2) is sufficiently modern. Your version of Rust (1.56.1) is new enough. Rust supports x86_64-pc-windows-msvc targets. info: downloading component 'rust-std' for 'i686-pc-windows-msvc' info: installing component 'rust-std' for 'i686-pc-windows-msvc' info: using up to 500.0 MiB of RAM to unpack components 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? (Yn): Y ================================================================================ Ensuring https://hg.mozilla.org/hgcustom/version-control-tools is up to date at c:/Users/admin/.mozbuild\version-control-tools pulling from https://hg.mozilla.org/hgcustom/version-control-tools searching for changes no changes found 0 files updated, 0 files merged, 0 files removed, 0 files unresolved ================================================================================ This wizard will guide you through configuring Mercurial for an optimal experience contributing to Mozilla projects. The wizard makes no changes without your permission. To begin, press the enter/return key. \ It looks like the setup wizard has already installed a copy of the evolve extension on your machine, at c:\Users\admin\.mozbuild/evolve. (Relevant config option: extensions.evolve) Would you like to update evolve to the latest version? (Yn) Y pulling from https://www.mercurial-scm.org/repo/evolve/ no changes found 0 files updated, 0 files merged, 0 files removed, 0 files unresolved Evolve was updated successfully. 0:15.17 Setting up artifact node.tar.zst 0:15.18 Using artifact from local cache: c:\Users\admin\.mozbuild\toolchains\a9c74a6a69012027-node.tar.zst Error running mach: ['artifact', 'toolchain', '--bootstrap', '--from-build', 'win64-node'] 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 can invoke |./mach busted| to check if this issue is already on file. If it isn't, please use |./mach busted file artifact| to report it. If |./mach busted| is misbehaving, you can also inspect the dependencies of bug 1543241. If filing a bug, please include the full output of mach, including this error message. The details of the failure are as follows: ModuleNotFoundError: No module named 'zstandard' File "c:\mozilla-source\mozilla-central\python/mozbuild/mozbuild/artifact_commands.py", line 556, in artifact_toolchain unpack_file(local) File "c:\mozilla-source\mozilla-central\python/mozbuild\mozbuild\action\tooltool.py", line 993, in unpack_file import zstandard 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 can invoke |./mach busted| to check if this issue is already on file. If it isn't, please use |./mach busted file bootstrap| to report it. If |./mach busted| is misbehaving, you can also inspect the dependencies of bug 1543241. If filing a bug, please include the full output of mach, including this error message. The details of the failure are as follows: subprocess.CalledProcessError: Command '['c:/Users/admin/.mozbuild\\_virtualenvs\\mach\\Scripts\\python.exe', 'c:\\mozilla-source\\mozilla-central\\mach', 'artifact', 'toolchain', '--bootstrap', '--from-build', 'win64-node']' returned non-zero exit status 1. File "c:\mozilla-source\mozilla-central\python/mozboot/mozboot/mach_commands.py", line 42, in bootstrap bootstrapper.bootstrap(command_context.settings) File "c:\mozilla-source\mozilla-central\python/mozboot\mozboot\bootstrap.py", line 377, in bootstrap state_dir, checkout_root, application File "c:\mozilla-source\mozilla-central\python/mozboot\mozboot\bootstrap.py", line 224, in maybe_install_private_packages_or_exit self.instance.ensure_node_packages(state_dir, checkout_root) File "c:\mozilla-source\mozilla-central\python/mozboot\mozboot\mozillabuild.py", line 245, in ensure_node_packages self.install_toolchain_artifact(state_dir, checkout_root, node_artifact) File "c:\mozilla-source\mozilla-central\python/mozboot\mozboot\base.py", line 428, in install_toolchain_artifact subprocess.check_call(cmd, cwd=state_dir) File "c:\mozilla-build\python3\lib\subprocess.py", line 347, in check_call raise CalledProcessError(retcode, cmd) ```