Created
November 29, 2018 15:41
-
-
Save jorendorff/58ba6162a9ab7c99dbba81ed8a85d509 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
================================================================================ 2018-11-29 09:36:47 | |
~/work/gecko$ hg diff | |
================================================================================ 2018-11-29 09:36:48 | |
~/work/gecko$ hg up -r central | |
13 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
================================================================================ 2018-11-29 09:36:55 | |
~/work/gecko$ mach bootstrap | |
Note on Artifact Mode: | |
Artifact builds download prebuilt C++ components rather than building | |
them locally. | |
Artifact builds are recommended for people working on Firefox or | |
Firefox for Android frontends. They are unsuitable for those working | |
on C++ code. For more information see: | |
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 | |
Looks like you have Homebrew installed. We will install all required packages via Homebrew. | |
Your version of Mercurial (4.8) is sufficiently modern. | |
Your version of Python (2.7.15) is new enough. | |
Your version of Rust (1.32.0) is new enough. | |
Rust supports wasm32-unknown-unknown, x86_64-apple-darwin 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: 1 | |
================================================================================ | |
Ensuring https://hg.mozilla.org/hgcustom/version-control-tools is up to date at /Users/jorendorff/.mozbuild/version-control-tools | |
pulling from https://hg.mozilla.org/hgcustom/version-control-tools | |
searching for changes | |
adding changesets | |
adding manifests | |
adding file changes | |
added 12 changesets with 161 changes to 47 files | |
updating bookmark @ | |
new changesets 8935c2899be3:f8bdfa7bd063 | |
(run 'hg update' to get a working copy) | |
47 files updated, 0 files merged, 7 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. | |
Various extensions provide functionality to rewrite repository history. These | |
enable more powerful - and often more productive - workflows. | |
If history rewriting is enabled, the following extensions will be enabled: | |
absorb | |
`hg absorb` automatically squashes/folds uncommitted changes in the working | |
directory into the appropriate previous changeset. Learn more at | |
https://gregoryszorc.com/blog/2018/11/05/absorbing-commit-changes-in-mercurial-4.8/. | |
histedit | |
`hg histedit` allows interactive editing of previous changesets. It presents | |
you a list of changesets and allows you to pick actions to perform on each | |
changeset. Actions include reordering changesets, dropping changesets, | |
folding multiple changesets together, and editing the commit message for | |
a changeset. | |
rebase | |
`hg rebase` allows re-parenting changesets from one "branch" of a DAG | |
to another. The command is typically used to "move" changesets based on | |
an older changeset to be based on the newest changeset. | |
Would you like to enable these history editing extensions (Yn)? | |
It looks like the setup wizard has already installed a copy of the | |
evolve extension on your machine, at /Users/jorendorff/.mozbuild/evolve. | |
(Relevant config option: extensions.evolve) | |
Would you like to update evolve to the latest version? (Yn) | |
pulling from https://www.mercurial-scm.org/repo/evolve/ | |
searching for changes | |
adding changesets | |
adding manifests | |
adding file changes | |
added 207 changesets with 508 changes to 102 files | |
updating bookmark @ | |
transaction abort! | |
rollback completed | |
abort: HTTP Error 410: won't exchange obsmarkers through pushkey | |
Error running mach: | |
['static-analysis', 'install', '--force', '--minimal-install'] | |
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: | |
Exception: Couldn't find taskgraph configuration: taskcluster/ci/config.yml | |
File "/Users/jorendorff/work/gecko/python/mozbuild/mozbuild/mach_commands.py", line 2285, in install | |
source=source, verbose=verbose) | |
File "/Users/jorendorff/work/gecko/python/mozbuild/mozbuild/mach_commands.py", line 2648, in _get_clang_tools | |
retry=0) | |
File "/Users/jorendorff/work/gecko/python/mozbuild/mozbuild/mach_commands.py", line 1436, in artifact_toolchain | |
toolchains = load_tasks_for_kind(params, 'toolchain') | |
File "/Users/jorendorff/work/gecko/taskcluster/taskgraph/generator.py", line 394, in load_tasks_for_kind | |
for task in tgg.full_task_set | |
File "/Users/jorendorff/work/gecko/taskcluster/taskgraph/generator.py", line 141, in full_task_set | |
return self._run_until('full_task_set') | |
File "/Users/jorendorff/work/gecko/taskcluster/taskgraph/generator.py", line 342, in _run_until | |
k, v = self._run.next() | |
File "/Users/jorendorff/work/gecko/taskcluster/taskgraph/generator.py", line 221, in _run | |
graph_config = load_graph_config(self.root_dir) | |
File "/Users/jorendorff/work/gecko/taskcluster/taskgraph/config.py", line 98, in load_graph_config | |
raise Exception("Couldn't find taskgraph configuration: {}".format(config_yml)) | |
None | |
Error running mach: | |
['artifact', 'toolchain', '--from-build', 'macosx64-cbindgen'] | |
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: | |
Exception: Couldn't find taskgraph configuration: taskcluster/ci/config.yml | |
File "/Users/jorendorff/work/gecko/python/mozbuild/mozbuild/mach_commands.py", line 1436, in artifact_toolchain | |
toolchains = load_tasks_for_kind(params, 'toolchain') | |
File "/Users/jorendorff/work/gecko/taskcluster/taskgraph/generator.py", line 394, in load_tasks_for_kind | |
for task in tgg.full_task_set | |
File "/Users/jorendorff/work/gecko/taskcluster/taskgraph/generator.py", line 141, in full_task_set | |
return self._run_until('full_task_set') | |
File "/Users/jorendorff/work/gecko/taskcluster/taskgraph/generator.py", line 342, in _run_until | |
k, v = self._run.next() | |
File "/Users/jorendorff/work/gecko/taskcluster/taskgraph/generator.py", line 221, in _run | |
graph_config = load_graph_config(self.root_dir) | |
File "/Users/jorendorff/work/gecko/taskcluster/taskgraph/config.py", line 98, in load_graph_config | |
raise Exception("Couldn't find taskgraph configuration: {}".format(config_yml)) | |
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/local/opt/python@2/bin/python2.7', u'/Users/jorendorff/work/gecko/mach', u'artifact', u'toolchain', u'--from-build', u'macosx64-cbindgen']' returned non-zero exit status 1 | |
File "/Users/jorendorff/work/gecko/python/mozboot/mozboot/mach_commands.py", line 43, in bootstrap | |
bootstrapper.bootstrap() | |
File "/Users/jorendorff/work/gecko/python/mozboot/mozboot/bootstrap.py", line 507, in bootstrap | |
checkout_root) | |
File "/Users/jorendorff/work/gecko/python/mozboot/mozboot/bootstrap.py", line 384, in maybe_install_private_packages_or_exit | |
self.instance.ensure_stylo_packages(state_dir, checkout_root) | |
File "/Users/jorendorff/work/gecko/python/mozboot/mozboot/osx.py", line 513, in ensure_stylo_packages | |
self.install_toolchain_artifact(state_dir, checkout_root, stylo.MACOS_CBINDGEN) | |
File "/Users/jorendorff/work/gecko/python/mozboot/mozboot/base.py", line 312, in install_toolchain_artifact | |
subprocess.check_call(cmd, cwd=state_dir) | |
File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 190, in check_call | |
raise CalledProcessError(retcode, cmd) | |
================================================================================ 2018-11-29 09:37:31 | |
~/work/gecko$ mach bootstrap | |
Note on Artifact Mode: | |
Artifact builds download prebuilt C++ components rather than building | |
them locally. | |
Artifact builds are recommended for people working on Firefox or | |
Firefox for Android frontends. They are unsuitable for those working | |
on C++ code. For more information see: | |
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 | |
Looks like you have Homebrew installed. We will install all required packages via Homebrew. | |
Your version of Mercurial (4.8) is sufficiently modern. | |
Your version of Python (2.7.15) is new enough. | |
Your version of Rust (1.32.0) is new enough. | |
Rust supports wasm32-unknown-unknown, x86_64-apple-darwin 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: 1 | |
================================================================================ | |
Ensuring https://hg.mozilla.org/hgcustom/version-control-tools is up to date at /Users/jorendorff/.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. | |
Various extensions provide functionality to rewrite repository history. These | |
enable more powerful - and often more productive - workflows. | |
If history rewriting is enabled, the following extensions will be enabled: | |
absorb | |
`hg absorb` automatically squashes/folds uncommitted changes in the working | |
directory into the appropriate previous changeset. Learn more at | |
https://gregoryszorc.com/blog/2018/11/05/absorbing-commit-changes-in-mercurial-4.8/. | |
histedit | |
`hg histedit` allows interactive editing of previous changesets. It presents | |
you a list of changesets and allows you to pick actions to perform on each | |
changeset. Actions include reordering changesets, dropping changesets, | |
folding multiple changesets together, and editing the commit message for | |
a changeset. | |
rebase | |
`hg rebase` allows re-parenting changesets from one "branch" of a DAG | |
to another. The command is typically used to "move" changesets based on | |
an older changeset to be based on the newest changeset. | |
Would you like to enable these history editing extensions (Yn)? | |
It looks like the setup wizard has already installed a copy of the | |
evolve extension on your machine, at /Users/jorendorff/.mozbuild/evolve. | |
(Relevant config option: extensions.evolve) | |
Would you like to update evolve to the latest version? (Yn) n | |
The "format-source" extension provides a way to run code-formatting tools in a way that | |
avoids conflicts related to this formatting when merging/rebasing code across the | |
reformatting. | |
We encourage you to use this extension specially for formatting and managing C/C++ | |
source code. An example of a .hgrc configuration that uses our embedded clang-format | |
utility from 'mach' is as follows: | |
[format-source] | |
clang-format = [Path To Mozilla Repo]/mach clang-format -assume-filename=$HG_FILENAME -p | |
clang-format:configpaths = .clang-format, .clang-format-ignore | |
clang-format:fileext = .cpp, .c, .h | |
Would you like to activate format-source (Yn)? y | |
Will you be submitting commits to Mozilla (Yn)? y | |
Commits to Mozilla projects are typically sent to Phabricator. This is the | |
preferred code review tool at Mozilla. | |
Phabricator installation instructions are here | |
http://moz-conduit.readthedocs.io/en/latest/phabricator-user.html | |
Your config file needs updating. | |
Would you like to see a diff of the changes first (Yn)? y | |
--- hgrc.old | |
+++ hgrc.new | |
@@ -33,6 +33,8 @@ | |
fsmonitor = | |
blackbox = | |
evolve = /Users/jorendorff/.mozbuild/evolve/hgext3rd/evolve | |
+absorb = | |
+format-source = /Users/jorendorff/.mozbuild/version-control-tools/hgext/format-source | |
#evolve = | |
[email] | |
@@ -69,7 +71,7 @@ | |
pager = LESS=FRSXQ less | |
[hostsecurity] | |
bitbucket.org:fingerprints = sha256:4e:65:3e:76:0f:81:59:85:5b:50:06:0c:c2:4d:3c:56:53:8b:83:3e:9b:fa:55:26:98:9a:ca:e2:25:03:92:47 | |
-bugzilla.mozilla.org:fingerprints = sha256:10:95:a8:c1:e1:c3:18:fa:e4:95:40:99:11:07:6d:e3:79:ab:e5:b0:29:50:ff:40:e8:e8:63:c4:fd:f3:9f:cb | |
+bugzilla.mozilla.org:fingerprints = sha256:95:BA:0F:F2:C4:28:75:9D:B5:DB:4A:50:5F:29:46:A3:A9:4E:1B:56:A5:AE:10:50:C3:DD:3A:AC:73:BF:4A:D9 | |
[color] | |
wip.bookmarks = yellow underline | |
wip.branch = yellow | |
Write changes to hgrc file (Yn)? y | |
Error running mach: | |
['static-analysis', 'install', '--force', '--minimal-install'] | |
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: | |
Exception: Couldn't find taskgraph configuration: taskcluster/ci/config.yml | |
File "/Users/jorendorff/work/gecko/python/mozbuild/mozbuild/mach_commands.py", line 2285, in install | |
source=source, verbose=verbose) | |
File "/Users/jorendorff/work/gecko/python/mozbuild/mozbuild/mach_commands.py", line 2619, in _get_clang_tools | |
download_if_needed=download_if_needed) | |
File "/Users/jorendorff/work/gecko/python/mozbuild/mozbuild/mach_commands.py", line 2648, in _get_clang_tools | |
retry=0) | |
File "/Users/jorendorff/work/gecko/python/mozbuild/mozbuild/mach_commands.py", line 1436, in artifact_toolchain | |
toolchains = load_tasks_for_kind(params, 'toolchain') | |
File "/Users/jorendorff/work/gecko/taskcluster/taskgraph/generator.py", line 394, in load_tasks_for_kind | |
for task in tgg.full_task_set | |
File "/Users/jorendorff/work/gecko/taskcluster/taskgraph/generator.py", line 141, in full_task_set | |
return self._run_until('full_task_set') | |
File "/Users/jorendorff/work/gecko/taskcluster/taskgraph/generator.py", line 342, in _run_until | |
k, v = self._run.next() | |
File "/Users/jorendorff/work/gecko/taskcluster/taskgraph/generator.py", line 221, in _run | |
graph_config = load_graph_config(self.root_dir) | |
File "/Users/jorendorff/work/gecko/taskcluster/taskgraph/config.py", line 98, in load_graph_config | |
raise Exception("Couldn't find taskgraph configuration: {}".format(config_yml)) | |
None | |
Error running mach: | |
['artifact', 'toolchain', '--from-build', 'macosx64-cbindgen'] | |
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: | |
Exception: Couldn't find taskgraph configuration: taskcluster/ci/config.yml | |
File "/Users/jorendorff/work/gecko/python/mozbuild/mozbuild/mach_commands.py", line 1436, in artifact_toolchain | |
toolchains = load_tasks_for_kind(params, 'toolchain') | |
File "/Users/jorendorff/work/gecko/taskcluster/taskgraph/generator.py", line 394, in load_tasks_for_kind | |
for task in tgg.full_task_set | |
File "/Users/jorendorff/work/gecko/taskcluster/taskgraph/generator.py", line 141, in full_task_set | |
return self._run_until('full_task_set') | |
File "/Users/jorendorff/work/gecko/taskcluster/taskgraph/generator.py", line 342, in _run_until | |
k, v = self._run.next() | |
File "/Users/jorendorff/work/gecko/taskcluster/taskgraph/generator.py", line 221, in _run | |
graph_config = load_graph_config(self.root_dir) | |
File "/Users/jorendorff/work/gecko/taskcluster/taskgraph/config.py", line 98, in load_graph_config | |
raise Exception("Couldn't find taskgraph configuration: {}".format(config_yml)) | |
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/local/opt/python@2/bin/python2.7', u'/Users/jorendorff/work/gecko/mach', u'artifact', u'toolchain', u'--from-build', u'macosx64-cbindgen']' returned non-zero exit status 1 | |
File "/Users/jorendorff/work/gecko/python/mozboot/mozboot/mach_commands.py", line 43, in bootstrap | |
bootstrapper.bootstrap() | |
File "/Users/jorendorff/work/gecko/python/mozboot/mozboot/bootstrap.py", line 507, in bootstrap | |
checkout_root) | |
File "/Users/jorendorff/work/gecko/python/mozboot/mozboot/bootstrap.py", line 384, in maybe_install_private_packages_or_exit | |
self.instance.ensure_stylo_packages(state_dir, checkout_root) | |
File "/Users/jorendorff/work/gecko/python/mozboot/mozboot/osx.py", line 513, in ensure_stylo_packages | |
self.install_toolchain_artifact(state_dir, checkout_root, stylo.MACOS_CBINDGEN) | |
File "/Users/jorendorff/work/gecko/python/mozboot/mozboot/base.py", line 312, in install_toolchain_artifact | |
subprocess.check_call(cmd, cwd=state_dir) | |
File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 190, in check_call | |
raise CalledProcessError(retcode, cmd) | |
================================================================================ 2018-11-29 09:39:12 | |
~/work/gecko$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment