This commit is contained in:
se394@012e89e10cc49919adf6ca062ea68c23230eebe5 2019-07-23 18:01:46 +00:00 committed by admin
parent 95bfa6e0f5
commit 390b536436

View file

@ -1,42 +0,0 @@
[[!comment format=mdwn
username="se394@012e89e10cc49919adf6ca062ea68c23230eebe5"
nickname="se394"
avatar="http://cdn.libravatar.org/avatar/13c222702203beeda07567d774433675"
subject="Exception thrown for runshell"
date="2019-07-23T18:01:22Z"
content="""
Hi,
I followed these instructions but was unable to get git-annex to install on my Synology running `Linux Anvil 4.4.59+ #24922 SMP PREEMPT Fri May 10 02:49:58 CST 2019 x86_64 GNU/Linux synology_denverton_1618+`
Seems to be an issue regarding locale settings. The default locales are
```
LANG=/usr/lib/locale/en_US
LC_CTYPE=\"en_US.utf8\"
LC_NUMERIC=\"en_US.utf8\"
LC_TIME=\"en_US.utf8\"
LC_COLLATE=\"en_US.utf8\"
LC_MONETARY=\"en_US.utf8\"
LC_MESSAGES=\"en_US.utf8\"
LC_PAPER=\"en_US.utf8\"
LC_NAME=\"en_US.utf8\"
LC_ADDRESS=\"en_US.utf8\"
LC_TELEPHONE=\"en_US.utf8\"
LC_MEASUREMENT=\"en_US.utf8\"
LC_IDENTIFICATION=\"en_US.utf8\"
LC_ALL=en_US.utf8
```
The exception thats thrown is
```
rm: loadlocale.c:129: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
./runshell: line 135: 27709 Aborted (core dumped) rm -rf \"$localecache\" 2>&1
rm: loadlocale.c:129: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
./runshell: line 135: 27716 Aborted (core dumped) rm -rf \"$localecache\" 2>&1
./runshell: line 181: 27719 Aborted (core dumped) cmp \"$LOCPATH/buildid\" \"$base/buildid\" > /dev/null 2>&1
rm: loadlocale.c:129: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
./runshell: line 181: 27722 Aborted (core dumped) rm -rf \"$LOCPATH\"
```
any ideas how to fix?
"""]]