On Saturday, 23 June 2018 4:00:14 AM AEST Adrian Bunk wrote:
> src/gopkg.in/gcfg.v1/errors.go:4:2: cannot find package
> "gopkg.in/warnings.v0" in any of:
> /usr/lib/go-1.10/src/gopkg.in/warnings.v0 (from $GOROOT)
>       /<<BUILDDIR>>/kubernetes-1.7.16+dfsg/_build/src/gopkg.in/warnings.v0 
> (from
> $GOPATH)

This is not a bug in kibernetes packaging. If you carefully inspect build log 
[1] then you can find "golang-gopkg-warnings.v0-dev" in "Merged Build-
Depends" and "Filtered Build-Depends", selected for installation but never 
actually installed.

I don't know which particular component of dpkg is responsible for the 
problem but it almost certainly have something to do with dot "." in the 
package name.

At first I thought it is a trivial case of missing dependency but 
unfortunately package from Build-Depends is just being ignored.

I could only build kubernetes with "classic" satisfydepends: 

PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends-classic"

which actually installs all the packages listed in Build-Depends.

[1]: https://buildd.debian.org/status/fetch.php?
pkg=kubernetes&arch=i386&ver=1.7.16%2Bdfsg-1&stamp=1525600126&raw=0

-- 
All the best,
 Dmitry Smirnov
 GPG key : 2048R/CCBC38B3CEEEECEE

---

Platitude: an idea (a) that is admitted to be true by everyone, and (b)
that is not true.
        -- H. L. Mencken

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to