sonic-mgmt-framework icon indicating copy to clipboard operation
sonic-mgmt-framework copied to clipboard

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

Open PRAVEEN-BABY opened this issue 3 years ago • 1 comments

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.

PRAVEEN-BABY avatar May 24 '21 09:05 PRAVEEN-BABY

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

joyas-joseph avatar Jun 21 '21 22:06 joyas-joseph