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

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



Hi Josheph,

On Mon, Oct 22, 2018 at 07:31:58PM -0700, Joseph Herlant wrote:
> 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.

I think that would be great; my (related) merge request 
https://salsa.debian.org/debian/developers-reference/merge_requests/7
misses the information what to do when you mirgrate from manual to
automatic debug packages.
If you could extend this MR, that would be great ;-) TIA!

Cheers, 
tobi

Thanks a lot!

> 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
> 

Attachment: signature.asc
Description: PGP signature


Reply to: