On Fri, Dec 16, 2011 at 07:24:07PM +0100, Daniel Baumann wrote:
> On 12/16/2011 04:32 PM, Riku Voipio wrote:
> > You have marked this bug as pending in october. Did you find some issue
> > with my patch, or have you just been busy since then?
 
> i've uploaded it already some weeks ago, but it got autorejected due to
> rpath hardcoded. rather than removing it with chrpath, i intended to fix
> it in the packages build system to not add a rpath in the first place,
> but didn't got arround to it yet. in case you've time, any help with it
> would be more than welcome.

Actually this turns out to be simple. As found out be Craig Small[1],
libtool does a string compare rather than path compare. Therefor one
needs to amend my patch with:

-       ./configure $(CROSS) --prefix=/usr --datadir=\$${prefix}/share 
--mandir=\$${prefix}/share/man --enable-fsect-man5 CFLAGS="$(CFLAGS)" 
--libdir=/\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
+       ./configure $(CROSS) --prefix=/usr --datadir=\$${prefix}/share 
--mandir=\$${prefix}/share/man --enable-fsect-man5 CFLAGS="$(CFLAGS)" 
--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)

After this change file came rpath clean out from pbuilder.

Riku

[1] http://enc.com.au/2012/01/rpath-bites-me-again/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to