Compilation failed
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- go
- Domain
- build-system, cli
Research direction
Start by reproducing the failure with go install github.com/docker/cli/cmd/docker@v29.2.1 and inspect the reported google.golang.org/genproto module paths involved in the ambiguous imports. Done means the Docker CLI compilation completes without duplicate-package errors; the issue does not name a repository file or test to begin with.
Written by the indexing model from the issue text.
Description
Description
I'm trying to compile LFS using podman or manually, but no matter what I do, I get the following error. I think it's implementation-related, but I don't know why. Does anyone know the reason?
/go/pkg/mod/google.golang.org/grpc@v1.78.0/status/status.go:35:2: ambiguous import: found package google.golang.org/genproto/googleapis/rpc/status in multiple modules:
google.golang.org/genproto v0.0.0-20230306155012-7f2fa6fef1f4 (/go/pkg/mod/google.golang.org/genproto@v0.0.0-20230306155012-7f2fa6fef1f4/googleapis/rpc/status)
google.golang.org/genproto/googleapis/rpc v0.0.0-20260128011058-8636f8732409 (/go/pkg/mod/google.golang.org/genproto/googleapis/rpc@v0.0.0-20260128011058-8636f8732409/status)
/go/pkg/mod/github.com/grpc-ecosystem/grpc-gateway/v2@v2.27.7/runtime/handler.go:13:2: ambiguous import: found package google.golang.org/genproto/googleapis/api/httpbody in multiple modules:
google.golang.org/genproto v0.0.0-20230306155012-7f2fa6fef1f4 (/go/pkg/mod/google.golang.org/genproto@v0.0.0-20230306155012-7f2fa6fef1f4/googleapis/api/httpbody)
google.golang.org/genproto/googleapis/api v0.0.0-20260128011058-8636f8732409 (/go/pkg/mod/google.golang.org/genproto/googleapis/api@v0.0.0-20260128011058-8636f8732409/httpbody)
/go/pkg/mod/go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc@v1.40.0/client.go:13:2: ambiguous import: found package google.golang.org/genproto/googleapis/rpc/errdetails in multiple modules:
google.golang.org/genproto v0.0.0-20230306155012-7f2fa6fef1f4 (/go/pkg/mod/google.golang.org/genproto@v0.0.0-20230306155012-7f2fa6fef1f4/googleapis/rpc/errdetails)
google.golang.org/genproto/googleapis/rpc v0.0.0-20260128011058-8636f8732409 (/go/pkg/mod/google.golang.org/genproto/googleapis/rpc@v0.0.0-20260128011058-8636f8732409/errdetails)
root@docker-cli-dev# go install github.com/docker/cli/cmd/docker@v29.2.1
Reproduce
go install github.com/docker/cli/cmd/docker@v29.2.1
Expected behavior
No response
docker version
N/A
docker info
N/A
Additional Info
No response
- Dominant language
- Go
- Stars
- 6.1k
- Forks
- 2.2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 43
Contributor guide
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.
More from docker/cli
-
kind/bug status/0-triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
kind/feature status/0-triage
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
kind/bug status/0-triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
kind/bug status/0-triage
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
NVIDIA/gpu-operator#2955 ·
-
agentic-workflows
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
kovidgoyal/kitty#10516 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
cisagov/vulnrichment#337 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100