fix(install): say that Termux is not a supported platform yet

The guard told users to build from source with scripts/build.sh in
Termux, which reads as a supported path. Source builds under Termux
still have open problems tracked in #1202, so the message now says
why the portable binary cannot run there and that a source build may
work but is not supported yet, pointing at #1202.

The test still matches Android/Termux in the new message.

Refs #1202

Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
This commit is contained in:
Martin Vogel committed 2026-11-01 22:43:59 +01:00
1 parent 1fc70c2024
commit 8b2b0d769f
1 file changed
+2 -2
+2 -2
View File
@@ -157,8 +157,8 @@ is_android() {
OS=$(detect_os)
ARCH=$(detect_arch)
if [ "$OS" = "linux" ] && is_android; then
echo "error: Android/Termux is not supported by the Linux portable binary." >&2
echo "Build from source with scripts/build.sh in Termux or use a supported Linux host." >&2
echo 'error: Android/Termux cannot run the Linux portable binary (static glibc; Android kills it with "Bad system call").' >&2
echo "Building from source in Termux may work but is not a supported platform yet - see issue #1202." >&2
exit 1
fi