I had some issues when trying to build packackes without any debug information stripped. In the documentation for redhat-rpm-config [1], it says that setting > _enable_debug_packages as 0 is required to disable most debuginfo processing. This is not enough to not do any stripping to the compiled binary. In the macros [2] file, it looks like _enable_debug_packages only needs to be defined, and not equal to 1, for a debug package to be built: > %install %{?_enable_debug_packages:%{?buildsubdir:%{debug_package}}}\ The issue I have is that some binaries we package have multiple binaries in them, which break when they are stripped. [1] https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/rawhide/f/buildflags.md [2] https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/rawhide/f/macros Reproducible: Always Steps to Reproduce: 1. %define _enable_debug_packages 0 2. Build RPM Actual Results: Packaged binary is stripped, and a debuginfo package is created. Expected Results: Packaged binary is not stripped, and no debuginfo package is created.
Thanks, should be fixed in redhat-rpm-config-284-1.fc41.
FEDORA-2024-19fc022649 (redhat-rpm-config-285-1.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-19fc022649
FEDORA-2024-19fc022649 has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-19fc022649` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-19fc022649 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-19fc022649 (redhat-rpm-config-285-1.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.