Re: How to create -dbg packages for gnome
- To: debian-gtk-gnome@lists.debian.org
- Subject: Re: How to create -dbg packages for gnome
- From: Johannes Rohr <jorohr@gmail.com>
- Date: Fri, 01 May 2009 21:23:30 +0200
- Message-id: <87tz44r5jh.fsf@gmail.com>
- In-reply-to: <cwXQZ-2dp-7@gated-at.bofh.it> (Daniel Leidert's message of "Fri\, 01 May 2009 12\:10\:09 +0200")
- References: <cwUTg-5De-9@gated-at.bofh.it> <cwXQZ-2dp-7@gated-at.bofh.it>
Daniel Leidert <daniel.leidert.spam@gmx.net> writes:
> Am Freitag, den 01.05.2009, 08:38 +0200 schrieb Johannes Rohr:
>
>> what is the canonical way of building -dbg packages for gnome
>> programmes? I have looked at the rules files for evince and
>> evolution-data-server, however, I could not figure out how and where the
>> creation of the dbg package is triggered and what I need to do to create
>> one.
>
> The usual way to do this is
>
> dh_strip --dbg-package=$package-dbg
Yes, I have seen this, however, the result was not as expected. The
resulting -dbg package was empty except for /usr/share/doc/* and the
other one also lacked most files, e.g. everything from /usr/lib and
/usr/share.
I tried to build in pbuilder.
> However, this requires, that the dpg-package is listed in debian/control
> to be built. There is an easier way for you:
>
>> I am currently experiencing a segfault in yelp, and I would like to
>> submit a useful bug report, therefore I would like to know this.
>
> You can simply pass DEB_BUILD_OPTIONS="nostrip" to
> debuild/dpkg-buildpackage. This will prevent dh_strip from stripping the
> binaries. Install these packages and create the backtrace.
I am aware of that, however, I should have mentioned that I am trying to
build with pbuilder, as I do not want all those -dev packages in my real
system.
Thanks,
Johannes
--
http://www.infoe.de/
Reply to: