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
flag provided but not defined: -mod #40491
Comments
It looks like you are building a third party project which expects a version of Go newer than Go 1.9. If the project has Please keep in mind that even though your operating system vendor has bundled Go 1.9, that version is no longer supported. You can find more information about the support policy here, https://github.com/golang/go/wiki/Go-Release-Cycle |
From the software I am trying to build: |
What is the project you are trying to build? Is it public? If not, can you share the relevant parts of the make file? |
@bren-doyle the |
This project indicates it requires a minimum of Go 1.13 https://github.com/ovn-org/ovn-kubernetes/blob/master/go-controller/go.mod#L3 It should build with any currently supported version of Go. As @seankhliao pointed out the |
From |
@bren-doyle that is an issue with the project not properly documenting its requirements, not a go issue |
Agreed |
Does this issue reproduce with the latest release?
Have not tried the latest release, I want to build with this release
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
type make
What did you expect to see?
it to build
I see that there have been posts about -mod before, but none of them tell me how to make it work with this release.
They seem to say the flag was removed in v1.14, but I am using 1.9 so I would have expected to be there? Do I just
remove that flag and hope it works.
What did you see instead?
flag provided but not defined: -mod
The text was updated successfully, but these errors were encountered: