Bug 1396181

Summary: bodhi does not build in EPEL 7 due to missing python-cffi >= 1.4.1
Product: [Fedora] Fedora EPEL Reporter: Randy Barlow <randy>
Component: bodhiAssignee: Randy Barlow <randy>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: urgent    
Version: epel7CC: cheimes, itamar, lewk, mcepl, mcepl, nick, npmccallum, puiterwijk, randy, terrycwk1994
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-17 19:43:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1306718    
Bug Blocks:    

Description Randy Barlow 2016-11-17 17:04:00 UTC
Description of problem:
I've been attempting to build Bodhi in EPEL 7[0], but the koji build fails due to not being able to install python-cryptography.


Version-Release number of selected component (if applicable):
python2-cryptography-1.3.1-3.el7


How reproducible:
Every time.


Steps to Reproduce:
1. Try to install python2-cryptography on EPEL 7.


Actual results:
DEBUG util.py:421:  Error: Package: python2-cryptography-1.3.1-3.el7.ppc64 (build)
DEBUG util.py:421:             Requires: python-cffi >= 1.4.1
DEBUG util.py:421:             Available: python-cffi-0.8.6-1.el7.ppc64 (build)
DEBUG util.py:421:                 python-cffi = 0.8.6-1.el7


Expected results:
python2-cryptography should be installable.


Additional info:
EPEL 7 seems to have python-cffi-0.8.6-1[1].


[0] https://kojipkgs.fedoraproject.org//work/tasks/6646/16496646/root.log
[1] https://apps.fedoraproject.org/packages/python-cffi

Comment 1 Randy Barlow 2016-11-17 17:19:34 UTC
I've discovered something that seems pretty confusing. python-cryptography doesn't seem to be packaged for EPEL 7:

https://apps.fedoraproject.org/packages/python-cryptography

Comment 2 Patrick Uiterwijk 2016-11-17 17:38:58 UTC
This is because python-cryptrogaphy is in x86_64 RHEL7, and your build hit a ppc64 builder.
Retry until you get an x86_64 builder and it'll work.

Comment 3 Randy Barlow 2016-11-17 18:30:01 UTC
It turns out that this happens because python-cffi is in both EPEL 7 and RHEL 7, and Koji is preferring the EPEL 7 build over the RHEL 7 build.

Comment 4 Randy Barlow 2016-11-17 19:43:10 UTC
This seems to be resolved now http://koji.fedoraproject.org/koji/taskinfo?taskID=16498845 thanks to nirik!