This commit is contained in:
Joey Hess 2023-03-06 13:05:02 -04:00
parent 50185da5df
commit f1f2588b72
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,14 @@
Following the installation instructions for termux fails on multiple
phones (including my own) with "Bad system call" when it comes to running
git-annex.
My guess as to what has happened is that the arm64 build has been updated
to use a newer version of glibc etc, and that is trying to use a syscall
that the Android kernel is too old to support. (Kernel 4.19 in my phone's
case.)
Unsure when it broke, but the arm64 build is built on Debian testing
for whatever reason, so it's will need a reasonably recent kernel. Perhaps
there should be an equivilant of the i386-ancient build for older arm64
systems? arm64 has by now been around as long as the Debian jessie used for
i386-ancient. --[[Joey]]

View file

@ -0,0 +1,17 @@
[[!comment format=mdwn
username="joey"
subject="""comment 2"""
date="2023-03-06T16:44:33Z"
content="""
Reproduced the same thing on my Pixel 5 with CalyxOS.
My guess as to what has happened is that the arm64 build has been updated
to use a newer version of glibc etc, and that is trying to use a syscall
that the Android kernel is too old to support. (Kernel 4.19 in my phone's
case.)
I suggest you try the Nix-On-Droid installation method instead, if you
don't really need to use termux.
Opened a bug: [[bugs/Android_termux_install_fails_with_Bad_system_call]]
"""]]