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/go/gcexportdata: 'undefined: gcimporter.IExportData' #34689
Comments
You'll need to install |
I tried to install musl-dev on my build system, I'm having the same problem. |
The problem is that x/tools/go/internal/gcimporter/iexport.go has a go1.11 build tag, and nothing else defines |
On 10/4/19, Ian Lance Taylor ***@***.***> wrote:
The problem is that x/tools/go/internal/gcimporter/iexport.go has a go1.11
build tag, and nothing else defines `IExportData`. While technically we
only support the last two Go releases, it would be nice to support the 1.10
release if it's easy. From a quick test it looks like we could simply
change the call to `Embedded` to call `Anonymous` instead. `Embedded` is
the new name, `Anonymous` is the backward compatible name.
I came up against that this very morning, trying to build godoc.
I support any effort to keep this going a bit longer, if it is not a
major hurdle.
Lucio.
|
I will make the change that @ianlancetaylor suggested. |
Change https://golang.org/cl/199037 mentions this issue: |
golang/go#34689 Signed-off-by: Richard Berg <rberg@bitwise.io>
golang/go#34689 Signed-off-by: Richard Berg <rberg@bitwise.io>
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
No
What operating system and processor architecture are you using (
go env
)?GOARCH="amd64"
go env
OutputWhat did you do?
Try to get some package, for instance lint :
go get -u golang.org/x/lint/golint
What did you expect to see?
The package to be downloaded
What did you see instead?
The text was updated successfully, but these errors were encountered: