[Pkg-rust-maintainers] Bug#1101081: dh-cargo: Always override strip=true

Matthias Geiger werdahias at debian.org
Sun Mar 23 00:23:21 GMT 2025


Package: dh-cargo
Version: 32
Severity: normal
X-Debbugs-Cc: werdahias at debian.org, fabiang at debian.org

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,
some binary rust programs set strip=true in Cargo.toml [0] However, this 
leads to no debug symbols being generated (and subsequently, no debug 
packages being built). Imo this should be overridden so debug packages 
always get built.

best,

werdahias



- -- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.19-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: OpenRC (via /run/openrc), PID 1: init
LSM: AppArmor: enabled

Versions of packages dh-cargo depends on:
ii  cargo      1.85.0+dfsg1-1
ii  debhelper  13.24.1
ii  perl       5.40.1-2
ii  python3    3.13.2-2

dh-cargo recommends no packages.

dh-cargo suggests no packages.

- -- no debconf information

Links:

[0]: https://codesearch.debian.net/search?q=path%3ACargo.toml+strip+%3D+true&literal=1&perpkg=1


-----BEGIN PGP SIGNATURE-----

iIsEARYIADMWIQQUWTv/Sl6/b+DpcW7svtu2B7myvgUCZ99UcxUcd2VyZGFoaWFz
QGRlYmlhbi5vcmcACgkQ7L7btge5sr5f7QEAj9Gc30DloEB8+A+lowsNu8YnBH2w
+x4CT1ilkg5oUsYA/jx2XmtF9fwTYzWfw9Mw9cMRZ4OU33FzePfKMfCJ0gcJ
=3r57
-----END PGP SIGNATURE-----



More information about the Pkg-rust-maintainers mailing list