Hi,

On Wed, Dec 21, 2022 at 04:57:39PM +1300, Daniel Swarbrick wrote:
> After a fair amount of head scratching, I tracked this down to a change in
> behaviour of the protobuf compiler. Version 3.14.0+ generates slightly
> different pb.go files with respect to the timestamp type (and possibly
> others):
> 
> --- metrics.pb.go.old   2022-11-08 23:31:00.000000000 +1300
> +++ metrics.pb.go.new   2022-11-08 23:31:00.000000000 +1300
> @@ -6,7 +6,7 @@
>  import (
>         fmt "fmt"
>         proto "github.com/golang/protobuf/proto"
> -       timestamp "github.com/golang/protobuf/ptypes/timestamp"
> +       timestamppb "google.golang.org/protobuf/types/known/timestamppb"
>         math "math"
>  )

Mathias Gibbens has asked the same problem on debian-go@list.d.o somedays ago.
https://lists.debian.org/debian-go/2022/12/msg00024.html

The workaroud could be like this:
https://salsa.debian.org/go-team/packages/notary/-/commit/b0a072faa72857f7523c8245ecaa8814d5a60051

Reply via email to