[Pkg-javascript-devel] Bug#1142614: node-source-map: mapping_callback import FTBFS with Rust 1.96+
Max Gilmour
max.gilmour at canonical.com
Wed Jul 22 22:40:38 BST 2026
Source: node-source-map
Version: 0.8.0+dfsg-1
Severity: normal
Tags: ftbfs upstream
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
More information about the Pkg-javascript-devel
mailing list