On Sun, 23 Mar 2025 00:19, Jonas Smedegaard <jo...@jones.dk> wrote:
Control: tag -1 moreinfo

Hi Matthias,

Quoting Matthias Geiger (2025-03-22 23:34:27)
I wanted to debug meli today by installing its corresponding -debug package. But no suck package exists. Please consider providing it.

I am unaware that I am supposed to cast any runes for -debug packages
to occur.  On the contrary, it is my understanding that *not* doing
anything special allows debhelper to automagically generate -debug
packages - when possible.

It is therefore my guess that perhaps meli specifically or Rust more
generally does not provide what is necessary for debhelper to do its
magic.

I am most happy to learn more, if anyone can help provide the needed
information.

I think this might be a dh-rust issue. From melis buildlog:
dh_dwz -a
dwz: debian/meli/usr/bin/meli: .debug_info section not present

For instance for tex-fmt I just use the cargo wrapper (usr/share/cargo/bin/cargo) and its debug packages are generated automatically.
I think that might be the root cause here (but happy to proven wrong).
All binary rust packages I maintain built with the wrapper have debug symbols enabled.

best,

werdahias

Reply via email to