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

Bug#911650: [developers-reference] usage of dh_strip conflicts with debhelper documentation



Package: developers-reference
Version: 3.4.21
Severity: normal

Hi,

Based on the man page of dh_strip[1], "the `--dbg-package` option is a
now special purpose option that you normally do not need" which
contradicts with the paragraph 6.7.9. )Best practices for debug
packages) of the developers reference.

If I understand correctly we should say smoething like the wiki [3] says:
If you use debhelper/9.20151219 or newer in Debian, it will generate
debug symbol packages (as <package>-dbgsym) for you with no additional
changes to your source package.
If you want to transition from a former -dbg package to a -dbgsym
package you might want to look into the dh_strip's switch
--dbgsym-migration=pkgname-dbg (<< currentversion~)' switch.

Am I correct assuming that it's the right thing to recommend?

If yes, I'll go ahead and do a merge request for that.

Thanks
Joseph

1. https://manpages.debian.org/unstable/debhelper/dh_strip.1.en.html
2. https://www.debian.org/doc/manuals/developers-reference/ch06.html
3. https://wiki.debian.org/DebugPackage


Reply to: