Linux standalone: Set LOCPATH=/dev/null to work around https://ghc.haskell.org/trac/ghc/ticket/7695

This prevents localization from working, but git-annex is not localized anyway.
This commit is contained in:
Joey Hess 2015-02-25 16:31:01 -04:00
parent 022461d773
commit 76cde095fe
3 changed files with 12 additions and 0 deletions

4
debian/changelog vendored
View file

@ -11,6 +11,10 @@ git-annex (5.2015022) UNRELEASED; urgency=medium
since in this case there must be staged changes in the index since in this case there must be staged changes in the index
(if there is anything to unannex), and the unannex code path (if there is anything to unannex), and the unannex code path
needs to run with a clean index. needs to run with a clean index.
* Linux standalone: Set LOCPATH=/dev/null to work around
https://ghc.haskell.org/trac/ghc/ticket/7695
This prevents localization from working, but git-annex
is not localized anyway.
-- Joey Hess <id@joeyh.name> Thu, 19 Feb 2015 14:16:03 -0400 -- Joey Hess <id@joeyh.name> Thu, 19 Feb 2015 14:16:03 -0400

View file

@ -33,3 +33,7 @@ and the current bundle on the NAS
# End of transcript or log. # End of transcript or log.
"""]] """]]
> Went ahead with setting LOCPATH=/dev/null in runshell, so it won't
> run into whatever problem with the locales is causing it to hit this GHC
> bug. [[done]] (I hope) --[[Joey]]

View file

@ -74,6 +74,10 @@ export ORIG_GCONV_PATH
GCONV_PATH=$base/$(cat $base/gconvdir) GCONV_PATH=$base/$(cat $base/gconvdir)
export GCONV_PATH export GCONV_PATH
# workaround for https://ghc.haskell.org/trac/ghc/ticket/7695
LOCPATH=/dev/null
export LOCPATH
ORIG_GIT_EXEC_PATH="$GIT_EXEC_PATH" ORIG_GIT_EXEC_PATH="$GIT_EXEC_PATH"
export ORIG_GIT_EXEC_PATH export ORIG_GIT_EXEC_PATH
GIT_EXEC_PATH=$base/git-core GIT_EXEC_PATH=$base/git-core