[pkg-go] Bug#839360: prometheus-alertmanager: FTBFS: dh_auto_build: go install -v -p 1 -ldflags -X github.com/prometheus/common/version.Version=0.3.0+ds -X github.com/prometheus/common/version.Revision=0.3.0+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=20160715-12:56:49 -X github.com/prometheus/common/version.GoVersion=go1.7.1 github.com/prometheus/alertmanager github.com/prometheus/alertmanager/config github.com/prometheus/alertmanager/notify github.com/prometheus/alertmanager/provider github.com/prometheus/alertmanager/provider/boltmem github.com/prometheus/alertmanager/provider/sqlite github.com/prometheus/alertmanager/template github.com/prometheus/alertmanager/template/internal/deftmpl github.com/prometheus/alertmanager/test github.com/prometheus/alertmanager/types github.com/prometheus/alertmanager/vendor/github.com/prometheus/client_golang/api/alertmanager returned exit code 2

Lucas Nussbaum lucas at debian.org
Sat Oct 1 08:49:56 UTC 2016


Source: prometheus-alertmanager
Version: 0.3.0+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-alertmanager-0.3.0+ds'
> dh_auto_build -- -ldflags " -X github.com/prometheus/common/version.Version=0.3.0+ds -X github.com/prometheus/common/version.Revision=0.3.0+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=20160715-12:56:49 -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=0.3.0+ds -X github.com/prometheus/common/version.Revision=0.3.0+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=20160715-12:56:49 -X github.com/prometheus/common/version.GoVersion=go1.7.1" github.com/prometheus/alertmanager github.com/prometheus/alertmanager/config github.com/prometheus/alertmanager/notify github.com/prometheus/alertmanager/provider github.com/prometheus/alertmanager/provider/boltmem github.com/prometheus/alertmanager/provider/sqlite github.com/prometheus/alertmanager/template github.com/prometheus/alertmanager/template/internal/deftmpl github.com/prometheus/alertmanager/test github.com/prometheus/alertmanager/types github.com/prometheus/alertmanager/vendor/github.com/prometheus/client_golang/api/alertmanager
> github.com/prometheus/common/model
> gopkg.in/yaml.v2
> github.com/prometheus/alertmanager/config
> github.com/cenkalti/backoff
> github.com/prometheus/alertmanager/types
> github.com/prometheus/alertmanager/provider
> github.com/prometheus/alertmanager/template
> 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/expfmt
> github.com/prometheus/procfs
> github.com/prometheus/client_golang/prometheus
> github.com/Sirupsen/logrus
> github.com/prometheus/common/log
> golang.org/x/net/context
> golang.org/x/net/context/ctxhttp
> github.com/prometheus/alertmanager/notify
> github.com/boltdb/bolt
> github.com/prometheus/alertmanager/provider/boltmem
> github.com/julienschmidt/httprouter
> github.com/prometheus/common/route
> github.com/prometheus/common/version
> github.com/prometheus/alertmanager
> # github.com/prometheus/alertmanager
> src/github.com/prometheus/alertmanager/main.go:192: not enough arguments in call to route.New
> github.com/mattn/go-sqlite3
> github.com/prometheus/alertmanager/provider/sqlite
> github.com/prometheus/alertmanager/template/internal/deftmpl
> github.com/prometheus/alertmanager/vendor/github.com/prometheus/client_golang/api/alertmanager
> github.com/prometheus/alertmanager/test
> dh_auto_build: go install -v -p 1 -ldflags  -X github.com/prometheus/common/version.Version=0.3.0+ds -X github.com/prometheus/common/version.Revision=0.3.0+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=20160715-12:56:49 -X github.com/prometheus/common/version.GoVersion=go1.7.1 github.com/prometheus/alertmanager github.com/prometheus/alertmanager/config github.com/prometheus/alertmanager/notify github.com/prometheus/alertmanager/provider github.com/prometheus/alertmanager/provider/boltmem github.com/prometheus/alertmanager/provider/sqlite github.com/prometheus/alertmanager/template github.com/prometheus/alertmanager/template/internal/deftmpl github.com/prometheus/alertmanager/test github.com/prometheus/alertmanager/types github.com/prometheus/alertmanager/vendor/github.com/prometheus/client_golang/api/alertmanager returned exit code 2
> 	cd /<<BUILDDIR>>/prometheus-alertmanager-0.3.0+ds
> debian/rules:38: 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-alertmanager_0.3.0+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