Hi, I'm trying to update my deps to latest versions, including trillian and grpc. But I get a build failure. To reproduce, create a directory with the two files
go.mod:
module local
go 1.24.0
require (
github.com/google/trillian v1.7.2
google.golang.org/grpc v1.79.3
)
tools.go:
//go:build tools
package tools
import (
_ "github.com/google/trillian/cmd/trillian_log_server"
_ "google.golang.org/grpc"
)
In this directory, run go mod tidy followed by go install github.com/google/trillian/cmd/trillian_log_server. When I do this, it fails with this compile error:
# github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp
../../../local/go/pkg/mod/github.com/!google!cloud!platform/grpc-gcp-go/grpcgcp@v1.5.2/gcp_balancer.go:40:27: cannot use (*gcpBalancer)(nil) (value of type *gcpBalancer) as balancer.Balancer value in variable declaration: *gcpBalancer does not implement balancer.Balancer (missing method ExitIdle)
../../../local/go/pkg/mod/github.com/!google!cloud!platform/grpc-gcp-go/grpcgcp@v1.5.2/gcp_balancer.go:86:9: cannot use gb (variable of type *gcpBalancer) as balancer.Balancer value in return statement: *gcpBalancer does not implement balancer.Balancer (missing method ExitIdle)
I don't have much clue about what's going on here, but it sounds like some incompatible change to some Balancer interface, probably only indirectly related to trillian. Is this a known problem?
From manual bisect on this example, it seems it works if I back down to grpc v1.73.1, but breaks with grpc v1.74.0.
An advice on how to deal with this?
Hi, I'm trying to update my deps to latest versions, including trillian and grpc. But I get a build failure. To reproduce, create a directory with the two files
go.mod:
tools.go:
In this directory, run
go mod tidyfollowed bygo install github.com/google/trillian/cmd/trillian_log_server. When I do this, it fails with this compile error:I don't have much clue about what's going on here, but it sounds like some incompatible change to some
Balancerinterface, probably only indirectly related to trillian. Is this a known problem?From manual bisect on this example, it seems it works if I back down to grpc v1.73.1, but breaks with grpc v1.74.0.
An advice on how to deal with this?