Bug 1239331 - gdb<->eo integration isn't quite right (eo_gdb)
Summary: gdb<->eo integration isn't quite right (eo_gdb)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: efl
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-05 19:33 UTC by Conrad Meyer
Modified: 2015-07-30 00:46 UTC (History)
1 user (show)

Fixed In Version: efl-1.14.2-1.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-30 00:46:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Fixes the issue by correcting the path in %prep (15.09 KB, patch)
2015-07-05 20:08 UTC, Conrad Meyer
no flags Details | Diff

Description Conrad Meyer 2015-07-05 19:33:49 UTC
$ 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.

Comment 1 Conrad Meyer 2015-07-05 19:43:28 UTC
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 :).

Comment 2 Conrad Meyer 2015-07-05 20:08:07 UTC
Created attachment 1046337 [details]
Fixes the issue by correcting the path in %prep

Comment 3 Fedora Update System 2015-07-07 17:54:59 UTC
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

Comment 4 Fedora Update System 2015-07-08 01:45:48 UTC
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

Comment 5 Fedora Update System 2015-07-10 19:07:51 UTC
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).

Comment 6 Fedora Update System 2015-07-30 00:46:12 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.