pkgsrc-Bugs archive

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

Re: pkg/46720: devel/glib2 configure fails on Darwin



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

From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/46720: devel/glib2 configure fails on Darwin
Date: Sat, 29 Sep 2012 20:47:46 +0000

 forwarded from pkgsrc-changes for the record:
 
    ------
 
 From: Katarzyna Ciarci?ska <kasia%albedo.art.pl@localhost>
 To: OBATA Akio <obache%netbsd.org@localhost>
 Cc: Adam Ciarcinski <adam%netbsd.org@localhost>, 
pkgsrc-changes%netbsd.org@localhost
 Subject: Re: CVS commit: pkgsrc/devel/glib2
 Date: Fri, 7 Sep 2012 21:33:16 +0200
 
 No idea really.
 
 First of all, only 32-bit libiconv has both symbols, 64-bit version has only 
iconv_open():
 
 % nm -arch i386 /usr/lib/libiconv.2.dylib | grep iconv_open
 00012d1b T _iconv_open
 00013ddf T _libiconv_open
 % nm -arch x86_64 /usr/lib/libiconv.2.dylib | grep iconv_open
 0000000000013171 T _iconv_open
 
 Second:
 
 % cd pkgsrc/devel/glib2
 % % bmake -V '${ICONV_TYPE}'
 gnu
 % bmake -V '${USE_BUILTIN.iconv}'
 yes
 % bmake -V '${IS_BUILTIN.iconv}'
 yes
 
 Which is contrary to converters/libiconv/bultin.mk, which seems to be wrong:
 
 .if !defined(ICONV_TYPE)
 ICONV_TYPE?=    gnu
 .  if !empty(USE_BUILTIN.iconv:M[yY][eE][sS]) && \
       !empty(IS_BUILTIN.iconv:M[nN][oO])
 ICONV_TYPE=     native
 .  endif
 .endif
 
 My guess is, there's something wrong with auto-detecting built-in libiconv on 
Darwin (maybe other platforms too).
 
 The above is on both Lion and Mountain Lion.
 
 Kind regards,
 Adam
 


Home | Main Index | Thread Index | Old Index