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

Compilation issue : Make clean; Make all is not working in sonic-mgmt-framework #83

Open
PRAVEEN-BABY opened this issue May 24, 2021 · 1 comment

Comments

@PRAVEEN-BABY
Copy link

PRAVEEN-BABY commented May 24, 2021

Hi I am facing an issue in compilation issue in sonic-mgmt-framework.

Docker Version: 20.10.2
Go version: go1.13.8

Steps : Compile the sonic code using make all (broadcom)---->>>Success
cd src/sonic-mgmt-framework
make clean
make all

------LOGS--------
$ make all
make -C models -f openapi_codegen.mk go-server-init
make[1]: Entering directory '/home/ws/SONIC/pb/sonic-buildimage/src/sonic-mgmt-framework/models'
make[1]: Nothing to be done for 'go-server-init'.
make[1]: Leaving directory '/home/ws/SONIC/pb/sonic-buildimage/src/sonic-mgmt-framework/models'
/usr/local/go/bin/go mod vendor
make: /usr/local/go/bin/go: Command not found
make: *** [Makefile:40: vendor/.done] Error 127

Looking for pointers to solve this issue.

@joyas-joseph
Copy link
Contributor

Where is the go binary installed?

Try with GO= make all

Would prefer to build the package as the host system may have other missing dependencies.
make target/debs/buster/sonic-mgmt-framework_1.0-01_amd64.deb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants