zen-browser / desktop

🌀 Experience tranquillity while browsing the web without people tracking you!
https://zen-browser.app
Mozilla Public License 2.0
14.03k stars 338 forks source link

Can't build on Mac #1877

Open ngocphamm opened 1 day ago

ngocphamm commented 1 day ago

Captchas

What happened?

I try to build myself, but get an error at npm run build step.

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"

I'm running macOS 14.7, with only Commandline Tools installed and not the whole XCode.

Reproducible?

Version

main

What platform are you seeing the problem on?

macOS - aarch64

Relevant log output

See https://gist.github.com/ngocphamm/a3bf7e09f9215fc727861079d29dd1b7
linear[bot] commented 1 day ago

ZEN-1850 Can't build on Mac