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 expected. Version-Release number of selected component (if applicable): [bdm@peterson rpmbuild-nonroot]$ rpm -qa | grep rpm rpm-libs-4.4.2.1-1.fc7.i386 rpm-devel-4.4.2.1-1.fc7.i386 rpmdevtools-6.1-0.1.fc7.noarch rpm-libs-4.4.2.1-1.fc7.x86_64 rpm-devel-4.4.2.1-1.fc7.x86_64 rpm-4.4.2.1-1.fc7.x86_64 redhat-rpm-config-8.0.45-15.fc7.noarch rpm-python-4.4.2.1-1.fc7.x86_64 rpm-build-4.4.2.1-1.fc7.x86_64 rpmlint-0.81-1.fc7.noarch How reproducible: 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 Actual results: No debuginfo rpms Expected results: debuginfo rpms by the dozen! Additional info:
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 ~/.rpmmacros
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. Sorry!