Bug#480636: lintian: rpath check fails to detect private libraries
Package: lintian
Version: 1.23.46
Severity: normal
>From the lintian description of binary-or-shlib-defines-rpath:
| The binary or shared library sets RPATH. This overrides the normal
| library search path, possibly interfering with local policy and 
| causing problems for multilib, among other issues.
| The only time a binary or shared library in a Debian package should 
| set RPATH is if it is linked to private shared libraries in the same
| package.
But lintian outputs a warning anyway for private libraries:
| W: libc6: binary-or-shlib-defines-rpath ./usr/lib/gconv/EUC-CN.so $ORIGIN
| W: libc6: binary-or-shlib-defines-rpath ./usr/lib/gconv/EUC-JISX0213.so $ORIGIN
| W: libc6: binary-or-shlib-defines-rpath ./usr/lib/gconv/EUC-JP-MS.so $ORIGIN
| ...
It probably misses the point that $ORIGIN in an rpath means the same
directory as the current library, which is here a private directory.
Versions of packages lintian depends on:
ii  binutils         2.18.1~cvs20080103-4+b1 The GNU assembler, linker and bina
ii  diffstat         1.45-2                  produces graph of changes introduc
ii  dpkg-dev         1.14.18                 package building tools for Debian
ii  file             4.24-2                  Determines file type using "magic"
ii  gettext          0.17-2                  GNU Internationalization utilities
ii  intltool-debian  0.35.0+20060710.1       Help i18n of RFC822 compliant conf
ii  libparse-debianc 1.1.1-2                 parse Debian changelogs and output
ii  liburi-perl      1.35.dfsg.1-1           Manipulates and accesses URI strin
ii  man-db           2.5.2-1                 on-line manual pager
ii  perl [libdigest- 5.8.8-12                Larry Wall's Practical Extraction 
lintian recommends no packages.
-- no debconf information
Reply to: