Skip to content
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

bosh create-env fails on Mac due to bosh-alicloud-cpi/packaging script setting GOROOT #36

Closed
Amit-PivotalLabs opened this issue May 22, 2018 · 2 comments

Comments

@Amit-PivotalLabs
Copy link

I believe the following lines may not be necessary:

https://github.com/cloudfoundry-incubator/bosh-alicloud-cpi-release/blob/dcd22b97b48eb2569fd74994a92d6d9226853537/packages/bosh-alicloud-cpi/packaging#L13-L16

Especially given the golang/packaging script says that if you're on Mac, you need to install Golang yourself:

https://github.com/cloudfoundry-incubator/bosh-alicloud-cpi-release/blob/dcd22b97b48eb2569fd74994a92d6d9226853537/packages/golang/packaging#L17-L20

Those lines assume my $GOROOT is /usr/local/go which is not the case since I installed Golang with Homebrew, which I suspect is quite common for most Mac users with Golang. I deleted the 4 lines, create a dev release, and was then able to proceed.

@xiaozhu36
Copy link
Contributor

Hi @Amit-PivotalLabs Thanks for your suggestion and I will update them.

@Amit-PivotalLabs
Copy link
Author

@xiaozhu36 Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants