Failing to replace vendored code copies by Debian packages (Was: Update golang-github-appc-cni to 1.0 (was Re: singularity-container: CVE-2021-33622))
Am Sat, Feb 19, 2022 at 02:22:43PM +0100 schrieb Andreas Tille:
> Hi,
>
> Am Fri, Feb 18, 2022 at 10:19:01PM +0100 schrieb Andreas Tille:
> > > So I do not know where this error comes from; or if you have something else locally.
> >
> > I'll simply revert the version bump ...
I'm afraid the version bump was not responsible for the strange grpc
issue. I kept on working on version 3.9.4 of singularity-container to
reduce the number of vendored code copies. As I wrote down in
d/README.source[1] I failed in replacing any vendored copy by the Debian
packaged version and it all ended up in
github.com/sylabs/singularity/vendor/google.golang.org/grpc/status
# github.com/sylabs/singularity/vendor/google.golang.org/grpc/status
../vendor/google.golang.org/grpc/status/status.go:176:21: cannot use any (type *any.Any) as type *anypb.Any in append
../vendor/google.golang.org/grpc/status/status.go:190:32: cannot use any (type *anypb.Any) as type *any.Any in argument to ptypes.UnmarshalAny
This exceeds my understanding how things should work by far.
Any hint is welcome
Andreas.
[1] https://salsa.debian.org/hpc-team/singularity-container/-/blob/master/debian/README.source
--
http://fam-tille.de
Reply to: