[Slackbuilds-users] Error while building google-go-lang

Robby Workman rworkman at slackbuilds.org
Fri Jan 31 05:55:32 UTC 2014


On Sat, 4 Jan 2014 13:53:43 -0500
Vincent Batts <vbatts at gmail.com> wrote:

> On a clean install of slackware64-14.1 I am able to consistently
> compile/build this package. I'm really not sure where the failure is
> for you. :-/
> On Jan 3, 2014 5:46 PM, "Antonio Hernández Blas"
> <hba.nihilismus at gmail.com> wrote:
> 
> > On Fri, Jan 3, 2014 at 8:09 AM, Vincent Batts <vbatts at gmail.com>
> > wrote:
> >
> >> Does it hang or just return? What is $? set after it runs?
> >>
> >
> > It returns 1.
> >
> > As i can understand the problem arises with
> > $TMP/package-google-go-lang/usr/lib64/go/src/run.bash, it has the
> > "echo '# Testing packages.'" and a bunch of "exit $?". It looks
> > suspicious to me ¬_¬


Since the shasum of the commit will likely change when it gets 
merged to master, I'll post the commit message here instead.
I've been unable to compile this locally for a *long* time and
through several versions, and I just now bothered to spend time
tracking down why.  Here's the result:

  commit 481db97cc9998abe8f022040e2324611f5352ea2
  Author: Robby Workman <rworkman at slackbuilds.org>
  Date:   Thu Jan 30 13:16:33 2014 -0600
  
      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 <rworkman at slackbuilds.org>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20140130/dedeb347/attachment.asc>


More information about the SlackBuilds-users mailing list