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

Bug#482294: lintian: Recognize sonames of the form lib[name]-[version].so



Adam C Powell IV <hazelsct@debian.org> writes:

> Package: lintian
> Severity: wishlist
>
> The package-name-doesnt-match-sonames test has a false positive when the
> soname is of the form produced by the libtool "-release" flag [1].  For
> example the babel lintian report includes:
>
> W: libparsifal1.0.0 binary: package-name-doesnt-match-sonames libparsifal-1.0.0
>
>  [1] http://www.gnu.org/software/libtool/manual.html#Release-numbers
>
> How much more reflective of the soname could the package name be?

It could include the dash.  :)  Lintian is telling you, in the message,
the package name that it's expecting.

This may well be too picky in this particular case.  I don't have any
strong opinions about that, although I will note that a package name of
libparsifal1.0.0 corresponds to an SONAME of libparsifal.so.1.0.0, not an
SONAME of libparsifal-1.0.0.so, in the Debian library packaging
documentation.  If you include the dash, it disambiguates between those
two cases.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: