Go builds erroring #1727

Closed
CasualSuperman opened this Issue Dec 9, 2013 · 10 comments

Comments

Projects
None yet
4 participants

Part of the automated scripts for preparing Go programs is erroring.

$ gvm use go1.1
Now using version go1.1
$ export GOPATH=$HOME/gopath:$GOPATH
$ mkdir -p $HOME/gopath/src/github.com/CasualSuperman
$ cp -r $TRAVIS_BUILD_DIR $HOME/gopath/src/github.com/CasualSuperman/Diorite
cp: cannot stat `$HOME/build/CasualSuperman/Diorite': No such file or directory

Which is odd because the same commands were run and worked perfectly in previous builds. Perhaps $TRAVIS_BUILD_DIR has been improperly set? It looks like $HOME wasn't expanded.

Owner

roidrage commented Dec 9, 2013

It does indeed look like that. I found the offending commit: travis-ci/travis-build@ff00dad

Also appears to be the cause of these build failures (in C, so build failures are not limited to Go), in which

export PATH=$TRAVIS_BUILD_DIR/tabix:$PATH

is supposed to enable later test scripts to run a bgzip executable in the tabix subdirectory, but

/bin/bash: bgzip: command not found

davecgh commented Dec 9, 2013

I can confirm this as well. I've tried multiple Go projects which previously worked and they are all failing with this same error.

Owner

roidrage commented Dec 9, 2013

Thanks guys, we have found the error, and we're working on a fix.

@xawotihs xawotihs referenced this issue in WagicProject/wagic Dec 9, 2013

@pankdm pankdm Trying to fix 0cb1c24

@philips philips added a commit to coreos/etcd that referenced this issue Dec 10, 2013

@philips philips hack(travis): temporarily fix travis
try a quick workaround for travis-ci/travis-ci#1727
9ea1ef8
Owner

roidrage commented Dec 10, 2013

Fix for this is currently rolling out.

roidrage closed this Dec 10, 2013

pankdm referenced this issue in WagicProject/wagic Dec 10, 2013

Merged

Added Avatar Tokens created by Ajani Goldmane. #585

davecgh commented Dec 10, 2013

This is still failing for me -- https://travis-ci.org/conformal/btcchain. Does it need a completely new build instead of just hitting the restart build button?

Owner

roidrage commented Dec 10, 2013

@davecgh I'm sorry, I'm not sure the error you're seeing is related to this issue.

I'm no go export, but it looks like there are compilation issues with a dependent library?

davecgh commented Dec 10, 2013

@roidrage: Thanks for your response. I should've posted the error in particular rather than just the link. It is:

$ gvm use release
Now using version release
$ export GOPATH=$HOME/gopath:$GOPATH
$ mkdir -p $HOME/gopath/src/github.com/conformal
$ cp -r $TRAVIS_BUILD_DIR $HOME/gopath/src/github.com/conformal/btcchain
cp: cannot stat `$HOME/build/conformal/btcchain': No such file or directory
The command "cp -r $TRAVIS_BUILD_DIR $HOME/gopath/src/github.com/conformal/btcchain" failed and exited with 1 during setup.

I'm seeing the same error with more than one project. I've not had any issues previously.

Owner

roidrage commented Dec 10, 2013

@davecgh it may be that you're seeing an old version of the build logs: https://s3.amazonaws.com/archive.travis-ci.org/jobs/15161198/log.txt

davecgh commented Dec 10, 2013

@roidrage: Thanks. The jobs web page is indeed showing an old version of the build logs. Accessing them with the raw link shows the correct ones. It does appear to be another issue.

@jmarshall jmarshall added a commit to samtools/bcftools that referenced this issue Mar 4, 2014

@jmarshall jmarshall Return to using $TRAVIS_BUILD_DIR (for flexibility)
December's floundering was a response to travis-ci/travis-ci#1727,
which was subsequently fixed.
10c3c60
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment