Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2405 - glib-2.0.1-r4 won't compile - no matter whether libiconv (masked!) is installed or not ...
Summary: glib-2.0.1-r4 won't compile - no matter whether libiconv (masked!) is install...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal
Assignee: Spider (RETIRED)
URL:
Whiteboard:
Keywords:
: 2393 2437 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-05-03 15:24 UTC by Andreas Waschbuesch
Modified: 2002-05-08 12:42 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Waschbuesch 2002-05-03 15:24:29 UTC
without libiconv:

$ emerge glib

Calculating dependencies ...done!
>>> emerge dev-libs/glib-2.0.1-r4 to /
>>> md5 ;-) glib-2.0.1.tar.bz2
>>> Unpacking source...
>>> Unpacking glib-2.0.1.tar.bz2
>>> Source unpacked.
You should update your `aclocal.m4' by running aclocal.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for the BeOS... no
checking for Win32... no
checking whether to enable garbage collector friendliness... no
checking whether to disable memory pools... no
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for c++... c++
checking for i686-pc-linux-gnu-g++... (cached) c++
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /bin/install -c
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for pkg-config... /usr/bin/pkg-config
checking for gawk... gawk
checking for perl5... no
checking for perl... perl
checking for indent... indent
checking for perl... /usr/bin/perl
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for getcwd... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for dgettext in libc... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...  az ca de el es eu fr gl ja ko nl nn no
pl pt ro ru sk sl sv ta tr uk zh_CN zh_TW
checking for bind_textdomain_codeset... yes
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking command to parse nm output... ok
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i686-pc-linux-gnu-ranlib... ranlib
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking for objdir... .libs
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-gcc static flag -static works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.lo... no
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared
libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for extra flags to get ANSI library prototypes... none needed
checking for extra flags for POSIX compliance... none needed
checking for ANSI C header files... (cached) yes
checking for vprintf... yes
checking for _doprnt... no
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for atexit... yes
checking for on_exit... yes
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for long... yes
checking size of long... 4
checking for int... yes
checking size of int... 4
checking for void *... yes
checking size of void *... 4
checking for long long... yes
checking size of long long... 8
checking for __int64... no
checking size of __int64... 0
checking for format to printf and scanf a gint64... %llu
checking for an ANSI C-conforming const... (cached) yes
checking if malloc() and friends prototypes are gmem.h compatible... yes
checking for growing stack pointer... no
checking for __inline... yes
checking for __inline__... yes
checking for inline... yes
checking for ISO C99 varargs macros in C... yes
checking for ISO C99 varargs macros in C++... no
checking for GNUC varargs macros... yes
checking whether byte ordering is bigendian... no
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for limits.h... (cached) yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for sys/param.h... (cached) yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for unistd.h... (cached) yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking for stdint.h... (cached) yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for nl_langinfo... yes
checking for nl_langinfo and CODESET... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for setlocale... (cached) yes
checking whether make is GNU Make... yes
checking size of size_t... 4
checking size of ptrdiff_t... 4
checking size of intmax_t... 8
checking for lstat... yes
checking for strerror... yes
checking for strsignal... yes
checking for memmove... yes
checking for mkstemp... yes
checking for vsnprintf... yes
checking for stpcpy... yes
checking for strcasecmp... (cached) yes
checking for strncasecmp... yes
checking for poll... yes
checking for getcwd... (cached) yes
checking for nanosleep... yes
checking for vasprintf... yes
checking for unsetenv... yes
checking for C99 vsnprintf... yes
checking for sys_errlist... yes
checking for sys_siglist... yes
checking for sys_siglist declaration... yes
checking for fd_set... yes, found in sys/types.h
checking whether realloc (NULL,) will work... yes
checking for nl_langinfo (CODESET)... yes
checking for strlcpy/strlcat... no
checking for an implementation of va_copy()... no
checking for an implementation of __va_copy()... yes
checking whether va_lists can be copied by value... yes
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for dlsym in -ldl... yes
checking for RTLD_GLOBAL brokenness... no
checking for preceeding underscore in symbols... no
checking for dlerror... yes
checking for the suffix of shared libraries... .so
checking for gspawn implementation... gspawn.lo
checking for GIOChannel implementation... giounix.lo
checking for platform-dependent source...
checking whether to compile timeloop... yes
checking if building for some Win32 platform... no
checking for thread implementation... posix
checking thread related cflags... -D_REENTRANT
checking for pthread_create/pthread_join... no
checking for pthread_create/pthread_join in -lpthread... yes
checking for sched_get_priority_min... yes
checking thread related libraries... -lpthread
checking for localtime_r... yes
checking for posix getpwuid_r... yes
checking size of pthread_t... 4
checking for pthread_attr_setstacksize... yes
checking for minimal/maximal thread priority...
sched_get_priority_min(SCHED_OTHER)/sched_get_priority_max(SCHED_OTHER)
checking for posix yield function... sched_yield
checking whether to use the PID niceness surrogate for thread priorities... yes
checking size of pthread_mutex_t... 24
checking byte contents of PTHREAD_MUTEX_INITIALIZER...
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
checking system definitions for POLLIN POLLOUT POLLPRI POLLERR POLLHUP
POLLNVAL... done
checking for iconv_open... yes
checking for EILSEQ... yes
checking for gtkdoc-mkdb... false
checking for db2html... false
configure: creating ./config.status
config.status: creating glib-2.0.pc
config.status: creating glib-2.0-uninstalled.pc
config.status: creating gmodule-2.0.pc
config.status: creating gmodule-2.0-uninstalled.pc
config.status: creating gthread-2.0.pc
config.status: creating gthread-2.0-uninstalled.pc
config.status: creating gobject-2.0.pc
config.status: creating gobject-2.0-uninstalled.pc
config.status: creating glib.spec
config.status: creating glib-zip
config.status: creating glib-gettextize
config.status: creating Makefile
config.status: creating build/Makefile
config.status: creating build/win32/Makefile
config.status: creating build/win32/dirent/Makefile
config.status: creating glib/Makefile
config.status: creating glib/libcharset/Makefile
config.status: creating gmodule/gmoduleconf.h
config.status: creating gmodule/Makefile
config.status: creating gobject/Makefile
config.status: creating gobject/glib-mkenums
config.status: creating gthread/Makefile
config.status: creating po/Makefile.in
config.status: creating docs/Makefile
config.status: creating docs/reference/Makefile
config.status: creating docs/reference/glib/Makefile
config.status: creating docs/reference/gobject/Makefile
config.status: creating tests/Makefile
config.status: creating m4macros/Makefile
config.status: creating config.h
config.status: executing default-1 commands
config.status: executing default-2 commands
config.status: executing default-3 commands
creating glibconfig.h
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1'
Making all in .
make[2]: Entering directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1'
Making all in m4macros
make[2]: Entering directory
`/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1/m4macros'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1/m4macros'
Making all in glib
make[2]: Entering directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1/glib'
Making all in libcharset
make[3]: Entering directory
`/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1/glib/libcharset'
/bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
-I. -I../.. -DLIBDIR=\"/usr/lib\"    -march=i686 -O3 -pipe -Wall -D_REENTRANT -c
localcharset.c
/bin/sh ./config.charset 'i686-pc-linux-gnu' > t-charset.alias
mv t-charset.alias charset.alias
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DLIBDIR=\"/usr/lib\"
-march=i686 -O3 -pipe -Wall -D_REENTRANT -c localcharset.c  -fPIC -DPIC -o
localcharset.o
mv -f localcharset.o localcharset.lo
/bin/sh ../../libtool --mode=link i686-pc-linux-gnu-gcc  -march=i686 -O3 -pipe
-Wall -D_REENTRANT  -o libcharset.la   localcharset.lo
mkdir .libs
rm -fr .libs/libcharset.la .libs/libcharset.* .libs/libcharset.*
ar cru .libs/libcharset.al localcharset.lo
ranlib .libs/libcharset.al
creating libcharset.la
(cd .libs && rm -f libcharset.la && ln -s ../libcharset.la libcharset.la)
make[3]: Leaving directory
`/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1/glib/libcharset'
make[3]: Entering directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1/glib'
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.
-I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED
-DGLIB_COMPILATION     -march=i686 -O3 -pipe -Wall -D_REENTRANT -c garray.c
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.
-I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED
-DGLIB_COMPILATION     -march=i686 -O3 -pipe -Wall -D_REENTRANT -c gasyncqueue.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\"
-DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -march=i686 -O3 -pipe
-Wall -D_REENTRANT -c gasyncqueue.c  -fPIC -DPIC -o gasyncqueue.o
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\"
-DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -march=i686 -O3 -pipe
-Wall -D_REENTRANT -c garray.c  -fPIC -DPIC -o garray.o
mv -f garray.o garray.lo
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.
-I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED
-DGLIB_COMPILATION     -march=i686 -O3 -pipe -Wall -D_REENTRANT -c gbacktrace.c
mv -f gasyncqueue.o gasyncqueue.lo
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.
-I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED
-DGLIB_COMPILATION     -march=i686 -O3 -pipe -Wall -D_REENTRANT -c gbsearcharray.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\"
-DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -march=i686 -O3 -pipe
-Wall -D_REENTRANT -c gbacktrace.c  -fPIC -DPIC -o gbacktrace.o
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\"
-DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -march=i686 -O3 -pipe
-Wall -D_REENTRANT -c gbsearcharray.c  -fPIC -DPIC -o gbsearcharray.o
mv -f gbsearcharray.o gbsearcharray.lo
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.
-I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED
-DGLIB_COMPILATION     -march=i686 -O3 -pipe -Wall -D_REENTRANT -c gcache.c
mv -f gbacktrace.o gbacktrace.lo
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.
-I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED
-DGLIB_COMPILATION     -march=i686 -O3 -pipe -Wall -D_REENTRANT -c gcompletion.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\"
-DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -march=i686 -O3 -pipe
-Wall -D_REENTRANT -c gcache.c  -fPIC -DPIC -o gcache.o
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\"
-DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -march=i686 -O3 -pipe
-Wall -D_REENTRANT -c gcompletion.c  -fPIC -DPIC -o gcompletion.o
mv -f gcache.o gcache.lo
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.
-I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED
-DGLIB_COMPILATION     -march=i686 -O3 -pipe -Wall -D_REENTRANT -c gconvert.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\"
-DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -march=i686 -O3 -pipe
-Wall -D_REENTRANT -c gconvert.c  -fPIC -DPIC -o gconvert.o
mv -f gcompletion.o gcompletion.lo
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.
-I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED
-DGLIB_COMPILATION     -march=i686 -O3 -pipe -Wall -D_REENTRANT -c gdataset.c
gconvert.c:25: iconv.h: No such file or directory
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\"
-DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -march=i686 -O3 -pipe
-Wall -D_REENTRANT -c gdataset.c  -fPIC -DPIC -o gdataset.o
gconvert.c:61: parse error before `iconv_t'
gconvert.c: In function `try_conversion':
gconvert.c:63: `cd' undeclared (first use in this function)
gconvert.c:63: (Each undeclared identifier is reported only once
gconvert.c:63: for each function it appears in.)
gconvert.c:63: warning: implicit declaration of function `iconv_open'
gconvert.c:63: `to_codeset' undeclared (first use in this function)
gconvert.c:63: `from_codeset' undeclared (first use in this function)
gconvert.c:65: `iconv_t' undeclared (first use in this function)
gconvert.c: At top level:
gconvert.c:74: parse error before `iconv_t'
gconvert.c: In function `try_to_aliases':
gconvert.c:76: `to_aliases' undeclared (first use in this function)
gconvert.c:81: `from_codeset' undeclared (first use in this function)
gconvert.c:81: `cd' undeclared (first use in this function)
gconvert.c: In function `g_iconv_open':
gconvert.c:111: `iconv_t' undeclared (first use in this function)
gconvert.c:111: parse error before `cd'
gconvert.c:113: `cd' undeclared (first use in this function)
gconvert.c:138: warning: control reaches end of non-void function
gconvert.c: In function `g_iconv':
gconvert.c:164: `iconv_t' undeclared (first use in this function)
gconvert.c:164: parse error before `cd'
gconvert.c:166: warning: implicit declaration of function `iconv'
gconvert.c:166: `cd' undeclared (first use in this function)
gconvert.c: In function `g_iconv_close':
gconvert.c:187: `iconv_t' undeclared (first use in this function)
gconvert.c:187: parse error before `cd'
gconvert.c:189: warning: implicit declaration of function `iconv_close'
gconvert.c:189: `cd' undeclared (first use in this function)
gconvert.c: In function `open_converter':
gconvert.c:335: warning: `cd' might be used uninitialized in this function
mv -f gdataset.o gdataset.lo
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.
-I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED
-DGLIB_COMPILATION     -march=i686 -O3 -pipe -Wall -D_REENTRANT -c gdate.c
make[3]: *** [gconvert.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\"
-DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -march=i686 -O3 -pipe
-Wall -D_REENTRANT -c gdate.c  -fPIC -DPIC -o gdate.o
mv -f gdate.o gdate.lo
make[3]: Leaving directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1/glib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1/glib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1'
make: *** [all-recursive-am] Error 2
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1'
Making all in .
make[2]: Entering directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1'
Making all in m4macros
make[2]: Entering directory
`/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1/m4macros'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1/m4macros'
Making all in glib
make[2]: Entering directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1/glib'
Making all in libcharset
make[3]: Entering directory
`/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1/glib/libcharset'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1/glib/libcharset'
make[3]: Entering directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1/glib'
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.
-I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED
-DGLIB_COMPILATION     -march=i686 -O3 -pipe -Wall -D_REENTRANT -c gconvert.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\"
-DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -march=i686 -O3 -pipe
-Wall -D_REENTRANT -c gconvert.c  -fPIC -DPIC -o gconvert.o
gconvert.c:25: iconv.h: No such file or directory
gconvert.c:61: parse error before `iconv_t'
gconvert.c: In function `try_conversion':
gconvert.c:63: `cd' undeclared (first use in this function)
gconvert.c:63: (Each undeclared identifier is reported only once
gconvert.c:63: for each function it appears in.)
gconvert.c:63: warning: implicit declaration of function `iconv_open'
gconvert.c:63: `to_codeset' undeclared (first use in this function)
gconvert.c:63: `from_codeset' undeclared (first use in this function)
gconvert.c:65: `iconv_t' undeclared (first use in this function)
gconvert.c: At top level:
gconvert.c:74: parse error before `iconv_t'
gconvert.c: In function `try_to_aliases':
gconvert.c:76: `to_aliases' undeclared (first use in this function)
gconvert.c:81: `from_codeset' undeclared (first use in this function)
gconvert.c:81: `cd' undeclared (first use in this function)
gconvert.c: In function `g_iconv_open':
gconvert.c:111: `iconv_t' undeclared (first use in this function)
gconvert.c:111: parse error before `cd'
gconvert.c:113: `cd' undeclared (first use in this function)
gconvert.c:138: warning: control reaches end of non-void function
gconvert.c: In function `g_iconv':
gconvert.c:164: `iconv_t' undeclared (first use in this function)
gconvert.c:164: parse error before `cd'
gconvert.c:166: warning: implicit declaration of function `iconv'
gconvert.c:166: `cd' undeclared (first use in this function)
gconvert.c: In function `g_iconv_close':
gconvert.c:187: `iconv_t' undeclared (first use in this function)
gconvert.c:187: parse error before `cd'
gconvert.c:189: warning: implicit declaration of function `iconv_close'
gconvert.c:189: `cd' undeclared (first use in this function)
gconvert.c: In function `open_converter':
gconvert.c:335: warning: `cd' might be used uninitialized in this function
make[3]: *** [gconvert.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1/glib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1/glib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1'
make: *** [all-recursive-am] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 39, Exitcode 2
!!! (no error message)

!!! emerge aborting on  /usr/portage/dev-libs/glib/glib-2.0.1-r4.ebuild .


with libiconv(-1.7):

$ emerge glib

Calculating dependencies ...done!
>>> emerge dev-libs/glib-2.0.1-r4 to /
>>> md5 ;-) glib-2.0.1.tar.bz2
>>> Unpacking source...
>>> Unpacking glib-2.0.1.tar.bz2
>>> Source unpacked.
You should update your `aclocal.m4' by running aclocal.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for the BeOS... no
checking for Win32... no
checking whether to enable garbage collector friendliness... no
checking whether to disable memory pools... no
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for c++... c++
checking for i686-pc-linux-gnu-g++... (cached) c++
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /bin/install -c
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for pkg-config... /usr/bin/pkg-config
checking for gawk... gawk
checking for perl5... no
checking for perl... perl
checking for indent... indent
checking for perl... /usr/bin/perl
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for getcwd... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for dgettext in libc... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...  az ca de el es eu fr gl ja ko nl nn no
pl pt ro ru sk sl sv ta tr uk zh_CN zh_TW
checking for bind_textdomain_codeset... yes
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking command to parse nm output... ok
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i686-pc-linux-gnu-ranlib... ranlib
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking for objdir... .libs
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-gcc static flag -static works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.lo... no
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared
libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for extra flags to get ANSI library prototypes... none needed
checking for extra flags for POSIX compliance... none needed
checking for ANSI C header files... (cached) yes
checking for vprintf... yes
checking for _doprnt... no
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for atexit... yes
checking for on_exit... yes
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for long... yes
checking size of long... 4
checking for int... yes
checking size of int... 4
checking for void *... yes
checking size of void *... 4
checking for long long... yes
checking size of long long... 8
checking for __int64... no
checking size of __int64... 0
checking for format to printf and scanf a gint64... %llu
checking for an ANSI C-conforming const... (cached) yes
checking if malloc() and friends prototypes are gmem.h compatible... yes
checking for growing stack pointer... no
checking for __inline... yes
checking for __inline__... yes
checking for inline... yes
checking for ISO C99 varargs macros in C... yes
checking for ISO C99 varargs macros in C++... no
checking for GNUC varargs macros... yes
checking whether byte ordering is bigendian... no
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for limits.h... (cached) yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for sys/param.h... (cached) yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for unistd.h... (cached) yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking for stdint.h... (cached) yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for nl_langinfo... yes
checking for nl_langinfo and CODESET... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for setlocale... (cached) yes
checking whether make is GNU Make... yes
checking size of size_t... 4
checking size of ptrdiff_t... 4
checking size of intmax_t... 8
checking for lstat... yes
checking for strerror... yes
checking for strsignal... yes
checking for memmove... yes
checking for mkstemp... yes
checking for vsnprintf... yes
checking for stpcpy... yes
checking for strcasecmp... (cached) yes
checking for strncasecmp... yes
checking for poll... yes
checking for getcwd... (cached) yes
checking for nanosleep... yes
checking for vasprintf... yes
checking for unsetenv... yes
checking for C99 vsnprintf... yes
checking for sys_errlist... yes
checking for sys_siglist... yes
checking for sys_siglist declaration... yes
checking for fd_set... yes, found in sys/types.h
checking whether realloc (NULL,) will work... yes
checking for nl_langinfo (CODESET)... yes
checking for strlcpy/strlcat... no
checking for an implementation of va_copy()... no
checking for an implementation of __va_copy()... yes
checking whether va_lists can be copied by value... yes
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for dlsym in -ldl... yes
checking for RTLD_GLOBAL brokenness... no
checking for preceeding underscore in symbols... no
checking for dlerror... yes
checking for the suffix of shared libraries... .so
checking for gspawn implementation... gspawn.lo
checking for GIOChannel implementation... giounix.lo
checking for platform-dependent source...
checking whether to compile timeloop... yes
checking if building for some Win32 platform... no
checking for thread implementation... posix
checking thread related cflags... -D_REENTRANT
checking for pthread_create/pthread_join... no
checking for pthread_create/pthread_join in -lpthread... yes
checking for sched_get_priority_min... yes
checking thread related libraries... -lpthread
checking for localtime_r... yes
checking for posix getpwuid_r... yes
checking size of pthread_t... 4
checking for pthread_attr_setstacksize... yes
checking for minimal/maximal thread priority...
sched_get_priority_min(SCHED_OTHER)/sched_get_priority_max(SCHED_OTHER)
checking for posix yield function... sched_yield
checking whether to use the PID niceness surrogate for thread priorities... yes
checking size of pthread_mutex_t... 24
checking byte contents of PTHREAD_MUTEX_INITIALIZER...
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
checking system definitions for POLLIN POLLOUT POLLPRI POLLERR POLLHUP
POLLNVAL... done
checking for iconv_open... yes
checking for EILSEQ... yes
checking for gtkdoc-mkdb... false
checking for db2html... false
configure: creating ./config.status
config.status: creating glib-2.0.pc
config.status: creating glib-2.0-uninstalled.pc
config.status: creating gmodule-2.0.pc
config.status: creating gmodule-2.0-uninstalled.pc
config.status: creating gthread-2.0.pc
config.status: creating gthread-2.0-uninstalled.pc
config.status: creating gobject-2.0.pc
config.status: creating gobject-2.0-uninstalled.pc
config.status: creating glib.spec
config.status: creating glib-zip
config.status: creating glib-gettextize
config.status: creating Makefile
config.status: creating build/Makefile
config.status: creating build/win32/Makefile
config.status: creating build/win32/dirent/Makefile
config.status: creating glib/Makefile
config.status: creating glib/libcharset/Makefile
config.status: creating gmodule/gmoduleconf.h
config.status: creating gmodule/Makefile
config.status: creating gobject/Makefile
config.status: creating gobject/glib-mkenums
config.status: creating gthread/Makefile
config.status: creating po/Makefile.in
config.status: creating docs/Makefile
config.status: creating docs/reference/Makefile
config.status: creating docs/reference/glib/Makefile
config.status: creating docs/reference/gobject/Makefile
config.status: creating tests/Makefile
config.status: creating m4macros/Makefile
config.status: creating config.h
config.status: executing default-1 commands
config.status: executing default-2 commands
config.status: executing default-3 commands
creating glibconfig.h
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1'
Making all in .
make[2]: Entering directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1'
Making all in m4macros
make[2]: Entering directory
`/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1/m4macros'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1/m4macros'
Making all in glib
make[2]: Entering directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1/glib'
Making all in libcharset
make[3]: Entering directory
`/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1/glib/libcharset'
/bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
-I. -I../.. -DLIBDIR=\"/usr/lib\"    -march=i686 -O3 -pipe -Wall -D_REENTRANT -c
localcharset.c
/bin/sh ./config.charset 'i686-pc-linux-gnu' > t-charset.alias
mv t-charset.alias charset.alias
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DLIBDIR=\"/usr/lib\"
-march=i686 -O3 -pipe -Wall -D_REENTRANT -c localcharset.c  -fPIC -DPIC -o
localcharset.o
mv -f localcharset.o localcharset.lo
/bin/sh ../../libtool --mode=link i686-pc-linux-gnu-gcc  -march=i686 -O3 -pipe
-Wall -D_REENTRANT  -o libcharset.la   localcharset.lo
mkdir .libs
rm -fr .libs/libcharset.la .libs/libcharset.* .libs/libcharset.*
ar cru .libs/libcharset.al localcharset.lo
ranlib .libs/libcharset.al
creating libcharset.la
(cd .libs && rm -f libcharset.la && ln -s ../libcharset.la libcharset.la)
make[3]: Leaving directory
`/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1/glib/libcharset'
make[3]: Entering directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1/glib'
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.
-I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED
-DGLIB_COMPILATION     -march=i686 -O3 -pipe -Wall -D_REENTRANT -c garray.c
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.
-I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED
-DGLIB_COMPILATION     -march=i686 -O3 -pipe -Wall -D_REENTRANT -c gasyncqueue.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\"
-DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -march=i686 -O3 -pipe
-Wall -D_REENTRANT -c garray.c  -fPIC -DPIC -o garray.o
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\"
-DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -march=i686 -O3 -pipe
-Wall -D_REENTRANT -c gasyncqueue.c  -fPIC -DPIC -o gasyncqueue.o
mv -f gasyncqueue.o gasyncqueue.lo
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.
-I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED
-DGLIB_COMPILATION     -march=i686 -O3 -pipe -Wall -D_REENTRANT -c gbacktrace.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\"
-DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -march=i686 -O3 -pipe
-Wall -D_REENTRANT -c gbacktrace.c  -fPIC -DPIC -o gbacktrace.o
mv -f garray.o garray.lo
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.
-I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED
-DGLIB_COMPILATION     -march=i686 -O3 -pipe -Wall -D_REENTRANT -c gbsearcharray.c
mv -f gbacktrace.o gbacktrace.lo
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.
-I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED
-DGLIB_COMPILATION     -march=i686 -O3 -pipe -Wall -D_REENTRANT -c gcache.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\"
-DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -march=i686 -O3 -pipe
-Wall -D_REENTRANT -c gbsearcharray.c  -fPIC -DPIC -o gbsearcharray.o
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\"
-DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -march=i686 -O3 -pipe
-Wall -D_REENTRANT -c gcache.c  -fPIC -DPIC -o gcache.o
mv -f gbsearcharray.o gbsearcharray.lo
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.
-I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED
-DGLIB_COMPILATION     -march=i686 -O3 -pipe -Wall -D_REENTRANT -c gcompletion.c
mv -f gcache.o gcache.lo
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.
-I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED
-DGLIB_COMPILATION     -march=i686 -O3 -pipe -Wall -D_REENTRANT -c gconvert.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\"
-DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -march=i686 -O3 -pipe
-Wall -D_REENTRANT -c gcompletion.c  -fPIC -DPIC -o gcompletion.o
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\"
-DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -march=i686 -O3 -pipe
-Wall -D_REENTRANT -c gconvert.c  -fPIC -DPIC -o gconvert.o
mv -f gcompletion.o gcompletion.lo
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.
-I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED
-DGLIB_COMPILATION     -march=i686 -O3 -pipe -Wall -D_REENTRANT -c gdataset.c
gconvert.c:45: #error GNU libiconv not in use but included iconv.h is from libiconv
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\"
-DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -march=i686 -O3 -pipe
-Wall -D_REENTRANT -c gdataset.c  -fPIC -DPIC -o gdataset.o
make[3]: *** [gconvert.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f gdataset.o gdataset.lo
make[3]: Leaving directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1/glib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1/glib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1'
make: *** [all-recursive-am] Error 2
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1'
Making all in .
make[2]: Entering directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1'
Making all in m4macros
make[2]: Entering directory
`/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1/m4macros'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1/m4macros'
Making all in glib
make[2]: Entering directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1/glib'
Making all in libcharset
make[3]: Entering directory
`/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1/glib/libcharset'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1/glib/libcharset'
make[3]: Entering directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1/glib'
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.
-I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED
-DGLIB_COMPILATION     -march=i686 -O3 -pipe -Wall -D_REENTRANT -c gconvert.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\"
-DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -march=i686 -O3 -pipe
-Wall -D_REENTRANT -c gconvert.c  -fPIC -DPIC -o gconvert.o
gconvert.c:45: #error GNU libiconv not in use but included iconv.h is from libiconv
make[3]: *** [gconvert.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1/glib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1/glib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/glib-2.0.1-r4/work/glib-2.0.1'
make: *** [all-recursive-am] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 39, Exitcode 2
!!! (no error message)

!!! emerge aborting on  /usr/portage/dev-libs/glib/glib-2.0.1-r4.ebuild .
Comment 1 Spider (RETIRED) gentoo-dev 2002-05-03 20:15:17 UTC
libiconv proved to be bad for the users health, it conflicts with glibc and
makes software bug out.

remove libiconv, emerge glibc, log out and in again (needed for ld.so.conf
/preload ) and you can emerge glib again. Sorry for the inconvenience.
Comment 2 Spider (RETIRED) gentoo-dev 2002-05-05 03:31:06 UTC
*** Bug 2437 has been marked as a duplicate of this bug. ***
Comment 3 Spider (RETIRED) gentoo-dev 2002-05-05 03:32:07 UTC
*** Bug 2393 has been marked as a duplicate of this bug. ***
Comment 4 Kim Nielsen 2002-05-08 01:21:03 UTC
The error still exists and I do not have the libiconv

knielsen root # emerge search iconv
[ Results for search key : iconv ]
[ Applications found : 0 ]

and still glib failes to compile .. any other suggestions ?
Comment 5 Spider (RETIRED) gentoo-dev 2002-05-08 02:52:19 UTC
did you do:
emerge unmerge libiconv
emerge glibc
logout
login
emerge glib 

???
Comment 6 Kim Nielsen 2002-05-08 11:16:13 UTC
thoth root # emerge -p unmerge libiconv

>>> These are the packages that I would unmerge:

!!! Couldn't find match for libiconv

>>> unmerge: No packages selected for removal.

I do not have libiconv .. but I'll try to emerge glibc and try again
Comment 7 Kim Nielsen 2002-05-08 12:42:07 UTC
Wee :) it worked .. it was the glibc I needed to recompile .. Thanks