Package: debhelper Version: 13.3.1 Severity: important As seen with the openjdk-N packages, the -dbg binary packages contain conflicting files, caused by some identical object files. The work-around used there is to add package conflicts.
dh_strip creating dbgsym packages doesn't offer any possibility to add package conflicts directly, and afaik piuparts isn't checking for file conflicts in dbgsym packages. The solution used in the rpm world is to avoid these file conflicts by generating a unique build-id using the debugedit command. debugedit 4.16.x started to support the --build-id-seed option. debugedit --build-id \ --build-id-seed='<binary pkg name>-<deb version>' \ <file> The seed should be at least the binary package name, probably also together with the package version. Example usage: https://github.com/rpm-software-management/rpm/blob/master/scripts/find-debuginfo.sh