Bug 1177143 - [Patch] _lldb.so: broken symbolic link to `../../../liblldb.so'
Summary: [Patch] _lldb.so: broken symbolic link to `../../../liblldb.so'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: llvm
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Včelák
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1181622 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-24 13:30 UTC by Sandro Mani
Modified: 2015-01-13 14:55 UTC (History)
8 users (show)

Fixed In Version: llvm-3.5.0-6.fc21
Clone Of:
Environment:
Last Closed: 2015-01-13 00:03:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch (555 bytes, patch)
2014-12-24 13:30 UTC, Sandro Mani
no flags Details | Diff

Description Sandro Mani 2014-12-24 13:30:20 UTC
Created attachment 972750 [details]
Patch

Description of problem:
%{python2_sitearch}/lldb/_lldb.so is a broken symlink to ../../../liblldb.so, which results in

$ python
>>> import lldb
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python2.7/site-packages/lldb/__init__.py", line 52, in <module>
    _lldb = swig_import_helper()
  File "/usr/lib64/python2.7/site-packages/lldb/__init__.py", line 44, in swig_import_helper
    import _lldb
ImportError: No module named _lldb


Version-Release number of selected component (if applicable):
lldb-3.5.0-5.fc22.x86_64
lldb-3.5.0-5.fc21.x86_64

How reproducible:
Always

Steps to Reproduce:
1. $ python
2. import lldb

Additional info:
Attached patch fixes this

Comment 1 Jan Včelák 2014-12-25 21:15:02 UTC
Thanks for the patch. I will submit the update soon. I have some other fix for LLDB so I will include this as well.

Comment 2 Sandro Mani 2014-12-25 22:40:58 UTC
Thanks! Could you also look at the patch in bug #1104192? It fixes, for LLVM-3.4.x (F20), this issue plus the fact that the python lldb modules actually don't even get installed.

Comment 3 Jan Včelák 2014-12-25 22:53:04 UTC
I will take a look at it. But I can't promise anything. I found some time to fix the F21 package, because the other bug (broken expression parser) makes lldb unusable for me.

Comment 4 Fedora Update System 2014-12-26 01:58:53 UTC
llvm-3.5.0-6.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/llvm-3.5.0-6.fc21

Comment 5 lnie 2014-12-26 05:22:56 UTC
llvm-3.5.0-6.fc21 works

Comment 6 Fedora Update System 2014-12-27 09:24:12 UTC
Package llvm-3.5.0-6.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing llvm-3.5.0-6.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-17633/llvm-3.5.0-6.fc21
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2015-01-13 00:03:42 UTC
llvm-3.5.0-6.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Sandro Mani 2015-01-13 14:55:23 UTC
*** Bug 1181622 has been marked as a duplicate of this bug. ***


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