Created attachment 1236551 [details] flannel build on s390x It will be nice to enable Flannel package build for s390x in Fedora, rawhide. Additional Information --------------------- Building flannel package in s390-koji from Fedora dist-git repo, rawhide branch fails to build due to TestIP4Net test failure [1]. Meanwhile, IBM has made some changes with its fixes in their forked repositories of flannel at github [2]. I applied fixes from last two commits from their master branch with commit id cf05c83 and c254dea into flannel dist-git repository and built it in koji. With applied changes, it builds and installs successfully on s390x [3] as well as on primary arches [4]. Till the time, fixes made by IBM gets merged into flannel official repository and made available in next release, it will be nice to have those fixes available in flannel dist-git. I have also attached in this bugzilla attachment patch with diff, which can be applied directly in Flannel dist-git repo to enable build for s390x, rawhide. [1] https://s390.koji.fedoraproject.org/kojifiles/work/tasks/4289/2434289/build.log [2] https://github.com/linux-on-ibm-z/flannel/commits/master [3] https://s390.koji.fedoraproject.org/koji/taskinfo?taskID=2436952 [4] https://koji.fedoraproject.org/koji/taskinfo?taskID=17143893
Patching: http://pkgs.fedoraproject.org/cgit/rpms/flannel.git/commit/?id=1146f84edf335843fb38312b4c6ef13c63c3ed9f Scratch build for s390x successful: https://s390.koji.fedoraproject.org/koji/taskinfo?taskID=2438198 Just need to be ported to s390x koji as well.
proper koji build is blocked by the golang bug #1404679 blocking golang-github-vishvananda-netlink build on s390x
------- Comment From chavez.com 2017-01-03 13:19 EDT------- .
We have got a workaround into golang-1.7.4-2.fc26 and flannel can be built.