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

fix: gox cross compilation was failing asking for a go mod tidy #1148

Merged

Conversation

HarikrishnanBalagopal
Copy link
Contributor

Fix the error

$ VERSION='v0.3.12-rc.0' make dist
rm -rf /Users/haribala/Documents/code/remote/github.com/konveyor/move2kube/bin /Users/haribala/Documents/code/remote/github.com/konveyor/move2kube/_dist
go clean -cache
cd / && GO111MODULE=on go install  github.com/mitchellh/gox@v1.0.1
go: downloading github.com/mitchellh/gox v1.0.1
go: downloading github.com/mitchellh/iochan v1.0.0
go: downloading github.com/hashicorp/go-version v1.0.0
CGO_ENABLED=0 /Users/haribala/go/bin/gox -parallel=3 -output="/Users/haribala/Documents/code/remote/github.com/konveyor/move2kube/_dist/{{.OS}}-{{.Arch}}/move2kube" -osarch='darwin/amd64 darwin/arm64 linux/amd64 linux/arm64 linux/s390x linux/ppc64le windows/amd64' -ldflags '-w -s -X github.com/konveyor/move2kube/types/info.version=v0.3.12-rc.0 -X github.com/konveyor/move2kube/types/info.buildmetadata=unreleased -X github.com/konveyor/move2kube/types/info.gitCommit=3fd20336c814245331beb690de9226efd607684a -X github.com/konveyor/move2kube/types/info.gitTreeState=clean' .
error reading Go version: exit status 1
Stderr: go: updates to go.mod needed; to update it:
	go mod tidy
make: *** [build-cross] Error 1

Signed-off-by: Harikrishnan Balagopal <harikrishmenon@gmail.com>
Copy link

Thanks for making a pull request! 😃
One of the maintainers will review and advise on the next steps.

@HarikrishnanBalagopal HarikrishnanBalagopal changed the title fix: gox cross compilation was failing asking for a Go update fix: gox cross compilation was failing asking for a go mod tidy Feb 23, 2024
@HarikrishnanBalagopal HarikrishnanBalagopal merged commit ff13fa4 into konveyor:main Feb 23, 2024
4 checks passed
@HarikrishnanBalagopal HarikrishnanBalagopal deleted the fix/goupdate branch February 23, 2024 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants