Comment 25 for bug 261380

Revision history for this message
Martin von Gagern (gagern) wrote :

It took me a while to find the relevant documentation about pkg-create-dbgsym:
https://launchpad.net/pkg-create-dbgsym
https://wiki.ubuntu.com/AptElfDebugSymbols
https://launchpad.net/ubuntu/+spec/apt-get-debug-symbols

If this is really the way to go, some reference in https://wiki.ubuntu.com/PackagingGuide would be useful.

I'm not an experienced Ubuntu/Debian packager, but here is my impression comparing those two solutions:

1. My patch, using cdbs and old -dbg packages
- additional -dbg packages added to control
- debug symbols from multiple binary packages can be collected in one debug package
- easy to build on ppa and install locally using apt-get

2. Your suggested method, using pkg-create-dbgsym and new ddeb packages
- all -dbg packages removed from control
- exact 1:1 corresponcence between binary packages and debug packages
- don't know how to install those packages locally, nor how ppa deals with them

As https://wiki.ubuntu.com/AptElfDebugSymbols#apt%20changes regarding installation of debug symbols doesn't seem implemented yet, at least not on my intrepid, I'm not convinced that this approach is ready to replace the old -dbg packages yet. I still created a corresponding patch.

About lintian: I haven't understood the functioning of lintian yet, nor the reason for those overrides in the old package. My renames were simply intended to have as little impact on current behaviour as possible. I'd be happy to drop them. If we drop the -dbg packages, the corresponding lintian files have to go in any case.