Bug 1504009
Summary: | undefined reference to `python_function__return_semaphore' with latest systemtap 3.2 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Charalampos Stratakis <cstratak> |
Component: | systemtap | Assignee: | Frank Ch. Eigler <fche> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | brolley, dsmith, fche, ishcherb, jistone, lberk, mjw, scox, wcohen |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | systemtap-3.2-2.fc26 systemtap-3.2-2.fc25 systemtap-3.2-2.fc27 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-11-01 00:06:28 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: |
Description
Charalampos Stratakis
2017-10-19 09:47:14 UTC
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. |