Open Heinrich-XIAO opened 1 month ago
Hey there, @Heinrich-XIAO! I'm here to help you out with any bugs, questions, or contributions you have. Let's tackle this issue together!
It seems like you're encountering an issue with installing Zen Browser on an aarch64 architecture, specifically related to system page size and a segmentation fault. There is a similar closed issue regarding Linux ARM64 support, which might be relevant to your situation [1].
The suggested solution for building Zen Browser on an ARM64 architecture involves several steps, including installing necessary dependencies and modifying configuration files. Here's a brief overview of the process:
mozconfig
file to support ARM64.For detailed instructions, you can refer to the solution provided in the closed issue [1]. This might help you build the browser from source on your system.
To continue talking to Dosu, mention @dosu.
This is not the same thing, but arguably similar.
Zen is not currently being built for Linux on AArch64 - only x86-64 to my knowledge. This includes the AppImage.
You can try building Zen yourself - however I cannot guarantee that Zen will build on AArch64 Linux.
You could also look into the (custom/user) repositories for your linux distro to see if somebody has already created a package providing Zen for AArch64.
There isn't a package for it on dnf. And I can't seem to build it myself. I'm getting this error.
00:00:13 checking the wasm C compiler can find wasi headers...
00:00:13 DEBUG: Creating `/tmp/conftest6u09sh1x.c` with content:
00:00:13 DEBUG: | #include <string.h>
00:00:13 DEBUG: | int
00:00:13 DEBUG: | main(void)
00:00:13 DEBUG: | {
00:00:13 DEBUG: |
00:00:13 DEBUG: | ;
00:00:13 DEBUG: | return 0;
00:00:13 DEBUG: | }
00:00:13 DEBUG: Executing: `/usr/lib64/ccache/clang -std=gnu99 --target=wasm32-wasi /tmp/conftest6u09sh1x.c -c`
00:00:13 DEBUG: The command returned non-zero exit status 1.
00:00:13 DEBUG: Its error output was:
00:00:13 DEBUG: | /tmp/conftest6u09sh1x.c:1:10: fatal error: 'string.h' file not found
00:00:13 DEBUG: | 1 | #include <string.h>
00:00:13 DEBUG: | | ^~~~~~~~~~
00:00:13 DEBUG: | 1 error generated.
00:00:13 ERROR: Cannot find wasi headers or problem with the wasm compiler. Please fix the problem. Or build with --without-wasm-sandboxed-libraries.
00:00:13 Config object not found by mach.
00:00:13 *** Fix above errors and then restart with "./mach build"
In this case building for AArch64 Linux likely doesn't work currently.
Regarding DNF: There is a Fedora COPR repo for Zen - however, as it uses the builds from GitHub Actions, this as well only supports x86-64.
I'd love to see support for Asahi as well, I just stumbled on this issue while checking why it didn't work.
Love to see on Asahi
/proc/self/fd/11: line 170: /tmp/ZenBrowser.AppImage: cannot execute binary file: Exec format error
Getting this error on Asahi Linux
/proc/self/fd/11: line 170: /tmp/ZenBrowser.AppImage: cannot execute binary file: Exec format error
Getting this error on Asahi Linux
See https://github.com/zen-browser/desktop/discussions/883#discussioncomment-11210440
Captchas
What happened?
I can't install zen browser from the downloads page as it doens't have aarch64, and I can't install it from
bash <(curl https://updates.zen-browser.app/appimage.sh)
, because it complains about page size problems (I'm using 16k because asahi linux)Reproducible?
Version
N/A
What platform are you seeing the problem on?
Linux
Relevant log output