Your message dated Wed, 05 Aug 2026 10:05:07 +0000
with message-id <[email protected]>
and subject line Bug#1140668: fixed in wasm-tools 1.239.0+ds-10
has caused the Debian Bug report #1140668,
regarding wasm-tools: upcoming gimli update (FTBFS against gimli 0.32 / 
backtrace stack transition)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1140668: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1140668
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: wasm-tools
Version: 1.239.0+ds-9
Severity: normal
Tags: patch

Hi,

This is a heads-up that wasm-tools will FTBFS once the backtrace stack
transition (object 0.37, gimli 0.32, addr2line 0.25, ruzstd 0.8,
backtrace 0.3.76), currently staged in experimental by Peter Green, is
rebuilt against / migrates to unstable. It is the same class of breakage
as the sibling bugs #1140646 (rust-wasmtime), #1140647 (hx) and #1140648
(rust-walrus).

wasm-tools build-depends on the unversioned librust-gimli-dev /
librust-addr2line-dev, so a plain binNMU will not be enough: its Cargo.toml
pins gimli "0.31.1" and addr2line "0.24.0", and its bundled crates/wast uses
the gimli 0.31 form of gimli::write::LineProgram::new, which changed in 0.32.

Building 1.239.0+ds-9 against the experimental stack (sbuild unstable +
the new -dev debs supplied via --extra-package) fails at:

    error[E0061]: this function takes 6 arguments but 5 arguments were supplied
       --> crates/wast/src/core/binary/dwarf.rs:95:35
        |
     95 |         dwarf.unit.line_program = LineProgram::new(
        |                                   ^^^^^^^^^^^^^^^^^
     ...
        | argument #6 of type `Option<FileInfo>` is missing
        |
    note: associated function defined here
       --> gimli-0.32.3/src/write/line.rs:102

gimli 0.32's write::LineProgram::new gained an extra argument (the prior
5-arg form is now 6 args). This is exactly the change Peter Green already
fixed for the standalone wast crate in rust-wast 239.0.0-2 (experimental),
in debian/patches/upstream-dependency-updates.patch: insert `None` after the
comp_dir LineString. wasm-tools carries its own copy of crates/wast, so it
needs the same one-line port plus the dependency relax.

The complete fix is the two-part patch below (a dependency relax to gimli
0.32 / addr2line 0.25, and the one-line dwarf.rs port). With it applied, the
package builds cleanly against the experimental stack (Status: successful,
binary + dbgsym produced, dh_auto_test green). An alternative, if you would
rather not carry a duplicate of the wast port, is to de-vendor crates/wast
onto the system librust-wast-dev, which already carries Peter's fix in
experimental.

--- a/Cargo.toml
+++ b/Cargo.toml
@@ -113,7 +113,7 @@
 clap_complete = "4.4.7"
 comfy-table = { version = "7.1.3", default-features = false }
 env_logger = "0.11"
-gimli = "0.31.1"
+gimli = "0.32"
 hashbrown = { version = ">= 0.15.2, <= 0.16", default-features = false, 
features = ['default-hasher'] }
 id-arena = "2"
 indexmap = { version = "2.7.0", default-features = false }
@@ -208,7 +208,7 @@
 wit-smith = { workspace = true, features = ["clap"], optional = true }

 # Dependencies of `addr2line`
-addr2line = { version = "0.24.0", optional = true }
+addr2line = { version = "0.25", optional = true }
 gimli = { workspace = true, optional = true }

 # Dependencies of `wast`
--- a/crates/wast/src/core/binary/dwarf.rs
+++ b/crates/wast/src/core/binary/dwarf.rs
@@ -96,6 +96,7 @@ impl<'a> Dwarf<'a> {
             encoding,
             LineEncoding::default(),
             LineString::StringRef(comp_dir_ref),
+            None,
             LineString::StringRef(comp_file_ref),
             None,
         );

Reproduction: sbuild --dist=unstable with object 0.37.3-1, gimli 0.32.3-1,
addr2line 0.25.1-1, ruzstd 0.8.3-1 and backtrace 0.3.76+dfsg-1 from
experimental added via --extra-package; rust-wast 239.0.0-2 (experimental)
is also needed at build-dep resolution time.

Thanks,
Greg Lamberson

--- End Message ---
--- Begin Message ---
Source: wasm-tools
Source-Version: 1.239.0+ds-10
Done: Jonas Smedegaard <[email protected]>

We believe that the bug you reported is fixed in the latest version of
wasm-tools, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonas Smedegaard <[email protected]> (supplier of updated wasm-tools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 05 Aug 2026 08:36:17 +0200
Source: wasm-tools
Architecture: source
Version: 1.239.0+ds-10
Distribution: unstable
Urgency: medium
Maintainer: Jonas Smedegaard <[email protected]>
Changed-By: Jonas Smedegaard <[email protected]>
Closes: 1140668
Changes:
 wasm-tools (1.239.0+ds-10) unstable; urgency=medium
 .
   * update watch file: use Custom-Version
   * add patch 1002_addr2line
     to accept newer minor version of crate addr2line;
     add patch 1002_gimli to use newer minor version of crate gimli;
     closes: bug#1140668, thanks to Greg Lamberson
   * update copyright info: update coverage
   * add patch 1002_newer_cpp_demangle
     to use newer minor version of crate cpp_demangle
   * use debhelper compatibility level 14 (not 13)
   * tighten (build-, autopkgtest-)dependencies
Checksums-Sha1:
 ed10f26d682ffe936ca618479678104e247ab046 4006 wasm-tools_1.239.0+ds-10.dsc
 b3b8c194af6235ff3caecfa6ded2d5a88dae3ea7 13800 
wasm-tools_1.239.0+ds-10.debian.tar.xz
 1098c5a5fd014761ddce3a599ab02e55b59c9257 21784 
wasm-tools_1.239.0+ds-10_amd64.buildinfo
Checksums-Sha256:
 285432e861d70cff60c56e576b085341559ce53461d025b93228ce3d32c27984 4006 
wasm-tools_1.239.0+ds-10.dsc
 975142f82c494196ab92241bfa71e73e6800e518836372546dc9e5aef763d2f5 13800 
wasm-tools_1.239.0+ds-10.debian.tar.xz
 3971e275d0074d7837a0a12f48e59ada0eb33bb69a3f9d2a63d3dd700744f363 21784 
wasm-tools_1.239.0+ds-10_amd64.buildinfo
Files:
 781577dba0d837c0c9da9bc7a76b0f66 4006 rust optional 
wasm-tools_1.239.0+ds-10.dsc
 86b15f8487e2fc5024dea2a15f6fd663 13800 rust optional 
wasm-tools_1.239.0+ds-10.debian.tar.xz
 aa2fd2630596d2448803ad37d31c8333 21784 rust optional 
wasm-tools_1.239.0+ds-10_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJABAEBCgAqFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmpzCDQMHGRyQGpvbmVz
LmRrAAoJECx8MUbBoAEhYTkP/jU5uyFc8PKGqww2D8U7hvazAAjKxIo7yeJzEYBh
/frDyG7JWrnZ8vwbKlrMoMW2FE3Md1nvgHo8y+pUbBXmHoQ1WGx39RB2532IaPdu
iKMKuoEyKfPsNQy5mH7N+nkJwFVhzZEcNhXboCenaMuPt/BAVFkuT4YQBkEsZGu2
0ksDBMvnErtqdPVbe/u4trJ9wge/CiGrNgt2v7i75BjVb8OkbiW2waASnnGEAZml
ArPgGkyi8lWvw7Rtyh7Z7ItP4KokOoC3ZFg2IB3sYH6QExCju5ekxvlY6+Toyiwx
OX7+8C+bbub34x9cOuz2YW7qHiYe7Ex34yZEeGi2R1/2+WGeOAf8sA8M06XfITjw
M+M+SseRTKxqaqiZc4PUmPgVLWqzq0RHILHqvbx8q608vHdELFvAuE9TGl94dT+I
u4PZx89VR3io+QYtp2CREto5IM1GCbxPP+xpnT6RL8zvzTpYZuSAAqwequh8AY9y
70xY/A9DTjSuWjCyBQTEr3xofXEzRkBuEYkIfYru02OFhzNuw/wR8JXVxW/nBF1E
uY7gDsVd9HohoCXv6JO/AtdN2tARdvbcfBAD9JNxqkfiFbJfmr71u54ym7X4hbGN
0x3HNCqo1O8EMalnjmD7l28Rp27GWN89j6z+71Ld7njJDwBKVn+5rK8drhVsStO6
uQs3
=eIyz
-----END PGP SIGNATURE-----

Attachment: pgpD4Ewezsh6W.pgp
Description: PGP signature


--- End Message ---

Reply via email to