Bug 1239331
| Summary: | gdb<->eo integration isn't quite right (eo_gdb) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Conrad Meyer <cse.cem+redhatbugz> | ||||
| Component: | efl | Assignee: | Tom "spot" Callaway <tcallawa> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 22 | CC: | tcallawa | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | efl-1.14.2-1.fc22 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2015-07-30 00:46:12 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: | |||||||
| Attachments: |
|
||||||
This is the current contents of auto-load/libeo...py: import sys eodir = '/opt/efl-1.14.1/share/eo/gdb' if not eodir in sys.path: sys.path.insert(0, eodir) import eo_gdb Obviously, that's wrong :). Created attachment 1046337 [details]
Fixes the issue by correcting the path in %prep
efl-1.14.1-3.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/efl-1.14.1-3.fc22 efl-1.14.2-1.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/efl-1.14.2-1.fc22 Package efl-1.14.2-1.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing efl-1.14.2-1.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-11269/efl-1.14.2-1.fc22 then log in and leave karma (feedback). efl-1.14.2-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. |
$ dnf debuginfo-install terminology efl ... $ gdb --args terminology ... Using host libthread_db library "/lib64/libthread_db.so.1". Traceback (most recent call last): File "/usr/share/gdb/auto-load/usr/lib64/libeo.so.1.14.1-gdb.py", line 7, in <module> import eo_gdb ImportError: No module named 'eo_gdb' eo_gdb lives here: /usr/share/eo /usr/share/eo/gdb /usr/share/eo/gdb/eo_gdb.py /usr/share/eo/gdb/eo_gdb.pyc /usr/share/eo/gdb/eo_gdb.pyo So that path needs to be added to sys.path before importing eo_gdb in Python, or else eo_gdb.py needs to be located somewhere else so GDB will find it. I don't know anything about GDB helper script packaging policy, sorry.