Failed to stop defining RPATH in libncl
I'm trying to package libncl but I failed to fight the following
E: ncl-tools: binary-or-shlib-defines-rpath usr/bin/NCLconverter /usr/lib/x86_64-linux-gnu/ncl
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: 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: To fix this problem, look for link lines like:
N: gcc test.o -o test -Wl,--rpath,/usr/local/lib
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: Refer to https://wiki.debian.org/RpathIssue for details.
N: Severity: serious, Certainty: possible
N: Check: binaries, Type: binary, udeb
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.