Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1409483 - Enable Flannel build for s390x in rawhide
Summary: Enable Flannel build for s390x in rawhide
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: flannel
Version: rawhide
Hardware: s390x
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Chaloupka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1404679
Blocks: ZedoraTracker
TreeView+ depends on / blocked
 
Reported: 2017-01-02 08:30 UTC by Sinny Kumari
Modified: 2017-01-20 18:22 UTC (History)
9 users (show)

Fixed In Version: flannel-0.6.2-2.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-20 18:22:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
flannel build on s390x (5.70 KB, application/mbox)
2017-01-02 08:30 UTC, Sinny Kumari
no flags Details


Links
System ID Private Priority Status Summary Last Updated
IBM Linux Technology Center 150171 0 None None None 2017-01-03 17:12:07 UTC

Description Sinny Kumari 2017-01-02 08:30:55 UTC
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

Comment 1 Jan Chaloupka 2017-01-03 15:16:15 UTC
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.

Comment 2 Dan Horák 2017-01-03 16:05:52 UTC
proper koji build is blocked by the golang bug #1404679 blocking golang-github-vishvananda-netlink build on s390x

Comment 3 IBM Bug Proxy 2017-01-03 21:59:43 UTC
------- Comment From chavez.com 2017-01-03 13:19 EDT-------
.

Comment 4 Dan Horák 2017-01-20 18:22:01 UTC
We have got a workaround into golang-1.7.4-2.fc26 and flannel can be built.


Note You need to log in before you can comment on or make changes to this bug.