'lldb-6.0 --python-path' reports wrong path
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
llvm-toolchain-6.0 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
LLDB supports an option (-P or --python-path) to report where its corresponding python library is installed, described thus in the man page:
-P
Prints out the path to the lldb.py file for this version of lldb.
However, it does not report the correct path on Ubuntu 18.04 / lldb-6.0 (1:6.0-1ubuntu2). Note that I have python-lldb-6.0 installed, so I believe this option should (TM) work:
What I tried:
$ lldb-6.0 -P
/usr/
$ stat `lldb-6.0 -P`
stat: cannot stat '/usr/lib/
What I expected:
python-lldb-6.0 symlinks 'lldb' in dist-packages to the correct directory, so I was expecting `lldb-6.0 -P` to report that path:
$ lldb-6.0 -P
/usr/
$ stat `lldb-6.0 -P`/lldb
File: /usr/lib/
[Extra cruft]
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: lldb-6.0 1:6.0-1ubuntu2
ProcVersionSign
Uname: Linux 4.15.0-20-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Jun 11 11:46:13 2018
InstallationDate: Installed on 2018-04-26 (46 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180425.1)
SourcePackage: llvm-toolchain-6.0
UpgradeStatus: No upgrade log present (probably fresh install)
You should report this bug on the Debian side as the work is happening there.