[Pkg-rust-maintainers] Bug#1010083: Fwd: librust-addr2line-dev: please upgrade to newer release
Jonas Smedegaard
dr at jones.dk
Sun Apr 24 14:58:43 BST 2022
Quoting Peter Michael Green (2022-04-24 02:35:05)
> > 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.
Given the Debian package salvaging suggests 6 months of total silence a
reasonable threshold, I would find a *shorter* threshold sensible here.
...but that's just a suggestion - I sure don't speak for the Rust team.
> > 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.
Thanks, that was very helpful.
(unfortunately I then later in the build ran into another related issue,
as reported in https://bugs.debian.org/1010099
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20220424/005c439c/attachment-0001.sig>
More information about the Pkg-rust-maintainers
mailing list