[pkg-go] Bug#839312: prometheus: FTBFS: dh_auto_build: go install -v -p 1 -ldflags -X github.com/prometheus/common/version.Version=1.1.2+ds -X github.com/prometheus/common/version.Revision=1.1.2+ds-2 -X github.com/prometheus/common/version.Branch=debian/sid -X github.com/prometheus/common/version.BuildUser=pkg-go-maintainers at lists.alioth.debian.org -X github.com/prometheus/common/version.BuildDate=20160910-20:06:40 -X github.com/prometheus/common/version.GoVersion=go1.7.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/relabel github.com/prometheus/prometheus/retrieval github.com/prometheus/prometheus/retrieval/discovery github.com/prometheus/prometheus/retrieval/discovery/consul github.com/prometheus/prometheus/retrieval/discovery/dns 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/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/influxdb/influxdb/client github.com/prometheus/prometheus/vendor/github.com/influxdb/influxdb/tsdb github.com/prometheus/prometheus/web github.com/prometheus/prometheus/web/api/v1 github.com/prometheus/prometheus/web/ui returned exit code 2

Lucas Nussbaum lucas at debian.org
Sat Oct 1 08:50:05 UTC 2016


Source: prometheus
Version: 1.1.2+ds-2
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20160930 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/<<BUILDDIR>>/prometheus-1.1.2+ds'
> dh_auto_build -- -ldflags " -X github.com/prometheus/common/version.Version=1.1.2+ds -X github.com/prometheus/common/version.Revision=1.1.2+ds-2 -X github.com/prometheus/common/version.Branch=debian/sid -X github.com/prometheus/common/version.BuildUser=pkg-go-maintainers at lists.alioth.debian.org -X github.com/prometheus/common/version.BuildDate=20160910-20:06:40 -X github.com/prometheus/common/version.GoVersion=go1.7.1"
> 	cd build
> 	go install -v -p 1 -ldflags " -X github.com/prometheus/common/version.Version=1.1.2+ds -X github.com/prometheus/common/version.Revision=1.1.2+ds-2 -X github.com/prometheus/common/version.Branch=debian/sid -X github.com/prometheus/common/version.BuildUser=pkg-go-maintainers at lists.alioth.debian.org -X github.com/prometheus/common/version.BuildDate=20160910-20:06:40 -X github.com/prometheus/common/version.GoVersion=go1.7.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/relabel github.com/prometheus/prometheus/retrieval github.com/prometheus/prometheus/retrieval/discovery github.com/prometheus/prometheus/retrieval/discovery/consul github.com/prometheus/prometheus/retrieval/discovery/dns 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/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/influxdb/influxdb/client github.com/prometheus/prometheus/vendor/github.com/influxdb/influxdb/tsdb github.com/prometheus/prometheus/web github.com/prometheus/prometheus/web/api/v1 github.com/prometheus/prometheus/web/ui
> github.com/asaskevich/govalidator
> github.com/beorn7/perks/quantile
> github.com/golang/protobuf/proto
> github.com/prometheus/client_model/go
> github.com/matttproud/golang_protobuf_extensions/pbutil
> github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg
> github.com/prometheus/common/model
> github.com/prometheus/common/expfmt
> github.com/prometheus/procfs
> github.com/prometheus/client_golang/prometheus
> github.com/Sirupsen/logrus
> github.com/prometheus/common/log
> github.com/prometheus/common/version
> gopkg.in/yaml.v2
> github.com/prometheus/prometheus/config
> github.com/prometheus/prometheus/relabel
> golang.org/x/net/context
> golang.org/x/net/context/ctxhttp
> github.com/prometheus/prometheus/notifier
> github.com/prometheus/prometheus/storage
> github.com/prometheus/prometheus/storage/local/codable
> github.com/syndtr/goleveldb/leveldb/util
> github.com/syndtr/goleveldb/leveldb/cache
> github.com/syndtr/goleveldb/leveldb/comparer
> github.com/syndtr/goleveldb/leveldb/storage
> github.com/syndtr/goleveldb/leveldb/errors
> github.com/syndtr/goleveldb/leveldb/filter
> github.com/syndtr/goleveldb/leveldb/iterator
> github.com/syndtr/goleveldb/leveldb/journal
> github.com/syndtr/goleveldb/leveldb/memdb
> github.com/syndtr/goleveldb/leveldb/opt
> github.com/golang/snappy
> github.com/syndtr/goleveldb/leveldb/table
> github.com/syndtr/goleveldb/leveldb
> github.com/prometheus/prometheus/storage/local/index
> github.com/prometheus/prometheus/storage/metric
> github.com/prometheus/prometheus/util/flock
> github.com/prometheus/prometheus/util/testutil
> github.com/prometheus/prometheus/storage/local
> github.com/prometheus/prometheus/util/stats
> github.com/prometheus/prometheus/util/strutil
> github.com/prometheus/prometheus/promql
> github.com/Azure/go-autorest/autorest
> github.com/Azure/go-autorest/autorest/date
> github.com/dgrijalva/jwt-go
> github.com/Azure/go-autorest/autorest/azure
> github.com/Azure/go-autorest/autorest/to
> github.com/Azure/azure-sdk-for-go/arm/compute
> github.com/Azure/azure-sdk-for-go/arm/network
> github.com/aws/aws-sdk-go/aws/awserr
> github.com/go-ini/ini
> github.com/aws/aws-sdk-go/aws/credentials
> github.com/aws/aws-sdk-go/aws
> github.com/aws/aws-sdk-go/aws/client/metadata
> github.com/jmespath/go-jmespath
> github.com/aws/aws-sdk-go/aws/awsutil
> github.com/aws/aws-sdk-go/aws/request
> github.com/aws/aws-sdk-go/aws/client
> github.com/aws/aws-sdk-go/aws/corehandlers
> github.com/aws/aws-sdk-go/aws/ec2metadata
> github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds
> github.com/aws/aws-sdk-go/private/endpoints
> github.com/aws/aws-sdk-go/aws/defaults
> github.com/aws/aws-sdk-go/aws/session
> github.com/aws/aws-sdk-go/private/protocol
> github.com/aws/aws-sdk-go/private/protocol/query/queryutil
> github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil
> github.com/aws/aws-sdk-go/private/protocol/ec2query
> github.com/aws/aws-sdk-go/private/protocol/rest
> github.com/aws/aws-sdk-go/private/signer/v4
> github.com/aws/aws-sdk-go/private/waiter
> github.com/aws/aws-sdk-go/service/ec2
> github.com/hashicorp/go-cleanhttp
> github.com/hashicorp/serf/coordinate
> github.com/hashicorp/consul/api
> github.com/prometheus/prometheus/retrieval/discovery/consul
> github.com/miekg/dns
> github.com/prometheus/prometheus/retrieval/discovery/dns
> github.com/prometheus/prometheus/util/httputil
> github.com/prometheus/prometheus/retrieval/discovery/kubernetes
> github.com/prometheus/prometheus/retrieval/discovery/marathon
> github.com/samuel/go-zookeeper/zk
> github.com/prometheus/prometheus/util/treecache
> golang.org/x/sys/unix
> gopkg.in/fsnotify.v1
> github.com/prometheus/prometheus/retrieval/discovery
> github.com/prometheus/prometheus/retrieval
> github.com/prometheus/prometheus/template
> github.com/prometheus/prometheus/rules
> github.com/prometheus/prometheus/vendor/github.com/influxdb/influxdb/tsdb
> github.com/prometheus/prometheus/vendor/github.com/influxdb/influxdb/client
> github.com/prometheus/prometheus/storage/remote/graphite
> github.com/prometheus/prometheus/storage/remote/influxdb
> github.com/prometheus/prometheus/storage/remote/opentsdb
> golang.org/x/net/http2/hpack
> golang.org/x/net/lex/httplex
> golang.org/x/net/http2
> golang.org/x/net/internal/timeseries
> golang.org/x/net/trace
> google.golang.org/grpc/codes
> google.golang.org/grpc/credentials
> google.golang.org/grpc/grpclog
> google.golang.org/grpc/internal
> google.golang.org/grpc/metadata
> google.golang.org/grpc/naming
> google.golang.org/grpc/peer
> google.golang.org/grpc/transport
> google.golang.org/grpc
> github.com/prometheus/prometheus/storage/remote
> github.com/julienschmidt/httprouter
> github.com/prometheus/common/route
> github.com/prometheus/prometheus/web/api/v1
> github.com/prometheus/prometheus/web
> # github.com/prometheus/prometheus/web
> src/github.com/prometheus/prometheus/web/web.go:118: not enough arguments in call to route.New
> github.com/prometheus/prometheus/util/cli
> github.com/prometheus/prometheus/cmd/promtool
> github.com/prometheus/prometheus/storage/local/storagetool
> github.com/prometheus/prometheus/web/ui
> dh_auto_build: go install -v -p 1 -ldflags  -X github.com/prometheus/common/version.Version=1.1.2+ds -X github.com/prometheus/common/version.Revision=1.1.2+ds-2 -X github.com/prometheus/common/version.Branch=debian/sid -X github.com/prometheus/common/version.BuildUser=pkg-go-maintainers at lists.alioth.debian.org -X github.com/prometheus/common/version.BuildDate=20160910-20:06:40 -X github.com/prometheus/common/version.GoVersion=go1.7.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/relabel github.com/prometheus/prometheus/retrieval github.com/prometheus/prometheus/retrieval/discovery github.com/prometheus/prometheus/retrieval/discovery/consul github.com/prometheus/prometheus/retrieval/discovery/dns 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/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/influxdb/influxdb/client github.com/prometheus/prometheus/vendor/github.com/influxdb/influxdb/tsdb github.com/prometheus/prometheus/web github.com/prometheus/prometheus/web/api/v1 github.com/prometheus/prometheus/web/ui returned exit code 2
> 	cd /<<BUILDDIR>>/prometheus-1.1.2+ds
> debian/rules:60: recipe for target 'override_dh_auto_build' failed
> make[1]: *** [override_dh_auto_build] Error 2

If the failure looks somehow time/timezone related:
Note that this rebuild was performed without the 'tzdata' package
installed in the chroot. tzdata used be (transitively) part of
build-essential, but it no longer is. If this package requires it to
build, it should be added to build-depends. For the release team's
opinion on this, see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836940#185

The full build log is available from:
   http://aws-logs.debian.net/2016/09/30/prometheus_1.1.2+ds-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-go-maintainers mailing list