I wanted to debug meli today by installing its corresponding -debug
package. But no suck package exists. Please consider providing it.
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.
On Sun, 23 Mar 2025 00:19, Jonas Smedegaard <jonas@jones.dk> wrote:As pointed out by a fellow DD this is casued by the "strip = true" key
Control: tag -1 moreinfoI think this might be a dh-rust issue. From melis buildlog:
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.
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.
As pointed out by a fellow DD this is casued by the "strip = true"
key in Cargo.toml: https://codesearch.debian.net/search?q=path%3ACargo.toml+strip+%3D+true&literal=1&perpkg=1
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 480 |
Nodes: | 16 (2 / 14) |
Uptime: | 250:37:19 |
Calls: | 9,532 |
Files: | 13,650 |
Messages: | 6,137,993 |