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

Bug#678896: lintian: please add check for multi-arch: foreign -dbg packages



On 2012-06-25 00:01, Carsten Hey wrote:
> Package: lintian
> Severity: wishlist
> 
> Hi,
> 
> please add a check for multi-arch: foreign -dbg packages.
> 
> https://wiki.ubuntu.com/MultiarchSpec:
> | Multi-Arch: foreign
> | * The package is not co-installable with itself, but should be allowed
> |   to satisfy the dependencies of a package of a different arch from
> |   itself.
> 
> The above seems to be wrong for -dbg packages.
> 

For a library, I see the problem the "-dbg" has symbols for a "M-A:
same" package (e.g. a library).  But for some package that is "M-A:
foreign", I don't see why the related "-dbg" package couldn't be "M-A:
foreign".
  Sure it might be "weird", but I don't immediately see how it would
break anything.

Though, on a related note - what about "M-A: allowed"?

> Sid currently contains one example for a "real" -dbg package, i.e., with
> debugging symbols; and one example for a transitional -dbg package,
> which also seems to be wrong:
> 
> | $ < ftp.de.debian.org_debian_dists_sid_main_binary-amd64_Packages perl -00 -ne 'print if /^Multi-Arch: f/m && /^Package:.*-dbg$/m' | egrep '^Package:|^Multi-Arch:|^Description:|Version:|^$'
> | Package: libva-intel-vaapi-driver-dbg
> | Version: 1.0.17-1
> | Description: VAAPI driver for Intel G45 & HD Graphics family (transitional package)
> | Multi-Arch: foreign
> |

It is a transitional package and has no debug symbols at all, so not an
issue.

> | Package: libsqlite3-0-dbg
> | Version: 3.7.13-1
> | Description: SQLite 3 debugging symbols
> | Multi-Arch: foreign
> 
> 
> Regards
> Carsten
> 

This does look like a problem, because it has (or appears to have) debug
symbols from both an M-A: same and an M-A: foreign package at the same time.

~Niels


Reply to: