[pkg-go] Bug#818417: prometheus: FTBFS: aws.Config does not implement client.ConfigProvider

Martin Michlmayr tbm at hpe.com
Wed Mar 16 22:19:08 UTC 2016


Package: prometheus
Version: 0.16.2+ds-1
Severity: serious

This package fails to build in unstable:

> sbuild (Debian sbuild) 0.68.0 (15 Jan 2016) on dl580gen9-02.hlinux
...
> github.com/prometheus/prometheus/storage/remote
> github.com/prometheus/prometheus/storage/local
> github.com/prometheus/prometheus/promql
> github.com/prometheus/prometheus/retrieval/discovery
> github.com/prometheus/prometheus/template
> github.com/prometheus/prometheus/web/api/legacy
> github.com/prometheus/prometheus/web/api/v1
> github.com/prometheus/prometheus/cmd/promtool
> # github.com/prometheus/prometheus/retrieval/discovery
> src/github.com/prometheus/prometheus/retrieval/discovery/ec2.go:58: undefined: defaults.DefaultChainCredentials
> src/github.com/prometheus/prometheus/retrieval/discovery/ec2.go:107: cannot use ed.aws (type *aws.Config) as type client.ConfigProvider in argument to ec2.New:
> 	*aws.Config does not implement client.ConfigProvider (missing ClientConfig method)
> github.com/prometheus/prometheus/rules
> dh_auto_build: go install -v -ldflags  -X github.com/prometheus/prometheus/version.Version=0.16.2+ds -X github.com/prometheus/prometheus/version.Revision=0.16.2+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=20160125-11:05:02 -X github.com/prometheus/prometheus/version.GoVersion=go1.6 github.com/prometheus/prometheus/cmd/prometheus github.com/prometheus/prometheus/cmd/promtool github.com/prometheus/prometheus/config github.com/prometheus/prometheus/notification 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/prometheus/storage/local github.com/prometheus/prometheus/storage/local/codable github.com/prometheus/prometheus/storage/local/index 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/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/blob github.com/prometheus/prometheus/web/ui returned exit code 2
> 	cd /<<BUILDDIR>>/prometheus-0.16.2+ds
> debian/rules:65: recipe for target 'override_dh_auto_build' failed
> make[1]: *** [override_dh_auto_build] Error 2

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



More information about the Pkg-go-maintainers mailing list