Bug 1225487

Summary: python-cassandra-driver FTBFS on BE arches
Product: [Fedora] Fedora Reporter: Jakub Čajka <jcajka>
Component: python-cassandra-driverAssignee: Lubomir Rintel <lkundrak>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: filip, lkundrak
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-27 19:40:02 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 467765, 1071880    
Attachments:
Description Flags
proposed fix none

Description Jakub Čajka 2015-05-27 13:25:09 UTC
Created attachment 1030563 [details]
proposed fix

python-cassandra-driver fails to build on 64-bit BE arches due to chmod-ing not existing files. And on 32-bit BE arch(s390) build fails due mv having SOURCE == DESTINATION, as 32-bit systems have %{python2_sitelib} == %{python2_sitearch} (according to actual result and https://fedoraproject.org/wiki/Packaging:Python)

Failed builds:

http://s390.koji.fedoraproject.org/koji/buildinfo?buildID=287989
http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=2510375 (scratch build, as regular shadow build seems failed due to broken perl deps
http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=2485340 )

In attachment is patch witch should resolve both issues. Package seems to build fine with patch on all arches:
http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=3009725
http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=2510330
http://koji.fedoraproject.org/koji/taskinfo?taskID=9855402
http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=1806666

Comment 1 Lubomir Rintel 2015-05-27 19:40:02 UTC
Applied to master -- thank you!

Feel free to merge into other branches if you wish. If you don't have permissions, please just reopen the bug.