[MacPorts] #21242: glib2 @2.20.5_0: No iconv() implementation found in C library or libiconv (was: glib22.20.5_0 build failed under Mac OS X 10.6)
MacPorts
noreply at macports.org
Wed Sep 9 11:42:20 PDT 2009
#21242: glib2 @2.20.5_0: No iconv() implementation found in C library or libiconv
---------------------------------------+------------------------------------
Reporter: james.applemac@… | Owner: ryandesign@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Resolution: invalid | Keywords:
Port: glib2 |
---------------------------------------+------------------------------------
Changes (by ryandesign@…):
* status: new => closed
* resolution: => invalid
Old description:
> OS: Mac OS X 10.6[[BR]]
> xCode:3.2[[BR]]
> Macports:1.8.0_0
>
> following is the error messages:
> ====================
> {{{
> port -uR upgrade glib2
> Port command started with PID 20917
> Warning: Skipping upgrade since ncursesw 5.7_0 >= ncursesw 5.7_0, even
> though installed variants "" do not match "+darwin_10". Use 'upgrade
> --enforce-variants' to switch to the requested variants.
> Warning: Skipping upgrade since ncurses 5.7_0 >= ncurses 5.7_0, even
> though installed variants "" do not match "+darwin_10". Use 'upgrade
> --enforce-variants' to switch to the requested variants.
> Warning: Skipping upgrade since python_select 0.2.1_0 >= python_select
> 0.2.1_0, even though installed variants "+darwin_9" do not match
> "+darwin_10". Use 'upgrade --enforce-variants' to switch to the requested
> variants.
> ---> Computing dependencies for glib2
> ---> Fetching glib2
> ---> Attempting to fetch glib-2.20.5.tar.bz2 from
> http://ftp.nara.wide.ad.jp/pub/X11/GNOME/sources/glib/2.20/
> ---> Verifying checksum(s) for glib2
> ---> Extracting glib2
> ---> Applying patches to glib2
> ---> Configuring glib2
> Error: Target org.macports.configure returned: configure failure: shell
> command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_glib2/work/glib-2.20.5"
> && ./configure --prefix=/opt/local --enable-static " returned error 1
> Command output: checking dependency style of /usr/bin/gcc-4.2... (cached)
> gcc3
> checking how to run the C preprocessor... /usr/bin/gcc-4.2 -E
> checking for c++... /usr/bin/g++-4.2
> checking whether we are using the GNU C++ compiler... yes
> checking whether /usr/bin/g++-4.2 accepts -g... yes
> checking dependency style of /usr/bin/g++-4.2... gcc3
> checking for gcc... (cached) /usr/bin/gcc-4.2
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether /usr/bin/gcc-4.2 accepts -g... (cached) yes
> checking for /usr/bin/gcc-4.2 option to accept ISO C89... (cached) none
> needed
> checking dependency style of /usr/bin/gcc-4.2... (cached) gcc3
> checking whether /usr/bin/gcc-4.2 and cc understand -c and -o together...
> yes
> checking for a BSD-compatible install... /usr/bin/install -c
> checking for special C compiler options needed for large files... no
> checking for _FILE_OFFSET_BITS value needed for large files... no
> checking for pkg-config... /opt/local/bin/pkg-config
> checking for gawk... (cached) gawk
> checking for perl5... /opt/local/bin/perl
> checking for indent... indent
> checking for /opt/local/bin/perl... /opt/local/bin/perl
> checking for a Python interpreter with version >= 2.4... python
> checking for python... /opt/local/bin/python
> checking for python version... 2.5
> checking for python platform... darwin
> checking for python script directory... ${prefix}/lib/python2.5/site-
> packages
> checking for python extension module directory...
> ${exec_prefix}/lib/python2.5/site-packages
> checking for iconv_open... no
> checking for libiconv_open in -liconv... no
> checking for iconv_open in -liconv... no
> configure: error: *** No iconv() implementation found in C library or
> libiconv
> Error: Unable to upgrade port: 1
> ---> Executing: /opt/local/bin/port -uR upgrade glib2
> }}}
New description:
OS: Mac OS X 10.6 [[BR]]
xCode:3.2 [[BR]]
Macports:1.8.0_0
following is the error messages: [[BR]]
====================
{{{
port -uR upgrade glib2
Port command started with PID 20917
Warning: Skipping upgrade since ncursesw 5.7_0 >= ncursesw 5.7_0, even
though installed variants "" do not match "+darwin_10". Use 'upgrade
--enforce-variants' to switch to the requested variants.
Warning: Skipping upgrade since ncurses 5.7_0 >= ncurses 5.7_0, even
though installed variants "" do not match "+darwin_10". Use 'upgrade
--enforce-variants' to switch to the requested variants.
Warning: Skipping upgrade since python_select 0.2.1_0 >= python_select
0.2.1_0, even though installed variants "+darwin_9" do not match
"+darwin_10". Use 'upgrade --enforce-variants' to switch to the requested
variants.
---> Computing dependencies for glib2
---> Fetching glib2
---> Attempting to fetch glib-2.20.5.tar.bz2 from
http://ftp.nara.wide.ad.jp/pub/X11/GNOME/sources/glib/2.20/
---> Verifying checksum(s) for glib2
---> Extracting glib2
---> Applying patches to glib2
---> Configuring glib2
Error: Target org.macports.configure returned: configure failure: shell
command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_glib2/work/glib-2.20.5"
&& ./configure --prefix=/opt/local --enable-static " returned error 1
Command output: checking dependency style of /usr/bin/gcc-4.2... (cached)
gcc3
checking how to run the C preprocessor... /usr/bin/gcc-4.2 -E
checking for c++... /usr/bin/g++-4.2
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/g++-4.2 accepts -g... yes
checking dependency style of /usr/bin/g++-4.2... gcc3
checking for gcc... (cached) /usr/bin/gcc-4.2
checking whether we are using the GNU C compiler... (cached) yes
checking whether /usr/bin/gcc-4.2 accepts -g... (cached) yes
checking for /usr/bin/gcc-4.2 option to accept ISO C89... (cached) none
needed
checking dependency style of /usr/bin/gcc-4.2... (cached) gcc3
checking whether /usr/bin/gcc-4.2 and cc understand -c and -o together...
yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for pkg-config... /opt/local/bin/pkg-config
checking for gawk... (cached) gawk
checking for perl5... /opt/local/bin/perl
checking for indent... indent
checking for /opt/local/bin/perl... /opt/local/bin/perl
checking for a Python interpreter with version >= 2.4... python
checking for python... /opt/local/bin/python
checking for python version... 2.5
checking for python platform... darwin
checking for python script directory... ${prefix}/lib/python2.5/site-
packages
checking for python extension module directory...
${exec_prefix}/lib/python2.5/site-packages
checking for iconv_open... no
checking for libiconv_open in -liconv... no
checking for iconv_open in -liconv... no
configure: error: *** No iconv() implementation found in C library or
libiconv
Error: Unable to upgrade port: 1
---> Executing: /opt/local/bin/port -uR upgrade glib2
}}}
--
Comment:
Did you upgrade from Leopard? If so, did you rebuild all ports as
prescribed in the [wiki:Migration Migration] page? I feel confident you
did not, because:
{{{
Warning: Skipping upgrade since python_select 0.2.1_0 >= python_select
0.2.1_0, even though installed variants "+darwin_9" do not match
"+darwin_10". Use 'upgrade --enforce-variants' to switch to the requested
variants.
}}}
python_select has the +darwin_9 variant, which is for Leopard. You need to
rebuild it and all other ports for Snow Leopard, a.k.a. Darwin 10.
--
Ticket URL: <http://trac.macports.org/ticket/21242#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list