Hello Nico,

>I'm co-maintaining the Trilinos package [1] in Debian and recently found a 
>bunch of new lintian warnings of the kind binary-or-shlib-defines-rpath [2]. 
>It say in >the description of the warning:


Usually lintian is right on such tags :p

You can look at src:ettercap, where I have implemented such RPATH nightmare 
handling in cmake.
I would wild guess something like
"CMAKE_INSTALL_RPATH_USE_LINK_PATH" is set to TRUE
and build logs agrees with me :)

-- Trilinos_SET_INSTALL_RPATH='TRUE'
-- CMAKE_INSTALL_RPATH_USE_LINK_PATH='TRUE'

I'm too lazy to remember why I did the ettercap hack [1], somewhere we want 
people
that build from source to be able to ./binary without having to install it
(so the RPATH is needed), so I created a DISABLE_RPATH flag that disables such 
feature, and
added it to the debian/rules file.

I remember such USE_LINK_PATH being the culprit of my issue.


[1] 
https://github.com/Ettercap/ettercap/commit/3c72c92cfe5870f47cfc9e1e021dcc26286ac710

HTH

Gianfranco

Reply via email to