https://bugzilla.redhat.com/show_bug.cgi?id=1342146
Bug ID: 1342146 Summary: flannel build failed on secondary arch ppc64le Product: Fedora Version: 24 Component: flannel Assignee: jchaloup@redhat.com Reporter: menantea@linux.vnet.ibm.com QA Contact: extras-qa@fedoraproject.org CC: eparis@redhat.com, golang@lists.fedoraproject.org, jchaloup@redhat.com, linville@redhat.com, nhorman@redhat.com, vbatts@redhat.com
I am trying to build flannel-0.5.5-5 on a secondary ppc64le arch but I got following problem:
# github.com/coreos/flannel/backend/awsvpc src/github.com/coreos/flannel/backend/awsvpc/awsvpc.go:97: cannot use aws.Config literal (type *aws.Config) as type "github.com/aws/aws-sdk-go/aws/client".ConfigProvider in argument to ec2.New: *aws.Config does not implement "github.com/aws/aws-sdk-go/aws/client".ConfigProvider (missing ClientConfig method)
I am using a f24 build machine with golang-1.6.2-1.fc24 and golang-github-aws-aws-sdk-go-devel-1.1.3-1.fc24
https://bugzilla.redhat.com/show_bug.cgi?id=1342146
--- Comment #1 from Jan Chaloupka jchaloup@redhat.com --- Most likely, flannel needs to be patched. I have recently updated golang-github-aws-aws-sdk-go-devel package to newer version. Which is not backward compatible. Meantime, you can scratch build from bundled deps.
https://bugzilla.redhat.com/show_bug.cgi?id=1342146
Dan HorĂ¡k dan@danny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dan@danny.cz Blocks| |1071880 (PPCTracker)
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1071880 [Bug 1071880] (PPCTracker) Fedora for PowerPC architectures (ppc64,ppc64le): Bug Tracker
https://bugzilla.redhat.com/show_bug.cgi?id=1342146
Jan Chaloupka jchaloup@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |menantea@linux.vnet.ibm.com Flags| |needinfo?(menantea@linux.vn | |et.ibm.com)
--- Comment #2 from Jan Chaloupka jchaloup@redhat.com --- I have patch flannel based on aws commit [1]. At the same time rawhide has etcd3 instead of etcd2 which changes its API as well [2].
Menanteau, can you test [3] build if it works? I have pushed the changes into master dist-git. In order to build it for f24, comment out application of patch3 in %prep section. Currently, ppc64-koji seems to be broken.
I have not tested if flannel actually works. I have just patch the code based on the notes from both [1] and [2] commits.
[1] https://github.com/aws/aws-sdk-go/commit/1a69d069352edadd48f12b0f2c5f375de4a... [2] https://github.com/coreos/etcd/commit/9673eb625a4c33faa17cb7129e60930b3c1f64...
[3] http://koji.fedoraproject.org/koji/taskinfo?taskID=14363686
https://bugzilla.redhat.com/show_bug.cgi?id=1342146
Menanteau Guy menantea@linux.vnet.ibm.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(menantea@linux.vn | |et.ibm.com) |
--- Comment #3 from Menanteau Guy menantea@linux.vnet.ibm.com --- I built locally flannel-0.5-6 got from http://koji.fedoraproject.org/koji/taskinfo?taskID=14363686 with the patch 3 commanted and it built ok
note that I was able to do a "koji build --scratch" on secondary http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=3431876
https://bugzilla.redhat.com/show_bug.cgi?id=1342146
--- Comment #4 from Jan Chaloupka jchaloup@redhat.com --- Does the flannel work for you? Do you have a set of tests (or use cases) you could run the flannel on to see if it works for you?
https://bugzilla.redhat.com/show_bug.cgi?id=1342146
--- Comment #5 from Menanteau Guy menantea@linux.vnet.ibm.com --- I didn't test it functionally, I don't have any set of tests to run.
https://bugzilla.redhat.com/show_bug.cgi?id=1342146
--- Comment #6 from Fedora Update System updates@fedoraproject.org --- flannel-0.5.5-6.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-712bd8400b
https://bugzilla.redhat.com/show_bug.cgi?id=1342146
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED
https://bugzilla.redhat.com/show_bug.cgi?id=1342146
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #7 from Fedora Update System updates@fedoraproject.org --- flannel-0.5.5-6.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-712bd8400b
golang@lists.fedoraproject.org