Bug 1396181 - bodhi does not build in EPEL 7 due to missing python-cffi >= 1.4.1
Summary: bodhi does not build in EPEL 7 due to missing python-cffi >= 1.4.1
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: bodhi
Version: epel7
Hardware: All
OS: Linux
urgent
high
Target Milestone: ---
Assignee: Randy Barlow
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1306718
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-17 17:04 UTC by Randy Barlow
Modified: 2018-04-11 10:13 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-17 19:43:10 UTC
Type: Bug


Attachments (Terms of Use)

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!


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