Skip to content

Crash during make build-release on Termux + proot-distro Ubuntu (Android) #4783

@QuantumCrypt-creator

Description

@QuantumCrypt-creator

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

  1. Install Termux from F-Droid.

  2. Run:

pkg install proot-distro
proot-distro install ubuntu
proot-distro login ubuntu

  1. 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

  1. Build progresses successfully until around 99%.

  2. System suddenly freezes (keyboard stops responding).

  3. Then:

VPN disconnects

Antivirus and Termux get force-closed

RAM usage drops dramatically

Termux restarts with welcome screen

  1. No logs or error messages appear.

  2. 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


Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions