zola icon indicating copy to clipboard operation
zola copied to clipboard

Anyone compiling on Android?

Open nref opened this issue 1 year ago • 1 comments

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

nref avatar Jan 19 '24 15:01 nref

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

leleliu008 avatar Apr 12 '24 13:04 leleliu008