Package: rust-cranelift
Version: 21.0.2+dfsg-1

I am currently looking at updating rust-backtrace and related packages
to the latest version, backtrace itself is not semver-breaking but
a number of it's dependencies are.

backtrace 0.3.69 -> 0.3.74
addr2line 0.21.4 -> 0.24.2
object 0.32.3 -> 0.36.5
gimli 0.28.1 -> 0.31.1
ruzstd 0.5.0 -> 0.7.3

After patching the Debian and Cargo dependencies on gimli I was
able to build the package succesfully.

There is also mention of addr2line and object in the top level
Cargo.toml, but neither seems to be used in the current packaging.
I did update the object dependency since there was already a
patch for it, I haven't touched the addr2line one.

The debdiff I used for testing is attached.
diff -Nru rust-wasmtime-21.0.2+dfsg/debian/changelog 
rust-wasmtime-21.0.2+dfsg/debian/changelog
--- rust-wasmtime-21.0.2+dfsg/debian/changelog  2024-11-16 22:20:06.000000000 
+0000
+++ rust-wasmtime-21.0.2+dfsg/debian/changelog  2024-12-17 22:19:16.000000000 
+0000
@@ -1,3 +1,10 @@
+rust-wasmtime (21.0.2+dfsg-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Bump gimli and object dependencies.
+
+ -- Peter Michael Green <plugw...@debian.org>  Tue, 17 Dec 2024 22:19:16 +0000
+
 rust-wasmtime (21.0.2+dfsg-1) unstable; urgency=medium
 
   [ upstream ]
diff -Nru rust-wasmtime-21.0.2+dfsg/debian/control 
rust-wasmtime-21.0.2+dfsg/debian/control
--- rust-wasmtime-21.0.2+dfsg/debian/control    2024-11-16 22:16:05.000000000 
+0000
+++ rust-wasmtime-21.0.2+dfsg/debian/control    2024-12-17 22:19:16.000000000 
+0000
@@ -11,7 +11,7 @@
  librust-bincode-1+default-dev,
  librust-bumpalo-3+default-dev,
  librust-capstone-0.11+default-dev,
- librust-gimli-0.28+read-dev,
+ librust-gimli-0.31+read-dev,
  librust-hashbrown-0.14-dev,
  librust-log-0.4-dev,
  librust-regalloc2-0.9+checker-dev,
@@ -43,7 +43,7 @@
  librust-bumpalo-3+default-dev,
  librust-capstone-0.11+default-dev,
  librust-codespan-reporting-0.11+default-dev,
- librust-gimli-0.28+read-dev,
+ librust-gimli-0.31+read-dev,
  librust-hashbrown-0.14-dev,
  librust-log-0.4-dev,
  librust-regalloc2-0.9+checker-dev,
diff -Nru rust-wasmtime-21.0.2+dfsg/debian/patches/2001_object.patch 
rust-wasmtime-21.0.2+dfsg/debian/patches/2001_object.patch
--- rust-wasmtime-21.0.2+dfsg/debian/patches/2001_object.patch  2024-11-16 
22:16:05.000000000 +0000
+++ rust-wasmtime-21.0.2+dfsg/debian/patches/2001_object.patch  2024-12-17 
22:19:16.000000000 +0000
@@ -11,7 +11,7 @@
  # --------------------------
  cc = "1.0"
 -object = { version = "0.33", default-features = false, features = 
['read_core', 'elf'] }
-+object = { version = ">= 0.32.2, <= 0.33", default-features = false, features 
= ['read_core', 'elf'] }
++object = { version = ">= 0.32.2, <= 0.37", default-features = false, features 
= ['read_core', 'elf'] }
  gimli = { version = "0.28.0", default-features = false, features = ['read'] }
  addr2line = { version = "0.21.0", default-features = false }
  anyhow = { version = "1.0.22", default-features = false }
diff -Nru rust-wasmtime-21.0.2+dfsg/debian/patches/2003_gimli.patch 
rust-wasmtime-21.0.2+dfsg/debian/patches/2003_gimli.patch
--- rust-wasmtime-21.0.2+dfsg/debian/patches/2003_gimli.patch   1970-01-01 
00:00:00.000000000 +0000
+++ rust-wasmtime-21.0.2+dfsg/debian/patches/2003_gimli.patch   2024-12-17 
22:19:16.000000000 +0000
@@ -0,0 +1,13 @@
+Index: rust-wasmtime-21.0.2+dfsg/Cargo.toml
+===================================================================
+--- rust-wasmtime-21.0.2+dfsg.orig/Cargo.toml
++++ rust-wasmtime-21.0.2+dfsg/Cargo.toml
+@@ -223,7 +223,7 @@ wit-component = "0.207.0"
+ # --------------------------
+ cc = "1.0"
+ object = { version = ">= 0.32.2, <= 0.37", default-features = false, features 
= ['read_core', 'elf'] }
+-gimli = { version = "0.28.0", default-features = false, features = ['read'] }
++gimli = { version = "0.31.0", default-features = false, features = ['read'] }
+ addr2line = { version = "0.21.0", default-features = false }
+ anyhow = { version = "1.0.22", default-features = false }
+ windows-sys = "0.52.0"
diff -Nru rust-wasmtime-21.0.2+dfsg/debian/patches/series 
rust-wasmtime-21.0.2+dfsg/debian/patches/series
--- rust-wasmtime-21.0.2+dfsg/debian/patches/series     2024-11-16 
22:16:05.000000000 +0000
+++ rust-wasmtime-21.0.2+dfsg/debian/patches/series     2024-12-17 
22:17:41.000000000 +0000
@@ -3,3 +3,4 @@
 2001_regalloc2.patch
 2002_no_wasm.patch
 2003_no_bench.patch
+2003_gimli.patch

Reply via email to