[pkg-go] Bug#822495: golang-github-spf13-cobra: FTBFS: cannot find package "golang.org/x/sys/unix"

Martin Michlmayr tbm at hpe.com
Mon Apr 25 00:57:58 UTC 2016


Package: golang-github-spf13-cobra
Version: 0.0~git20160117.0.8e91712-1
Severity: serious

This package fails to build in unstable:

> sbuild (Debian sbuild) 0.68.0 (15 Jan 2016) on dl580gen9-02.hlinux
...
>    dh_update_autotools_config -O--buildsystem=golang
>    dh_auto_configure -O--buildsystem=golang
>    dh_auto_build -O--buildsystem=golang
> 	go install -v github.com/spf13/cobra github.com/spf13/cobra/cobra github.com/spf13/cobra/cobra/cmd github.com/spf13/cobra/doc
> src/gopkg.in/fsnotify.v1/inotify.go:19:2: cannot find package "golang.org/x/sys/unix" in any of:
> 	/usr/lib/go/src/golang.org/x/sys/unix (from $GOROOT)
> 	/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/golang.org/x/sys/unix (from $GOPATH)
> dh_auto_build: go install -v github.com/spf13/cobra github.com/spf13/cobra/cobra github.com/spf13/cobra/cobra/cmd github.com/spf13/cobra/doc returned exit code 1
> debian/rules:4: recipe for target 'build' failed
> make: *** [build] Error 1

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise



More information about the Pkg-go-maintainers mailing list