Bug #3471
closed
rpm: build src, debuginfo packages
Added by Sage Weil over 11 years ago.
Updated over 11 years ago.
Description
we need to build debuginfo packages so that users can get debug symbols for debugging issues. it's something like
rpmbuild -ba ...
also need redhat-rpm-config installed, i think.
google 'rpm debuginfo' for lots of info.
The tools needed to build the debug info package are installed with rpm-build package. The redhat-rpm-config package installs macros to automatically build the debug package for all rpm builds. The redhat-rpm-config package is not available for centos 6 and opensuse, but those distributions do provide the debug_package macro.
The fix is to add %debug_package to the spec file for the distributions that don't have the redhat-rpm-config package, and to install the package on the gitbuilders for the distributions where it is available.
Conditional inclusion of %debug_package has been checked into master as commit 1c9ec26eead9a2b59bfefcadcd7a12ee08dcc664.
- Priority changed from Urgent to High
- Priority changed from High to Urgent
- Priority changed from Urgent to High
- Status changed from New to Resolved
Also available in: Atom
PDF