Package: golang-github-containers-storage Version: 1.23.9+dfsg1-1 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu hirsute ubuntu-patch
Dear maintainers, In Ubuntu, golang-github-containers-storage was failing to build because of a missing build-dependency: [...] cd obj-x86_64-linux-gnu && go install -trimpath -v -p 4 github.com/containers/storage github.com/containers/storage/cmd/containers-storage github.com/containers/storage/drivers github.com/containers/storage/drivers/aufs github.com/containers/storage/drivers/btrfs github.com/containers/storage/drivers/copy github.com/containers/storage/drivers/devmapper github.com/containers/storage/drivers/graphtest github.com/containers/storage/drivers/overlay github.com/containers/storage/drivers/overlayutils github.com/containers/storage/drivers/quota github.com/containers/storage/drivers/register github.com/containers/storage/drivers/vfs github.com/containers/storage/drivers/zfs github.com/containers/storage/internal/opts github.com/containers/storage/pkg/archive github.com/containers/storage/pkg/chrootarchive github.com/containers/storage/pkg/config github.com/containers/storage/pkg/devicemapper github.com/containers/storage/pkg/directory github.com/containers/storage/pkg/dmesg github.com/containers/storage/pkg/fileutils github.com/containers/storage/pkg/fsutils github.com/containers/storage/pkg/homedir github.com/containers/storage/pkg/idtools github.com/containers/storage/pkg/ioutils github.com/containers/storage/pkg/locker github.com/containers/storage/pkg/lockfile github.com/containers/storage/pkg/longpath github.com/containers/storage/pkg/loopback github.com/containers/storage/pkg/mflag github.com/containers/storage/pkg/mflag/example github.com/containers/storage/pkg/mount github.com/containers/storage/pkg/parsers github.com/containers/storage/pkg/parsers/kernel github.com/containers/storage/pkg/parsers/operatingsystem github.com/containers/storage/pkg/pools github.com/containers/storage/pkg/promise github.com/containers/storage/pkg/reexec github.com/containers/storage/pkg/stringid github.com/containers/storage/pkg/stringutils github.com/containers/storage/pkg/system github.com/containers/storage/pkg/tarlog github.com/containers/storage/pkg/truncindex github.com/containers/storage/pkg/unshare src/github.com/containers/storage/pkg/mount/mountinfo.go:4:2: cannot find package "github.com/moby/sys/mountinfo" in any of: /usr/lib/go-1.15/src/github.com/moby/sys/mountinfo (from $GOROOT) /<<BUILDDIR>>/golang-github-containers-storage-1.23.9+dfsg1/obj-x86_64-linux-gnu/src/github.com/moby/sys/mountinfo (from $GOPATH) dh_auto_build: error: cd obj-x86_64-linux-gnu && go install -trimpath -v -p 4 github.com/containers/storage github.com/containers/storage/cmd/containers-storage [...] (https://launchpad.net/ubuntu/+source/golang-github-containers-storage/1.23.9+dfsg1-1/+build/20330377) Presumably this hasn't failed in Debian because some other build-dependency is pulling this package in there. But the package shouldn't rely on this, since it is directly required by golang-github-containers-storage. Please see the attached trivial patch to add golang-github-moby-sys-dev to build-dependencies. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer https://www.debian.org/ slanga...@ubuntu.com vor...@debian.org
diff -Nru golang-github-containers-storage-1.23.9+dfsg1/debian/control golang-github-containers-storage-1.23.9+dfsg1/debian/control --- golang-github-containers-storage-1.23.9+dfsg1/debian/control 2020-11-23 14:05:11.000000000 -0800 +++ golang-github-containers-storage-1.23.9+dfsg1/debian/control 2020-12-01 09:03:25.000000000 -0800 @@ -16,6 +16,7 @@ golang-github-hashicorp-go-multierror-dev, golang-github-klauspost-pgzip-dev, golang-github-mattn-go-shellwords-dev, + golang-github-moby-sys-dev, golang-github-opencontainers-go-digest-dev, golang-github-opencontainers-runc-dev, golang-github-opencontainers-selinux-dev (>= 1.5.0),