Bug 835978

Summary: rpm missing %{power64} macro in rawhide
Product: [Fedora] Fedora Reporter: David Aquilina <dwa>
Component: rpmAssignee: Fedora Packaging Toolset Team <packaging-team>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: urgent    
Version: rawhideCC: ffesti, flanagan, jnovy, packaging-team, pknirsch, pmatilai
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-28 07:41:07 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: 834619    

Description David Aquilina 2012-06-27 17:57:28 UTC
Description of problem:

F17's rpm added a %{power64} architecture macro to help support a new ppc64 subarchitecture coming in F18, and the specfiles for packages which will be built for that new subarchitecture (ppc64p7) have begun to be updated to replace any instance of 'ppc64' with '%{power64}'. 

However, while rpm-4.9.1.3-6.fc17 contains the %{power64} macro, rpm-4.10.0-1.fc18 does not and it is causing build failures on power.
 
Version-Release number of selected component (if applicable):

rpm-4.10.0-1.fc18

I'm guessing that the macro never got added to upstream RPM, and so when rpm in fedora rebased we regressed. We should also verify that the rest of ppc64p7 support made it into upstream rpm.

Comment 1 Panu Matilainen 2012-06-28 07:41:07 UTC
Yup... there were two pieces missing from upstream (as they only had been applied to f17 branch here) and consequently f18 rpm:
- the power64 macro
- fix for 32bit ppc detection that got broken by the added ppc64p7 detection

Both applied upstream now, and added as a patch to rpm-4.10.0-4.fc18. Oh and BTW, thanks for filing this bug as a reminder :)