From 481db97cc9998abe8f022040e2324611f5352ea2 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Thu, 30 Jan 2014 13:16:33 -0600 Subject: development/google-go-lang: Unset BASH_ENV during build I have no idea why, but having BASH_ENV set (or at least, as it is in my build environment) will cause run.bash to exit with the same error seen here: http://permalink.gmane.org/gmane.comp.lang.go.devel/34316 For the sake of completeness, here's my $HOME/.profile: BASH_ENV=$HOME/.bashrc export BASH_ENV . $HOME/.bashrc As part of the troubeshooting process, I commented out only the first two lines (to confirm that it wasn't the contents of $HOME/.bashrc causing the problem) and the build proceeds correctly. Signed-off-by: Robby Workman --- development/google-go-lang/google-go-lang.SlackBuild | 2 ++ 1 file changed, 2 insertions(+) (limited to 'development/google-go-lang/google-go-lang.SlackBuild') diff --git a/development/google-go-lang/google-go-lang.SlackBuild b/development/google-go-lang/google-go-lang.SlackBuild index 431f9cb824..b954a236b7 100644 --- a/development/google-go-lang/google-go-lang.SlackBuild +++ b/development/google-go-lang/google-go-lang.SlackBuild @@ -82,6 +82,8 @@ export GOOS="linux" export GOBIN="${PKG}/usr/bin" export GOARCH="${GARCH}" +unset BASH_ENV # Not sure why, but this causes run.bash to fail --rworkman + mkdir -p "${GOBIN}" cd src -- cgit v1.2.3