diff options
Diffstat (limited to 'tags/d/debug-package-for-multi-arch-same-pkg-not-coinstallable.tag')
-rw-r--r-- | tags/d/debug-package-for-multi-arch-same-pkg-not-coinstallable.tag | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tags/d/debug-package-for-multi-arch-same-pkg-not-coinstallable.tag b/tags/d/debug-package-for-multi-arch-same-pkg-not-coinstallable.tag new file mode 100644 index 0000000..7a2fddc --- /dev/null +++ b/tags/d/debug-package-for-multi-arch-same-pkg-not-coinstallable.tag @@ -0,0 +1,19 @@ +Tag: debug-package-for-multi-arch-same-pkg-not-coinstallable +Severity: info +Check: group-checks +Explanation: The debug package appear to be containing debug symbols for a + "Multi-Arch: same" package, but the debug package itself is not + "Multi-Arch: same". If so, it is not possible to have the debug + symbols for all architecture variants of the binaries available + at the same time. + . + Making a debug package co-installable with itself is very trivial, + when installing the debug symbols beneath: + <code>/usr/lib/debug/.build-id/<XX>/<rest-id>.debug</code> + . + dh_strip does this in debhelper compat 9. Otherwise, the expected + location of the debug symbols of a given ELF binary can be determined + by using: + . + readelf -n <binary-elf> | \ + perl -ne 'print if s,^\s*Build ID:\s*(\S\S)(\S+),/usr/lib/debug/.build-id/$1/$2.debug,' |