[pkg-go] Bug#822395: Bug#822395: Bug#822395: prometheus: FTBFS: cannot find package "golang.org/x/sys/unix"
Michael Hudson-Doyle
michael.hudson at canonical.com
Tue Apr 26 22:46:17 UTC 2016
On 27 April 2016 at 05:42, Martín Ferrari <tincho at tincho.org> wrote:
> reassign 822395 golang-github-fsnotify-fsnotify-dev
> thanks
>
> On 24/04/16 02:24, Martin Michlmayr wrote:
>
>> This package fails to build in unstable:
>
>>> 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)
>>> /<<BUILDDIR>>/prometheus-0.18.0+ds/obj-x86_64-linux-gnu/src/golang.org/x/sys/unix (from $GOPATH)
>
> This is actually a bug in fsnotify, introduced by me :) The dependency
> is present in build-depends, but not in the "binary" package.
>
> Will upload a fix asap.
Could/should dh_golang provide help for getting this right? It's kinda
similar to the work I did recently to make Built-Using more accurate
-- roughly speaking one needs the -dev package to Depend: on the
Debian packages corresponding to the Go packages reported by go list
-f '{{ .Imports }}' $DH_GOPKG/... I think?
(I'll try not to break the world so many times implementing the
feature this time :-p)
Cheers,
mwh
More information about the Pkg-go-maintainers
mailing list