Re: undefined: proto.GoGoProtoPackageIsVersion3

2020-03-09 Thread Shengjing Zhu
On Mon, Mar 9, 2020 at 11:48 PM Tong Sun wrote: > > On Mon, Mar 9, 2020 at 12:06 AM Shengjing Zhu wrote: > > > 1. you should regenerate the pb.go files, as these are not preferred source. > > Thanks Shengjing, > > The pb.go files should have been regenerated by the go:generate at > https://github

Re: undefined: proto.GoGoProtoPackageIsVersion3

2020-03-09 Thread Tong Sun
ntainers/go-digest github.com/gogo/protobuf/sortkeys golang.org/x/sync/errgroup crypto/cipher crypto/aes math/big github.com/tonistiigi/fsutil/types # github.com/tonistiigi/fsutil/types src/github.com/tonistiigi/fsutil/types/stat.pb.go:27:11: undefined: proto.GoGoProtoPackageIsVersion3 src/github.com

Re: undefined: proto.GoGoProtoPackageIsVersion3

2020-03-08 Thread Utkarsh Gupta
Hi Shengjing, On Mon, Mar 9, 2020 at 9:51 AM Shengjing Zhu wrote: > > There's a beautiful build script[1] used by the Ruby team. > > You can use that to see what all reverse-dependencies break. > > Invoke the script via meta/build. > > I think this script is not suitable for go-team. As it only t

Re: undefined: proto.GoGoProtoPackageIsVersion3

2020-03-08 Thread Shengjing Zhu
On Mon, Mar 9, 2020 at 12:15 PM Utkarsh Gupta wrote: > > Hi Tong, > > On Mon, Mar 9, 2020 at 4:08 AM Tong Sun > wrote: > > I did some researches on such problem, and it seems to have been > > caused by that the github.com:golang/protobuf version used by > > github.com/tonistiigi/fsutil (v1.3.1) a

Re: undefined: proto.GoGoProtoPackageIsVersion3

2020-03-08 Thread Utkarsh Gupta
Hi Tong, On Mon, Mar 9, 2020 at 4:08 AM Tong Sun wrote: > I did some researches on such problem, and it seems to have been > caused by that the github.com:golang/protobuf version used by > github.com/tonistiigi/fsutil (v1.3.1) and that provided by > golang-gogoprotobuf-dev package (1.2.1) are dif

Re: undefined: proto.GoGoProtoPackageIsVersion3

2020-03-08 Thread Shengjing Zhu
On Mon, Mar 9, 2020 at 6:38 AM Tong Sun wrote: > > Hi, > > I'm trying to build github.com/tonistiigi/fsutil > as a Debian package but am meeting with building problems -- the build > failed because of the `undefined: proto.GoGoProtoPackageIsVersion3` > error. The full

undefined: proto.GoGoProtoPackageIsVersion3

2020-03-08 Thread Tong Sun
Hi, I'm trying to build github.com/tonistiigi/fsutil as a Debian package but am meeting with building problems -- the build failed because of the `undefined: proto.GoGoProtoPackageIsVersion3` error. The full build log included at the end of the message. I did some researches on such problem