I was trying to compile jed by typing "emerge jed" and emerge always failed because of a supposably missing buffer.o file in the directory. /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs The buffer.o file existed after compilation, except that the makefile had tried to "cd" into an unexisting directory, causing an error. What I mean is that the buffer.o file existed, but it was not in the directory where the makefile thought it would be. (Read the logs...) then I tried again with "emerge =jed-0.99-16-r2" and it worked !!! Reproducible: Sometimes Steps to Reproduce: 1.do "emerge jed" and it crashes 2.do "emerge =jed-0.99.16-r2" and it works I suspect that something does not get cleaned because when i tried to reproduce it, I had to run step 2 twice to make it work. I have no clue what happens. Actual Results: crashes Expected Results: It should have compiled and not complained :) (My "emerge info" is at the bottom) I suspect ----------------------------- This is the emerge output from the first emerge : ----------------------------- atlas portage # emerge jed Calculating dependencies ...done! >>> emerge (1 of 1) app-editors/jed-0.99.16-r2 to / >>> md5 files ;-) jed-0.99.16-r2.ebuild >>> md5 files ;-) jed-0.99.16-r1.ebuild >>> md5 files ;-) files/jed.info.diff >>> md5 files ;-) files/jed-0.99.16-jed.info.patch >>> md5 files ;-) files/jed-0.99.16-gentoo-shmode.sl >>> md5 files ;-) files/digest-jed-0.99.16-r1 >>> md5 files ;-) files/digest-jed-0.99.16-r2 >>> md5 src_uri ;-) jed-0.99-16.tar.bz2 >>> Unpacking source... >>> Unpacking jed-0.99-16.tar.bz2 to /var/tmp/portage/jed-0.99.16-r2/work * Applying jed-0.99.16-jed.info.patch ... [ ok ]>>> Source unpacked. creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc -O2 -march=pentium4 -fomit-frame-pointer -pipe ) works... yes checking whether the C compiler (gcc -O2 -march=pentium4 -fomit-frame-pointer -pipe ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking whether gcc needs -traditional... no checking for POSIXized ISC... no checking for AIX... no checking C compiler that understands ANSI prototypes... gcc looks ok. Good. checking whether make sets ${MAKE}... yes checking for ranlib... ranlib checking for a BSD compatible install... /bin/install -c checking for X... libraries , headers checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for stdlib.h... yes checking for unistd.h... yes checking for memory.h... yes checking for glob.h... yes checking for malloc.h... yes checking for termios.h... yes checking for fcntl.h... yes checking for sys/fcntl.h... yes checking for pty.h... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for ANSI C header files... yes checking for mode_t... yes checking for pid_t... yes checking for uid_t in sys/types.h... yes checking for openpty in -lutil... yes checking for memset... yes checking for memcpy... yes checking for putenv... yes checking for setenv... yes checking for unsetenv... yes checking for getcwd... yes checking for setsid... yes checking for tcgetattr... yes checking for tcsetattr... yes checking for cfgetospeed... yes checking for grantpt... yes checking for setlocale... yes checking for utime... yes checking for symlink... yes checking for gethostname... yes checking for tcgetpgrp... yes checking for openpty... yes checking for snprintf... yes checking for vsnprintf... yes checking for Terminfo... yes looking for the SLANG library Looking for slang.h in /var/tmp/portage/jed-0.99.16-r2/work/slang/libsrc and libslang.a in /var/tmp/portage/jed-0.99.16-r2/work/slang/libsrc/x86objs Looking for slang.h in /var/tmp/portage/jed-0.99.16-r2/work/slang/libsrc and libslang.a in /var/tmp/portage/jed-0.99.16-r2/work/slang/libsrc/x86objs Looking for slang.h in /var/tmp/portage/jed-0.99.16-r2/work/slang/src and libslang.a in /var/tmp/portage/jed-0.99.16-r2/work/slang/src/x86objs Looking for slang.h in /var/tmp/portage/jed-0.99.16-r2/work/slang/src and libslang.a in /var/tmp/portage/jed-0.99.16-r2/work/slang/src/x86objs Looking for slang.h in /var/tmp/portage/homedir/include and libslang.a in /var/tmp/portage/homedir/lib Looking for slang.h in /var/tmp/portage/homedir/include and libslang.a in /var/tmp/portage/homedir/x86/lib Looking for slang.h in /var/tmp/portage/homedir/include and libslang.a in /var/tmp/portage/homedir/sys/x86/lib Looking for slang.h in ${prefix}/include and libslang.a in ${exec_prefix}/lib Looking for slang.h in /usr/local/include and libslang.a in /usr/local/lib Looking for slang.h in /usr/include and libslang.a in /usr/lib Found it. updating cache ./config.cache creating ./config.status creating Makefile creating src/Makefile creating src/sysconf.h You need to edit src/Makefile if the following are not correct: CC = gcc CFLAGS = -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce JED_ROOT = /usr/share/jed Also edit src/Makefile to enable: GPM Mouse support (Linux) You may also want to edit src/jed-feat.h to enable or disable some features. Before typing 'make', type 'make clean' first. /bin/rm -f *~ cd src; make clean make[1]: Entering directory `/var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src' /bin/rm -f /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs/* *~ \#* make[1]: Leaving directory `/var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src' cd src; make jed make[1]: Entering directory `/var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src' mkdir /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs /bin/cp /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/sysconf.h config.h cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc -c -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE -DJED_ROOT='"/usr/share/jed"' /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/buffer.c /bin/sh: line 0: cd: /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs: No such file or directory cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc -c -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE -DJED_ROOT='"/usr/share/jed"' /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/cmds.c /bin/sh: line 0: cd: /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs: No such file or directory cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc -c -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE -DJED_ROOT='"/usr/share/jed"' /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/misc.c cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc -c -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE -DJED_ROOT='"/usr/share/jed"' /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/file.c cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc -c -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE -DJED_ROOT='"/usr/share/jed"' /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/main.c cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc -c -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE -DJED_ROOT='"/usr/share/jed"' /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/ins.c cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc -c -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE -DJED_ROOT='"/usr/share/jed"' /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/sig.c cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc -c -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE -DJED_ROOT='"/usr/share/jed"' /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/sysdep.c cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc -c -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE -DJED_ROOT='"/usr/share/jed"' /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/screen.c cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc -c -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE -DJED_ROOT='"/usr/share/jed"' /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/paste.c cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc -c -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE -DJED_ROOT='"/usr/share/jed"' /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/ledit.c cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc -c -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE -DJED_ROOT='"/usr/share/jed"' /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/line.c cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc -c -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE -DJED_ROOT='"/usr/share/jed"' /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/search.c cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc -c -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE -DJED_ROOT='"/usr/share/jed"' /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/text.c cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc -c -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE -DJED_ROOT='"/usr/share/jed"' /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/keymap.c cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc -c -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE -DJED_ROOT='"/usr/share/jed"' /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/replace.c cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc -c -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE -DJED_ROOT='"/usr/share/jed"' /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/window.c cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc -c -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE -DJED_ROOT='"/usr/share/jed"' /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/undo.c cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc -c -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE -DJED_ROOT='"/usr/share/jed"' /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/vfile.c cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc -c -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE -DJED_ROOT='"/usr/share/jed"' /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/intrin.c cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc -c -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE -DJED_ROOT='"/usr/share/jed"' /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/syntax.c cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc -c -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE -DJED_ROOT='"/usr/share/jed"' /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/abbrev.c cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc -c -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE -DJED_ROOT='"/usr/share/jed"' /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/indent.c cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc -c -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE -DJED_ROOT='"/usr/share/jed"' /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/jprocess.c cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc -c -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE -DJED_ROOT='"/usr/share/jed"' /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/lineattr.c cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc -c -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE -DJED_ROOT='"/usr/share/jed"' /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/blocal.c cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc -c -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE -DJED_ROOT='"/usr/share/jed"' /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/mouse.c cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc -c -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE -DJED_ROOT='"/usr/share/jed"' /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/menu.c cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc -c -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE -DJED_ROOT='"/usr/share/jed"' /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/userinfo.c cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc -c -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE -DJED_ROOT='"/usr/share/jed"' /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/lock.c cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc -c -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE -DJED_ROOT='"/usr/share/jed"' /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/version.c cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc -c -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE -DJED_ROOT='"/usr/share/jed"' /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/hooks.c cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc -c -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE -DJED_ROOT='"/usr/share/jed"' /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/colors.c cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc -c -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE -DJED_ROOT='"/usr/share/jed"' /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/display.c cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc -c -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE -DJED_ROOT='"/usr/share/jed"' /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/gpmmouse.c gcc -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-strength-reduce -Dunix -DJED -DHAS_GPM_MOUSE /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/chkslang.c -o /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs/chkslang -lslang -lgpm -lutil -lm if /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs/chkslang jed 10311 ;\ then exit 0; else rm -f /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs/chkslang; exit 1; fi cd /var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs; gcc buffer.o cmds.o misc.o file.o main.o ins.o sig.o sysdep.o screen.o paste.o ledit.o line.o search.o text.o keymap.o replace.o window.o undo.o vfile.o intrin.o syntax.o abbrev.o indent.o jprocess.o lineattr.o blocal.o mouse.o menu.o userinfo.o lock.o version.o hooks.o colors.o display.o gpmmouse.o \ -o jed -lslang -lgpm -lutil -lm gcc: buffer.o: No such file or directory gcc: cmds.o: No such file or directory make[1]: *** [/var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/x86objs/jed] Error 1 make[1]: Leaving directory `/var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src' make: *** [jed] Error 2 !!! ERROR: app-editors/jed-0.99.16-r2 failed. !!! Function src_compile, Line 60, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. ---------------------------- this is the emerge output from the second emerge ---------------------------- same output as first try but with no errors ---------------------------- this is my "emerge info" ---------------------------- atlas portage # emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r0, 2.6.11-gentoo-r6 i686) ================================================================= System uname: 2.6.11-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /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/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl eds emboss encode esd fam foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal imagemagick imlib ipv6 java jpeg junit kde libg++ libwww mad mikmod motif mozilla mp3 mpeg ncurses nls nvidia ogg oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline sdl slang spell ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Try to set MAKEOPTS to -j1 just for testing
no response.