On Sat, Apr 03, 2010 at 08:39:35AM +0100, TJ wrote:> Whilst cleaning up the lintian reports in preparation for the
> Debian/Ubuntu hivex package one of the issues is:
>
> E: libhivex-perl: binary-or-shlib-defines-rpath
> ./usr/lib/perl/5.10.1/auto/Win/Hivex/Hivex.so
> /tmp/buildd/hivex-1.2.1/perl/../lib/.libs
>
> I've temporarily dealt with this by using chrpath in the build and a
> rule to delete the RPATH from "auto/Win/Hivex/Hivex.so".
>
> I wonder if this is an oversight since it is non-portable and refers to
> a build-time location? There are some helpful notes about this at:
>
> http://wiki.debian.org/RpathIssue
Well it certainly looks like a bug. If you have a suggested patch I'd
be interested to see it (preferably one which works optionally with
chrpath so we don't have to add it as a hard dependency).
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw