[Pkg-rust-maintainers] Bug#841833: rust-lldb misses dependency to python-lldb-3.8 and misses pretty printer file

Lutz Reinhardt derlurtz at gmail.com
Sun Oct 23 17:00:43 UTC 2016

Package: rust-lldb
Version: 1.12.0+dfsg1-1
Severity: normal

Dear Maintainer,

when starting rust-lldb I get this error message:

(lldb) command script import "/usr/share/rust-lldb/lldb_rust_formatters.py"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
error: module importing failed: No module named lldb
  File "temp.py", line 1, in <module>
  File "/usr/share/rust-lldb/lldb_rust_formatters.py", line 11, in <module>
    import lldb

installing python-lldb-3.8 fixes the problem.

Then you will spot the next problem when starting rust-lldb:

(lldb) command script import "/usr/share/rust-lldb/lldb_rust_formatters.py"
error: module importing failed: No module named debugger_pretty_printers_common
  File "temp.py", line 1, in <module>
  File "/usr/share/rust-lldb/lldb_rust_formatters.py", line 13, in <module>
    import debugger_pretty_printers_common as rustpp

copying https://github.com/rust-lang/rust/blob/master/src/etc/debugger_pretty_printers_common.py to /usr/share/rust-lldb fixes the problem

Best regards,

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (700, 'unstable'), (600, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages rust-lldb depends on:
ii  lldb-3.8  1:3.8.1-12

rust-lldb recommends no packages.

rust-lldb suggests no packages.

-- no debconf information

More information about the Pkg-rust-maintainers mailing list