Mailinglist Archive: opensuse-features (201 mails)

< Previous Next >
[openFATE 305561] Install Debuginfo Package by build-id
  • From: fate_noreply@xxxxxxx
  • Date: Thu, 16 Apr 2009 10:44:00 +0200 (CEST)
  • Message-id: <feature-305561-9@xxxxxxxxxxxxxx>
Feature changed by: Stephan Kulow (coolo)
Feature #305561, revision 9
Title: Install Debuginfo Package by build-id

- openSUSE-11.2: Candidate
+ openSUSE-11.2: Done
Priority
Requester: Mandatory
Projectmanager: Important

Requested by: Jan Blunck (janblunck)
Developer: Jan Blunck (jblunck)

Description:
Since SLE11 we embed build-ids into all binaries. This build-id can be
used to match the corresponding debuginfo to a binary file, a running
process or a core file. To make it easy for user to install the correct
debuginfo, he should be able to run the following command to get the
correct debuginfo package installed:
zypper install debuginfo-build-id-
eb49eeaf82eff32cfbf44d94f9aa8e3cdcf0e461

Discussion:
#1: Stephan Kulow (coolo) (2009-02-17 11:17:46)
Not sure why agruen is set as engmgr, this is simply some rpm hackery.
Put a debuginfo.prov script in place, that checks the file list given
and give it all /usr/lib/debug/.build-id files.
And it will transform /usr/lib/debug/.build-
id/00/d9cff1044033b4781ab47388b422b07cb72708.debug into debuginfo
(d9cff1044033b4781ab47388b422b07cb72708).
After that you can use zypper install -C "debuginfo
(d9cff1044033b4781ab47388b422b07cb72708)" and you get kdepim4-debuginfo
installed (11.1-x86_64 example).
This is an effort of half an hour without testing.

#2: Andreas Gruenbacher (agruen) (2009-02-17 16:15:18) (reply to #1)
This should work, and the debug info repository metadata should still
remain reasonably small.

+ #3: Stephan Kulow (coolo) (2009-04-16 10:43:47)
+ the debuginfo meta data for 11.2 and sle11 contain the build ids.
+ Zypper support is not implemented, but I don't think it's needed as it
+ requires a 10 line shell script wrapper that can live very well in
+ ptools



--
openSUSE Feature:
https://features.opensuse.org/305561

< Previous Next >
This Thread
  • No further messages