forum/new linux arm tarball buildgit-annexhttp://git-annex.branchable.com/forum/new_linux_arm_tarball_build/git-annexikiwiki2016-01-29T18:05:10Zworks on raspbianhttp://git-annex.branchable.com/forum/new_linux_arm_tarball_build/comment_1_7211ddc626bae97d4140c723c3cf028f/joeyh.name2013-12-17T00:47:48Z2013-12-16T23:26:51Z
This build has been verified to work on raspbian.
works on Synology NAShttp://git-annex.branchable.com/forum/new_linux_arm_tarball_build/comment_2_fcbe3f7fa9d012b21c7a771553fa9142/joeyh.name2013-12-17T02:52:23Z2013-12-17T02:52:22Z
Using latest build (fixed some issues).
QNAPhttp://git-annex.branchable.com/forum/new_linux_arm_tarball_build/comment_3_2702cdbae4179a7a103d2a7098a8ed5e/jlefrique2013-12-17T07:57:37Z2013-12-17T07:57:37Z
<p>Hi Joey,</p>
<p>Thank you for taking the time to setup an ARM build. I am trying to run the last standalone build on a QNAP TS-219PII. I get the following error. Do you have any ideas?</p>
<pre><code>$ uname -a
Linux willow 2.6.33.2 #1 Fri Mar 1 04:41:48 CST 2013 armv5tel unknown
$ ./runshell
$ cd ../annex
$ git annex version
git-annex version: 5.20131216-g07252d6
build flags: Assistant Pairing S3 Inotify DBus XMPP Feeds Quvi TDFA CryptoHash
key/value backends: SHA256E SHA1E SHA512E SHA224E SHA384E SKEIN256E SKEIN512E SHA256 SHA1 SHA512 SHA224 SHA384 SKEIN256 SKEIN512 WORM URL
remote types: git gcrypt S3 bup directory rsync web glacier hook
local repository version: 3
default repository version: 3
supported repository versions: 3 5
upgrade supported from repository versions: 0 1 2 4
$ git annex info
repository mode: indirect
trusted repositories: fatal: cannot get RLIMIT_NOFILE: Bad address
fatal: cannot get RLIMIT_NOFILE: Bad address
fatal: cannot get RLIMIT_NOFILE: Bad address
fatal: cannot get RLIMIT_NOFILE: Bad address
fatal: cannot get RLIMIT_NOFILE: Bad address
fatal: cannot get RLIMIT_NOFILE: Bad address
</code></pre>
<p>I am still using the version 3.8.3 of the QNAP distribution. I will try to update to the last version (4.0.5) to see if it helps.</p>
RLIMIT_NOFILEhttp://git-annex.branchable.com/forum/new_linux_arm_tarball_build/comment_4_e1d802fbcc9d699ece5267e80990255a/joeyh.name2013-12-17T16:05:14Z2013-12-17T16:05:12Z
<p>This is clearly failing when it runs git. Looking at the git source code, it does have a <code>RLIMIT_NOFILE</code> ifdef, so I could disable this, but would have to maintain my own build of git.</p>
<p>What kernel version is this? Upgrading is likely to fix it.</p>
QNAP kernelhttp://git-annex.branchable.com/forum/new_linux_arm_tarball_build/comment_5_257b91ecbf5a6040a8e4c9a360c775ba/jlefrique2013-12-17T16:27:25Z2013-12-17T16:27:21Z
<p>It's kernel 2.6.33.2 (see uname in my previous message).
A new version with kernel 3.4.x is available, I will try to update when the data on my NAS will be (more) safely backup-ed.</p>
Re: RLIMIT_NOFILEhttp://git-annex.branchable.com/forum/new_linux_arm_tarball_build/comment_6_bd8cca86a63be7e330111618c1959a74/joeyh.name2013-12-19T06:37:21Z2013-12-19T02:10:45Z
I've passed this problem on to the git developers, and they have quickly developed a patch that will solve it, so I'll just wait for the next git release.
Thankshttp://git-annex.branchable.com/forum/new_linux_arm_tarball_build/comment_7_6814bdeca94328fe6c3f407795ff923a/jlefrique2013-12-19T07:20:32Z2013-12-19T07:20:31Z
<p>That's perfect!
On my side, I upgraded to firmware 4.0.2 but the kernel is still the same.
The kernel 3.4.x is available in the beta of QTS 4.1.0, I will wait the official release to upgrade.</p>
comment 8http://git-annex.branchable.com/forum/new_linux_arm_tarball_build/comment_8_6db99d998ca990494c8f2826ff1ca273/renaud [casenave.fr]2014-02-17T13:15:24Z2014-02-17T13:15:24Z
<p>Hi,</p>
<p>You might be happy to know git-annex works well on sailfishOS, even the webapp.
It does segfault when trying to setup a xmpp account, though.</p>
comment 9http://git-annex.branchable.com/forum/new_linux_arm_tarball_build/comment_9_2802b24ccb24f1615c9d61904f916d05/Justin2014-03-01T19:13:18Z2014-03-01T19:13:16Z
<p>This seems to work great for me on Raspbian, except I get many errors of the form</p>
<pre><code>ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libcofi_rpi.so' from /etc/ld.so.preload cannot be preloaded: ignored.
</code></pre>
<p>I've tried, but I haven't been able to figure out why ld doesn't like this particular lib. I can keep ignoring the error, but help would certainly be appreciated!</p>
raspbianhttp://git-annex.branchable.com/forum/new_linux_arm_tarball_build/comment_10_5f9735ec62478c99b8c814055206cff0/Randy2014-04-16T10:59:10Z2014-04-16T10:59:10Z
<p>This works fairly well for me on Raspian. However I am getting the same error as Justin.</p>
<pre><code>ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libcofi_rpi.so' from /etc/ld.so.preload cannot be preloaded: ignored.
</code></pre>
<p>I'm ignoring the errors for now, but it's a lot of noise that actually makes it slightly difficult to see the important output.</p>
comment 11http://git-annex.branchable.com/forum/new_linux_arm_tarball_build/comment_11_859c44046b00fe885f6878cfe0e46360/joeyh.name2014-04-17T19:39:41Z2014-04-17T19:39:41Z
<p>I can't see any good way to prevent ld-linux.so from preloading things listed in <code>/etc/ld.so.preload</code>. I don't know why raspbian wants to preload that -- probably for optimisation purposes?</p>
<p>I could modify the ld-linux.so shipped in the git-annex tarball, but that way lies pointless complication..</p>
comment 12http://git-annex.branchable.com/forum/new_linux_arm_tarball_build/comment_12_35ade68d62e95036344ad33db3279c21/Randy2014-04-18T13:38:13Z2014-04-18T13:38:13Z
There is no need to modify anything here. The errors were mostly just confusing at first and made me wonder if it was working properly. It is indeed working perfectly! Thanks!!!
comment 13http://git-annex.branchable.com/forum/new_linux_arm_tarball_build/comment_13_36f48c30894b9b225b812ba5e5b2f504/Julian2014-12-06T17:04:04Z2014-12-06T17:04:04Z
<p>Unfortunately, it isn't working for me on DS214 (MARVELL Armada XP MV78230) and DSM 5.1-5004 Update 2.
git is installed, git-annex tar extracted and runshell worked. Within this shell git-annex seems to work (e.g. git-annex init works)</p>
<p>However, git-annex is complaining that git-annex is not installed on remote when I try to add the NAS as a remote.</p>
<p>I guess it is related to the fact that git-annex-shell is not working on the NAS. When I execute git-annex-shell it gives:
/volume1/homes/julian/bin/git-annex.linux/shimmed/git-annex-shell/git-annex-shell: error while loading shared libraries: /volume1/homes/julian/bin/git-annex.linux/shimmed/git-annex-shell/git-annex-shell: file too short
Actually /volume1/homes/julian/bin/git-annex.linux/shimmed/git-annex-shell/git-annex-shell has 0 Bytes.</p>
<p>I can't execute git-annex-shell inside the bin folder due to permission issues. I tried to change the file permissions but it didn't help.</p>
comment 14http://git-annex.branchable.com/forum/new_linux_arm_tarball_build/comment_14_67021b6d239690c9d18e8630aa2254ff/joey2014-12-06T20:29:50Z2014-12-06T20:25:06Z
<p>@Julian, shimmed/git-annex-shell/git-annex-shell is supposed to be a hard
link to shimmed/git-annex/git-annex. Maybe there's a problem with hard
links on your NAS? A symlink would also work I think.</p>
How do I start it?http://git-annex.branchable.com/forum/new_linux_arm_tarball_build/comment_15_646a19555f982fb7ab302289400adc3d/db2016-01-23T22:42:52Z2016-01-23T22:42:52Z
<p>This happens when I launch git-annex-webapp</p>
<pre><code>[\u@\h \W]$ ./git-annex-webapp
Launching web browser on file:///tmp/webapp1804289383846930886.html
git-annex: xdg-open: createProcess: runInteractiveProcess: exec: does not exist (No such file or directory)
</code></pre>
<p>And the webapp1804289383846930886.html file seem to be deleted immediately.</p>
<p>This is on a headless NAS and obviously I don't have a browser or anything on it. I just want to run Annex as a server/service and admin it from a browser on another machine on my LAN.</p>
comment 16http://git-annex.branchable.com/forum/new_linux_arm_tarball_build/comment_16_442015225a14f60064aa3ba3cfbdf2ae/joey2016-01-24T18:19:40Z2016-01-24T18:16:24Z
<p>You can use the --listen parameter to make the webapp listen on an address
and then connect to it from a web browser on your LAN. See
<a href="http://git-annex.branchable.com/git-annex-webapp/">http://git-annex.branchable.com/git-annex-webapp/</a></p>
comment 17http://git-annex.branchable.com/forum/new_linux_arm_tarball_build/comment_17_653448e38c3bb71a97023cb5d6b21af6/db2016-01-24T19:30:41Z2016-01-24T19:30:41Z
<p>Doesn't seem to work:</p>
<pre><code>$ sudo ./git-annex-webapp --listen=192.168.1.3
git-annex: /tmp/webapp1804289383846930886.html16816927771714636915.tmp: hClose: resource exhausted (No space left on device)
WebAp$
$ touch /tmp/test
$
</code></pre>
<p>I don't know why I have two different /tmp catalogs. How do I modify which temp dir git-annex uses?</p>
comment 18http://git-annex.branchable.com/forum/new_linux_arm_tarball_build/comment_18_0a76ce3895ba9598bd79625268d95ef4/joey2016-01-29T18:05:10Z2016-01-29T17:27:42Z
<p>@db, git-annex supports the standard TMPDIR environment variable.
But, this is getting quite far afield from the topic of this thread.</p>