[pkg-go] Bug#906503: prometheus-blackbox-exporter: FTBFS in buster/sid

Santiago Vila sanvila at debian.org
Fri Aug 17 20:22:24 BST 2018


Package: src:prometheus-blackbox-exporter
Version: 0.12.0+ds-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-arch
dh build-arch --buildsystem=golang --with=golang
   dh_update_autotools_config -a -O--buildsystem=golang
   dh_autoreconf -a -O--buildsystem=golang
   dh_auto_configure -a -O--buildsystem=golang
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<BUILDDIR>>/prometheus-blackbox-exporter-0.12.0+ds'
dh_auto_build -O--buildsystem=golang -- -ldflags " -X github.com/prometheus/common/version.Version=0.12.0+ds -X github.com/prometheus/common/version.Revision=0.12.0+ds-1 -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=20180326-22:14:14 -X github.com/prometheus/common/version.GoVersion=go1.10.3"
	cd obj-x86_64-linux-gnu && go install -gcflags=\"-trimpath=/<<BUILDDIR>>/prometheus-blackbox-exporter-0.12.0\+ds/obj-x86_64-linux-gnu/src\" -asmflags=\"-trimpath=/<<BUILDDIR>>/prometheus-blackbox-exporter-0.12.0\+ds/obj-x86_64-linux-gnu/src\" -v -p 1 -ldflags " -X github.com/prometheus/common/version.Version=0.12.0+ds -X github.com/prometheus/common/version.Revision=0.12.0+ds-1 -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=20180326-22:14:14 -X github.com/prometheus/common/version.GoVersion=go1.10.3" github.com/prometheus/blackbox_exporter github.com/prometheus/blackbox_exporter/config github.com/prometheus/blackbox_exporter/prober
github.com/go-logfmt/logfmt
github.com/go-stack/stack
github.com/go-kit/kit/log
github.com/go-kit/kit/log/level
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/internal/util
github.com/prometheus/procfs/nfs
github.com/prometheus/procfs/xfs
github.com/prometheus/procfs
github.com/prometheus/client_golang/prometheus
golang.org/x/net/internal/timeseries
golang.org/x/net/trace
github.com/mwitkow/go-conntrack
gopkg.in/yaml.v2
github.com/prometheus/common/config
github.com/prometheus/blackbox_exporter/config
golang.org/x/crypto/ed25519/internal/edwards25519
golang.org/x/crypto/ed25519
golang.org/x/net/bpf
golang.org/x/net/internal/iana
golang.org/x/net/internal/socket
golang.org/x/net/ipv4
golang.org/x/net/ipv6
github.com/miekg/dns
golang.org/x/net/icmp
golang.org/x/net/publicsuffix
github.com/prometheus/blackbox_exporter/prober
# github.com/prometheus/blackbox_exporter/prober
src/github.com/prometheus/blackbox_exporter/prober/http.go:220:17: undefined: "github.com/prometheus/common/config".NewHTTPClientFromConfig
github.com/prometheus/client_golang/prometheus/promhttp
github.com/pkg/errors
github.com/prometheus/common/promlog
github.com/alecthomas/units
gopkg.in/alecthomas/kingpin.v2
github.com/prometheus/common/promlog/flag
github.com/prometheus/common/version
dh_auto_build: cd obj-x86_64-linux-gnu && go install -gcflags=\"-trimpath=/<<BUILDDIR>>/prometheus-blackbox-exporter-0.12.0\+ds/obj-x86_64-linux-gnu/src\" -asmflags=\"-trimpath=/<<BUILDDIR>>/prometheus-blackbox-exporter-0.12.0\+ds/obj-x86_64-linux-gnu/src\" -v -p 1 -ldflags " -X github.com/prometheus/common/version.Version=0.12.0+ds -X github.com/prometheus/common/version.Revision=0.12.0+ds-1 -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=20180326-22:14:14 -X github.com/prometheus/common/version.GoVersion=go1.10.3" github.com/prometheus/blackbox_exporter github.com/prometheus/blackbox_exporter/config github.com/prometheus/blackbox_exporter/prober returned exit code 2
make[1]: *** [debian/rules:26: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/prometheus-blackbox-exporter-0.12.0+ds'
make: *** [debian/rules:23: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made with "dpkg-buildpackage -B" in my autobuilder.
Most probably, it also fails here in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/prometheus-blackbox-exporter.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.



More information about the Pkg-go-maintainers mailing list