[pkg-go] Bug#889819: prometheus-mongodb-exporter FTBFS on 32bit: constant 9007199254740992 overflows int

Adrian Bunk bunk at debian.org
Wed Feb 7 12:33:28 UTC 2018


Source: prometheus-mongodb-exporter
Version: 1.0.0-1
Severity: serious
Tags: buster sid

Some recent change in unstable makes prometheus-mongodb-exporter FTBFS on 32bit:

https://tests.reproducible-builds.org/debian/history/prometheus-mongodb-exporter.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/i386/prometheus-mongodb-exporter.html
https://buildd.debian.org/status/package.php?p=prometheus-mongodb-exporter&suite=sid

...
   dh_auto_build -a -O--buildsystem=golang -O--builddir=build
	cd build && go install -gcflags=\"-trimpath=/<<PKGBUILDDIR>>/build/src\" -asmflags=\"-trimpath=/<<PKGBUILDDIR>>/build/src\" -v -p 1 github.com/dcu/mongodb_exporter github.com/dcu/mongodb_exporter/collector github.com/dcu/mongodb_exporter/shared
github.com/golang/glog
gopkg.in/mgo.v2/internal/json
gopkg.in/mgo.v2/bson
# gopkg.in/mgo.v2/bson
src/gopkg.in/mgo.v2/bson/json.go:320:7: constant 9007199254740992 overflows int
gopkg.in/mgo.v2/internal/scram
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/xfs
github.com/prometheus/procfs
github.com/prometheus/client_golang/prometheus
dh_auto_build: cd build && go install -gcflags=\"-trimpath=/<<PKGBUILDDIR>>/build/src\" -asmflags=\"-trimpath=/<<PKGBUILDDIR>>/build/src\" -v -p 1 github.com/dcu/mongodb_exporter github.com/dcu/mongodb_exporter/collector github.com/dcu/mongodb_exporter/shared returned exit code 2
debian/rules:14: recipe for target 'build-arch' failed
make: *** [build-arch] Error 2



More information about the Pkg-go-maintainers mailing list