I get the following error when emerging craklib 2.8.3 after doing an emerge --sync on a PowerPC: >>> Source unpacked. /usr/lib/portage/bin/ebuild.sh: line 1882: 7306 Done set 7307 Segmentation fault | egrep -v "^SANDBOX_" >"${T}/environment" 2>/dev/null * econf: updating cracklib-2.8.3/config.guess with /usr/share/gnuconfig/config.guess * econf: updating cracklib-2.8.3/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=powerpc-unknown-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking 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... ./configure: line 1563: 7494 Segmentation fault grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1 ./configure: line 1563: 7495 Segmentation fault grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1 /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... no checking for powerpc-unknown-linux-gnu-strip... powerpc-unknown-linux-gnu-strip checking build system type... Invalid configuration `powerpc-unknown-linux-': machine `powerpc-unknown-linux' not recognized configure: error: /bin/sh ./config.sub powerpc-unknown-linux- failed
Created attachment 56775 [details] Config.log for the ebuild
ben, output of emerge --info please
Output of emerge --info: Portage 2.0.51.19 (default-linux/ppc/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20041102-r1, 2.6.9 ppc) ================================================================= System uname: 2.6.9 ppc 7400, altivec supported Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Mar 27 2005, 22:03:52)] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.7.9-r1, 1.6.3, 1.5, 1.8.5-r3, 1.4_p6, 1.9.5 sys-devel/binutils: 2.15.90.0.3-r4 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CFLAGS="-O2 -mtune=G3 -fno-strict-aliasing -pipe" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mtune=G3 -fno-strict-aliasing -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X berkdb bitmap-fonts cdr dvd dvdr emboss esd fam fortran gdbm gif gtk gtk2 imlib java jpeg mad mp3 ncurses nls opengl pam perl png ppc python qt readline ssl tcpd tiff truetype truetype-fonts type1-fonts unicode xml2 xprint xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Looks like grep is segfaulting, does grep segfault when used outside of a build? At any other time? Do you have preempt enabled? It can cause random segfaults. I can't replicate the behaviour here.
The problem seems to have fixed itself. I did the latest emerge --sync last night and ran emerge and it seemed to be fixed. The only difference was that I emerged the latest portage first, then emerged world. I think this is resolved.