找回密码
 立即注册

扫一扫,访问微社区

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
查看: 1048|回复: 2

[其他] FireFox 源码下载以及编译

[复制链接]

48

主题

6

回帖

13

积分

屌炸天

积分
13
发表于 2024-6-2 13:25:07 | 显示全部楼层 |阅读模式
操作系统: Mac OS , M芯片

1. 环境要求:
python3
mercurial

2. 安装 mercurial
» brew install mercurial

==> Downloading https://mirrors.tuna.tsinghua.ed ... pi/formula.jws.json
     -=O=-#        #           #             #                                                                                                                                                                                                               
==> Downloading https://mirrors.tuna.tsinghua.ed ... s/api/cask.jws.json
#=#=-  #       #                                                                                                                                                                                                                                             
==> Fetching mercurial
==> Downloading https://mirrors.tuna.tsinghua.ed ... onoma.bottle.tar.gz
######################################################################################################################################################################################################################################################## 100.0%
==> Pouring mercurial-6.7.3.arm64_sonoma.bottle.tar.gz
==> Caveats
zsh completions have been installed to:
  /opt/homebrew/share/zsh/site-functions
==> Summary
🍺  /opt/homebrew/Cellar/mercurial/6.7.3: 658 files, 10.4MB
==> Running `brew cleanup mercurial`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).

3. 下载安装脚本
curl https://hg.mozilla.org/mozilla-c ... ot/bin/bootstrap.py -O
curl https://hg.mozilla.org/mozilla-c ... ot/bin/bootstrap.py -O
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 15201  100 15201    0     0   5917      0  0:00:02  0:00:02 --:--:--  5919

4. 下载源码
python3 bootstrap.py

下载源码执行的脚本,见4楼

48

主题

6

回帖

13

积分

屌炸天

积分
13
 楼主| 发表于 2024-6-2 13:29:16 | 显示全部楼层
5. 构建并运行
[Shell] 纯文本查看 复制代码
cd mozilla-unified
./mach build


它将检查依赖项并开始构建。这将需要一段时间;根据硬件的不同,可能需要几分钟到几小时。
备注1:如果您经常构建 Firefox,请将ac_add_options --with-ccache=sccache添加到 .mozconfig。sccache 将通过缓存编译结果显著加快您的构建速度。Firefox 构建系统将自动下载 sccache。

备注2:默认构建是经过优化的编译构建。查看 mozconfig 文件文档 以查看其他构建选项。如果您不打算更改 C++ 或 Rust 代码,则工件构建会更快。

运行:
./mach run
此命令将在新窗口中打开您本地构建的 Firefox。


回复

使用道具 举报

48

主题

6

回帖

13

积分

屌炸天

积分
13
 楼主| 发表于 2024-6-2 13:31:46 | 显示全部楼层
下载源码脚本执行详情
~/Documents/code/mozilla/firefox » python3 bootstrap.py                                                                                                                                                                           
Cloning into mozilla-unified using Mercurial...
Destination directory for clone (leave empty to use default destination of mozilla-unified):
Cloning Firefox Mercurial repository to /Users/james/Documents/code/mozilla/firefox/mozilla-unified
pulling from https://hg.mozilla.org/mozilla-unified
applying clone bundle from https://hg.cdn.mozilla.net/mozil ... 0dcf169.zstd-max.hg
adding changesets
adding manifests                                                                                                                                                                                                                                               
adding file changes                                                                                                                                                                                                                                            
added 821944 changesets with 5351742 changes to 834413 files (+16 heads)                                                                                                                                                                                       
finished applying clone bundle
searching for changes
adding changesets
adding manifests                                                                                                                                                                                                                                               
adding file changes
adding remote bookmark aurora
adding remote bookmark autoland
adding remote bookmark beta
adding remote bookmark central
adding remote bookmark esr10
adding remote bookmark esr102
adding remote bookmark esr115
adding remote bookmark esr17
adding remote bookmark esr24
adding remote bookmark esr31
adding remote bookmark esr38
adding remote bookmark esr45
adding remote bookmark esr52
adding remote bookmark esr60
adding remote bookmark esr68
adding remote bookmark esr78
adding remote bookmark esr91
adding remote bookmark fx-team
adding remote bookmark inbound
adding remote bookmark release
added 24 changesets with 67 changes to 58 files
new changesets 559d64791056:1048e28b2e18
821944 local changesets published
(run 'hg update' to get a working copy)

updating to "central" - the development head of Gecko and Firefox
(warning: large working directory being used without fsmonitor enabled; enable fsmonitor to improve performance; see "hg help -e fsmonitor")
373442 files updated, 0 files merged, 0 files removed, 0 files unresolved                                                                                                                                                                                      
(activating bookmark central)
Clone complete.
If you need to run the tooling bootstrapping again, then consider running './mach bootstrap' instead.
Unless you are going to have more local copies of Firefox source code, this 'bootstrap.py' file is no longer needed and can be deleted. Clean up the bootstrap.py file? (Y/n)y
Running `/opt/homebrew/opt/python@3.12/bin/python3.12 mach bootstrap`
Mach and the build system store shared state in a common directory
on the filesystem. The following directory will be created:

  /Users/james/.mozbuild

If you would like to use a different directory, rename or move it to your
desired location, and set the MOZBUILD_STATE_PATH environment variable
accordingly.
Creating default state directory: /Users/james/.mozbuild
Creating local state directory: /Users/james/.mozbuild/srcdirs/mozilla-unified-57a74adc07a2
Collecting glean-sdk==60.1.1
  Downloading glean_sdk-60.1.1-py3-none-macosx_11_0_arm64.whl.metadata (4.7 kB)
Collecting semver>=2.13.0 (from glean-sdk==60.1.1)
  Downloading semver-3.0.2-py3-none-any.whl.metadata (5.0 kB)
Collecting glean-parser~=14.0 (from glean-sdk==60.1.1)
  Downloading glean_parser-14.1.2-py3-none-any.whl.metadata (32 kB)
Collecting appdirs>=1.4 (from glean-parser~=14.0->glean-sdk==60.1.1)
  Downloading appdirs-1.4.4-py2.py3-none-any.whl.metadata (9.0 kB)
Requirement already satisfied: Click>=7 in ./third_party/python/click (from glean-parser~=14.0->glean-sdk==60.1.1) (8.1.6)
Collecting diskcache>=4 (from glean-parser~=14.0->glean-sdk==60.1.1)
  Downloading diskcache-5.6.3-py3-none-any.whl.metadata (20 kB)
Requirement already satisfied: Jinja2>=2.10.1 in ./third_party/python/Jinja2 (from glean-parser~=14.0->glean-sdk==60.1.1) (3.1.2)
Requirement already satisfied: jsonschema>=3.0.2 in ./third_party/python/jsonschema (from glean-parser~=14.0->glean-sdk==60.1.1) (4.17.3)
Collecting PyYAML>=5.3.1 (from glean-parser~=14.0->glean-sdk==60.1.1)
  Downloading PyYAML-6.0.1-cp312-cp312-macosx_11_0_arm64.whl.metadata (2.1 kB)
Requirement already satisfied: MarkupSafe>=2.0 in ./third_party/python/MarkupSafe/src (from Jinja2>=2.10.1->glean-parser~=14.0->glean-sdk==60.1.1) (2.0.1)
Requirement already satisfied: attrs>=17.4.0 in ./third_party/python/attrs (from jsonschema>=3.0.2->glean-parser~=14.0->glean-sdk==60.1.1) (23.1.0)
Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in ./third_party/python/pyrsistent (from jsonschema>=3.0.2->glean-parser~=14.0->glean-sdk==60.1.1) (0.16.0)
Requirement already satisfied: six in ./third_party/python/six (from pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0->jsonschema>=3.0.2->glean-parser~=14.0->glean-sdk==60.1.1) (1.16.0)
Downloading glean_sdk-60.1.1-py3-none-macosx_11_0_arm64.whl (869 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 869.2/869.2 kB 1.2 MB/s eta 0:00:00
Downloading glean_parser-14.1.2-py3-none-any.whl (116 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 116.1/116.1 kB 6.6 MB/s eta 0:00:00
Downloading semver-3.0.2-py3-none-any.whl (17 kB)
Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Downloading diskcache-5.6.3-py3-none-any.whl (45 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.5/45.5 kB 3.9 MB/s eta 0:00:00
Downloading PyYAML-6.0.1-cp312-cp312-macosx_11_0_arm64.whl (165 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 165.6/165.6 kB 6.0 MB/s eta 0:00:00
Installing collected packages: appdirs, semver, PyYAML, diskcache, glean-parser, glean-sdk
Successfully installed PyYAML-6.0.1 appdirs-1.4.4 diskcache-5.6.3 glean-parser-14.1.2 glean-sdk-60.1.1 semver-3.0.2
Collecting psutil<=5.9.4,>=5.4.2
  Downloading psutil-5.9.4-cp38-abi3-macosx_11_0_arm64.whl.metadata (21 kB)
Downloading psutil-5.9.4-cp38-abi3-macosx_11_0_arm64.whl (244 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 244.2/244.2 kB 252.3 kB/s eta 0:00:00
Installing collected packages: psutil
Successfully installed psutil-5.9.4
Collecting zstandard<=0.22.0,>=0.11.1
  Downloading zstandard-0.22.0-cp312-cp312-macosx_11_0_arm64.whl.metadata (2.9 kB)
Downloading zstandard-0.22.0-cp312-cp312-macosx_11_0_arm64.whl (703 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 703.1/703.1 kB 640.6 kB/s eta 0:00:00
Installing collected packages: zstandard
Successfully installed zstandard-0.22.0

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.mozi ... tifact_builds.html.

Please choose the version of Firefox you want to build (see note above):
  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
Requirement already satisfied: glean-sdk==60.1.1 in /Users/james/.mozbuild/srcdirs/mozilla-unified-57a74adc07a2/_virtualenvs/mach/lib/python3.12/site-packages (60.1.1)
Requirement already satisfied: semver>=2.13.0 in /Users/james/.mozbuild/srcdirs/mozilla-unified-57a74adc07a2/_virtualenvs/mach/lib/python3.12/site-packages (from glean-sdk==60.1.1) (3.0.2)
Requirement already satisfied: glean-parser~=14.0 in /Users/james/.mozbuild/srcdirs/mozilla-unified-57a74adc07a2/_virtualenvs/mach/lib/python3.12/site-packages (from glean-sdk==60.1.1) (14.1.2)
Requirement already satisfied: appdirs>=1.4 in /Users/james/.mozbuild/srcdirs/mozilla-unified-57a74adc07a2/_virtualenvs/mach/lib/python3.12/site-packages (from glean-parser~=14.0->glean-sdk==60.1.1) (1.4.4)
Requirement already satisfied: Click>=7 in ./third_party/python/click (from glean-parser~=14.0->glean-sdk==60.1.1) (8.1.6)
Requirement already satisfied: diskcache>=4 in /Users/james/.mozbuild/srcdirs/mozilla-unified-57a74adc07a2/_virtualenvs/mach/lib/python3.12/site-packages (from glean-parser~=14.0->glean-sdk==60.1.1) (5.6.3)
Requirement already satisfied: Jinja2>=2.10.1 in ./third_party/python/Jinja2 (from glean-parser~=14.0->glean-sdk==60.1.1) (3.1.2)
Requirement already satisfied: jsonschema>=3.0.2 in ./third_party/python/jsonschema (from glean-parser~=14.0->glean-sdk==60.1.1) (4.17.3)
Requirement already satisfied: PyYAML>=5.3.1 in /Users/james/.mozbuild/srcdirs/mozilla-unified-57a74adc07a2/_virtualenvs/mach/lib/python3.12/site-packages (from glean-parser~=14.0->glean-sdk==60.1.1) (6.0.1)
Requirement already satisfied: MarkupSafe>=2.0 in ./third_party/python/MarkupSafe/src (from Jinja2>=2.10.1->glean-parser~=14.0->glean-sdk==60.1.1) (2.0.1)
Requirement already satisfied: attrs>=17.4.0 in ./third_party/python/attrs (from jsonschema>=3.0.2->glean-parser~=14.0->glean-sdk==60.1.1) (23.1.0)
Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in ./third_party/python/pyrsistent (from jsonschema>=3.0.2->glean-parser~=14.0->glean-sdk==60.1.1) (0.16.0)
Requirement already satisfied: six in ./third_party/python/six (from pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0->jsonschema>=3.0.2->glean-parser~=14.0->glean-sdk==60.1.1) (1.16.0)
Requirement already satisfied: psutil<=5.9.4,>=5.4.2 in /Users/james/.mozbuild/srcdirs/mozilla-unified-57a74adc07a2/_virtualenvs/mach/lib/python3.12/site-packages (5.9.4)
Requirement already satisfied: zstandard<=0.22.0,>=0.11.1 in /Users/james/.mozbuild/srcdirs/mozilla-unified-57a74adc07a2/_virtualenvs/mach/lib/python3.12/site-packages (0.22.0)
Your version of Rust (1.78.0) is new enough.
Will try to install Rust.
Downloading rustup-init... Ok
Running rustup-init...
warning: it looks like you have an existing installation of Rust at:
warning: /opt/homebrew/bin
warning: rustup should not be installed alongside Rust. Please uninstall your existing Rust first.
warning: Otherwise you may have confusion unless you are careful with your PATH
warning: If you are sure that you want both rustup and your already installed Rust
warning: then please reply `y' or `yes' or set RUSTUP_INIT_SKIP_PATH_CHECK to yes
warning: or pass `-y' to ignore all ignorable checks.
error: cannot install while Rust is installed
warning: continuing (because the -y flag is set and the error is ignorable)
info: profile set to 'default'
info: setting default host triple to aarch64-apple-darwin
info: syncing channel updates for 'stable-aarch64-apple-darwin'
info: latest update on 2024-05-02, rust version 1.78.0 (9b00956e5 2024-04-29)
info: downloading component 'cargo'
  6.3 MiB /   6.3 MiB (100 %)   2.4 MiB/s in  2s ETA:  0s
info: downloading component 'clippy'
info: downloading component 'rust-docs'
15.1 MiB /  15.1 MiB (100 %)   4.2 MiB/s in  3s ETA:  0s
info: downloading component 'rust-std'
22.6 MiB /  22.6 MiB (100 %)   4.8 MiB/s in  4s ETA:  0s
info: downloading component 'rustc'
50.7 MiB /  50.7 MiB (100 %)   9.9 MiB/s in  5s ETA:  0s
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: using up to 500.0 MiB of RAM to unpack components
info: installing component 'clippy'
info: installing component 'rust-docs'
15.1 MiB /  15.1 MiB (100 %)   5.4 MiB/s in  2s ETA:  0s
info: installing component 'rust-std'
22.6 MiB /  22.6 MiB (100 %)  21.3 MiB/s in  1s ETA:  0s
info: installing component 'rustc'
50.7 MiB /  50.7 MiB (100 %)  23.0 MiB/s in  2s ETA:  0s
info: installing component 'rustfmt'
info: default toolchain set to 'stable-aarch64-apple-darwin'

  stable-aarch64-apple-darwin installed - rustc 1.78.0 (9b00956e5 2024-04-29)


Rust is installed now. Great!

To get started you need Cargo's bin directory ($HOME/.cargo/bin) in your PATH
environment variable. Next time you log in this will be done
automatically.

To configure your current shell, run:
source $HOME/.cargo/env

Rust installation complete. You should now have rustc and cargo
in /Users/james/.cargo/bin

The installer tries to add these to your default shell PATH, so
restarting your shell and running this script again may work.
If it doesn't, you'll need to add the new command location
manually.

If restarting doesn't work, edit your shell initialization
script, which may be called ~/.bashrc or ~/.bash_profile or
~/.profile, and add the following line:

    source /Users/james/.cargo/env

Then restart your shell and run the bootstrap script again.

Rust supports aarch64-apple-darwin targets.
Your version of Mercurial (6.7.3) is sufficiently modern.

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? (This will also ensure 'version-control-tools' is up-to-date) (Yn): y
================================================================================
Ensuring https://hg.mozilla.org/hgcustom/version-control-tools is up to date at /Users/james/.mozbuild/version-control-tools
applying clone bundle from https://hg.cdn.mozilla.net/hgcus ... 925163fa8fb.zstd.hg
adding changesets
adding manifests
adding file changes
added 8115 changesets with 19448 changes to 2977 files
finished applying clone bundle
searching for changes
no changes found
8115 local changesets published
1301 files updated, 0 files merged, 0 files removed, 0 files unresolved
(activating bookmark @)
================================================================================
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.

You don't have a username defined in your Mercurial config file. In order
to author commits, you'll need to define a name and e-mail address.

This data will be publicly available when you send commits/patches to others.
If you aren't comfortable giving us your full name, pseudonames are
acceptable.

(Relevant config option: ui.username)
What is your name?
Unable to set username; You will be unable to author commits

Mercurial has implemented some functionality behind ui.tweakdefaults config,
that most users would like by default, but would break some workflows due to
backwards compatibility issues.
You can find more info by running:

  $ hg help config.ui

and checking the "tweakdefaults" section.

Would you like to enable these features (Yn)?  y
Mercurial is not configured to produce diffs in a more readable format.

Would you like to change this (Yn)?  y
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/20 ... -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)?  y

The evolve extension is a Mercurial extension for faster and
safer mutable history. It implements the changeset evolution concept
for Mercurial, allowing for safe and simple history re-writing. It
includes some new commands such as fold, prune and amend which may
improve your user experience with Mercurial.

The evolve extension is recommended for working with Firefox repositories.
More information about changeset evolution can be found by running:

  $ hg help evolution

as well as:

  $ hg help -e evolve

once the `evolve` extension is enabled.

(Relevant config option: extensions.evolve)

Would you like to enable the evolve extension? (Yn)  y
adding changesets
adding manifests                                                                                                                                                                                                                                               
adding file changes                                                                                                                                                                                                                                            
added 5975 changesets with 12278 changes to 550 files                                                                                                                                                                                                         
new changesets bbeef801409c:76c2f08b57ee
373 files updated, 0 files merged, 0 files removed, 0 files unresolved
Evolve was downloaded successfully.
The "watchman" filesystem watching tool could not be found or isn't
working.

Mercurial can leverage "watchman" to make many operations
(like `hg status` and `hg diff`) much faster. Mozilla *highly*
recommends installing "watchman" when working with the Firefox
repository.

Please see https://facebook.github.io/watchman/docs/install/
for instructions on installing watchman. Please ensure `watchman`
is available on PATH (you should be able to run `watchman` from
your shell).

Enable logging of commands to help diagnose bugs and performance problems (Yn)  y
Enable the shelve feature. Equivalent to git stash (Yn)  y
The firefoxtree extension makes interacting with the multiple Firefox
repositories easier:

* Aliases for common trees are pre-defined. e.g. `hg pull central`
* Pulling from known Firefox trees will create "remote refs" appearing as
  tags. e.g. pulling from fx-team will produce a "fx-team" tag.
* The `hg fxheads` command will list the heads of all pulled Firefox repos
  for easy reference.
* `hg push` will limit itself to pushing a single head when pushing to
  Firefox repos.
* A pre-push hook will prevent you from pushing multiple heads to known
  Firefox repos. This acts quicker than a server-side hook.

The firefoxtree extension is *strongly* recommended if you:

a) aggregate multiple Firefox repositories into a single local repo
b) perform head/bookmark-based development

(Relevant config option: extensions.firefoxtree)

Would you like to activate firefoxtree (Yn)?  t
unrecognized response
Would you like to activate firefoxtree (Yn)?  y
The "clang-format" extension provides execution of clang-format at the commit steps.
It relies on ./mach clang-format directly.
Would you like to activate clang-format (Yn)?  y
The "js-format" extension provides execution of eslint+prettier at the commit steps.
It relies on ./mach eslint --fix directly.
Would you like to activate js-format (Yn)?  y
It is common to want a quick view of changesets that are in progress.

``hg show`` can describe active bookmarks, the current stack, or a
tree of changesets that are in development.
``hg wip`` provides a Mozilla-specific overview of in-progress changesets:

Example Usage:

  $ hg wip
  @  5887 armenzg tip @ Bug 1313661 - Bump pushlog_client to 0.6.0. r=me
  : o  5885 glob mozreview: Improve the error message when pushing to a submitted/discarded review request (bug 1240725) r?smacleod
  : o  5884 glob hgext: Support line breaks in hgrb error messages (bug 1240725) r?gps
  :/
  o  5883 mars mozreview: add py.test and demonstration tests to mozreview (bug 1312875) r=smacleod
  : o  5881 glob autoland: log mercurial commands to autoland.log (bug 1313300) r?smacleod
  :/
  o  5250 gps ansible/docker-hg-web: set USER variable in httpd process
  |
  ~

(Not shown are the colors that help denote the state each changeset
is in.)

(Relevant config options: extensions.show, alias.wip, revsetalias.wip, templates.wip)

Would you like to install the `hg show` extension and `hg wip` alias (Yn)?  y
The ``hg smart-annotate`` command provides experimental support for
viewing the annotate information while skipping certain changesets,
such as code-formatting changes.

Would you like to install the `hg smart-annotate` alias (Yn)?  y
The push-to-try extension generates a temporary commit with a given
try syntax and pushes it to the try server. The extension is intended
to be used in concert with other tools generating try syntax so that
they can push to try without depending on other workarounds.

(Relevant config option: extensions.push-to-try)

Would you like to activate push-to-try (Yn)?  y
Your config file needs updating.
Would you like to see a diff of the changes first (Yn)?  y
--- hgrc.old
+++ hgrc.new
@@ -0,0 +1,40 @@
+[ui]
+tweakdefaults = true
+[diff]
+git = true
+showfunc = true
+[extensions]
+absorb =
+histedit =
+rebase =
+evolve = /Users/james/.mozbuild/evolve/hgext3rd/evolve
+blackbox =
+shelve =
+firefoxtree = /Users/james/.mozbuild/version-control-tools/hgext/firefoxtree
+clang-format = /Users/james/.mozbuild/version-control-tools/hgext/clang-format
+js-format = /Users/james/.mozbuild/version-control-tools/hgext/js-format
+show =
+push-to-try = /Users/james/.mozbuild/version-control-tools/hgext/push-to-try
+[rebase]
+experimental.inmemory = yes
+[alias]
+wip = log --graph --rev=wip --template=wip
+smart-annotate = annotate -w --skip ignored_changesets
+[revsetalias]
+wip = (parents(not public()) or not public() or . or (head() and branch(default))) and (not obsolete() or orphan()^) and not closed() and not (fxheads() - date(-90))
+ignored_changesets = desc("ignore-this-changeset") or extdata(get_ignored_changesets)
+[templates]
+wip = '{label("wip.branch", if(branches,"{branches} "))}{label(ifeq(graphnode,"x","wip.obsolete","wip.{phase}"),"{rev}:{node|short}")}{label("wip.user", " {author|user}")}{label("wip.tags", if(tags," {tags}"))}{label("wip.tags", if(fxheads," {fxheads}"))}{if(bookmarks," ")}{label("wip.bookmarks", if(bookmarks,bookmarks))}{label(ifcontains(rev, revset("parents()"), "wip.here"), " {desc|firstline}")}'
+[color]
+wip.bookmarks = yellow underline
+wip.branch = yellow
+wip.draft = green
+wip.here = red
+wip.obsolete = none
+wip.public = blue
+wip.tags = yellow
+wip.user = magenta
+[experimental]
+graphshorten = true
+[extdata]
+get_ignored_changesets = shell:cat `hg root`/.hg-annotate-ignore-revs 2> /dev/null || true

Write changes to hgrc file (Yn)?  t
unrecognized response
Write changes to hgrc file (Yn)?  y
Your hgrc file is currently readable by others.

Sensitive information such as your Bugzilla credentials could be
stolen if others have access to this file/machine.

Would you like to fix the file permissions (Yn)  y
Changing permissions of /Users/james/.hgrc
Setting up artifact clang.tar.zst
Downloading artifact to local cache: /Users/james/.mozbuild/toolchains/1c77841678677d66-clang.tar.zst
Downloading... 0.0 %
Downloading... 7.5 %
Downloading... 11.2 %
Downloading... 18.6 %
Downloading... 22.4 %
Downloading... 26.1 %
Downloading... 33.5 %
Downloading... 37.3 %
Downloading... 41.0 %
Downloading... 48.5 %
Downloading... 52.2 %
Downloading... 55.9 %
Downloading... 63.4 %
Downloading... 67.1 %
Downloading... 70.8 %
Downloading... 78.3 %
Downloading... 82.0 %
Downloading... 85.7 %
Downloading... 93.2 %
Downloading... 96.9 %
Downloading... 100.0 %
untarring "/Users/james/.mozbuild/clang.tar.zst"
Setting up artifact sccache.tar.zst
Downloading artifact to local cache: /Users/james/.mozbuild/toolchains/99b30946379a5ab4-sccache.tar.zst
Downloading... 0.0 %
Downloading... 100.0 %
untarring "/Users/james/.mozbuild/sccache.tar.zst"
Setting up artifact cbindgen.tar.zst
Downloading artifact to local cache: /Users/james/.mozbuild/toolchains/84b0088d590d19fe-cbindgen.tar.zst
Downloading... 0.0 %
Downloading... 100.0 %
untarring "/Users/james/.mozbuild/cbindgen.tar.zst"
Setting up artifact node.tar.zst
Downloading artifact to local cache: /Users/james/.mozbuild/toolchains/3aa4f9bc0e8f9030-node.tar.zst
Downloading... 0.0 %
Downloading... 53.2 %
Downloading... 100.0 %
untarring "/Users/james/.mozbuild/node.tar.zst"
Setting up artifact sysroot-wasm32-wasi.tar.zst
Downloading artifact to local cache: /Users/james/.mozbuild/toolchains/10e3efe4e3427c48-sysroot-wasm32-wasi.tar.zst
Downloading... 0.0 %
Downloading... 100.0 %
untarring "/Users/james/.mozbuild/sysroot-wasm32-wasi.tar.zst"
Setting up artifact dump_syms.tar.zst
Downloading artifact to local cache: /Users/james/.mozbuild/toolchains/ada2014be2693f9e-dump_syms.tar.zst
Downloading... 0.0 %
Downloading... 100.0 %
untarring "/Users/james/.mozbuild/dump_syms.tar.zst"
Setting up artifact fix-stacks.tar.zst
Downloading artifact to local cache: /Users/james/.mozbuild/toolchains/07b18ae465dffebd-fix-stacks.tar.zst
Downloading... 0.0 %
Downloading... 100.0 %
untarring "/Users/james/.mozbuild/fix-stacks.tar.zst"
Setting up artifact minidump-stackwalk.tar.zst
Downloading artifact to local cache: /Users/james/.mozbuild/toolchains/b2f4dc46bc0e62b5-minidump-stackwalk.tar.zst
Downloading... 0.0 %
Downloading... 100.0 %
untarring "/Users/james/.mozbuild/minidump-stackwalk.tar.zst"
Setting up artifact clang-tidy.tar.zst
Downloading artifact to local cache: /Users/james/.mozbuild/toolchains/1279b730e71ace5a-clang-tidy.tar.zst
Downloading... 0.0 %
Downloading... 28.7 %
Downloading... 57.3 %
Downloading... 86.0 %
Downloading... 100.0 %
untarring "/Users/james/.mozbuild/clang-tools/clang-tidy.tar.zst"
Mozilla collects data to improve the developer experience.
To learn more about the data we intend to collect, read here:
  https://firefox-source-docs.mozi ... stem/telemetry.html
If you have questions, please ask in #build on Matrix:
  https://chat.mozilla.org/#/room/#build:mozilla.org

If you'd like to opt out of data collection, select (N) at the prompt.
Would you like to enable build system telemetry? (Yn):y

Your system should be ready to build Firefox for Desktop!

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
~/Documents/code/mozilla/firefox »      
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Comsenz Inc. ( 粤ICP备15088888号-2 )

GMT+8, 2024-9-8 09:05 , Processed in 0.115277 second(s), 11 queries , File On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表