[csw-maintainers] [checkpkg] Change to the shared library suggestions

Maciej (Matchek) Bliziński maciej at opencsw.org
Sun Mar 4 11:21:59 CET 2012


Heads up: I've just committed
http://sourceforge.net/apps/trac/gar/changeset/17285

TL;DR: If you rebuild a package which bundles multiple shared
libraries together, you will see new error tags. On the upside,
checkpkg's brain became simpler and easier to understand.

The long read from the commit log:

checkpkg: Remove soname grouping guesswork

Checkpkg used to guess that if multiple libraries share the same
soname version, they should go into a single package.

libfoo-something.so.1
libfoo-otherthing.so.1
=> CSWlibfoo suggested

This caused increased checkpkg code complexity and guesses were often
wrong and/or confusing. It is simpler to take each soname separately
without trying to create package groups. Less magic in checkpkg allows
maintainers to have a clearer understanding of what and why checkpkg
suggests.

In the rather rare cases when multiple libraries are bundled in one
package, overrides can be used. These cases are rather rare, because
the main package which used to bundle libraries is Boost, and it will
be split into one-lib-per-package anyway. Other cases are rather
marginal, and often involve bundling libraries with different soname
versions (e.g. Kerberos private libs).

Maciej


More information about the maintainers mailing list