Your message dated Sun, 01 Jan 2023 00:51:33 +0000
with message-id <e1pbmzz-000dt5...@fasolo.debian.org>
and subject line Bug#998306: fixed in dwarf2sources 0.2.1-1
has caused the Debian Bug report #998306,
regarding dwarf2sources FTBFS with rust-object 0.20
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
998306: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=998306
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: dwarf2sources
Version: 0.2.0
Severity: important
I have prepared updates of rust-backtrace and friends, specifically.
rust-backtrace -> 0.3.51
rust-addr2line -> 0.13.0
rust-gimli -> 0.22.0
rust-cpp-demangle -> 0.3.3
rust-object -> 0.20.0
I did not update to the latest versions because debcaro refused to
package the latest version of gimli, complaining about a lack of
authors metadata. So I decided to instead update to the minimum
version that would satisfy the dependencies of librust-anyhow+backtrace-dev
Unfortunately I found that when I tried to build dwarf2sources with the
new packages I got the following error.
error[E0599]: no method named `section_data_by_name` found for reference `&'file
object::File<'input>` in the current scope
--> src/main.rs:29:14
|
29 | .section_data_by_name(S::section_name())
| ^^^^^^^^^^^^^^^^^^^^ method not found in `&'file
object::File<'input>`
For more information about this error, try `rustc --explain E0599`.
error: could not compile `dwarf2sources` due to previous error
Digging in the upstream commit log lead me to
https://github.com/gimli-rs/object/commit/85abdca55d62c3fa77bfb85a6d4089d57b139759
reading though that commit suggested that I would replace section_data_by_name
with section_by_name, however when I tried that
I got the following error.
error[E0308]: mismatched types
--> src/main.rs:30:24
|
30 | .unwrap_or(Cow::Borrowed(&[]));
| ^^^^^^^^^^^^^^^^^^ expected struct
`object::Section`, found enum `Cow`
|
= note: expected struct `object::Section<'_, '_>`
found enum `Cow<'_, [_; 0]>`
error[E0308]: mismatched types
--> src/main.rs:31:38
|
31 | let data_ref = (*arena.alloc(data)).borrow();
| ^^^^ expected enum `Cow`, found
struct `object::Section`
|
= note: expected enum `Cow<'file, [u8]>`
found struct `object::Section<'_, '_>`
For more information about this error, try `rustc --explain E0308`.
error: could not compile `dwarf2sources` due to 2 previous errors
Which I have no clue how to fix.
I have uploaded rust-backtrace and related packages to experimental for now.
--- End Message ---
--- Begin Message ---
Source: dwarf2sources
Source-Version: 0.2.1-1
Done: Andrej Shadura <andre...@debian.org>
We believe that the bug you reported is fixed in the latest version of
dwarf2sources, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 998...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andrej Shadura <andre...@debian.org> (supplier of updated dwarf2sources package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 01 Jan 2023 01:18:06 +0100
Source: dwarf2sources
Architecture: source
Version: 0.2.1-1
Distribution: unstable
Urgency: medium
Maintainer: Andrej Shadura <andre...@debian.org>
Changed-By: Andrej Shadura <andre...@debian.org>
Closes: 998306
Changes:
dwarf2sources (0.2.1-1) unstable; urgency=medium
.
* New upstream release.
* Update gimli to 0.26 and object to 0.29 (Closes: #998306).
Checksums-Sha1:
f33471544262e28ff62302ac24db27594c55d48d 1819 dwarf2sources_0.2.1-1.dsc
773748d5a9911d4202f7720b014b731bf752d0ee 8452 dwarf2sources_0.2.1.orig.tar.xz
96b3b043cbae99661f568d484ff348a9e606fbc8 3660
dwarf2sources_0.2.1-1.debian.tar.xz
Checksums-Sha256:
b6bf40b9cdbd6c8a9a6a89de3662c07342eed968e165e91e464829fde72e3f3e 1819
dwarf2sources_0.2.1-1.dsc
71b0939e1f73ec01813e54eb93d812b06eb0f44a17eb978a293a16986cf04092 8452
dwarf2sources_0.2.1.orig.tar.xz
4b9995651e2c526aa9943faa3c139e5a2ad9789cb465cdec30c93c617b7f7177 3660
dwarf2sources_0.2.1-1.debian.tar.xz
Files:
7b67be6ede8327de9236ec528bd1404d 1819 devel optional dwarf2sources_0.2.1-1.dsc
9ffbe0e7f768f6a41df13c94353126cf 8452 devel optional
dwarf2sources_0.2.1.orig.tar.xz
be100c5090b1876d9f624d6b34269a78 3660 devel optional
dwarf2sources_0.2.1-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iHUEARYIAB0WIQSD3NF/RLIsyDZW7aHoRGtKyMdyYQUCY7DT8AAKCRDoRGtKyMdy
YTziAP9mwVQG9zc0KzMIx1x9FmVpYn+tOljVEZjcqkzlyCRcxQEAxh6dg0oGMFeX
fqj0Bbqmx6VhPqT6n8P9aGI5YC1PGgE=
=MKdU
-----END PGP SIGNATURE-----
--- End Message ---