Bug#555982: debian-policy: RPATH in binaries and shared libraries
On Fri, Nov 13, 2009 at 08:51:42PM +0100, Bill Allombert wrote:
> On Thu, Nov 12, 2009 at 04:53:03PM -0800, Russ Allbery wrote:
> > Lintian has the following tag:
> >
> > Tag: binary-or-shlib-defines-rpath
> > Severity: serious
> >
> > and ftpmaster requires an override for this tag to allow packages into
> > the archive. I believe Policy is currently silent on this topic. The
> > normative contents of that wiki page should be turned into a Policy
> > proposal.
>
> I would suggest a new lintian tag 'rpath-outside-usr-lib' that flags
> packages with rpath pointing outside /usr/lib and /lib. This clearly
> warrant a REJECT but have much less false positives than
> binary-or-shlib-defines-rpath.
I don't think we want an rpath to /lib/package/.
The only place rpath should point to is /usr/lib/package/
where package must be related to either the source or
binary package.
Kurt
Reply to: