Description of problem: python-2.7.1-8.fc16 fails to build on PPC, error messages are: ./libpython2.7_d.so: undefined reference to `python_function__return_semaphore' ./libpython2.7_d.so: undefined reference to `python_function__entry_semaphore' The full logs are available at http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=230340 Version-Release number of selected component (if applicable): python-2.7.1-8.fc16 Additional info: dmalcolm told me that the undefinded references refer to systemtap static probes, adding the systemtap maintainer to CC:
fails on both primary arches also http://koji.fedoraproject.org/koji/taskinfo?taskID=3117284
There is a configure check that is erroneously determining that it is building on an apple platform. If this fails then it assumes apple: dtrace -G -o /dev/null -s ../../Include/pydtrace.d
Looks like Stan committed this to systemap to try to fix this: http://pkgs.fedoraproject.org/gitweb/?p=systemtap.git;a=commit;h=997a62b0ad4e2a186b9034fd7bf1d4d1a2847a0d
Reopening; it just failed for me on this build: http://koji.fedoraproject.org/koji/buildinfo?buildID=247609 of: python-2.7.2-1.fc16 Looking in: http://koji.fedoraproject.org/koji/getfile?taskID=3128800&name=build.log I see: ./libpython2.7_d.so: undefined reference to `python_function__return_semaphore' ./libpython2.7_d.so: undefined reference to `python_function__entry_semaphore' But within: http://koji.fedoraproject.org/koji/getfile?taskID=3128800&name=root.log I see: systemtap-sdt-devel-1.5-3.fc16.i686 was installed. Having said that, "systemtap" itself doesn't seem to appear in that log. (Do I need to explicitly add that as a BuildRequire also, or am I misreading this?)
systemtap-1.5-4 should resolve this. There was another issue in addition to the #3 issue. The python Makefile defined: CC=gcc -ptrace, and the dtrace script wasn't prepared to handle that.
I can confirm the fix : I just successfully built python-2.7.2-3.fc16 in rawhide, using: systemtap-sdt-devel-1.5-4.fc16 This was: http://koji.fedoraproject.org/koji/taskinfo?taskID=3153473 Thanks!
This appears to be affecting F14/Python 2.7.0 as well. I'm trying to help with the miro move from Fedora to RPM Fusion due to the new ffmpeg requirement and it's running into a build problem that doesn't occur in F15. I tried building Python 2.7.1 for F14 and the build is failing with the exact same error. Will Python 2.7.{1,2} make it into F14 (along with systemtap)?