-
Notifications
You must be signed in to change notification settings - Fork 18.6k
Closed
Closed
Copy link
Labels
FrozenDueToAgeGoCommandcmd/gocmd/goNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.WaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.Issue is not actionable because of missing required information, which needs to be provided.
Milestone
Description
Happens with all Go versions ever supporting modules.
Repro: run outside of a Go module, I just want to install a Go binary:
go install -v github.com/ethereum/go-ethereum/cmd/geth
What happens:
go/src/github.com/ethereum/go-ethereum/metrics/influxdb/influxdb.go:10:2: cannot find package "github.com/influxdata/influxdb/client" in any of:
/opt/google/go/src/github.com/influxdata/influxdb/client (from $GOROOT)
/tmp/go/src/github.com/influxdata/influxdb/client (from $GOPATH)
Why? Because Go flat out ignores the module file distributed in that repo; and upstream nuked their repository to pieces so there's no code there any more.
Doing it manually works:
$ git clone https://github.com/ethereum/go-ethereum
$ cd go-ethereum
$ go install ./cmd/geth
This is apparently the same bug that was a release blocker in Go 1.12, and then just ignored and locked: #24250
protolambda, JayWelsh, Wondertan and fedekunze
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeGoCommandcmd/gocmd/goNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.WaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.Issue is not actionable because of missing required information, which needs to be provided.