Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 189311 - sys-apps/grep-2.5.3 fails to compile on x86-macos
Summary: sys-apps/grep-2.5.3 fails to compile on x86-macos
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: All OS X
: High major (vote)
Assignee: osx porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-18 07:37 UTC by Elias Pipping (RETIRED)
Modified: 2008-02-29 22:03 UTC (History)
0 users

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


Attachments
error log for latest snapshot/alpha (grep-2.5.4-20071119_error.log,10.27 KB, text/plain)
2007-11-20 07:55 UTC, Elias Pipping (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Pipping (RETIRED) gentoo-dev 2007-08-18 07:37:46 UTC
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
Comment 1 Elias Pipping (RETIRED) gentoo-dev 2007-08-18 07:45:57 UTC
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?
Comment 2 Fabian Groffen gentoo-dev 2007-08-18 08:03:46 UTC
masking 2.5.3 for the whole of prefix is better, as --color is broken on single files, remarkably, not on multiple files.
Comment 3 Elias Pipping (RETIRED) gentoo-dev 2007-08-18 08:24:54 UTC
(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
Comment 4 Elias Pipping (RETIRED) gentoo-dev 2007-11-20 07:55:49 UTC
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`)
Comment 5 Fabian Groffen gentoo-dev 2008-02-29 21:09:45 UTC
Can we close this bug?  The mask feels like the fix here.
Comment 6 Elias Pipping (RETIRED) gentoo-dev 2008-02-29 21:17:35 UTC
Sure.