Bug#1050049: lldb: Lldb stars with the error "ModuleNotFoundError: No module named 'lldb.embedded_interpreter'"

2024-08-31 Thread Bernhard Übelacker

On Sat, 19 Aug 2023 01:44:04 +0200 ramon  
wrote:

$ lldb
Traceback (most recent call last):
  File "", line 1, in 
ModuleNotFoundError: No module named 'lldb.embedded_interpreter'


The reason is the disagreement in paths for the python integration between lldb and the package. 
Running lldb -P, the path expected by the debugger is 
/usr/lib/local/lib/python3.11/dist-packages


But the actual path for the python files in the package python3-lldb-14 is
/usr/lib/llvm-14/lib/python3.11/dist-packages/


Hello everyone,
the package lldb (which is built from src:llvm-defaults)
seems to contain just a symbolic link, which points
to e.g. /usr/bin/lldb-14 which comes from package lldb-14.

For lldb-14 (which is built from src:llvm-toolchain-14)
is another bug reported, unfortunately which did not
receive much attention:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1016436

Kind regards,
Bernhard



Bug#1050049: lldb: Lldb stars with the error "ModuleNotFoundError: No module named 'lldb.embedded_interpreter'"

2023-08-18 Thread ramon
Package: lldb
Version: 1:14.0-55.6
Severity: important

Dear Maintainer,

After installing lldb, one runs it 

$ lldb
Traceback (most recent call last):
  File "", line 1, in 
ModuleNotFoundError: No module named 'lldb.embedded_interpreter'


The reason is the disagreement in paths for the python integration between lldb 
and the package. 
Running lldb -P, the path expected by the debugger is 
/usr/lib/local/lib/python3.11/dist-packages

But the actual path for the python files in the package python3-lldb-14 is
/usr/lib/llvm-14/lib/python3.11/dist-packages/


-- System Information:
Debian Release: 12.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-11-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: default

Versions of packages lldb depends on:
ii  lldb-14  1:14.0.6-12

lldb recommends no packages.

lldb suggests no packages.

-- no debconf information