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

cmd/go: module declares its path as: golang.org/x/lint but was required as: github.com/golang/lint Makefile:12: recipe for target 'build' failed #35723

Closed
ying2025 opened this issue Nov 21, 2019 · 2 comments
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Milestone

Comments

@ying2025
Copy link

go: github.com/golang/lint@v0.0.0-20190313153728-d0100b6bd8b3: parsing go.mod:
module declares its path as: golang.org/x/lint
but was required as: github.com/golang/lint
Makefile:12: recipe for target 'build' failed
make: *** [build] Error 1
zhr@ubuntu:~/gospace/src/gith

My go version is go1.13.4 linux/amd64 @bcmills

@toothrot
Copy link
Contributor

@ying2025 The lint package should be imported as it's canonical path golang.org/x/lint. Is your code importing github.com/golang/lint somewhere?

@toothrot toothrot added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Nov 22, 2019
@toothrot toothrot added this to the Backlog milestone Nov 22, 2019
@toothrot toothrot added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Nov 22, 2019
@toothrot toothrot changed the title module declares its path as: golang.org/x/lint but was required as: github.com/golang/lint Makefile:12: recipe for target 'build' failed cmd/go: module declares its path as: golang.org/x/lint but was required as: github.com/golang/lint Makefile:12: recipe for target 'build' failed Nov 22, 2019
@gopherbot
Copy link

Timed out in state WaitingForInfo. Closing.

(I am just a bot, though. Please speak up if this is a mistake or you have the requested information.)

@golang golang locked and limited conversation to collaborators Dec 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

3 participants