Issues using Go buildpack

39 views
Skip to first unread message

Devin Carlen

unread,
Feb 13, 2015, 5:39:26 PM2/13/15
to vcap...@cloudfoundry.org
Hello, I'm using cf-183's go buildpack but I'm running into an odd issue.  Upon cf push I get:

2015-02-13T22:28:27.87+0000 [STG/0]      ERR Expected dependency to exist but could not find it: https://storage.googleapis.com/golang/go1.3.1.linux-amd64.tar.gz
2015-02-13T22:28:27.88+0000 [STG/0]      ERR tar: go1.3.1.linux-amd64.tar.gz: Cannot open: No such file or directory

Obviously the URL is good, but the error is vague.  It doesn't appear to be a DNS issue, and I can bosh ssh into one of my DEA's and wget the file from there just fine.

Any suggestions would be appreciated! :)

Thanks,

Devin

Daniel Mikusa

unread,
Feb 14, 2015, 3:48:46 PM2/14/15
to vcap...@cloudfoundry.org

Your build pack probably doesn't have that version of Go available. Try running with the -b argument to cf push and pointing to a later release. Like master.

https://github.com/cloudfoundry/go-buildpack

If that helps you can manually delete the current go build pack and install the latest one.

Dan

--
You received this message because you are subscribed to the Google Groups "Cloud Foundry Developers" group.
To view this discussion on the web visit https://groups.google.com/a/cloudfoundry.org/d/msgid/vcap-dev/038abc0b-eff9-45a3-9945-b33db79f9e8e%40cloudfoundry.org.

To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.

jche...@pivotal.io

unread,
Feb 17, 2015, 10:55:39 AM2/17/15
to vcap...@cloudfoundry.org
Hi Devin;

Support for Go 1.3.1 was added in version 1.0.4 of the Go buildpack, which appeared in cf-release v189. 

You'll either need to update/change your buildpack, update your CF installation or use go version 1.3.

I agree that the error message is unhelpful; we subsequently rolled out a series of changes to all buildpacks to make these messages more helpful.

Cheers,

JC.
Reply all
Reply to author
Forward
0 new messages