this is problematic because grep is a part of 'system' and since 2.5.3 is not masked in anyway, everyone who'll upgrade his/her system will stumble upon this. this is the error I get: i686-apple-darwin8-gcc -O2 -march=nocona -fomit-frame-pointer -pipe -o fgrep fgrep.o fsearch.o kwset.o ../lib/libgreputils.a /Users/pipping/Gentoo/usr/bin/ld: Undefined symbols: _libintl_gettext = = = % emerge --info Portage 2.2.00.7595-prefix (default-prefix/darwin/macos/10.4/x86, gcc-4.0.1, unavailable, 8.10.1 i386) ================================================================= System uname: 8.10.1 i386 i386 Gentoo Prefix Base System version 1.12.5 Timestamp of tree: Sat, 18 Aug 2007 07:00:22 +0000 distcc 2.18.3-Apple.1 powerpc-apple-darwin8.0 (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.4.4-r04.2 dev-python/pycrypto: 2.0.1-r6 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 ACCEPT_KEYWORDS="x86-macos ~x86-macos" AUTOCLEAN="yes" CBUILD="i686-apple-darwin8" CFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe" CHOST="i686-apple-darwin8" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe" DISTDIR="/Users/pipping/Gentoo/usr/portage/distfiles" EPREFIX="/Users/pipping/Gentoo" FEATURES="collision-protect distlocks metadata-transfer nodoc noinfo nostrip parallel-fetch sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/Users/pipping/Gentoo/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/Users/pipping/Gentoo/var/tmp" PORTDIR="/Users/pipping/Gentoo/usr/portage" SYNC="svn+http://overlays.gentoo.org/svn/proj/alt/trunk/prefix-overlay" USE="aac coreaudio cracklib crypt gnutls gpgme imap mmx mmxext ncurses objc objc++ prefix readline sasl smtp sse sse2 ssl unicode x86-macos zlib" ELIBC="Darwin" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
I don't have USE=nls set, so the configure script is passed --disable-nls. If i remove that switch, everything works, which doesn't make any sense at all!!! We could either * mask v2.5.3 for darwin (or macos or wherever else the error occurs) or * package.use.force nls for v2.5.3 (again, for whatever platforms it applies) or * do something else?
masking 2.5.3 for the whole of prefix is better, as --color is broken on single files, remarkably, not on multiple files.
(In reply to comment #2) > masking 2.5.3 for the whole of prefix is better, as --color is broken on single > files, remarkably, not on multiple files. done in r8663[1]. [1] http://overlays.gentoo.org/proj/alt/changeset/8663
Created attachment 136473 [details] error log for latest snapshot/alpha the latest version from alpha.gnu.org/gnu/grep, grep-2.5.4-20071119, compiles for me but fails the test suite the same way 2.5.3 did. attaching the log (from manual `make check`)
Can we close this bug? The mask feels like the fix here.
Sure.