golang-github-vishvananda-netlink fails to build on s390x and ppc64 s390x: Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.5n57PX + umask 022 + cd /builddir/build/BUILD + cd netlink-1e2e08e8a2dcdacaae3f14ac44c5cfa31361f270 + export GOPATH=/builddir/build/BUILDROOT/golang-github-vishvananda-netlink-0-0.8.git1e2e08e.fc25.s390x//usr/share/gocode:/usr/share/gocode + GOPATH=/builddir/build/BUILDROOT/golang-github-vishvananda-netlink-0-0.8.git1e2e08e.fc25.s390x//usr/share/gocode:/usr/share/gocode + gotest github.com/vishvananda/netlink/nl + go test github.com/vishvananda/netlink/nl # github.com/vishvananda/netlink/nl ../../BUILDROOT/golang-github-vishvananda-netlink-0-0.8.git1e2e08e.fc25.s390x/usr/share/gocode/src/github.com/vishvananda/netlink/nl/nl_linux_test.go:34: msg.X__ifi_pad undefined (type *IfInfomsg has no field or method X__ifi_pad) FAIL github.com/vishvananda/netlink/nl [build failed] error: Bad exit status from /var/tmp/rpm-tmp.5n57PX (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.5n57PX (%check) Child return code was: 1 EXCEPTION: [Error()] ppc64: Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.NZ3Hn3 + umask 022 + cd /builddir/build/BUILD + cd netlink-1e2e08e8a2dcdacaae3f14ac44c5cfa31361f270 + export GOPATH=/builddir/build/BUILDROOT/golang-github-vishvananda-netlink-0-0.8.git1e2e08e.fc25.ppc64//usr/share/gocode:/usr/share/gocode + GOPATH=/builddir/build/BUILDROOT/golang-github-vishvananda-netlink-0-0.8.git1e2e08e.fc25.ppc64//usr/share/gocode:/usr/share/gocode + gotest github.com/vishvananda/netlink/nl + go test github.com/vishvananda/netlink/nl --- FAIL: TestXfrmAlgoDeserializeSerialize (0.00s) panic: runtime error: slice bounds out of range [recovered] panic: runtime error: slice bounds out of range goroutine 21 [running]: panic(0x161980, 0xc42000a120) /usr/lib/golang/src/runtime/panic.go:500 +0x3a8 testing.tRunner.func1(0xc42008cd80) /usr/lib/golang/src/testing/testing.go:579 +0x184 panic(0x161980, 0xc42000a120) /usr/lib/golang/src/runtime/panic.go:458 +0x4cc github.com/vishvananda/netlink/nl.deserializeXfrmAlgoSafe(0xc42001a0e0, 0x64, 0x64, 0x64) /builddir/build/BUILDROOT/golang-github-vishvananda-netlink-0-0.8.git1e2e08e.fc25.ppc64/usr/share/gocode/src/github.com/vishvananda/netlink/nl/xfrm_state_linux_test.go:125 +0x35c github.com/vishvananda/netlink/nl.TestXfrmAlgoDeserializeSerialize(0xc42008cd80) /builddir/build/BUILDROOT/golang-github-vishvananda-netlink-0-0.8.git1e2e08e.fc25.ppc64/usr/share/gocode/src/github.com/vishvananda/netlink/nl/xfrm_state_linux_test.go:138 +0x120 testing.tRunner(0xc42008cd80, 0x19ac38) /usr/lib/golang/src/testing/testing.go:610 +0xd8 created by testing.(*T).Run /usr/lib/golang/src/testing/testing.go:646 +0x370 FAIL github.com/vishvananda/netlink/nl 0.012s error: Bad exit status from /var/tmp/rpm-tmp.NZ3Hn3 (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.NZ3Hn3 (%check) Child return code was: 1 EXCEPTION: [Error()] Version-Release number of selected component (if applicable): golang-github-vishvananda-netlink-0-0.8.git1e2e08e.fc25
links to recent koji builds: http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=2411125 http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=3883506
PPC fails seems to me as possible assumed endianity in tests(or elsewhere in code), but I just took really quick glanced on the code.
golang-github-vishvananda-netlink-0-0.10.gite73bad4.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-1091577904
golang-github-vishvananda-netlink-0-0.10.gite73bad4.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-7721b4bc95
Thanks for the update, unfortunately the s390x issue is still present in the latest package. Can't be a dependency lacking s390 support?
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ukwE3x + umask 022 + cd /home/sharkcz/golang-github-vishvananda-netlink + cd netlink-e73bad418fd727ed3a02830b1af1ad0283a1de6c + export GOPATH=/home/sharkcz/rpmbuild/BUILDROOT/golang-github-vishvananda-netlink-0-0.10.gite73bad4.fc26.s390x//usr/share/gocode:/usr/share/gocode + GOPATH=/home/sharkcz/rpmbuild/BUILDROOT/golang-github-vishvananda-netlink-0-0.10.gite73bad4.fc26.s390x//usr/share/gocode:/usr/share/gocode + gotest github.com/vishvananda/netlink/nl + go test github.com/vishvananda/netlink/nl # github.com/vishvananda/netlink/nl ../../rpmbuild/BUILDROOT/golang-github-vishvananda-netlink-0-0.10.gite73bad4.fc26.s390x/usr/share/gocode/src/github.com/vishvananda/netlink/nl/nl_linux_test.go:34: msg.X__ifi_pad undefined (type *IfInfomsg has no field or method X__ifi_pad) FAIL github.com/vishvananda/netlink/nl [build failed] error: Bad exit status from /var/tmp/rpm-tmp.ukwE3x (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.ukwE3x (%check) Could not execute local: Non zero exit
Looks as a bug in https://golang.org/src/syscall/ztypes_linux_s390x.go type IfInfomsg struct { Family uint8 _ uint8 Type uint16 Index int32 Flags uint32 Change uint32 } while https://golang.org/src/syscall/ztypes_linux_ppc64.go contains type IfInfomsg struct { Family uint8 X__ifi_pad uint8 Type uint16 Index int32 Flags uint32 Change uint32 }
The corresponding kernel structure is defined in include/uapi/linux/rtnetlink.h as struct ifinfomsg { unsigned char ifi_family; unsigned char __ifi_pad; unsigned short ifi_type; /* ARPHRD_* */ int ifi_index; /* Link index */ unsigned ifi_flags; /* IFF_* flags */ unsigned ifi_change; /* IFF_* change mask */ };
golang-github-vishvananda-netlink-0-0.11.gite73bad4.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-fb0d06d7e7
golang-github-vishvananda-netlink-0-0.11.gite73bad4.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-a3d662dafd
golang-github-vishvananda-netlink-0-0.11.gite73bad4.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-ec8568474f
golang-github-vishvananda-netlink-0-0.11.gite73bad4.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-22579f80fd
golang-github-vishvananda-netlink-0-0.11.gite73bad4.el6 has been pushed to the Fedora EPEL 6 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-EPEL-2016-fb0d06d7e7
golang-github-vishvananda-netlink-0-0.11.gite73bad4.el7 has been pushed to the Fedora EPEL 7 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-EPEL-2016-ec8568474f
golang-github-vishvananda-netlink-0-0.11.gite73bad4.fc24 has been pushed to the Fedora 24 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-2016-22579f80fd
golang-github-vishvananda-netlink-0-0.11.gite73bad4.fc25 has been pushed to the Fedora 25 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-2016-a3d662dafd
https://github.com/vishvananda/netlink/commit/a1d6c19f199e20aba37d4322b5d7bf85dc14fae3 fixes the root cause of the s390x issue and will allow to drop the workaround from golang (or sys)
golang-github-vishvananda-netlink-0-0.11.gite73bad4.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
golang-github-vishvananda-netlink-0-0.11.gite73bad4.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
golang-github-vishvananda-netlink-0-0.11.gite73bad4.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
golang-github-vishvananda-netlink-0-0.15.gitf5a6f69.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-2a5235eb65
golang-github-vishvananda-netlink-0-0.15.gitf5a6f69.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-22cc794662
golang-github-vishvananda-netlink-0-0.15.gitf5a6f69.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-a6febde27f
golang-github-vishvananda-netlink-0-0.15.gitf5a6f69.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-22cc794662
golang-github-vishvananda-netlink-0-0.15.gitf5a6f69.fc25 has been pushed to the Fedora 25 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-a6febde27f
golang-github-vishvananda-netlink-0-0.15.gitf5a6f69.el6 has been pushed to the Fedora EPEL 6 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-EPEL-2017-2a5235eb65
This message is a reminder that Fedora 25 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 25. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '25'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 25 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.