Creation of debug packages

As of today, packages built on dockyard-devel will automatically generate -debug subpackages, containing symbols that make it easier to trace application bugs.
The debug packages will remain out of the standard installation to save space, but they can be easily installed through apt-get.

We’ve put this on hold a bit longer than many other distributions – mostly because we prefer doing things right over doing them quickly. The approach many others have taken is adding a %debug_package statement to the spec files for every package that should have a debug subpackage — effectively causing a lot of work for packagers, making sure not all packages get the debug subpackage, and not making sure packages built by 3rd parties get debug packages.

We’ve opted for (and finally implemented) the opposite — any package that contains binaries will automatically produce a -debug subpackage, unless the packager explicitly requests it not to, by putting “%define no_debug_package 1” into his spec file.

This should make debugging problems much easier for users of the upcoming release.


About arklinux

Founder of Ark Linux
This entry was posted in Ark Linux, Development and tagged , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s