-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
Bug Description
When building the Namada project on Android using Termux with proot-distro Ubuntu, the process fails near the end (~99%). The system begins to freeze, then forcibly kills the Termux session without any visible error message or logs. As a result, no final build artifacts are generated, and the build fails silently.
🔁 Steps to Reproduce
-
Install Termux from F-Droid.
-
Run:
pkg install proot-distro
proot-distro install ubuntu
proot-distro login ubuntu
- Inside Ubuntu:
apt update && apt upgrade -y
apt install curl git build-essential clang pkg-config libssl-dev protobuf-compiler libudev-dev -y
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
git clone https://github.com/anoma/namada.git
cd namada
make build-release
-
Build progresses successfully until around 99%.
-
System suddenly freezes (keyboard stops responding).
-
Then:
VPN disconnects
Antivirus and Termux get force-closed
RAM usage drops dramatically
Termux restarts with welcome screen
-
No logs or error messages appear.
-
On relaunch: target/release/namada binary is missing.
💻 System Info
Device: [📱 Samsung Galaxy A72]
Android Version: [Android 14]
Termux Version: [0.118.3, from F-Droid]
proot-distro: Ubuntu (default distro)
Rust: 1.88.0
Cargo: 1.88.0
📎 Additional Notes
Reproduced multiple times.
Suspected related to memory exhaustion or hidden system-level process kill (e.g., lowmemkiller or OOM).
Would be helpful if build process supported checkpoints or better fault tolerance in low-RAM environments like Android Termux.
🏷 Suggested Labels
bug
build
android
termux
crash
proot