#1142614 node-source-map: mapping_callback import FTBFS with Rust 1.96+

#1142614#5
Date:
2026-07-22 21:40:38 UTC
From:
To:
Dear node-source-map maintainers,

While this problem has no effect on node-source-map now, once rustc
updates to 1.96 the package will FTBFS, as tested in an Ubuntu 26.10 PPA
with Rust 1.97. I have linked a failing buildlog[1].

This is due to Rust 1.96 no longer passing --allow-undefined to
wasm-ld[2].

I have also replicated the bug upstream[3] and submitted a fix[4] which
follows the Rust team's recommendations[5].

Best wishes,
Max

[1]: https://launchpadlibrarian.net/870273467/buildlog_ubuntu-stonking-amd64.node-source-map_0.8.0+dfsg-1_BUILDING.txt.gz
[2]: https://github.com/rust-lang/rust/pull/149868
[3]: https://github.com/mozilla/source-map/issues/530
[4]: https://github.com/mozilla/source-map/pull/531
[5]: https://github.com/rust-lang/rust/pull/149868#issuecomment-3730522786

#1142614#10
Date:
2026-07-22 21:51:56 UTC
From:
To:
Dear node-source-map maintainers,

I have attached the patch that will fix the future build failure with Rust
1.96+. I have ensured it builds against both Rust 1.95 in Debian unstable
and Rust 1.97 in a test Ubuntu 26.10 PPA.

Please let me know if you need any more info.

Best wishes,
Max

#1142614#13
Date:
2026-07-23 09:30:49 UTC
From:
To:
Hello,

Bug #1142614 in node-source-map reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/js-team/node-source-map/-/commit/32edd92893ed3768abeb11ddabc73511922df39e
------------------------------------------------------------------------
Fix mapping_callback import on Rust 1.96+

Closes: #1142614
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1142614