Bug#927220: lintian: Please detect and warn about libs exporting common symbols
Package: lintian
Version: 2.9.1
Severity: wishlist
Hi,
We discovered that libqb was accidentially exporting symbols such as
strlcat and strlcpy, which are implemented in libbsd.
Packages should *not* export strlcpy (or other common symbols) simply
because they happen to use an embeeded compat version of the symbol.
Possible solutions:
* use symbol hiding to hide the symbol (e.g. """__attribute__((visibility("hidden")))""" )
* Build-Depend on or/and add the proper defines to expose the symbol
(and thereby avoid using the embedded version).
Thanks,
~Niels
Reply to: