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

Can't build #446

Open
azr opened this issue Oct 6, 2016 · 3 comments
Open

Can't build #446

azr opened this issue Oct 6, 2016 · 3 comments

Comments

@azr
Copy link

azr commented Oct 6, 2016

Hello ! :)

$ ./script/build

Building rack!
# github.com/rackspace/rack
/usr/local/opt/go/libexec/pkg/tool/darwin_amd64/link: -X flag requires argument of the form importpath.name=value
@jrperritt
Copy link
Contributor

jrperritt commented Oct 6, 2016

Ah, yes, script/build needs a Go version less than 1.7. I think the format of the -X args changed (hence the error message). I'll try to find some time over the next week to look into it.

@jrperritt
Copy link
Contributor

jrperritt commented Oct 6, 2016

Note though that go build should work just fine with any Go version. The -X args are just used to set the commit hash and version in the binary.

@azr
Copy link
Author

azr commented Oct 6, 2016

Hey there yes, I just commented the lines that switch from space to '=' and it built !

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

No branches or pull requests

2 participants