Red Hat Bugzilla – Bug 283731
Default installation of Fedora 7 x86_64 - rpmbuild does not build any debuginfo packages
Last modified: 2007-11-30 17:12:15 EST
Description of problem:
A default installation of F7 fails to build any debuginfo packages with spec
files from .src rpms or from spec files created by other people.
Have looked for binary stripping in the make sections, and have checked that -g
flag is being passed in RPM_OPT_FLAGS, it is, can see this on the compiler
command lines during the build process.
Unable to find any evidence of find-debuginfo.sh being run, brp-strip runs at
the end of the build process but I would expect that.
rpm packages are all updated to the latest updates versions, am using Mike
Harris' recipe for building as non-root but standard rpm macros are present as
Version-Release number of selected component (if applicable):
[bdm@peterson rpmbuild-nonroot]$ rpm -qa | grep rpm
Not one debuginfo rpm builds!
Steps to Reproduce:
1. Install any .src rpm or source/spec file combo
2. run rpmbuild -bb <spec file> or rpmbuild --rebuild <src rpm>
3. wonder where debuginfo rpms are
No debuginfo rpms
debuginfo rpms by the dozen!
Mike Harris' recipe is anything but "default configuration", for one it disables
the vendor configuration (redhat-rpm-config) etc.
1) do not use the ~/.rpmrc from the recipe
2) check that you don't have "define debug_package %nil" somewhere in your
Thanks for the information panu, I didn't see any warnings in Mike's readme file
about this and a fair bit of the rpm configuration seems to not be well explained.
I have deleted ~/.rpmrc and now I can build the debuginfo packages.
I wonder if someone who knows what they are writing about might add something to
the Fedora wiki warning about this?
Whoops! I meant to write Panu in the last comment.