Bug#945445: lldb-8: incorrect python path output by "lldb-8 -P"

Ximin Luo infinity0 at debian.org
Sun Nov 24 23:53:38 GMT 2019


Package: lldb-8
Version: 1:8.0.1-4
Severity: normal

Dear Maintainer,

lldb -P is supposed to print the path to the python lldb module. This does not work
in Debian, the path was not overridden correctly in the packaging:

$ lldb-8 -P
/usr/lib/x86_64-linux-gnu/python3.7/site-packages
$ ls -la $(lldb-8 -P)
ls: cannot access '/usr/lib/x86_64-linux-gnu/python3.7/site-packages': No such file or directory
exit code 2
$ dpkg -L python3-lldb-8
[..]
/usr/lib/llvm-8/lib/python3.7/site-packages/lldb
[..]

The fix is to override "lldb-8 -P" so it outputs /usr/lib/llvm-8/lib/python3.7/site-packages

This will make it easier to package rust-lldb as well.

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable'), (300, 'unstable'), (100, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lldb-8 depends on:
ii  libc6          2.29-3
ii  libedit2       3.1-20191025-1
ii  libgcc1        1:9.2.1-19
ii  liblldb-8      1:8.0.1-4
ii  libllvm8       1:8.0.1-4
ii  libncurses6    6.1+20191019-1
ii  libpython3.7   3.7.5-2
ii  libstdc++6     9.2.1-19
ii  libtinfo6      6.1+20191019-1
ii  llvm-8-dev     1:8.0.1-4
ii  python-lldb-8  1:8.0.1-3+b1

lldb-8 recommends no packages.

lldb-8 suggests no packages.

-- no debconf information



More information about the Pkg-llvm-team mailing list