diff --git a/doc/bugs/Android_termux_install_fails_with_Bad_system_call.mdwn b/doc/bugs/Android_termux_install_fails_with_Bad_system_call.mdwn new file mode 100644 index 0000000000..774c800a33 --- /dev/null +++ b/doc/bugs/Android_termux_install_fails_with_Bad_system_call.mdwn @@ -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]] diff --git a/doc/forum/Android___34__Bad_system_call__34__/comment_2_74a33b262400ed74a7e0e3bbeac651d5._comment b/doc/forum/Android___34__Bad_system_call__34__/comment_2_74a33b262400ed74a7e0e3bbeac651d5._comment new file mode 100644 index 0000000000..2cbcce6b22 --- /dev/null +++ b/doc/forum/Android___34__Bad_system_call__34__/comment_2_74a33b262400ed74a7e0e3bbeac651d5._comment @@ -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]] +"""]]