(moved from bug 2989)
We link a lot of stuff from the build system statically into our shipped binaries. Therefore it could be useful to have debug packages for the build system as well. Currently we can see symbols from the linked libraries, but not the source code.
Bug 4929 makes sure that we at least build with the -g flag.
We've started producing debuginfo packages in r30461. This is done because gcc has become huge and disk usage is becoming a real concern. No work has been done to check that we have proper debug symbols, or that this helps gdb when debugging binaries we ship.
Picked two random build system components (pcre, gnutls) for test. Incremented revision in spec files for the components and started rebuild script.
Verified that staging/RPMS/debuginfo/ contined debuginfo packages for the two components.