-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
x/tools/cmd/stringer: ARM cross-build fails #33354
Comments
Update: trying without GOARM I get:
|
To be clear, you are running |
Exactly. Out of that is is specifically
that fails. I could try bisecting older go versions? |
There is some sort of problem, but it's hard to tell where exactly it is. First, what kind of architecture are you using? In the issue title you say ARM, but in the "go version" output I see "darwin/amd64". Are you on a Mac? To confirm whether cmd/stringer is involved or not, can you try building it directly?
|
I ran into the problem on travis-ci and later saw something similar on OSX, hence the double report. Here are some things I've tried on OSX:
but
and
So cross-building stringer is fine but using it during |
The
You are explicitly invoking The usual approach, the one used in, for example, the Go standard library, is to run
If you choose to write your |
I'm sorry, feeling ashamed and stupid. Still- while closing this as invalid- I'd still be interested in how to properly install build dependencies. I do have a
but that doesn't seem to suffice to make the executables available for build:
Would be great to round this off for other potential users. EDIT OK, guess I've found that mistake, too: package was |
No reason to feel ashamed or stupid, it was a perfectly reasonable question. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Run cross-build of
What did you expect to see?
Clean build
What did you see instead?
My feeling (nothing more) is that is a recent problem as I was able to cross-build using stringer before on other projects. For sake of reference there's an entire build log in https://travis-ci.org/volkszaehler/mbmd.
The text was updated successfully, but these errors were encountered: