grep-2.54 fails, like so: mv -f .deps/egrep.Tpo .deps/egrep.Po i686-apple-darwin9-gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -I../lib -DLOCALEDIR=\"/Library/Gentoo/usr/share/locale\" -O2 -pipe -march=prescott -MT fsearch.o -MD -MP -MF .deps/fsearch.Tpo -c -o fsearch.o fsearch.c In file included from fsearch.c:2: search.c: In function 'check_multibyte_string': search.c:169: warning: passing argument 1 of 'wcrtomb' discards qualifiers from pointer target type mv -f .deps/fsearch.Tpo .deps/fsearch.Po mv -f .deps/fgrep.Tpo .deps/fgrep.Po i686-apple-darwin9-gcc -O2 -pipe -march=prescott -o fgrep fgrep.o fsearch.o kwset.o ../lib/libgreputils.a Undefined symbols: "_libintl_gettext", referenced from: _print_and_abort in libgreputils.a(obstack.o) ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: *** [fgrep] Error 1 make[2]: *** Waiting for unfinished jobs.... mv -f .deps/dfa.Tpo .deps/dfa.Po make[2]: Leaving directory `/Library/Gentoo/var/tmp/portage/sys-apps/grep-2.5.4/work/grep-2.5.4/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/Library/Gentoo/var/tmp/portage/sys-apps/grep-2.5.4/work/grep-2.5.4' make: *** [all] Error 2 * ERROR: sys-apps/grep-2.5.4 failed: * emake failed * * Call stack: * ebuild.sh: 49: <call src_compile> * environment:2224: emake || die "emake failed" * * If you need support, post the topmost build error, and the call stack if relevant. Reproducible: Always I reemerged gettext "just in case", but that didn't change anything; I also tried with MAKEOPTS="-j1". Portage 2.2.00.12671-prefix (prefix/darwin/macos/10.5/x86, gcc-4.2.1, unavailable, 9.6.0 i386) ================================================================= System uname: Darwin-9.6.0-i386-32bit Timestamp of tree: Tue, 24 Feb 2009 15:02:31 +0000 distcc 2.18.5-Apple.1 i386-apple-darwin9.0 (protocols 1 and 2) (default port 3632) [disabled] app-shells/bash: 3.2_p48 dev-lang/python: 2.5.4-r2 sys-devel/autoconf: 2.63 sys-devel/automake: 1.10.2-r00.1 sys-devel/gcc-config: 1.4.0-r04.6 sys-devel/libtool: 1.5.26 ACCEPT_KEYWORDS="~x86-macos" CBUILD="i686-apple-darwin9" CFLAGS="-O2 -pipe -march=prescott" CHOST="i686-apple-darwin9" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -pipe -march=prescott" DISTDIR="/Library/Gentoo/usr/portage/distfiles" EPREFIX="/Library/Gentoo" FEATURES="buildpkg collision-protect distlocks fixpackages nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LDFLAGS="" MAKEOPTS="-j3" PKGDIR="/Library/Gentoo/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/Library/Gentoo/var/tmp" PORTDIR="/Library/Gentoo/usr/portage" PORTDIR_OVERLAY="/Users/fafhrd/Projects/gentoo/overlay" SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix" USE="aac amr aqua bzip2 coreaudio cracklib dirac emacs gif gsm ipv6 jpeg midi mmx mmxext mp3 ncurses objc objc++ png prefix readline schroedinger speex spell sse sse2 ssl theora tiff unicode vorbis x264 x86-macos xpm xvid zlib" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="Darwin" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I don't see nls in your USE-flags so I assume that's the problem, as it compiles fine for me with USE="nls"
We could force it in package.use.force?
nls patch was readded, please reopen if the bug persists in an hour from now