debuginfo for sub packages (Help with RPM SPEC files)

Jan Kratochvil jan.kratochvil at redhat.com
Thu Jun 17 13:46:01 UTC 2010


On Thu, 17 Jun 2010 14:55:05 +0200, Trever L. Adams wrote:
> Valgrind, gcc, abrt, etc. all seem to not get the symbols (debug info)
> for the subpackages in my project with the subpackages. It was picking
> them up in the main packages.
> 
> Is this normal?

gcc does not load debuginfo.  abrt partially uses gdb for it.
As I can speak only for GDB:
$ gdb -q /usr/bin/mf
Reading symbols from /usr/bin/mf...(no debugging symbols found)...done.
Missing separate debuginfos, use: debuginfo-install texlive-utils-2007-51.fc13.x86_64
(gdb) _

And
$ debuginfo-install texlive-utils-2007-51.fc13.x86_64
correctly installs the "main package" debuginfo:
Installing:
 texlive-debuginfo   x86_64   2007-51.fc13   updates-debuginfo   7.0 M

Which gets then loaded by GDB:
$ gdb -q /usr/bin/mf
Reading symbols from /usr/bin/mf...Reading symbols from /usr/lib/debug/usr/bin/mf.debug...done.
done.
(gdb) _

So I believe you should file a bug for the debuginfo consumer with
a reproducer.  The singla debuginfo package per .src.rpm works as expected.


Thanks,
Jan


More information about the devel mailing list