Bug 1104192
| Summary: | [PATCH] [abrt] qt-creator: lldbbridge.py:73:<module>:ImportError: No module named lldb | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Lubo <lubomir.carik> | ||||||||
| Component: | llvm | Assignee: | Adam Jackson <ajax> | ||||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | unspecified | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | 20 | CC: | ajax, bos, davejohansen, dmalcolm, itamar, jreznik, jv+fedora, ltinkl, manisandro, petersen, rdieter, scottt.tw | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | x86_64 | ||||||||||
| OS: | Unspecified | ||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/8b0d40e000720d4b85f397f63d902f7edd0840ec | ||||||||||
| Whiteboard: | abrt_hash:c89510b920f6dd01913944fdbcade80c8b585a58 | ||||||||||
| Fixed In Version: | llvm-3.4-12.fc20 | Doc Type: | Bug Fix | ||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2015-01-20 21:08:07 UTC | Type: | --- | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Embargoed: | |||||||||||
| Bug Depends On: | |||||||||||
| Bug Blocks: | 1116065 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Lubo
2014-06-03 13:20:44 UTC
Created attachment 901784 [details]
File: backtrace
Created attachment 901785 [details]
File: environ
Looks like lldb on Fedora is built without the python interface. @llvm maintainer: any chance these could be built? I bet any contribution/patch to help fix the building of llvm python interface would be welcome. So lldb-%{version}/scripts/CMakeList seems to be responsible for building the python wrapper, but no cmake is ever invoked. Looks like the entire llvm needs to be built with cmake rather than via autotools? I'll try firing a build later this evening.
Building with cmake seems to work (with some lib -> lib${LIB_SUFFIX} patching) and the python wrapper is also built. Issues are that some files get installed in different locations and some files end up being called differently compared to the autotools build. Also I need to figure out all the corresponding cmake variables which correspond to the used configure options.
*** Bug 1109606 has been marked as a duplicate of this bug. *** Created attachment 909432 [details]
Patch
So actually the issues was just missing DESTDIR in a shell script which is responsible for installing the lldb python wrapper.
@ajax Could you apply the attached patch?
Simple Patch Request ==================== Patch[master]=http://smani.fedorapeople.org/patches/master/0001-Fix-python-wrapper-not-being-installed-909432.patch ScratchBuild[master]=http://koji.fedoraproject.org/koji/taskinfo?taskID=7165304 Patch[f21]=http://smani.fedorapeople.org/patches/f21/0001-Fix-python-wrapper-not-being-installed-909432.patch ScratchBuild[f21]=http://koji.fedoraproject.org/koji/taskinfo?taskID=7165323 Patch[f20]=http://smani.fedorapeople.org/patches/f20/0001-Fix-python-wrapper-not-being-installed-909432.patch ScratchBuild[f20]=http://koji.fedoraproject.org/koji/taskinfo?taskID=7165381 Submitter=smani Patch for F21 and rawhide is in #1177143 Simple Patch Request ==================== Patch[f20]=https://smani.fedorapeople.org/0001-Fix-python-wrapper-not-being-installed-909432.patch ScratchBuild[f20]=http://koji.fedoraproject.org/koji/taskinfo?taskID=8473089 Submitter=smani This seems to be very similar to #1171435 (epel7). Yes indeed, and the patch posted there is definitely better! llvm-3.4-12.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/llvm-3.4-12.fc20 Package llvm-3.4-12.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing llvm-3.4-12.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-0177/llvm-3.4-12.fc20 then log in and leave karma (feedback). llvm-3.4-12.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |