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



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

From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/40377: wm/blackbox70 fails on build
Date: Mon, 29 Dec 2014 08:11:17 +0000

 On Mon, Jun 07, 2010 at 02:04:42AM +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.
 
 It looks like adding
 
 CONFIGURE_ENV+=	ac_cv_func_iconv_open=no
 
 should get the configure script to do the right thing. Can you try
 that (assuming the problem hasn't gone away on its own since 2010)
 and if that works we can try to figure out how to insert it
 automatically in the right cases.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index