getzola / zola

A fast static site generator in a single binary with everything built-in. https://www.getzola.org
https://www.getzola.org
MIT License
13.12k stars 924 forks source link

Anyone compiling on Android? #2414

Open nref opened 6 months ago

nref commented 6 months ago

Bug Report

Thanks for a great generator. I use it for my blog. I get a compile error when I try to build zola in Termux on Android LineageOS 20. The error doesn't point to any specific code.

Environment

Pixel 7 pro, LineageOS 20

> uname -a
Linux localhost 5.10.157-ga10cc6d10517 ... aarch64 Android
> pkg install binutils
> pkg install clang
> pkg install rust
> rustc --version
rustc 1.75.0 (82e1608df 2023-12-21) (built from a source tarball)

Zola version: Tip of master on 2024-01-18

git log
commit 9fe455892... (HEAD -> master, origin/master, origin/HEAD)

Expected Behavior

zola should build zola build should run

Current Behavior

zola fails to build. zola build doesn't exist

Step to reproduce

git clone https://github.com/getzola/zola
cd zola
> pkg install aarch64-linux-android-ar # fixes another build error
> cargo install --path . --locked
Installing zola v0.18.0 ...
Compiling zola v0.18.0 ...
# 2-3 minutes later:
error: Could not compile `zola` (bin "zola")

Screenshots using scrcpy:

image image

leleliu008 commented 3 months ago

I successfully built it on PC. You could try to build it via https://github.com/leleliu008/ndk-pkg-package-manually-build