pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/47187 (net/p5-Net-LibIDN fails to build)



The following reply was made to PR pkg/47187; it has been noted by GNATS.

From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/47187 (net/p5-Net-LibIDN fails to build)
Date: Sun, 23 Dec 2012 20:45:26 +0000

 On Sun, Dec 09, 2012 at 06:10:10PM +0000, David Holland wrote:
  >  From what I can tell, the problem is that the rpath is not being set,
  >  so the test program is not linked correctly. I don't see why this
  >  would be since all the logic involved seems to be generic Perl module
  >  stuff. But maybe someone who knows how it is supposed to work can
  >  figure out what's getting lost where.
 
 What's wrong, at least in my case, is that config_heavy.pl from the
 Perl package contains
 
    ldflags='-Wl,-rpath,/usr/pkg/lib -fstack-protector -L/usr/pkg/lib'
 
 which is wrong since the build environment is not in and not supposed
 to be using /usr/pkg. This makes its way to p5-Net-LibIDN, which tries
 to use it to link test programs, where it's intercepted by the
 wrappers and removed, so the test programs' rpath ends up not being
 set at all so they won't run.
 
 How it gets this way I dunno.
 
 Is this (or something like it) also the problem on dfly?
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index