sonic-net / sonic-net/sonic-mgmt-framework
Compilation issue : Make clean; Make all is not working in sonic-mgmt-framework
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 37
- Forks
- 122
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 3
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in src/sonic-mgmt-framework/Makefile at line 40 and inspect the vendor target, then read models/openapi_codegen.mk for the preceding build step. Reproduce the clean build and verify why it expects /usr/local/go/bin/go; done means make clean followed by make all completes successfully with dependencies vendored.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100