Skip to content

Instantly share code, notes, and snippets.

@ngocphamm
Created October 3, 2024 03:32
Show Gist options
  • Save ngocphamm/a3bf7e09f9215fc727861079d29dd1b7 to your computer and use it in GitHub Desktop.
Save ngocphamm/a3bf7e09f9215fc727861079d29dd1b7 to your computer and use it in GitHub Desktop.
Build Zen browser log
~/D/C/O/zen-browser » git clone https://github.com/zen-browser/desktop.git --recurse-submodules
Alias tip: gfc https://github.com/zen-browser/desktop.git --recurse-submodules
Cloning into 'desktop'...
remote: Enumerating objects: 14778, done.
remote: Counting objects: 100% (3014/3014), done.
remote: Compressing objects: 100% (933/933), done.
remote: Total 14778 (delta 2337), reused 2477 (delta 2043), pack-reused 11764 (from 1)
Receiving objects: 100% (14778/14778), 3.81 GiB | 6.57 MiB/s, done.
Resolving deltas: 100% (9413/9413), done.
Updating files: 100% (623/623), done.
Submodule 'l10n' (https://github.com/zen-browser/l10n-packs) registered for path 'l10n'
Submodule 'src/browser/base/content/zen-components' (https://github.com/zen-browser/components) registered for path 'src/browser/base/content/zen-components'
Cloning into '/Users/ngoc/DATA/Code/Others/zen-browser/desktop/l10n'...
remote: Enumerating objects: 11032, done.
remote: Counting objects: 100% (509/509), done.
remote: Compressing objects: 100% (335/335), done.
remote: Total 11032 (delta 231), reused 90 (delta 90), pack-reused 10523 (from 1)
Receiving objects: 100% (11032/11032), 1.39 MiB | 4.30 MiB/s, done.
Resolving deltas: 100% (5669/5669), done.
Cloning into '/Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/base/content/zen-components'...
remote: Enumerating objects: 1181, done.
remote: Counting objects: 100% (417/417), done.
remote: Compressing objects: 100% (178/178), done.
remote: Total 1181 (delta 355), reused 289 (delta 239), pack-reused 764 (from 1)
Receiving objects: 100% (1181/1181), 366.18 KiB | 3.81 MiB/s, done.
Resolving deltas: 100% (814/814), done.
Submodule path 'l10n': checked out '0bd8f65ca3dfea9e54931605c426ec887320835a'
Submodule path 'src/browser/base/content/zen-components': checked out '2ea7024eea2f19aac4e230a6a370a2f16a414348'
~/D/C/O/zen-browser » cd desktop ✘ 254
~/D/C/O/z/desktop » npm i
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
> [email protected] prepare
> husky
added 236 packages, and audited 237 packages in 18s
53 packages are looking for funding
run `npm fund` for details
3 vulnerabilities (1 moderate, 2 high)
To address issues that do not require attention, run:
npm audit fix
Some issues need review, and may require choosing
a different dependency.
Run `npm audit` for details.
~/D/C/O/z/desktop » npm run init main ◼
> [email protected] init
> npm run bootstrap && npm run import
> [email protected] bootstrap
> surfer download && surfer bootstrap
00:00:01 Locating Firefox release 131.0...
00:00:01 Downloading Firefox release 131.0...
progress [=======================================-] 97% | ETA: 1s | 552563400/566366180
00:00:16 Unpacking Firefox...
00:00:16 Unpacking /Users/ngoc/DATA/Code/Others/zen-browser/desktop/.surfer/engine/firefox-131.0.source.tar.xz to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine
00:00:49 Unpacked Firefox source to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine
00:00:49 Init firefox
00:00:49 Initializing git, this may take some time
00:00:49 Initialized empty Git repository in /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/.git/
00:00:49 Reinitialized existing Git repository in /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/.git/
00:00:49 Switched to a new branch '131.0'
00:00:51 fatal: CRLF would be replaced by LF in accessible/tests/crashtests/1494707.html
00:00:51 Committing...
00:00:51 On branch 131.0
00:00:51 Initial commit
00:00:51 Untracked files:
00:00:51 (use "git add <file>..." to include in what will be committed)
00:00:51 .arcconfig
00:00:51 .babel-eslint.rc.js
00:00:51 .cargo/
00:00:51 .clang-format
00:00:51 .clang-format-ignore
00:00:51 .cron.yml
00:00:51 .eslintrc-ignores.js
00:00:51 .eslintrc-rollouts.js
00:00:51 .eslintrc-test-paths.js
00:00:51 .eslintrc.js
00:00:51 .git-blame-ignore-revs
00:00:51 .github/
00:00:51 .gitignore
00:00:51 .lando.ini
00:00:51 .lldbinit
00:00:51 .mailmap
00:00:51 .prettierignore
00:00:51 .prettierrc.js
00:00:51 .stylelintignore
00:00:51 .stylelintrc.js
00:00:51 .taskcluster.yml
00:00:51 .trackerignore
00:00:51 .yamllint
00:00:51 .ycm_extra_conf.py
00:00:51 AUTHORS
00:00:51 CLOBBER
00:00:51 Cargo.lock
00:00:51 Cargo.toml
00:00:51 GNUmakefile
00:00:51 LICENSE
00:00:51 Makefile.in
00:00:51 README.txt
00:00:51 accessible/
00:00:51 aclocal.m4
00:00:51 browser/
00:00:51 build.gradle
00:00:51 build/
00:00:51 caps/
00:00:51 chrome/
00:00:51 client.mk
00:00:51 client.py
00:00:51 config/
00:00:51 configure
00:00:51 configure.py
00:00:51 devtools/
00:00:51 docs/
00:00:51 docshell/
00:00:51 dom/
00:00:51 editor/
00:00:51 extensions/
00:00:51 gfx/
00:00:51 gradle.properties
00:00:51 gradle/
00:00:51 gradlew
00:00:51 gradlew.bat
00:00:51 hal/
00:00:51 image/
00:00:51 intl/
00:00:51 ipc/
00:00:51 js/
00:00:51 layout/
00:00:51 mach
00:00:51 mach.cmd
00:00:51 mach.ps1
00:00:51 media/
00:00:51 memory/
00:00:51 mfbt/
00:00:51 mobile/
00:00:51 modules/
00:00:51 mots.yaml
00:00:51 moz.build
00:00:51 moz.configure
00:00:51 mozglue/
00:00:51 mozilla-config.h.in
00:00:51 netwerk/
00:00:51 nsprpub/
00:00:51 old-configure.in
00:00:51 other-licenses/
00:00:51 package-lock.json
00:00:51 package.json
00:00:51 parser/
00:00:51 pyproject.toml
00:00:51 python/
00:00:51 remote/
00:00:51 security/
00:00:51 services/
00:00:51 servo/
00:00:51 settings.gradle
00:00:51 sourcestamp.txt
00:00:51 startupcache/
00:00:51 storage/
00:00:51 substitute-local-geckoview.gradle
00:00:51 supply-chain/
00:00:51 taskcluster/
00:00:51 test.mozbuild
00:00:51 testing/
00:00:51 third_party/
00:00:51 toolkit/
00:00:51 tools/
00:00:51 uriloader/
00:00:51 view/
00:00:51 widget/
00:00:51 xpcom/
00:00:51 xpfe/
00:00:51 nothing added to commit but untracked files present (use "git add" to track)
00:00:51 Switched to a new branch 'zen_browser'
00:00:51 Adding addons to mozbuild...
00:00:51 Discarding browser/extensions/moz.build...
WARNING The file browser/extensions/moz.build was not changed
SUCCESS You should be ready to make changes to Zen Browser.
Remember to change the repository in configs/common/mozconfig to your own.
You should import the patches next, run |surfer import|.
To begin building Zen Browser, run |surfer build|.
00:00:00 Bootstrapping Zen Browser...
Passing through to |mach bootstrap|
00:00:03 Collecting glean-sdk==60.5.0
00:00:05 Downloading glean_sdk-60.5.0-py3-none-macosx_11_0_arm64.whl.metadata (4.7 kB)
00:00:05 Collecting semver>=2.13.0 (from glean-sdk==60.5.0)
00:00:05 Using cached semver-3.0.2-py3-none-any.whl.metadata (5.0 kB)
00:00:05 Requirement already satisfied: glean-parser~=14.5 in ./third_party/python/glean_parser (from glean-sdk==60.5.0) (14.5.1)
00:00:05 Requirement already satisfied: appdirs>=1.4 in ./third_party/python/appdirs (from glean-parser~=14.5->glean-sdk==60.5.0) (1.4.4)
00:00:05 Requirement already satisfied: Click>=7 in ./third_party/python/click (from glean-parser~=14.5->glean-sdk==60.5.0) (8.1.6)
00:00:05 Requirement already satisfied: diskcache>=4 in ./third_party/python/diskcache (from glean-parser~=14.5->glean-sdk==60.5.0) (4.1.0)
00:00:05 Requirement already satisfied: Jinja2>=2.10.1 in ./third_party/python/Jinja2 (from glean-parser~=14.5->glean-sdk==60.5.0) (3.1.2)
00:00:05 Requirement already satisfied: jsonschema>=3.0.2 in ./third_party/python/jsonschema (from glean-parser~=14.5->glean-sdk==60.5.0) (4.17.3)
00:00:05 Requirement already satisfied: PyYAML>=5.3.1 in ./third_party/python/PyYAML/lib (from glean-parser~=14.5->glean-sdk==60.5.0) (6.0.1)
00:00:05 Requirement already satisfied: MarkupSafe>=2.0 in ./third_party/python/MarkupSafe/src (from Jinja2>=2.10.1->glean-parser~=14.5->glean-sdk==60.5.0) (2.0.1)
00:00:05 Requirement already satisfied: attrs>=17.4.0 in ./third_party/python/attrs (from jsonschema>=3.0.2->glean-parser~=14.5->glean-sdk==60.5.0) (23.1.0)
00:00:05 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.5->glean-sdk==60.5.0) (0.16.0)
00:00:05 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.5->glean-sdk==60.5.0) (1.16.0)
00:00:05 Downloading glean_sdk-60.5.0-py3-none-macosx_11_0_arm64.whl (845 kB)
00:00:05 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 845.1/845.1 kB 4.9 MB/s eta 0:00:00
00:00:05 Using cached semver-3.0.2-py3-none-any.whl (17 kB)
00:00:05 Installing collected packages: semver, glean-sdk
00:00:05 Successfully installed glean-sdk-60.5.0 semver-3.0.2
00:00:06 Collecting psutil<=5.9.4,>=5.4.2
00:00:06 Using cached psutil-5.9.4-cp38-abi3-macosx_11_0_arm64.whl.metadata (21 kB)
00:00:06 Using cached psutil-5.9.4-cp38-abi3-macosx_11_0_arm64.whl (244 kB)
00:00:06 Installing collected packages: psutil
00:00:06 Successfully installed psutil-5.9.4
00:00:07 Collecting zstandard<=0.22.0,>=0.11.1
00:00:07 Using cached zstandard-0.22.0-cp312-cp312-macosx_11_0_arm64.whl.metadata (2.9 kB)
00:00:07 Using cached zstandard-0.22.0-cp312-cp312-macosx_11_0_arm64.whl (703 kB)
00:00:07 Installing collected packages: zstandard
00:00:07 Successfully installed zstandard-0.22.0
00:00:09 fatal: your current branch 'zen_browser' does not have any commits yet
00:00:09 Error running mach:
00:00:09 mach bootstrap --application-choice browser
00:00:09 The error occurred in code that was called by the mach command. This is either
00:00:09 a bug in the called code itself or in the way that mach is calling it.
00:00:09 You can invoke ``./mach busted`` to check if this issue is already on file. If it
00:00:09 isn't, please use ``./mach busted file bootstrap`` to report it. If ``./mach busted`` is
00:00:09 misbehaving, you can also inspect the dependencies of bug 1543241.
00:00:09 If filing a bug, please include the full output of mach, including this error
00:00:09 message.
00:00:09 The details of the failure are as follows:
00:00:09 subprocess.CalledProcessError: Command '('/usr/bin/git', 'log', '-1', '--format=%ct')' returned non-zero exit status 128.
00:00:09 File "/Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/python/mozboot/mozboot/mach_commands.py", line 50, in bootstrap
00:00:09 bootstrapper.bootstrap(command_context.settings)
00:00:09 File "/Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/python/mozboot/mozboot/bootstrap.py", line 433, in bootstrap
00:00:09 (checkout_type, checkout_root) = current_firefox_checkout(
00:00:09 ^^^^^^^^^^^^^^^^^^^^^^^^^
00:00:09 File "/Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/python/mozboot/mozboot/bootstrap.py", line 770, in current_firefox_checkout
00:00:09 _warn_if_risky_revision(path)
00:00:09 File "/Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/python/mozboot/mozboot/bootstrap.py", line 919, in _warn_if_risky_revision
00:00:09 if (time.time() - repo.get_commit_time()) >= NUM_SECONDS_IN_MONTH:
00:00:09 ^^^^^^^^^^^^^^^^^^^^^^
00:00:09 File "/Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/python/mozversioncontrol/mozversioncontrol/__init__.py", line 824, in get_commit_time
00:00:09 return int(self._run("log", "-1", "--format=%ct").strip())
00:00:09 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
00:00:09 File "/Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/python/mozversioncontrol/mozversioncontrol/__init__.py", line 115, in _run
00:00:09 return subprocess.check_output(
00:00:09 ^^^^^^^^^^^^^^^^^^^^^^^^
00:00:09 File "/opt/homebrew/Cellar/[email protected]/3.12.6/Frameworks/Python.framework/Versions/3.12/lib/python3.12/subprocess.py", line 466, in check_output
00:00:09 return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
00:00:09 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
00:00:09 File "/opt/homebrew/Cellar/[email protected]/3.12.6/Frameworks/Python.framework/Versions/3.12/lib/python3.12/subprocess.py", line 571, in run
00:00:09 raise CalledProcessError(retcode, process.args,
> [email protected] import
> surfer import
[START] Apply 0 surfer patches
[FINISH] Apply 0 surfer patches
[START] Apply 2 branding patches
(node:87218) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead
(Use `node --trace-deprecation ...` to show where the warning was created)
00:00:00 Copying MacOSInstaller.svg to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/alpha
00:00:00 Copying PrivateBrowsing_150.png to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/alpha
00:00:00 Copying PrivateBrowsing_70.png to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/alpha
00:00:00 Copying VisualElements_150.png to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/alpha
00:00:00 Copying VisualElements_70.png to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/alpha
00:00:00 Copying document.ico to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/alpha
00:00:00 Copying document_pdf.ico to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/alpha
00:00:00 Copying firefox.ico to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/alpha
00:00:00 Copying firefox64.ico to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/alpha
00:00:00 Copying logo-mac.png to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/alpha
00:00:00 Copying logo.png to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/alpha
00:00:00 Copying logo128.png to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/alpha
00:00:00 Copying logo16.png to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/alpha
00:00:00 Copying logo22.png to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/alpha
00:00:00 Copying logo24.png to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/alpha
00:00:00 Copying logo256.png to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/alpha
00:00:00 Copying logo32.png to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/alpha
00:00:00 Copying logo48.png to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/alpha
00:00:00 Copying logo512.png to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/alpha
00:00:00 Copying logo64.png to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/alpha
00:00:00 Copying pbmode.ico to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/alpha
00:00:00 Copying about-logo-private.png to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/alpha
00:00:00 Copying about-logo-private.svg to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/alpha
00:00:00 Copying [email protected] to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/alpha
00:00:00 Copying about-logo.png to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/alpha
00:00:00 Copying about-logo.svg to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/alpha
00:00:00 Copying [email protected] to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/alpha
00:00:00 Copying about-wordmark.svg to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/alpha
00:00:00 Copying firefox-wordmark.svg to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/alpha
[FINISH] Apply alpha
00:00:00 Copying MacOSInstaller.svg to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/twilight
00:00:00 Copying PrivateBrowsing_150.png to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/twilight
00:00:00 Copying PrivateBrowsing_70.png to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/twilight
00:00:00 Copying VisualElements_150.png to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/twilight
00:00:00 Copying VisualElements_70.png to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/twilight
00:00:00 Copying document.ico to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/twilight
00:00:00 Copying document_pdf.ico to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/twilight
00:00:00 Copying firefox.ico to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/twilight
00:00:00 Copying firefox64.ico to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/twilight
00:00:00 Copying logo-mac.png to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/twilight
00:00:00 Copying logo.png to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/twilight
00:00:00 Copying logo128.png to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/twilight
00:00:00 Copying logo16.png to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/twilight
00:00:00 Copying logo22.png to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/twilight
00:00:00 Copying logo24.png to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/twilight
00:00:00 Copying logo256.png to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/twilight
00:00:00 Copying logo32.png to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/twilight
00:00:00 Copying logo48.png to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/twilight
00:00:00 Copying logo512.png to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/twilight
00:00:00 Copying logo64.png to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/twilight
00:00:00 Copying pbmode.ico to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/twilight
00:00:00 Copying about-logo-private.png to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/twilight
00:00:00 Copying about-logo-private.svg to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/twilight
00:00:00 Copying [email protected] to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/twilight
00:00:00 Copying about-logo.png to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/twilight
00:00:00 Copying about-logo.svg to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/twilight
00:00:00 Copying [email protected] to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/twilight
00:00:00 Copying about-wordmark.svg to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/twilight
00:00:00 Copying firefox-wordmark.svg to /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/branding/twilight
[FINISH] Apply twilight
[FINISH] Apply 2 branding patches
[START] Apply 2 folder patches
[FINISH] Apply browser
[FINISH] Apply toolkit
[FINISH] Apply 2 folder patches
[START] Apply 103 git patches
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/app/profile/firefox-js.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/app/splash-rc.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/base/content/aboutDialog-xhtml.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/base/content/aboutRestartRequired-xhtml.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/base/content/browser-box-inc-xhtml.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/base/content/browser-init-js.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/base/content/browser-js.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/base/content/browser-places-js.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/base/content/browser-siteIdentity-js.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/base/content/browser-xhtml.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/base/content/main-popupset-inc-xhtml.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/base/content/navigator-toolbox-inc-xhtml.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/base/content/nsContextMenu-sys-mjs.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/base/jar-mn.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/components/BrowserGlue-sys-mjs.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/components/aboutlogins/content/aboutLogins-html.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/components/aboutlogins/content/components/login-list-css.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/components/controlcenter/content/identityPanel-inc-xhtml.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/components/customizableui/CustomizableUI-sys-mjs.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/components/customizableui/CustomizeMode-sys-mjs.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/components/customizableui/content/panelUI-inc-xhtml.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/components/migration/MigrationUtils-sys-mjs.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/components/moz-build.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/components/newtab/content-src/components/CustomizeMenu/ContentSection/ContentSection-jsx.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/components/newtab/content-src/components/CustomizeMenu/_CustomizeMenu-scss.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/components/newtab/data/content/abouthomecache/page-html-template.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/components/newtab/lib/AboutPreferences-sys-mjs.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/components/newtab/lib/ActivityStream-sys-mjs.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/components/places/content/bookmarkProperties-xhtml.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/components/places/content/editBookmarkPanel-inc-xhtml.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/components/places/jar-mn.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/components/preferences/jar-mn.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/components/preferences/main-inc-xhtml.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/components/preferences/main-js.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/components/preferences/preferences-js.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/components/preferences/preferences-xhtml.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/components/sessionstore/TabState-sys-mjs.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/components/sessionstore/content/aboutSessionRestore-xhtml.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/components/sidebar/browser-sidebar-js.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/components/tabbrowser/content/tab-hover-preview-mjs.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/components/tabbrowser/content/tabbrowser-js.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/components/tabbrowser/content/tabs-js.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/installer/package-manifest-in.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/modules/AsyncTabSwitcher-sys-mjs.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/themes/BuiltInThemeConfig-sys-mjs.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/themes/BuiltInThemes-sys-mjs.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/themes/addons/dark/manifest-json.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/themes/addons/jar-mn.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/themes/addons/light/manifest-json.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/themes/linux/browser-css.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/themes/shared/browser-custom-colors-css.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/themes/shared/browser-shared-css.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/themes/shared/controlcenter/panel-css.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/themes/shared/customizableui/panelUI-shared-css.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/themes/shared/identity-block/identity-block-css.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/themes/shared/jar-inc-mn.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/themes/shared/preferences/preferences-css.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/themes/shared/tabbrowser/fullscreen-and-pointerlock-css.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/themes/shared/tabbrowser/tab-hover-preview-css.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/themes/shared/tabbrowser/tabs-css.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/browser/themes/windows/browser-css.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/build/moz-build.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/dom/ipc/BrowserHost-cpp.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/dom/script/ScriptLoader-cpp.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/gfx/wr/webrender/src/picture-rs.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/netwerk/protocol/http/moz-build.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/actors/SelectParent-sys-mjs.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/components/aboutconfig/content/aboutconfig-html.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/components/aboutprocesses/content/aboutProcesses-html.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/components/printing/content/print-html.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/components/prompts/content/commonDialog-xhtml.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/content/aboutAbout-html.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/content/aboutProfiles-js.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/content/aboutProfiles-xhtml.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/content/aboutSupport-xhtml.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/content/widgets/browser-custom-element-js.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/content/widgets/infobar-css.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/content/widgets/moz-toggle/moz-toggle-css.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/content/xul-css.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/locales/en-US/toolkit/about/aboutProfiles-ftl.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/modules/ActorManagerParent-sys-mjs.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/modules/AppConstants-sys-mjs.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/modules/LightweightThemeConsumer-sys-mjs.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/modules/UpdateUtils-sys-mjs.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/modules/moz-build.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/moz-configure.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/mozapps/extensions/AddonManager-sys-mjs.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/mozapps/extensions/content/aboutaddons-html.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/mozapps/extensions/internal/AddonSettings-sys-mjs.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/mozapps/extensions/internal/AddonUpdateChecker-sys-mjs.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/mozapps/extensions/internal/XPIDatabase-sys-mjs.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/mozapps/extensions/internal/XPIProvider-sys-mjs.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/mozapps/update/updater/updater-common-build.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/profile/nsIToolkitProfile-idl.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/profile/nsToolkitProfileService-cpp.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/profile/nsToolkitProfileService-h.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/themes/linux/global/menu-css.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/themes/shared/aboutReader-css.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/themes/shared/in-content/common-shared-css.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/themes/shared/menu-shared-css.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/themes/shared/menulist-shared-css.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/toolkit/themes/shared/popup-css.patch
[FINISH] Apply /Users/ngoc/DATA/Code/Others/zen-browser/desktop/src/widget/ThemeColors-h.patch
[FINISH] Apply 103 git patches
~/D/C/O/z/desktop » sh scripts/update-en-US-packs.sh main ◼
Copying language pack for en-US
building file list ... done
./
browser/
browser/zen-general.ftl
browser/zen-split-view.ftl
browser/zen-vertical-tabs.ftl
browser/zen-web-side-panels.ftl
browser/zen-welcome.ftl
browser/zen-workspaces.ftl
browser/zenAppExtensionFields.ftl
browser/zenNewWebPanel.ftl
browser/preferences/
browser/preferences/zen-preferences.ftl
sent 17027 bytes received 236 bytes 34526.00 bytes/sec
total size is 16257 speedup is 0.94
~/D/C/O/z/desktop » npm run build main ◼
> [email protected] build
> surfer build
00:00:00 Applying mozconfig...
00:00:00 Dynamic config 'brand not set, defaulting to 'unofficial'
00:00:00 Dynamic config 'buildMode not set, defaulting to 'dev'
00:00:00 Dynamic config 'buildMode not set, defaulting to 'dev'
00:00:00 Building config based on a dev mode
00:00:00 Config for this `macos` build:
00:00:00 --with-app-name=zen
00:00:00 --with-app-basename=Zen
00:00:00 --enable-official-branding
00:00:00 --with-l10n-base="$PWD/browser/locales"
00:00:00 MOZ_USER_DIR="Zen Browser"
00:00:00 MOZ_APP_BASENAME=Zen
00:00:00 MOZ_APP_PROFILE=zen
00:00:00 MOZ_APP_DISPLAYNAME="Zen Browser"
00:00:00 MOZ_BRANDING_DIRECTORY=branding/unofficial
00:00:00 MOZ_OFFICIAL_BRANDING_DIRECTORY=branding/unofficial
00:00:00 MOZ_DISTRIBUTION_ID=com.zen.browser
00:00:00 MOZ_SOURCE_REPO=https://github.com/zen-browser/desktop
00:00:00 MOZ_SOURCE_CHANGESET=c14bdf8d26ea09cbf97117f156e5b658e560ca7a
00:00:00 MOZ_INCLUDE_SOURCE_INFO=1
00:00:00 --enable-application=browser
00:00:00 --enable-unverified-updates
00:00:00 --enable-raw
00:00:00 --enable-webrtc
00:00:00 --enable-jxl
00:00:00 --enable-av1
00:00:00 --enable-eme=widevine
00:00:00 --with-unsigned-addon-scopes=app,system
00:00:00 MOZ_DATA_REPORTING=
00:00:00 MOZ_SERVICES_HEALTHREPORT=
00:00:00 MOZ_TELEMETRY_REPORTING=
00:00:00 MOZ_REQUIRE_SIGNING=
00:00:00 MOZ_REQUIRE_SIGNING=
00:00:00 --disable-dmd
00:00:00 MOZ_MACBUNDLE_ID=com.zen.browser
00:00:00 MOZ_MACBUNDLE_NAME="Zen Browser.app"
00:00:00 VERBOSE=1
00:00:00 POLLY="-mllvm -polly -mllvm -polly-2nd-level-tiling -mllvm -polly-loopfusion-greedy -mllvm -polly-pattern-matching-based-opts -mllvm -polly-position=before-vectorizer -mllvm -polly-vectorizer=stripmine"
00:00:00 --disable-debug
00:00:00 --with-branding=browser/branding/unofficial
00:00:00 --enable-unverified-updates
00:00:00 --enable-update-channel=unofficial
00:00:00 ZEN_FIREFOX_VERSION=131.0
00:00:00 MOZ_APPUPDATE_HOST=updates.zen-browser.app
00:00:00 Starting build...
00:00:00 Building for "macos"...
WARNING If you get any dependency errors, try running |surfer bootstrap|.
00:00:00 W Clobber not needed.
00:00:00 Using Python 3.12.6 from /Users/ngoc/.mozbuild/srcdirs/engine-5fbe751e5299/_virtualenvs/build/bin/python
00:00:00 Adding configure options from /Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/mozconfig
00:00:00 --with-app-name=zen
00:00:00 --with-app-basename=Zen
00:00:00 --enable-official-branding
00:00:00 --with-l10n-base=/Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/browser/locales
00:00:00 --enable-application=browser
00:00:00 --enable-unverified-updates
00:00:00 --enable-raw
00:00:00 --enable-webrtc
00:00:00 --enable-jxl
00:00:00 --enable-av1
00:00:00 --enable-eme=widevine
00:00:00 --with-unsigned-addon-scopes=app,system
00:00:00 --disable-dmd
00:00:00 --target=aarch64-apple-darwin
00:00:00 --enable-optimize=-O3 -mcpu=apple-m1 -march=armv8.3-a+simd
00:00:00 --disable-debug
00:00:00 --with-branding=browser/branding/unofficial
00:00:00 --enable-unverified-updates
00:00:00 --enable-update-channel=unofficial
00:00:00 RUSTFLAGS=-C target-feature=+v8.3a -C codegen-units=1 -Ctarget-cpu=apple-m1
00:00:00 MOZ_MACBUNDLE_NAME=Zen Browser.app
00:00:00 MOZ_SOURCE_CHANGESET=c14bdf8d26ea09cbf97117f156e5b658e560ca7a
00:00:00 CXXFLAGS=-O3 -march=armv8.3-a+simd -mcpu=apple-m1
00:00:00 MOZ_INCLUDE_SOURCE_INFO=1
00:00:00 MOZ_OFFICIAL_BRANDING_DIRECTORY=branding/unofficial
00:00:00 ZEN_FIREFOX_VERSION=131.0
00:00:00 MOZ_DISTRIBUTION_ID=com.zen.browser
00:00:00 MOZ_BRANDING_DIRECTORY=branding/unofficial
00:00:00 MOZ_APP_PROFILE=zen
00:00:00 MOZ_SOURCE_REPO=https://github.com/zen-browser/desktop
00:00:00 MOZ_APP_BASENAME=Zen
00:00:00 POLLY=-mllvm -polly -mllvm -polly-2nd-level-tiling -mllvm -polly-loopfusion-greedy -mllvm -polly-pattern-matching-based-opts -mllvm -polly-position=before-vectorizer -mllvm -polly-vectorizer=stripmine
00:00:00 CFLAGS=-O3 -march=armv8.3-a+simd -mcpu=apple-m1
00:00:00 MOZ_USER_DIR=Zen Browser
00:00:00 LDFLAGS=-Wl,-O3 -march=armv8.3-a+simd -mcpu=apple-m1
00:00:00 VERBOSE=1
00:00:00 MOZ_APP_DISPLAYNAME=Zen Browser
00:00:00 CPPFLAGS=-O3 -march=armv8.3-a+simd -mcpu=apple-m1
00:00:00 MOZ_MACBUNDLE_ID=com.zen.browser
00:00:00 MOZ_REQUIRE_SIGNING=
00:00:00 MOZ_APPUPDATE_HOST=updates.zen-browser.app
00:00:00 checking for vcs source checkout... git
00:00:00 checking for a shell... /bin/sh
00:00:00 checking for host system type... aarch64-apple-darwin23.6.0
00:00:00 checking for target system type... aarch64-apple-darwin
00:00:01 checking whether cross compiling... yes
00:00:01 checking for the target C compiler... /usr/bin/clang
00:00:01 checking for ccache... not found
00:00:01 Using target sysroot in /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk
00:00:01 checking whether the target C compiler can be used... yes
00:00:01 checking for the target C++ compiler... /usr/bin/clang++
00:00:01 checking whether the target C++ compiler can be used... yes
00:00:01 checking for unwind.h... yes
00:00:01 checking for target linker...
00:00:01 DEBUG: Executing: `/usr/bin/clang -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -mmacosx-version-min=11.0 -std=gnu99 --target=arm64-apple-darwin -Wl,--version`
00:00:01 ERROR: Failed to find an adequate linker
00:00:01 W Exception when writing resource usage file: [Errno 2] No such file or directory: '/Users/ngoc/DATA/Code/Others/zen-browser/desktop/engine/obj-aarch64-apple-darwin/.mozbuild/profile_build_resources.json'
00:00:01 Config object not found by mach.
00:00:01 *** Fix above errors and then restart with "./mach build"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment