[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#964779: singularity-container: FTBFS against golang-github-vbauerster-mpb-dev 5.0.3-2 (experimental)



Source: singularity-container
Severity: normal

I'm pondering to upload the version of package
golang-github-vbauerster-mpb-dev currently in experimental to unstable
and did a test rebuild of all dependent packages.

Turns out that singularity-container fails with this error:

# github.com/sylabs/singularity/vendor/github.com/containers/image/copy
../vendor/github.com/containers/image/copy/copy.go:580:71: undefined: mpb.WithContext
../vendor/github.com/containers/image/copy/copy.go:605:4: undefined: mpb.BarClearOnComplete
../vendor/github.com/containers/image/copy/copy.go:607:15: cannot use "github.com/sylabs/singularity/vendor/github.com/vbauerster/mpb/decor".Name(prefix) (type "github.com/sylabs/singularity/vendor/github.com/vbauerster/mpb/decor".Decorator) as type "github.com/vbauerster/mpb/decor".Decorator in argument to mpb.PrependDecorators:
	"github.com/sylabs/singularity/vendor/github.com/vbauerster/mpb/decor".Decorator does not implement "github.com/vbauerster/mpb/decor".Decorator (wrong type for Decor method)
		have Decor(*"github.com/sylabs/singularity/vendor/github.com/vbauerster/mpb/decor".Statistics) string
		want Decor(*"github.com/vbauerster/mpb/decor".Statistics) string
../vendor/github.com/containers/image/copy/copy.go:610:21: cannot use "github.com/sylabs/singularity/vendor/github.com/vbauerster/mpb/decor".OnComplete("github.com/sylabs/singularity/vendor/github.com/vbauerster/mpb/decor".CountersKibiByte("%.1f / %.1f"), " " + onComplete) (type "github.com/sylabs/singularity/vendor/github.com/vbauerster/mpb/decor".Decorator) as type "github.com/vbauerster/mpb/decor".Decorator in argument to mpb.AppendDecorators:
	"github.com/sylabs/singularity/vendor/github.com/vbauerster/mpb/decor".Decorator does not implement "github.com/vbauerster/mpb/decor".Decorator (wrong type for Decor method)
		have Decor(*"github.com/sylabs/singularity/vendor/github.com/vbauerster/mpb/decor".Statistics) string
		want Decor(*"github.com/vbauerster/mpb/decor".Statistics) string
../vendor/github.com/containers/image/copy/copy.go:616:4: undefined: mpb.BarClearOnComplete
../vendor/github.com/containers/image/copy/copy.go:619:15: cannot use "github.com/sylabs/singularity/vendor/github.com/vbauerster/mpb/decor".Name(prefix) (type "github.com/sylabs/singularity/vendor/github.com/vbauerster/mpb/decor".Decorator) as type "github.com/vbauerster/mpb/decor".Decorator in argument to mpb.PrependDecorators:
	"github.com/sylabs/singularity/vendor/github.com/vbauerster/mpb/decor".Decorator does not implement "github.com/vbauerster/mpb/decor".Decorator (wrong type for Decor method)
		have Decor(*"github.com/sylabs/singularity/vendor/github.com/vbauerster/mpb/decor".Statistics) string
		want Decor(*"github.com/vbauerster/mpb/decor".Statistics) string
../vendor/github.com/containers/image/copy/copy.go:622:21: cannot use "github.com/sylabs/singularity/vendor/github.com/vbauerster/mpb/decor".OnComplete("github.com/sylabs/singularity/vendor/github.com/vbauerster/mpb/decor".Name(""), " " + onComplete) (type "github.com/sylabs/singularity/vendor/github.com/vbauerster/mpb/decor".Decorator) as type "github.com/vbauerster/mpb/decor".Decorator in argument to mpb.AppendDecorators:
	"github.com/sylabs/singularity/vendor/github.com/vbauerster/mpb/decor".Decorator does not implement "github.com/vbauerster/mpb/decor".Decorator (wrong type for Decor method)
		have Decor(*"github.com/sylabs/singularity/vendor/github.com/vbauerster/mpb/decor".Statistics) string
		want Decor(*"github.com/vbauerster/mpb/decor".Statistics) string


It seems that singularity-container is vendoring in a copy of the
package golang-github-containers-storage (another package that this
update breaks, but the next upstream version will fix it). This means
that in order to fix this bug, the following option come to mind:

 1. coordinate the version update of new upstream versions of
    singularity-container and vbauerster/mbp to unstable

 2. Avoid the internal copy of containers/image and use the version in
    the archive instead


Option 2 seems preferable to me.

Let me know how you want to proceed.

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.6.0-1-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled


Reply to: