[pkg-go] Bug#917595: umoci: FTBFS (cannot find package "github.com/fatih/color")

Santiago Vila sanvila at debian.org
Sat Dec 29 00:25:31 GMT 2018


Package: src:umoci
Version: 0.4.0+dfsg-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-arch
dh build-arch --buildsystem=golang --with=golang
   dh_update_autotools_config -a -O--buildsystem=golang
   dh_autoreconf -a -O--buildsystem=golang
   dh_auto_configure -a -O--buildsystem=golang
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<BUILDDIR>>/umoci-0.4.0+dfsg'
COMMIT=1 COMMIT_NO=1 /usr/bin/make doc
make[2]: Entering directory '/<<BUILDDIR>>/umoci-0.4.0+dfsg'
go-md2man -in doc/man/umoci-unpack.1.md -out doc/man/umoci-unpack.1
go-md2man -in doc/man/umoci-raw-runtime-config.1.md -out doc/man/umoci-raw-runtime-config.1
go-md2man -in doc/man/umoci-config.1.md -out doc/man/umoci-config.1
go-md2man -in doc/man/umoci-ls.1.md -out doc/man/umoci-ls.1
go-md2man -in doc/man/umoci-remove.1.md -out doc/man/umoci-remove.1

[... snipped ...]

src/github.com/openSUSE/umoci/oci/config/generate/save.go
src/github.com/openSUSE/umoci/oci/config/generate/spec.go
src/github.com/openSUSE/umoci/oci/config/generate/spec_test.go
src/github.com/openSUSE/umoci/oci/layer/generate.go
src/github.com/openSUSE/umoci/oci/layer/generate_test.go
src/github.com/openSUSE/umoci/oci/layer/tar_extract.go
src/github.com/openSUSE/umoci/oci/layer/tar_extract_test.go
src/github.com/openSUSE/umoci/oci/layer/tar_generate.go
src/github.com/openSUSE/umoci/oci/layer/tar_generate_test.go
src/github.com/openSUSE/umoci/oci/layer/tar_unix.go
src/github.com/openSUSE/umoci/oci/layer/unpack.go
src/github.com/openSUSE/umoci/oci/layer/unpack_test.go
src/github.com/openSUSE/umoci/oci/layer/utils.go
src/github.com/openSUSE/umoci/oci/layer/utils_test.go
src/github.com/openSUSE/umoci/pkg/fseval/fseval.go
src/github.com/openSUSE/umoci/pkg/fseval/fseval_default.go
src/github.com/openSUSE/umoci/pkg/fseval/fseval_rootless.go
src/github.com/openSUSE/umoci/pkg/idtools/idtools.go
src/github.com/openSUSE/umoci/pkg/idtools/idtools_test.go
src/github.com/openSUSE/umoci/pkg/mtreefilter/mask.go
src/github.com/openSUSE/umoci/pkg/mtreefilter/mask_test.go
src/github.com/openSUSE/umoci/pkg/rootlesscontainers-proto/rootlesscontainers_generate.go
src/github.com/openSUSE/umoci/pkg/system/mknod_linux.go
src/github.com/openSUSE/umoci/pkg/system/mknod_linux_test.go
src/github.com/openSUSE/umoci/pkg/system/utime_linux.go
src/github.com/openSUSE/umoci/pkg/system/utime_linux_test.go
src/github.com/openSUSE/umoci/pkg/system/xattr_linux.go
src/github.com/openSUSE/umoci/pkg/unpriv/unpriv.go
src/github.com/openSUSE/umoci/pkg/unpriv/unpriv_test.go
src/github.com/openSUSE/umoci/pkg/unpriv/unpriv_utimes_test.go
src/github.com/openSUSE/umoci/third_party/shared/util.go
src/github.com/openSUSE/umoci/third_party/user/lookup.go
src/github.com/openSUSE/umoci/third_party/user/lookup_unix.go
src/github.com/openSUSE/umoci/third_party/user/user.go
src/github.com/openSUSE/umoci/third_party/user/user_test.go
	cd obj-x86_64-linux-gnu && go install -gcflags=all=\"-trimpath=/<<BUILDDIR>>/umoci-0.4.0\+dfsg/obj-x86_64-linux-gnu/src\" -asmflags=all=\"-trimpath=/<<BUILDDIR>>/umoci-0.4.0\+dfsg/obj-x86_64-linux-gnu/src\" -v -p 1 github.com/openSUSE/umoci/cmd/umoci github.com/openSUSE/umoci/mutate github.com/openSUSE/umoci/oci/cas github.com/openSUSE/umoci/oci/cas/dir github.com/openSUSE/umoci/oci/casext github.com/openSUSE/umoci/oci/config/convert github.com/openSUSE/umoci/oci/config/generate github.com/openSUSE/umoci/oci/layer github.com/openSUSE/umoci/pkg/fseval github.com/openSUSE/umoci/pkg/idtools github.com/openSUSE/umoci/pkg/mtreefilter github.com/openSUSE/umoci/pkg/rootlesscontainers-proto github.com/openSUSE/umoci/pkg/system github.com/openSUSE/umoci/pkg/unpriv github.com/openSUSE/umoci/third_party/shared github.com/openSUSE/umoci/third_party/user
src/github.com/apex/log/handlers/cli/cli.go:12:2: cannot find package "github.com/fatih/color" in any of:
	/usr/lib/go-1.10/src/github.com/fatih/color (from $GOROOT)
	/<<BUILDDIR>>/umoci-0.4.0+dfsg/obj-x86_64-linux-gnu/src/github.com/fatih/color (from $GOPATH)
src/github.com/apex/log/handlers/cli/cli.go:13:2: cannot find package "github.com/mattn/go-colorable" in any of:
	/usr/lib/go-1.10/src/github.com/mattn/go-colorable (from $GOROOT)
	/<<BUILDDIR>>/umoci-0.4.0+dfsg/obj-x86_64-linux-gnu/src/github.com/mattn/go-colorable (from $GOPATH)
dh_auto_build: cd obj-x86_64-linux-gnu && go install -gcflags=all=\"-trimpath=/<<BUILDDIR>>/umoci-0.4.0\+dfsg/obj-x86_64-linux-gnu/src\" -asmflags=all=\"-trimpath=/<<BUILDDIR>>/umoci-0.4.0\+dfsg/obj-x86_64-linux-gnu/src\" -v -p 1 github.com/openSUSE/umoci/cmd/umoci github.com/openSUSE/umoci/mutate github.com/openSUSE/umoci/oci/cas github.com/openSUSE/umoci/oci/cas/dir github.com/openSUSE/umoci/oci/casext github.com/openSUSE/umoci/oci/config/convert github.com/openSUSE/umoci/oci/config/generate github.com/openSUSE/umoci/oci/layer github.com/openSUSE/umoci/pkg/fseval github.com/openSUSE/umoci/pkg/idtools github.com/openSUSE/umoci/pkg/mtreefilter github.com/openSUSE/umoci/pkg/rootlesscontainers-proto github.com/openSUSE/umoci/pkg/system github.com/openSUSE/umoci/pkg/unpriv github.com/openSUSE/umoci/third_party/shared github.com/openSUSE/umoci/third_party/user returned exit code 1
make[1]: *** [debian/rules:11: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<BUILDDIR>>/umoci-0.4.0+dfsg'
make: *** [debian/rules:7: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made in my autobuilder with "dpkg-buildpackage -B"
but it also fails here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/umoci.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.



More information about the Pkg-go-maintainers mailing list