Opened 15 years ago

Closed 15 years ago

#21242 closed defect (invalid)

glib2 @2.20.5_0: No iconv() implementation found in C library or libiconv

Reported by: james.applemac@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: glib2

Description (last modified by ryandesign (Ryan Carsten Schmidt))

OS: Mac OS X 10.6
xCode:3.2
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

Change History (2)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Priority: HighNormal

comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Resolution: invalid
Status: newclosed
Summary: glib22.20.5_0 build failed under Mac OS X 10.6glib2 @2.20.5_0: No iconv() implementation found in C library or libiconv

Did you upgrade from Leopard? If so, did you rebuild all ports as prescribed in the 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.

Note: See TracTickets for help on using tickets.