[pkg-go] Bug#893051: prometheus-mysqld-exporter FTBFS on 32bit: global_variables_test.go:79:67: constant 2147483648 overflows int
Adrian Bunk
bunk at debian.org
Thu Mar 15 21:46:19 UTC 2018
Source: prometheus-mysqld-exporter
Version: 0.10.0+git20180201.a71f4bb+ds-1
Severity: serious
https://buildd.debian.org/status/package.php?p=prometheus-mysqld-exporter&suite=sid
...
dh_auto_test -a -O--buildsystem=golang
cd obj-i686-linux-gnu && go test -vet=off -v -p 4 github.com/prometheus/mysqld_exporter github.com/prometheus/mysqld_exporter/collector
# github.com/prometheus/mysqld_exporter/collector
src/github.com/prometheus/mysqld_exporter/collector/global_variables_test.go:79:67: constant 2147483648 overflows int
=== RUN TestParseMycnf
Various .my.cnf configurations
Local tcp connection ✔
Local tcp connection on non-default port ✔
Socket connection ✔
Socket connection ignoring defined host ✔
Remote connection ✔
Missed user ✔
Missed password ✔
No [client] section ✔
Invalid config ✔
9 total assertions
--- PASS: TestParseMycnf (0.00s)
=== RUN TestBin
=== RUN TestBin/mysqld_exporter
=== RUN TestBin/mysqld_exporter/github.com/prometheus/mysqld_exporter.testLandingPage
=== PAUSE TestBin/mysqld_exporter/github.com/prometheus/mysqld_exporter.testLandingPage
=== CONT TestBin/mysqld_exporter/github.com/prometheus/mysqld_exporter.testLandingPage
--- PASS: TestBin (4.19s)
--- PASS: TestBin/mysqld_exporter (0.00s)
--- PASS: TestBin/mysqld_exporter/github.com/prometheus/mysqld_exporter.testLandingPage (1.00s)
PASS
ok github.com/prometheus/mysqld_exporter 4.204s
FAIL github.com/prometheus/mysqld_exporter/collector [build failed]
dh_auto_test: cd obj-i686-linux-gnu && go test -vet=off -v -p 4 github.com/prometheus/mysqld_exporter github.com/prometheus/mysqld_exporter/collector returned exit code 2
debian/rules:22: recipe for target 'build-arch' failed
make: *** [build-arch] Error 2
More information about the Pkg-go-maintainers
mailing list