Bug 563541

Summary: python-2.6.4-18.fc13 fails to build on ppc/ppc64
Product: [Fedora] Fedora Reporter: Josh Boyer <jwboyer>
Component: pythonAssignee: Dave Malcolm <dmalcolm>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dmalcolm, ivazqueznet, james.antill, jonathansteffan, mjw
Target Milestone: ---   
Target Release: ---   
Hardware: powerpc   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-11 21:48:43 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: 545179, 569695    
Attachments:
Description Flags
python-2.6.4-18.fc13 build log none

Description Josh Boyer 2010-02-10 14:48:29 UTC
Created attachment 390016 [details]
python-2.6.4-18.fc13 build log

Description of problem:

The dtrace patch that was added doesn't seem to have anything for the ppc/ppc64 architectures in it, so the build fails with a #error unknown architecture.

I'm surprised it has sparc, but not ppc/ppc64.  The full build log is attached.

Comment 1 Mark Wielaard 2010-02-10 18:52:01 UTC
Ah right, that is from phelper.d which is not useful to systemtap (only to dtrace). I'll suggest a patch that excludes it.

dtrace only works on x86 and sparc, which is why that file doesn't have any other alternatives.

Comment 2 Dave Malcolm 2010-02-10 23:36:44 UTC
(In reply to comment #1)
> Ah right, that is from phelper.d which is not useful to systemtap (only to
> dtrace). I'll suggest a patch that excludes it.
> 
> dtrace only works on x86 and sparc, which is why that file doesn't have any
> other alternatives.    
Mark went ahead and did this (see bug 545179); the new patch (attachment 390110 [details]) has no arch-specific code (other than a few sparc-specific "nop" hooks).

I've committed the new patch to dist-cvs; tagged as:
python-2_6_4-19_fc13 and built into dist-f13 :
http://koji.fedoraproject.org/koji/buildinfo?buildID=155535

I've verified the feature still works on an i686 box (see https://bugzilla.redhat.com/show_bug.cgi?id=545179#c16 for a way of testing this; would be nice to verify that the feature works on ppc builds also).


Hopefully this should now fix the ppc/ppc64 builds; marking this bug as MODIFIED.

Comment 3 Josh Boyer 2010-02-11 21:48:43 UTC
-19 does indeed build again on ppc/ppc64.  Thanks for the quick response, I very much appreciate it.