Description of problem: The golang-github-cznic-mathutil package fails its test-suite with golang 1.8, but passes with golang 1.7. For koji builds see https://s390.koji.fedoraproject.org/koji/packageinfo?packageID=23503 Version-Release number of selected component (if applicable): golang-1.8-2.fc26 golang-github-cznic-mathutil-0-0.2.git1447ad2.fc27 How reproducible: 100% Steps to Reproduce: 1. fedpkg local Actual results: Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.o5kbGD + umask 022 + cd /builddir/build/BUILD + cd mathutil-1447ad269d64ca91aa8d7079baa40b6fc8b965e7 + export GOPATH=/builddir/build/BUILDROOT/golang-github-cznic-mathutil-0-0.2.git1447ad2.fc27.s390x//usr/share/gocode:/usr/share/gocode + GOPATH=/builddir/build/BUILDROOT/golang-github-cznic-mathutil-0-0.2.git1447ad2.fc27.s390x//usr/share/gocode:/usr/share/gocode + go test -compiler gc -ldflags '' github.com/cznic/mathutil -timeout 30m --- FAIL: TestNextPrimeUint64 (0.00s) all_test.go:656: 1999999999999999999 FAIL FAIL github.com/cznic/mathutil 47.705s RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.o5kbGD (%check) Unknown option t in gotest() Bad exit status from /var/tmp/rpm-tmp.o5kbGD (%check) Expected results: %check passes as it does on F<=25 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.9qks53 + /usr/lib/rpm/redhat/brp-java-repack-jars + umask 022 + cd /builddir/build/BUILD + cd mathutil-1447ad269d64ca91aa8d7079baa40b6fc8b965e7 + export GOPATH=/builddir/build/BUILDROOT/golang-github-cznic-mathutil-0-0.2.git1447ad2.fc25.s390x//usr/share/gocode:/usr/share/gocode + GOPATH=/builddir/build/BUILDROOT/golang-github-cznic-mathutil-0-0.2.git1447ad2.fc25.s390x//usr/share/gocode:/usr/share/gocode + go test -compiler gc -ldflags '' github.com/cznic/mathutil -timeout 30m ok github.com/cznic/mathutil 96.800s + exit 0 Additional info:
Created attachment 1271163 [details] Reduced reproducer
Probably golang compiler bug opened upstream issue https://github.com/golang/go/issues/19940. Also most probably same issues as in BZ#1434337.
*** Bug 1434337 has been marked as a duplicate of this bug. ***
Upstream CL https://go-review.googlesource.com/c/40433/
golang-1.8.1-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-e6ec8b8162
golang-1.8.1-2.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-e6ec8b8162
golang-1.8.1-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.