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

Bug#728051: lintian complains about non multiarch -dbg package



Control: tags -1 moreinfo

On 2013-10-27 22:41, Vincent Bernat wrote:
> Package: lintian
> Version: 2.5.19
> Severity: normal
> 
> Hi!
> 
> I have the following lintian warning:
> 
> I: libsmi source: debug-package-for-multi-arch-same-pkg-not-coinstallable libsmi2-dbg => libsmi2ldbl
> N:
> N:    The debug package appear to be containing debug symbols for a
> N:    "Multi-Arch: same" package, but the debug package itself is not
> N:    "Multi-Arch: same". If so, it is not possible to have the debug symbols
> N:    for all architecture variants of the binaries available at the same
> N:    time.
> N:
> N:    Making a debug package co-installable with itself is very trivial, when
> N:    installing the debug symbols beneath:
> N:      /usr/lib/debug/.build-id/<XX>/<rest-id>.debug
> N:
> N:    dh_strip does this in debhelper compat 9. Otherwise, the expected
> N:    location of the debug symbols of a given ELF binary can be determined by
> N:    using:
> N:
> N:     readelf -n <binary-elf> | \
> N:         perl -ne 'print if s,^\s*Build ID:\s*(\S\S)(\S+),/usr/lib/debug/.build-id/$1/$2.debug,'
> N:
> N:    Severity: minor, Certainty: possible
> N:
> N:    Check: group-checks, Type: source
> N:
> 
> But the package is already using debhelper 9 and already produces the
> appropriate stuff:
> 
> -rw-r--r-- root/root    143119 2013-10-27 22:29 ./usr/lib/debug/.build-id/57/e03ffaf3f7f9a036c80f89d6601e4ba1c0b160.debug
> 
> 
> [...]
> 
> 
> 

Hi,

The real issue is that libsmi2-dbg is missing a "Multi-arch: same"
header as explained in the first paragraph.  The rest is just descriping
how to make a normal -dbg package multi-arch ready.

~Niels


Reply to: