[pkg-go] Bug#822395: prometheus: FTBFS: cannot find package "golang.org/x/sys/unix"
Martin Michlmayr
tbm at hpe.com
Sun Apr 24 01:24:11 UTC 2016
Package: prometheus
Version: 0.18.0+ds-1
Severity: serious
This package fails to build in unstable:
> sbuild (Debian sbuild) 0.68.0 (15 Jan 2016) on dl580gen9-02.hlinux
...
> make[1]: Leaving directory '/<<BUILDDIR>>/prometheus-0.18.0+ds'
> debian/rules override_dh_auto_build
> make[1]: Entering directory '/<<BUILDDIR>>/prometheus-0.18.0+ds'
> dh_auto_build -O--buildsystem=golang -- -ldflags " -X github.com/prometheus/prometheus/version.Version=0.18.0+ds -X github.com/prometheus/prometheus/version.Revision=0.18.0+ds-1 -X github.com/prometheus/prometheus/version.Branch=debian/sid -X github.com/prometheus/prometheus/version.BuildUser=pkg-go-maintainers at lists.alioth.debian.org -X github.com/prometheus/prometheus/version.BuildDate=20160419-13:54:45 -X github.com/prometheus/prometheus/version.GoVersion=go1.6.1"
> cd obj-x86_64-linux-gnu
> go install -v -ldflags " -X github.com/prometheus/prometheus/version.Version=0.18.0+ds -X github.com/prometheus/prometheus/version.Revision=0.18.0+ds-1 -X github.com/prometheus/prometheus/version.Branch=debian/sid -X github.com/prometheus/prometheus/version.BuildUser=pkg-go-maintainers at lists.alioth.debian.org -X github.com/prometheus/prometheus/version.BuildDate=20160419-13:54:45 -X github.com/prometheus/prometheus/version.GoVersion=go1.6.1" github.com/prometheus/prometheus/cmd/prometheus github.com/prometheus/prometheus/cmd/promtool github.com/prometheus/prometheus/config github.com/prometheus/prometheus/notifier github.com/prometheus/prometheus/promql github.com/prometheus/prometheus/retrieval github.com/prometheus/prometheus/retrieval/discovery github.com/prometheus/prometheus/retrieval/discovery/kubernetes github.com/prometheus/prometheus/retrieval/discovery/marathon github.com/prometheus/prometheus/rules github.com/prometheus/prometheus/storage github.com/prometheus/pro
> metheus/storage/local github.com/prometheus/prometheus/storage/local/codable github.com/prometheus/prometheus/storage/local/index github.com/prometheus/prometheus/storage/local/storagetool github.com/prometheus/prometheus/storage/metric github.com/prometheus/prometheus/storage/remote github.com/prometheus/prometheus/storage/remote/graphite github.com/prometheus/prometheus/storage/remote/influxdb github.com/prometheus/prometheus/storage/remote/opentsdb github.com/prometheus/prometheus/template github.com/prometheus/prometheus/util/cli github.com/prometheus/prometheus/util/flock github.com/prometheus/prometheus/util/httputil github.com/prometheus/prometheus/util/stats github.com/prometheus/prometheus/util/strutil github.com/prometheus/prometheus/util/testutil github.com/prometheus/prometheus/util/treecache github.com/prometheus/prometheus/vendor/github.com/hashicorp/consul/api github.com/prometheus/prometheus/vendor/github.com/influxdb/influxdb/client github.com/prometheus/prometheus/vendor/github.com/influxdb/influxdb/tsdb github.com/prometheus/prometheus/version github.com/prometheus/prometheus/web github.com/prometheus/prometheus/web/api/legacy github.com/prometheus/prometheus/web/api/v1 github.com/prometheus/prometheus/web/ui
> 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)
> dh_auto_build: go install -v -ldflags -X github.com/prometheus/prometheus/version.Version=0.18.0+ds -X github.com/prometheus/prometheus/version.Revision=0.18.0+ds-1 -X github.com/prometheus/prometheus/version.Branch=debian/sid -X github.com/prometheus/prometheus/version.BuildUser=pkg-go-maintainers at lists.alioth.debian.org -X github.com/prometheus/prometheus/version.BuildDate=20160419-13:54:45 -X github.com/prometheus/prometheus/version.GoVersion=go1.6.1 github.com/prometheus/prometheus/cmd/prometheus github.com/prometheus/prometheus/cmd/promtool github.com/prometheus/prometheus/config github.com/prometheus/prometheus/notifier github.com/prometheus/prometheus/promql github.com/prometheus/prometheus/retrieval github.com/prometheus/prometheus/retrieval/discovery github.com/prometheus/prometheus/retrieval/discovery/kubernetes github.com/prometheus/prometheus/retrieval/discovery/marathon github.com/prometheus/prometheus/rules github.com/prometheus/prometheus/storage github.com/pr
> ometheus/prometheus/storage/local github.com/prometheus/prometheus/storage/local/codable github.com/prometheus/prometheus/storage/local/index github.com/prometheus/prometheus/storage/local/storagetool github.com/prometheus/prometheus/storage/metric github.com/prometheus/prometheus/storage/remote github.com/prometheus/prometheus/storage/remote/graphite github.com/prometheus/prometheus/storage/remote/influxdb github.com/prometheus/prometheus/storage/remote/opentsdb github.com/prometheus/prometheus/template github.com/prometheus/prometheus/util/cli github.com/prometheus/prometheus/util/flock github.com/prometheus/prometheus/util/httputil github.com/prometheus/prometheus/util/stats github.com/prometheus/prometheus/util/strutil github.com/prometheus/prometheus/util/testutil github.com/prometheus/prometheus/util/treecache github.com/prometheus/prometheus/vendor/github.com/hashicorp/consul/api github.com/prometheus/prometheus/vendor/github.com/influxdb/influxdb/client github.com/prometheus/prometheus/vendor/github.com/influxdb/influxdb/tsdb github.com/prometheus/prometheus/version github.com/prometheus/prometheus/web github.com/prometheus/prometheus/web/api/legacy github.com/prometheus/prometheus/web/api/v1 github.com/prometheus/prometheus/web/ui returned exit code 1
> cd /<<BUILDDIR>>/prometheus-0.18.0+ds
> debian/rules:65: recipe for target 'override_dh_auto_build' failed
--
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise
More information about the Pkg-go-maintainers
mailing list