golang-github-docker-docker-dev missing usr/share/gocode/src/github.com/docker/docker/api/types/network/network.go

Bug #1714564 reported by Steve Langasek on 2017-09-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
docker.io (Ubuntu)
Undecided
Michael Hudson-Doyle

Bug Description

golang-github-docker-libnetwork requires github.com/docker/docker/api/types for building, but the Ubuntu docker.io package is not including these files in golang-github-docker-docker-dev 1.13.1:

   dh_auto_build -O--buildsystem=golang -O--builddirectory=_build
 go install -v -p 1 github.com/docker/libnetwork/...
src/github.com/docker/libnetwork/cluster/provider.go:4:2: cannot find package "github.com/docker/docker/api/types/network" in any of:
 /usr/lib/go-1.8/src/github.com/docker/docker/api/types/network (from $GOROOT)
 /<<BUILDDIR>>/golang-github-docker-libnetwork-0.8.0-dev.2+git20170202.599.45b4086/_build/src/github.com/docker/docker/api/types/network (from $GOPATH)
src/github.com/docker/docker/opts/secret.go:11:2: cannot find package "github.com/docker/docker/api/types" in any of:
 /<<BUILDDIR>>/golang-github-docker-libnetwork-0.8.0-dev.2+git20170202.599.45b4086/_build/src/github.com/docker/docker/vendor/github.com/docker/docker/api/types (vendor tree)
 /usr/lib/go-1.8/src/github.com/docker/docker/api/types (from $GOROOT)
 /<<BUILDDIR>>/golang-github-docker-libnetwork-0.8.0-dev.2+git20170202.599.45b4086/_build/src/github.com/docker/docker/api/types (from $GOPATH)
src/github.com/docker/docker/opts/opts.go:10:2: cannot find package "github.com/docker/docker/api/types/filters" in any of:
 /<<BUILDDIR>>/golang-github-docker-libnetwork-0.8.0-dev.2+git20170202.599.45b4086/_build/src/github.com/docker/docker/vendor/github.com/docker/docker/api/types/filters (vendor tree)
 /usr/lib/go-1.8/src/github.com/docker/docker/api/types/filters (from $GOROOT)
 /<<BUILDDIR>>/golang-github-docker-libnetwork-0.8.0-dev.2+git20170202.599.45b4086/_build/src/github.com/docker/docker/api/types/filters (from $GOPATH)
src/github.com/docker/docker/opts/mount.go:10:2: cannot find package "github.com/docker/docker/api/types/mount" in any of:
 /<<BUILDDIR>>/golang-github-docker-libnetwork-0.8.0-dev.2+git20170202.599.45b4086/_build/src/github.com/docker/docker/vendor/github.com/docker/docker/api/types/mount (vendor tree)
 /usr/lib/go-1.8/src/github.com/docker/docker/api/types/mount (from $GOROOT)
 /<<BUILDDIR>>/golang-github-docker-libnetwork-0.8.0-dev.2+git20170202.599.45b4086/_build/src/github.com/docker/docker/api/types/mount (from $GOPATH)
src/github.com/docker/docker/opts/port.go:10:2: cannot find package "github.com/docker/docker/api/types/swarm" in any of:
 /<<BUILDDIR>>/golang-github-docker-libnetwork-0.8.0-dev.2+git20170202.599.45b4086/_build/src/github.com/docker/docker/vendor/github.com/docker/docker/api/types/swarm (vendor tree)
 /usr/lib/go-1.8/src/github.com/docker/docker/api/types/swarm (from $GOROOT)
 /<<BUILDDIR>>/golang-github-docker-libnetwork-0.8.0-dev.2+git20170202.599.45b4086/_build/src/github.com/docker/docker/api/types/swarm (from $GOPATH)
dh_auto_build: go install -v -p 1 github.com/docker/libnetwork/... returned exit code 1

https://launchpad.net/ubuntu/+source/golang-github-docker-libnetwork/0.8.0-dev.2+git20170202.599.45b4086-3/+build/13236423

These appear to be part of the source for docker.io 1.13, because Debian's 1.13.1~ds1-2 build of golang-github-docker-docker-dev contains them, and golang-github-docker-libnetwork has built successfully in Debian.

Please include these components in the packaging for Ubuntu.

Steve Langasek (vorlon) on 2017-09-01
Changed in docker.io (Ubuntu):
assignee: nobody → Michael Hudson-Doyle (mwhudson)
Changed in docker.io (Ubuntu):
status: New → In Progress
Michael Hudson-Doyle (mwhudson) wrote :

Think this is an easy fix, just doing a test build first.

Michael Hudson-Doyle (mwhudson) wrote :

This is fixed in -proposed and the linked package now builds but it's stuck in proposed because of https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1715128

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package docker.io - 1.13.1-0ubuntu2

---------------
docker.io (1.13.1-0ubuntu2) artful; urgency=medium

  * d/tests/docker-in-lxd: copy more apt config into container
  * d/golang-github-docker-docker-dev.install: install missing packages.
    (LP: #1714564)
  * d/control: Add Build-Depend on tzdata.

 -- Michael Hudson-Doyle <email address hidden> Mon, 04 Sep 2017 13:31:34 +1200

Changed in docker.io (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers