Skip to content

Commit 8b2b0d7

Browse files
committed
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 <[email protected]>
1 parent 1fc70c2 commit 8b2b0d7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎install.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ is_android() {
157157
OS=$(detect_os)
158158
ARCH=$(detect_arch)
159159
if [ "$OS" = "linux" ] && is_android; then
160-
echo "error: Android/Termux is not supported by the Linux portable binary." >&2
161-
echo "Build from source with scripts/build.sh in Termux or use a supported Linux host." >&2
160+
echo 'error: Android/Termux cannot run the Linux portable binary (static glibc; Android kills it with "Bad system call").' >&2
161+
echo "Building from source in Termux may work but is not a supported platform yet - see issue #1202." >&2
162162
exit 1
163163
fi
164164

0 commit comments

Comments
 (0)