[Debian-med-packaging] Failed to stop defining RPATH in libncl
Andreas Tille
andreas at an3as.eu
Fri Jan 1 22:28:05 UTC 2016
Hi,
I'm trying to package libncl[1] but I failed to fight the following
lintian error:
E: ncl-tools: binary-or-shlib-defines-rpath usr/bin/NCLconverter /usr/lib/x86_64-linux-gnu/ncl
N:
N: The binary or shared library sets RPATH. This overrides the normal
N: library search path, possibly interfering with local policy and causing
N: problems for multilib, among other issues.
N:
N: The only time a binary or shared library in a Debian package should set
N: RPATH is if it is linked to private shared libraries in the same
N: package. In that case, place those private shared libraries in
N: /usr/lib/<package>. Libraries used by binaries in other packages should
N: be placed in /lib or /usr/lib as appropriate, with a proper SONAME, in
N: which case RPATH is unnecessary.
N:
N: To fix this problem, look for link lines like:
N: gcc test.o -o test -Wl,--rpath,/usr/local/lib
N: or
N: gcc test.o -o test -R/usr/local/lib
N: and remove the -Wl,--rpath or -R argument. You can also use the chrpath
N: utility to remove the RPATH.
N:
N: Refer to https://wiki.debian.org/RpathIssue for details.
N:
N: Severity: serious, Certainty: possible
N:
N: Check: binaries, Type: binary, udeb
N:
E: ncl-tools: binary-or-shlib-defines-rpath usr/bin/NEXUSnormalizer /usr/lib/x86_64-linux-gnu/ncl
E: ncl-tools: binary-or-shlib-defines-rpath usr/bin/NEXUSvalidator /usr/lib/x86_64-linux-gnu/ncl
I deactivated my quilt patches and the override_dh_auto_configure since
nothing really helped. Any hint would be welcome.
Kind regards
Andreas.
[1] git://anonscm.debian.org/debian-med/libncl.git
--
http://fam-tille.de
More information about the Debian-med-packaging
mailing list