Bug 242480

Summary: python-crypto fails to build on ppc64
Product: [Fedora] Fedora Reporter: Paul Howarth <paul>
Component: python-cryptoAssignee: Thorsten Leemhuis <fedora>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 7   
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64   
OS: Linux   
Whiteboard:
Fixed In Version: 2.0.1-7.1.fc7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-06-13 21:05:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 238953    

Description Paul Howarth 2007-06-04 14:15:46 UTC
Full build log available here:
http://people.redhat.com/notting/ppc64-rebuild/python-crypto-2.0.1-7/build.log

Problem appears to be that site-packages/Crypto/PublicKey/_fastmath.so is not
created, and this is probably due to setup.py not finding the GMP library. I
speculate (not having a ppc64 box) that the existing patch for x86_64 would also
fix ppc64 if applied.

The absence of python-crypto from the F7 ppc64 repository is causing dependency
problems for bittorrent, which requires it.

Comment 1 David Woodhouse 2007-06-04 14:26:30 UTC
Yes, that patch seems to have been the wrong way to handle it from the start.
Perhaps something like the following, instead of applying that patch:

sed -i s:/lib:/%_lib:g setup.py


Comment 2 David Woodhouse 2007-06-04 15:25:40 UTC
Committed and built in rawhide. Could probably do with a F-7 build but I'll
leave that to package maintainer, along with questions about whether to add a
disttag, etc.

Comment 3 Fedora Update System 2007-06-13 21:05:27 UTC
python-crypto-2.0.1-7.1.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.