Debian Developers - What does dh_strip --dbg-package do if two binary packages contain the same file?

This is Interesting: Free IT Magazines  
Home > Archive > Debian Developers > July 2006 > What does dh_strip --dbg-package do if two binary packages contain the same file?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author What does dh_strip --dbg-package do if two binary packages contain the same file?
Marc Haber

2006-07-28, 1:26 pm

Hi,

I would like to add a -dbg package to exim4. However, I doubt that
dh_strip is doing the right thing here.

The Debian exim4 source package builds a number of binary packages.
Two of them are exim4-daemon-light and exim4-daemon-heavy, both of
with containing (different!) versions of /usr/sbin/exim4.

In the -dbg package created by dh_strip, I only have a single file
/usr/lib/debug/usr/sbin/exim4. Which debug information does this
contain? Does it contain debug information for both versions of the
binary? How do I find out which binary the debug information contained
inside belongs to?

Is dh_strip the right tool for this issue?

Any hints will be appreciated.

Greetings
Marc

--=20
-------------------------------------- !! No courtesy copies, please !! =
-----
Marc Haber | " Questions are the | Mailadresse im =
Header
Mannheim, Germany | Beginning of Wisdom " | =
http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 =
72739834
Mike Hommey

2006-07-28, 1:26 pm

On Fri, Jul 28, 2006 at 06:23:46PM +0200, Marc Haber <mh+debian-devel@zugschlus.de> wrote:
> Hi,
>
> I would like to add a -dbg package to exim4. However, I doubt that
> dh_strip is doing the right thing here.
>
> The Debian exim4 source package builds a number of binary packages.
> Two of them are exim4-daemon-light and exim4-daemon-heavy, both of
> with containing (different!) versions of /usr/sbin/exim4.
>
> In the -dbg package created by dh_strip, I only have a single file
> /usr/lib/debug/usr/sbin/exim4. Which debug information does this
> contain? Does it contain debug information for both versions of the
> binary? How do I find out which binary the debug information contained
> inside belongs to?


You will need to create 2 -dbg packages. And use the -p option to
dh_strip in addition to --dpkg-package.

Mike


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Marc Haber

2006-07-28, 7:20 pm

On Fri, 28 Jul 2006 19:03:10 +0200, Mike Hommey <mh@glandium.org>
wrote:
>On Fri, Jul 28, 2006 at 06:23:46PM +0200, Marc Haber =

<mh+debian-devel@zugschlus.de> wrote:
>
>You will need to create 2 -dbg packages.


Actually 3, I fear. One for the -heavy daemon, one for the -light
daemon, and one for the other binary packages.

>And use the -p option to
>dh_strip in addition to --dpkg-package.


Having 3 dh_strip calls?

Greetings
Marc

--=20
-------------------------------------- !! No courtesy copies, please !! =
-----
Marc Haber | " Questions are the | Mailadresse im =
Header
Mannheim, Germany | Beginning of Wisdom " | =
http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 =
72739834
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com