[llvm-bugs] [Bug 44864] New: lldb -python-path (with lldb installed using apt-get install lldb-9) returns an incorrect path

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Feb 10 03:03:16 PST 2020


https://bugs.llvm.org/show_bug.cgi?id=44864

            Bug ID: 44864
           Summary: lldb -python-path (with lldb installed using apt-get
                    install lldb-9) returns an incorrect path
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: pierre.vanhoutryve at arm.com
                CC: jdevlieghere at apple.com, llvm-bugs at lists.llvm.org

Hello,

I installed LLDB using "sudo apt-get install lldb-9" and "lldb-9 -python-path"
returns an incorrect path (does not exist). It returns
"/usr/lib/x86_64-linux-gnu/python3.6/site-packages".

Because of that issue, I was unable to use DExTer
(https://github.com/SNSystems/dexter) with that build of LLDB since it relies
on the output of "lldb -P" to find LLDB's Python package.

I tried building LLDB myself to see if the issue occured, but that build
correctly returns "/home/(current user)/lldb/lib/python2.7/dist-packages". (So
after adding my "build/bin" folder to my PATH, I was able to run DExTer)

This happened on my machine running Ubuntu 18.04.3 LTS. I also think that this
happens on pretty much any version of LLDB installed using apt-get.

Kind regards,
Pierre van Houtryve

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200210/79d2e958/attachment.html>


More information about the llvm-bugs mailing list