[Pkg-rust-maintainers] Bug#1100950: rust-lldb: looks for wrong lldb executable

NoisyCoil noisycoil at tutanota.com
Thu Mar 20 20:34:20 GMT 2025


Package: rust-lldb
Version: 1.85.0+dfsg2-1
Severity: important
Tags: patch
X-Debbugs-Cc: noisycoil at tutanota.com

Dear Maintainer,

invoking rust-lldb throws an error:

```
$ rust-lldb
lldb-17 not found! Please install it.
```

This probably happens because `d/p/behaviour/d-rust-lldb-paths.patch` sets the
wrong llvm version for this release of rustc. In attachment you will find a
patch that should fix this bug.

Cheers!
-------------- next part --------------
>From 7b91f0592c11b39d433065e99cd83faa196c1bf4 Mon Sep 17 00:00:00 2001
From: NoisyCoil <noisycoil at tutanota.com>
Date: Thu, 20 Mar 2025 21:33:26 +0100
Subject: [PATCH] d/p/behaviour/d-rust-lldb-paths.patch: fix llvm version

---
 debian/patches/behaviour/d-rust-lldb-paths.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/patches/behaviour/d-rust-lldb-paths.patch b/debian/patches/behaviour/d-rust-lldb-paths.patch
index 6afe0cc19e..99b4c6bffa 100644
--- a/debian/patches/behaviour/d-rust-lldb-paths.patch
+++ b/debian/patches/behaviour/d-rust-lldb-paths.patch
@@ -23,7 +23,7 @@ index bce72f1..38e76c2 100755
  RUST_LLDB="$RUSTC_SYSROOT/lib/rustlib/$host/bin/lldb"
  
 -lldb=lldb
-+lldb=lldb-17
++lldb=lldb-19
  if [ -f "$RUST_LLDB" ]; then
      lldb="$RUST_LLDB"
  else
-- 
2.47.2



More information about the Pkg-rust-maintainers mailing list