Skip to content
This repository was archived by the owner on Aug 31, 2022. It is now read-only.

Fix gnmi dep with Makefile workaround#65

Closed
seiferteric wants to merge 1 commit intosonic-net:masterfrom
project-arlo:fix_gnmi_build_dep
Closed

Fix gnmi dep with Makefile workaround#65
seiferteric wants to merge 1 commit intosonic-net:masterfrom
project-arlo:fix_gnmi_build_dep

Conversation

@seiferteric
Copy link
Contributor

Fixing build issue related to openconfig/gnmi library version. For some reason go.mod keeps changing, even though it is expected to be locked. Hard coding the version in the Makefile seems to fix the issue.

$(GO_DEPS): go.mod $(PATCHES)
# FIXME temporary workaround for crypto not downloading..
$(GO) get golang.org/x/crypto/ssh/terminal@e9b2fee46413
$(GO) get github.com/openconfig/gnmi@v0.0.0-20200617225440-d2b4e6a45802
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix has been already submitted #64

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @pra-moh . I will close. I still need to understand why the go.mod file changes at all. It is supposed to be like a lock file I though, but somehow in the build process it changes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants