summaryrefslogtreecommitdiff
path: root/doc/bugs/Android_version_apparently_unable_to_run_sha256sum.mdwn
blob: 36f9a452b76086c963f26387c7a11944003d34e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
I’m running git-annex 5.20140517-gee56d21 on Android 4.3.

Running “git annex add filename” from the command line fails to execute sha256sum:

[[!format sh """
git-annex: sha256sum: createProcess: runInteractiveProcess: exec: does not exist (No such file or directory)
failed
git-annex: add: 1 failed
"""]]

“type sha256sum” says “sha256sum not found”, and indeed, /data/data/ga.androidterm/bin only contains the following files: busybox, git, git-annex, git-receive-pack, git-shell, git-upload-archive, git-upload-pack, gpg, rsync, ssh, ssh-keygen, trustedkeys.gpg.

Running “busybox sha256sum” does the right thing.

The assistant says “Added filename” every time it’s started but the file does not actually get added.

The only relevant log lines seem to be:

[[!format sh """
[2014-05-18 16:57:06 EEST] Watcher: add direct git-annex.apk
[2014-05-18 16:57:07 EEST] read: lsof ["-F0can","--","git-annex.apk"]
[2014-05-18 16:57:08 EEST] Committer: Adding git-annex.apk
add git-annex.apk [2014-05-18 16:57:08 EEST] chat: git [--git-dir=/storage/emulated/legacy/annex/.git","--work-tree=/storage/emulated/legacy/annex","-c","core.bare=false","check-attr","-z","--stdin","annex.backend","annex.numcopies","--"]
[2014-05-18 16:57:08 EEST] read: sha256sum ["git-annex.apk"]
"""]]

> Modified runshell to use busybox install -s; [[done]] --[[Joey]]