New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go builds erroring #1727

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

Comments

Projects
None yet
4 participants
@CasualSuperman

CasualSuperman commented Dec 9, 2013

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.

@roidrage

This comment has been minimized.

Member

roidrage commented Dec 9, 2013

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

@jmarshall

This comment has been minimized.

jmarshall commented Dec 9, 2013

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

This comment has been minimized.

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.

@roidrage

This comment has been minimized.

Member

roidrage commented Dec 9, 2013

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

@roidrage

This comment has been minimized.

Member

roidrage commented Dec 10, 2013

Fix for this is currently rolling out.

@davecgh

This comment has been minimized.

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?

@roidrage

This comment has been minimized.

Member

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

This comment has been minimized.

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.

@roidrage

This comment has been minimized.

Member

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

This comment has been minimized.

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 added a commit to samtools/bcftools that referenced this issue Mar 4, 2014

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