Debugging packages in Debian
Vincent Bernat
October 2013
Vincent Bernat
October 2013
-dbg
-g
)debian/control
dh_strip
--dbg-package=foo-dbg
pkg-create-dbgsym
package provides an
automatic wrapper around dh_strip
-dbg
package, the
debug package will just depends on itredhat-rpm-config
will add some RPM macros
to automatically generate debuginfo packagesdebug.debian.net
. Not available
anymore. Used a whole archive rebuild to provide debug
symbols.-dbg
packages. Everybody agreed on the
usefulness of providing debug packages. Some concerns for
space (may be mitigated with the use of XZ compression).
dh_strip
to build debug packages
automatically (from a certain compat version, using a
dedicated flag or if some special file is present)apt
and friendssbuild
, pbuilder
, ...dak
and the like (reprepro
, ...)debhelper
only
is good enough