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

Peter Michael Green plugwash at debian.org
Sun Apr 24 01:33:18 BST 2022


> 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.

Unfortunately it seems addr2line, gimli, object and some other packages 
are fairly closely tied together. I don't think updating them 
individually is feasible and updating the whole lot including object 
would break dwarf2sources.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=998306

Now maybe the time has come that dwarf2sources should be broken, the 
maintainer has had nearly 6 months warning to fix their package but i'm 
a little reluctant to break a package that is in Debian now for the sake 
of a package that may be in Debian at some time in the future.

> 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
With the version of addr2line currently in Debian you need to enable the 
"std" feature, it won't build with no features at all enabled. You can 
instead enable the alloc feature but that only works if the compiler is 
running in nightly mode.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20220424/84519d27/attachment.htm>


More information about the Pkg-rust-maintainers mailing list