kamoso shared objects and lintian need to learn to get along

Bug #428542 reported by Scott Kitterman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kamoso (Ubuntu)
Fix Released
Medium
Harald Sitter

Bug Description

W: kamoso: shlib-without-versioned-soname usr/lib/libkamosoplugin.so libkamosoplugin.so
N:
N: The listed shared library in a public library directory has an SONAME
N: that does not contain any versioning information, either after the .so
N: or before it and set off by a hyphen. It cannot therefore be represented
N: in the shlibs system, and if linked by binaries its interface cannot
N: safely change. There is no backward-compatible way to migrate programs
N: linked against it to a new ABI.
N:
N: Normally, this means the shared library is a private library for a
N: particular application and is not meant for general use. Policy
N: recommends that such libraries be installed in a subdirectory of
N: /usr/lib rather than in a public shared library directory.
N:
N: To view the SONAME of a shared library, run readelf -d on the shared
N: library and look for the tag of type SONAME.
N:
N: There are some special stub libraries or special-purpose shared objects
N: for which an ABI version is not meaningful. If this is one of those
N: cases, please add an override.
N:
N: Refer to Debian Policy Manual section 10.2 (Libraries) and Debian Policy
N: Manual section 8.6 (Dependencies between the library and other packages
N: - the shlibs system) for details.
N:
N: Severity: normal, Certainty: possible
N:
I: kamoso: no-symbols-control-file usr/lib/libkamosoplugin.so
N:
N: Although the package includes a shared library, the package does not
N: have a symbols control file.
N:
N: dpkg can use symbols files in order to generate more accurate library
N: dependencies for applications, based on the symbols from the library
N: that are actually used by the application.
N:
N: Refer to the dpkg-gensymbols(1) manual page and
N: http://wiki.debian.org/UsingSymbolsFiles for details.
N:
N: Severity: wishlist, Certainty: certain
N:
E: kamoso: postinst-must-call-ldconfig usr/lib/libkamosoplugin.so
N:
N: The package installs shared libraries in a directory controlled by the
N: dynamic library loader. Therefore, the package must call "ldconfig" in
N: its postinst script.
N:
N: Refer to Debian Policy Manual section 8.1.1 (ldconfig) for details.
N:
N: Severity: serious, Certainty: certain
N:
W: kamoso: package-name-doesnt-match-sonames libkamosoplugin
N:
N: The package name of a library package should usually reflect the soname
N: of the included library. The package name can determined from the
N: library file name with the following code snippet:
N:
N: $ objdump -p /path/to/libfoo-bar.so.1.2.3 | sed -n -e's/^[[:space:]]*SONAME[[:space:]]*//p' | sed -e's/\([0-9]\)\.so\./\1-/; s/\.so\.//'
N:
N: Refer to Debian Library Packaging Guide chapter 5 (shared library
N: packages) for details.
N:
N: Severity: normal, Certainty: possible

Related branches

Changed in kamoso (Ubuntu):
assignee: nobody → Harald Sitter (apachelogger)
importance: Undecided → Medium
status: New → Confirmed
Changed in kamoso (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Changelog had an extra 0 at the end so this wasn't autoclosed.

Changed in kamoso (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.