bazel-contrib / bazel-contrib/rules_go
Could not run binary built by bazel while using github.com/NVIDIA/gpu-monitoring-tools but work in go build
- Dominant language
- Go
- Stars
- 1.5k
- Forks
- 760
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 12
Description
### What version of rules_go are you using?
v0.39.0
### What version of gazelle are you using?
v0.29.0
### What version of Bazel are you using?
5.4.0
### Does this issue reproduce with the latest releases of all the above?
Yes
### What operating system and processor architecture are you using?
Ubuntu 20.04
### Any other potentially useful information about your toolchain?
No other special info
### What did you do?
See https://github.com/weixiao-huang/bazel-gpu-monitoring-tools
### What did you expect to see?
bazel build should have the same result compared with go build
### What did you see instead?
Binary built by bazel could not run but work in go build
Contributor guide
Research direction
Start with the reproduction project at https://github.com/weixiao-huang/bazel-gpu-monitoring-tools on Ubuntu 20.04, using the reported rules_go, Gazelle, and Bazel versions. Compare the Bazel-built binary with the working go build result and determine why only the Bazel binary fails to run; done means the Bazel-built binary runs successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100