On 2022-11-15 23:36, Drew Parsons wrote:
On 2022-11-15 20:04, Shengjing Zhu wrote:rclone's go.mod declares that it requires golang-google-api-dev 0.91.0. The current version is 0.61.0, while latest version is 0.102.0.golang-google-api-dev 0.91.0 will need golang-google-grpc 1.47.0.Upstream already wants grpc 1.44 for 0.61.0(the version in unstable). https://github.com/googleapis/google-api-go-client/blob/v0.61.0/go.mod So it's lucky that it works with old grpc. What error when building 0.91.0 with old grpc?I haven't attempted it yet, I've just been updating debian/control in anticipation. I'll try some permutations and report back. In the worst case, might have to compromise with an older version update to rclone.
golang-github-googleapis-gax-go 2.4.0 (and 2.7.0) fails with golang-google-grpc-dev 1.32.0-3. gax 2.4 needs grpc 1.46. The error is:
... golang.org/x/net/trace net/http/httputil golang.org/x/net/http2 github.com/googleapis/gax-go/v2/apierror # github.com/googleapis/gax-go/v2/apierrorsrc/github.com/googleapis/gax-go/v2/apierror/apierror.go:120:89: e.RetryInfo.GetRetryDelay().AsDuration undefined (type *duration.Duration has no field or method AsDuration)
google.golang.org/grpc/internal/transport google.golang.org/grpcdh_auto_build: error: cd obj-x86_64-linux-gnu && go install -trimpath -v -p 8 github.com/googleapis/gax-go github.com/googleapis/gax-go/v2 github.com/googleapis/gax-go/v2/apierror github.com/googleapis/gax-go/v2/apierror/internal/proto github.com/googleapis/gax-go/v2/internal returned exit code 2
golang-google-api 0.91.0 needs golang-github-google-go-github-dev 42.It also needs github.com/googleapis/enterprise-certificate-proxy/client in any case, which is not yet packaged. So we can't yet check how it builds against old grpc.
Likewise the latest rclone needs a handful of packages which are not yet packaged.
I'll start working on missing packages first and come back to the question of package versions later, after required packages are uploaded.
Drew