Skip to content

Go builds erroring #1727

Closed
Closed

Description

@CasualSuperman

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.

Activity

  1. roidrage commented on Dec 9, 2013

    @roidrage
    Contributor

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

  2. jmarshall commented on Dec 9, 2013

    @jmarshall

    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
    
  3. davecgh commented on Dec 9, 2013

    @davecgh

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

  4. roidrage commented on Dec 9, 2013

    @roidrage
    Contributor

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

  5. added a commit that references this issue on Dec 9, 2013
  6. added a commit that references this issue on Dec 10, 2013
  7. roidrage commented on Dec 10, 2013

    @roidrage
    Contributor

    Fix for this is currently rolling out.

  8. davecgh commented on Dec 10, 2013

    @davecgh

    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?

  9. roidrage commented on Dec 10, 2013

    @roidrage
    Contributor

    @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?

  10. davecgh commented on Dec 10, 2013

    @davecgh

    @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.

  11. roidrage commented on Dec 10, 2013

    @roidrage
    Contributor

    @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

  12. davecgh commented on Dec 10, 2013

    @davecgh

    @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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions