Bug#877541: [pkg-go] Bug#877541: prometheus FTBFS on i386: FAIL github.com/prometheus/prometheus/storage/local [build failed]

2017-10-26 Thread Martín Ferrari
Upstream has already provided a patch, and I can confirm it solves the issue: diff --git a/src/cmd/compile/internal/x86/387.go b/src/cmd/compile/internal/x86/387.go index cdac000..7a36224 100644 --- a/src/cmd/compile/internal/x86/387.go +++ b/src/cmd/compile/internal/x86/387.go @@ -46,6 +46,9 @@

Bug#877541: [pkg-go] Bug#877541: prometheus FTBFS on i386: FAIL github.com/prometheus/prometheus/storage/local [build failed]

2017-10-24 Thread Martín Ferrari
forwarded 877541 https://github.com/golang/go/issues/22429 thanks I have opened an issue in upstream's tracker: https://github.com/golang/go/issues/22429 -- Martín Ferrari (Tincho)

Bug#877541: [pkg-go] Bug#877541: prometheus FTBFS on i386: FAIL github.com/prometheus/prometheus/storage/local [build failed]

2017-10-24 Thread Martín Ferrari
If I disable optimizations (-N option for go tool compile), the error disappears. I think this confirms it is a compiler bug. $ GOPATH=$PWD/build go test -c -v -gcflags=-N github.com/prometheus/prometheus/storage/local $ GOPATH=$PWD/build go test -c -v

Bug#877541: [pkg-go] Bug#877541: prometheus FTBFS on i386: FAIL github.com/prometheus/prometheus/storage/local [build failed]

2017-10-24 Thread Martín Ferrari
reassign 877541 golang-1.9 retitle 877541 golang-1.9: Invalid instruction error in i386 thanks This seems to be an issue with go 1.9, this error is not reproducible with other versions of go: $ /usr/lib/go-1.7/bin/go test -c -v github.com/prometheus/prometheus/storage/local $