Bugzilla – Bug 1222175
rustc 1.77 adds spurious -Cstrip=debuginfo to buildline
Last modified: 2024-05-24 16:30:06 UTC
This produces policy-violating packages with missing debuginfo. See eg. bitwarden build log: https://build.opensuse.org/package/live_build_log/devel:languages:nodejs/bitwarden/openSUSE_Tumbleweed/x86_64 Seems to be a regression from rust 1.76. A robust workaround is to explicitely add `Cstrip=none` to RUSTFLAGS. (This is e.g. what Fedora already does)
https://github.com/Firstyear/cargo-packaging/pull/7 Fixing upstream.
SUSE-RU-2024:1776-1: An update that has two fixes can now be installed. Category: recommended (moderate) Bug References: 1212226, 1222175 Maintenance Incident: [SUSE:Maintenance:34016](https://smelt.suse.de/incident/34016/) Sources used: openSUSE Leap 15.4 (src): cargo-packaging-1.2.0+5-150400.3.6.2 openSUSE Leap 15.5 (src): cargo-packaging-1.2.0+5-150400.3.6.2 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.