• Bug#1100950: rust-lldb: looks for wrong lldb executable

    From NoisyCoil@21:1/5 to All on Thu Mar 20 21:40:02 2025
    This is a multi-part MIME message sent by reportbug.


    Package: rust-lldb
    Version: 1.85.0+dfsg2-1
    Severity: important
    Tags: patch
    X-Debbugs-Cc: noisycoil@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!

    From 7b91f0592c11b39d433065e99cd83faa196c1bf4 Mon Sep 17 00:00:00 2001
    From: NoisyCoil <noisycoil@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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)