pkgsrc-Bugs archive

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

Re: pkg/40377: wm/blackbox70 fails on build



On Sun, Mar 07, 2010 at 06:10:06AM +0000, David Holland wrote:
 >  Note that there's no -liconv in either of those link lines. I'm
 >  guessing the problem is that the configure script is finding the
 >  header files from the libiconv package and also the iconv symbols in
 >  libc, and getting confused into thinking it doesn't need -liconv.
 >  
 >  The rest of us don't see this because we don't have that PREFER_PKGSRC
 >  and therefore aren't trying to build it against pkgsrc libiconv.
 >  
 >  Can you look in config.log and see what it's doing in this regard?

Yes, this appears to be what it's doing; it's checking for iconv_open
without any -l options and succeeding, so it's mixing libiconv's
headers with the iconv implementation in libc.

 >  I can't think of any useful buildlink or wrapper way to hide the iconv
 >  in libc, so I suspect the only useful approach is to make the
 >  configure test smarter. Then again, somebody may have hit this before,
 >  in which case there may be some pkgsrc switch to throw that I don't
 >  know about...

...and I still don't know how to go about fixing it.

Maybe force LIBS+=-liconv in libiconv's bl3 if the OS is NetBSD?

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index