[Pkg-rust-maintainers] Bug#1010083: librust-addr2line-dev: please upgrade to newer release

Jonas Smedegaard dr at jones.dk
Sat Apr 23 21:55:21 BST 2022


Package: librust-addr2line-dev
Version: 0.10.0-3
Severity: important
Tags: upstream

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

addr2line v0.10.0 was released almost 3 years ago, with many releases,
most recent being v0.17.0.

When trying to build Rust crate safe_network, it depends on addr2line
and when mangled to use addr2line v0.10, the build fails to compile
addr2line:

   Compiling addr2line v0.10.0
     Running `rustc --crate-name addr2line /build/safe-network-0.58.13/debian/cargo_registry/addr2line-0.10.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=d3681081280e189f -C extra-filename=-d3681081280e189f --out-dir /build/safe-network-0.58.13/target/release/deps -L dependency=/build/safe-network-0.58.13/target/release/deps --extern fallible_iterator=/build/safe-network-0.58.13/target/release/deps/libfallible_iterator-f3571a2c74a91535.rmeta --extern gimli=/build/safe-network-0.58.13/target/release/deps/libgimli-3a53fbdb8cf73933.rmeta --extern intervaltree=/build/safe-network-0.58.13/target/release/deps/libintervaltree-8717046d402b258c.rmeta --extern lazycell=/build/safe-network-0.58.13/target/release/deps/liblazycell-1d2e2cbafc57f2df.rmeta --extern smallvec=/build/safe-network-0.58.13/target/release/deps/libsmallvec-c329857f37f1e605.rmeta --cap-lints allow -C debuginfo=2 --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /build/safe-network-0.58.13=/usr/share/cargo/registry/safe-network-0.58.13`
error[E0277]: the trait bound `Rc<[u8]>: CloneStableDeref` is not satisfied
   --> /usr/share/cargo/registry/safe-network-0.58.13/debian/cargo_registry/addr2line-0.10.0/src/lib.rs:92:20
    |
92  | pub struct Context<R = gimli::EndianRcSlice<gimli::RunTimeEndian>>
    |                    ^ the trait `CloneStableDeref` is not implemented for `Rc<[u8]>`
    |
note: required by a bound in `EndianReader`

error[E0277]: the trait bound `Rc<[u8]>: CloneStableDeref` is not satisfied
   --> /usr/share/cargo/registry/safe-network-0.58.13/debian/cargo_registry/addr2line-0.10.0/src/lib.rs:101:14
    |
101 | impl Context<gimli::EndianRcSlice<gimli::RunTimeEndian>> {
    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `CloneStableDeref` is not implemented for `Rc<[u8]>`
    |
note: required by a bound in `EndianReader`

For more information about this error, try `rustc --explain E0277`.
error: could not compile `addr2line` due to 2 previous errors


It seems at least the first of those two errors is addressed before the
next upstream release, v0.11.0 (see upstream git commit bd20153).

Please upgrade addr2line to a newer release - preferably v0.17.0 but
possibly v0.13.0 (in experimental since more than 5 months) is adequate.

Raising severity due to the (seemingly general) failure to build.


 - Jonas

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

iQIzBAEBCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmJkZ7YACgkQLHwxRsGg
ASF6AQ/+MM0F+PwDXX2KVgjLE+XJ/ioSheoi0jDrJUAF5K7XKeWDFZOrMHlSTicS
jBGw3sJMHNLqhXXEfI25wlWt5GppOToPaXh/yYZzQ6zxGmWZ651+RXgqFgs+lwRC
5ojZrYbcyJ0hDJ9UKRL4T9cvV5mKzv2n/58Nnbc5rcNTHwYn8tzuVG96/Qfkr+OZ
4H9QKHOWl8NRS5KCmdMBqGlCwonIZZ6BeogkvPhw2uSQpGKAFe9MZ39RD7FY/GjY
okH+GCEg6StJ3DY/KWDltrrO8x+Kt059dwrg5Nz1/c2bogHs6neZyJC5uZiF9koW
hC4vbpLYz6gJst/qPEIVel4nXF6CL5KVOcUEDce62aot3y5qAHXRpnfNghdyhtZY
xV9/+AEnRp8ALCOZPQAMAcf9Z8k5MblE03TTXT1Oi6+7AN824oY7aSREiQQk25Lk
iN1hlzH66YSY/tHUzBJxUsrULKQ0bznPvaHwl/zjFGIay3nkoWa1awNmUUsF89rO
Wq2ZqNp+ECIH38EkEjA7ZrVsLJHfO1NebqTxoj1KK/5yJH02FyX/Vh/rvFe27DDa
dha7tglyfbOHfAE2Xxsk58x1Oi+AORA03L3vM3qkgsP3L3J+rW2IjzpK+HkF0dYx
Z4OSExf/YriZi+QB/mkiLIMx5sP2AlAsPF5Z/F/1/r/NAWIJEIU=
=roN1
-----END PGP SIGNATURE-----



More information about the Pkg-rust-maintainers mailing list