[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to create -dbg packages for gnome



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

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.

http://wiki.debian.org/HowToGetABacktrace#Rebuildingthepackageyou.2BIBk-redebugging

Regards, Daniel


Reply to: