Public bug reported:
FTBFS on ubuntu incompatible distro vs vendorized deps?
we have different versions of a few deps, and overall the package fails
to build from source.
I solved one of the issues, but more remain unsolved.
# github.com/sylabs/singularity/vendor/github.com/deislabs/oras/pkg/content
../vendor/github.com/deislabs/oras/pkg/content/file.go:23:2: cannot use
&FileStore literal (type *FileStore) as type content.Provider in assignment:
*FileStore does not implement content.Provider (wrong type for ReaderAt
method)
have ReaderAt(context.Context,
"github.com/sylabs/singularity/vendor/github.com/opencontainers/image-spec/specs-go/v1".Descriptor)
(content.ReaderAt, error)
want ReaderAt(context.Context,
"github.com/sylabs/singularity/vendor/github.com/containerd/containerd/vendor/github.com/opencontainers/image-spec/specs-go/v1".Descriptor)
(content.ReaderAt, error)
../vendor/github.com/deislabs/oras/pkg/content/file.go:197:25: cannot use desc
(type
"github.com/sylabs/singularity/vendor/github.com/containerd/containerd/vendor/github.com/opencontainers/image-spec/specs-go/v1".Descriptor)
as type
"github.com/sylabs/singularity/vendor/github.com/opencontainers/image-spec/specs-go/v1".Descriptor
in argument to ResolveName
../vendor/github.com/deislabs/oras/pkg/content/file.go:205:45: cannot use desc
(type
"github.com/sylabs/singularity/vendor/github.com/containerd/containerd/vendor/github.com/opencontainers/image-spec/specs-go/v1".Descriptor)
as type
"github.com/sylabs/singularity/vendor/github.com/opencontainers/image-spec/specs-go/v1".Descriptor
in argument to s.createWritePath
../vendor/github.com/deislabs/oras/pkg/content/file.go:211:9: cannot use
&fileWriter literal (type *fileWriter) as type content.Writer in return
argument:
*fileWriter does not implement content.Writer (wrong type for Commit
method)
have Commit(context.Context, int64,
"github.com/sylabs/singularity/vendor/github.com/opencontainers/go-digest".Digest,
...content.Opt) error
want Commit(context.Context, int64,
"github.com/sylabs/singularity/vendor/github.com/containerd/containerd/vendor/github.com/opencontainers/go-digest".Digest,
...content.Opt) error
../vendor/github.com/deislabs/oras/pkg/content/file.go:214:3: cannot use desc
(type
"github.com/sylabs/singularity/vendor/github.com/containerd/containerd/vendor/github.com/opencontainers/image-spec/specs-go/v1".Descriptor)
as type
"github.com/sylabs/singularity/vendor/github.com/opencontainers/image-spec/specs-go/v1".Descriptor
in field value
../vendor/github.com/deislabs/oras/pkg/content/memory.go:18:2: cannot use
&Memorystore literal (type *Memorystore) as type content.Provider in assignment:
*Memorystore does not implement content.Provider (wrong type for
ReaderAt method)
have ReaderAt(context.Context,
"github.com/sylabs/singularity/vendor/github.com/opencontainers/image-spec/specs-go/v1".Descriptor)
(content.ReaderAt, error)
want ReaderAt(context.Context,
"github.com/sylabs/singularity/vendor/github.com/containerd/containerd/vendor/github.com/opencontainers/image-spec/specs-go/v1".Descriptor)
(content.ReaderAt, error)
../vendor/github.com/deislabs/oras/pkg/content/memory.go:89:24: cannot use desc
(type
"github.com/sylabs/singularity/vendor/github.com/containerd/containerd/vendor/github.com/opencontainers/image-spec/specs-go/v1".Descriptor)
as type
"github.com/sylabs/singularity/vendor/github.com/opencontainers/image-spec/specs-go/v1".Descriptor
in argument to ResolveName
../vendor/github.com/deislabs/oras/pkg/content/memory.go:91:9: cannot use
&memoryWriter literal (type *memoryWriter) as type content.Writer in return
argument:
*memoryWriter does not implement content.Writer (wrong type for Commit
method)
have Commit(context.Context, int64,
"github.com/sylabs/singularity/vendor/github.com/opencontainers/go-digest".Digest,
...content.Opt) error
want Commit(context.Context, int64,
"github.com/sylabs/singularity/vendor/github.com/containerd/containerd/vendor/github.com/opencontainers/go-digest".Digest,
...content.Opt) error
../vendor/github.com/deislabs/oras/pkg/content/memory.go:94:3: cannot use desc
(type
"github.com/sylabs/singularity/vendor/github.com/containerd/containerd/vendor/github.com/opencontainers/image-spec/specs-go/v1".Descriptor)
as type
"github.com/sylabs/singularity/vendor/github.com/opencontainers/image-spec/specs-go/v1".Descriptor
in field value
** Affects: singularity-container (Ubuntu)
Importance: Undecided
Status: New
** Tags: ftbfs update-excuse
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1882225
Title:
FTBFS on ubuntu incompatible distro vs vendorized deps?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/singularity-container/+bug/1882225/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs