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

Re: How to create -dbg packages for gnome



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: