Recent comments posted to this site:
Bunch of old comments about problems with this that have been fixed were moved to old comments.
Setting all the environment variables from inside still did not break the tar execution; last resort was disabling proot in runshell. I still had to keep the termux-fix-shebang workaround.
$ ./git-annex.linux/runshell
$ mkdir test; cd test
$ git init
$ git annex init
From a first glance, things appear to be working now. I had to run termux-fix-shebang on the .git/hooks/*
and set TMPDIR=something-that-actually-exists, but short of that, local adding and committing as well as moving data around.
Joey, you mentioned ghc runtime issues when introducing proot. Anything particular I should test?
I followed the instruction to install git-annex on my Lenovo Vibe K4 running Android 6
At first I got the error /bin/sh/ is missing
, which I worked around with termux-fix-shebang on runshell. Now I am getting this error.
proot info: vpid 1: terminated with signal 11
Please advice.
I copied and pasted the instructions, here is my output:
https://pastebin.com/ZVJ7uSeU
Almoços for including my entire session, the relevant error is at the bottom.
I'm fairly certain this device has ARM64 arch.
As I mentioned in Package request: git-annex · Issue #420 · termux/termux-packages just now, I also get:
% ./git-annex.linux/runshell
proot info: vpid 1: terminated with signal 11
Some further digging suggests that this is due to the architecture mismatch between my OnePlus 5T which is aarch64, and the linker which is 32-bit:
% PROOT_VERBOSE=9 ./git-annex.linux/runshell |& tail -n3
proot info: vpid 1: translate("/" + "/data/data/com.termux/files/home/git-annex.linux/lib/ld-linux.so.3")
proot info: vpid 1: -> "/data/data/com.termux/files/home/git-annex.linux/lib/ld-linux.so.3"
proot info: vpid 1: terminated with signal 11
% file /data/data/com.termux/files/home/git-annex.linux/lib/ld-linux.so.3
/data/data/com.termux/files/home/git-annex.linux/lib/ld-linux.so.3: ELF 32-bit LSB pie executable ARM, EABI5 version 1 (SYSV), dynamically linked, BuildID[sha1]=59819e8e8c922b822204d3778cd4d6c843422462, stripped
% termux-info
Updatable packages:
All packages up to date
System information:
Linux localhost 4.4.78-perf+ #1 SMP PREEMPT Wed Jun 13 17:23:58 CST 2018 aarch64 Android
Termux-packages arch:
aarch64
Android version:
8.1.0
Device manufacturer:
OnePlus
Device model:
ONEPLUS A5010
Running
termux-fix-shebang git-annex.linux/bin/*
actually seems to have fixed my installation. runshell
and webapp
both execute now, with webapp bringing up the browser.
I didn't explicitly mention it in my last comment (only in the issue I linked to), but I had already applied the termux-fix-shebang
fix. Whilst this helps resolve the other issue, it does not help with the fact that ./git-annex.linux/lib/ld-linux.so.3
is a 32-bit binary which crashes with a segfault (SIG11) when run via runshell
.
So this is still broken for me :-( Has anyone else had better luck on aarch64 (ARM v8) ?
This line causes termux to say "Bad System Call"
git-annex.linux/runshell
It also first complained about /bin/sh being missing, but stopped after restarting termux.