Building python2 in rawhide (and I presume also for the rest of Fedora branches when updates reach stable), is failing with the latest systemtap with this error: ./libpython2.7_d.so: undefined reference to `python_function__return_semaphore' ./libpython2.7_d.so: undefined reference to `python_function__entry_semaphore' Full log: https://kojipkgs.fedoraproject.org//work/tasks/3236/22543236/build.log The issue seems to be similar to bug 711427 however in the current case it seems to affect all the archs.
Managed to bisect the issue down to that commit [0]. The patch that adds systemtap support for python2: [1] The problem seems to be that the command 'dtrace -G -o /dev/null -s $srcdir/Include/pydtrace.d 2>/dev/null' is not successful. [0] https://sourceware.org/git/gitweb.cgi?p=systemtap.git;a=commit;h=c245153ca193c471a8c8a2650834dc2f0b801bc1 [1] https://src.fedoraproject.org/rpms/python2/blob/master/f/00055-systemtap.patch
Ah interesting. The main effect of that patch to put the temporary file into the invoking directory rather than under /tmp. ... and since the new file name is -fixed-, two concurrent copies of dtrace -G could fight over it. Bummer. We can't seem to reproduce the failure on this side yet. Maybe it'd help if the python2 configure took out the 2>/dev/null bit, so as to see errors again.
If you redirect the error to a file, e.g: > if dtrace -G -o /dev/null -s $srcdir/Include/pydtrace.d 2>filename1.txt then you can see the error: Traceback (most recent call last): File "/usr/bin/dtrace", line 441, in <module> sys.exit(main()) File "/usr/bin/dtrace", line 414, in main fdesc = open(fname, mode='w') PermissionError: [Errno 13] Permission denied: '/dev/null.dtrace-temp.c'
That does explain it fully, thanks Iryna.
systemtap-3.2-2.fc28 incoming Will backport fix to the newer fedora respins too.
Thanks a lot Frank for addressing this!
systemtap-3.2-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-01f2973345
systemtap-3.2-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-dce5fba9d7
systemtap-3.2-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-d565a535ec
systemtap-3.2-2.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-d565a535ec
systemtap-3.2-2.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-dce5fba9d7
systemtap-3.2-2.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-01f2973345
systemtap-3.2-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.
systemtap-3.2-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
systemtap-3.2-2.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.