While building this: subarch: x86 version_stamp: 20040622 target: stage1 profile: default-x86-2004.0 rel_type: default snapshot: 20040622 source_subpath: default/stage3-i686-20040218 distcc_hosts: localhost I get this: if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -O2 -mcpu=i686 -fomit-frame-pointer -MT df.o -MD -MP -MF ".deps/df.Tpo" -c -o df.o df.c; \ then mv -f ".deps/df.Tpo" ".deps/df.Po"; else rm -f ".deps/df.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -O2 -mcpu=i686 -fomit-frame-pointer -MT setuidgid.o -MD -MP -MF ".deps/setuidgid.Tpo" -c -o setuidgid.o setuidgid.c; \ then mv -f ".deps/setuidgid.Tpo" ".deps/setuidgid.Po"; else rm -f ".deps/setuidgid.Tpo"; exit 1; fi gcc -O2 -mcpu=i686 -fomit-frame-pointer -o [ lbracket.o ../lib/libfetish.a ../lib/libfetish.a gcc -O2 -mcpu=i686 -fomit-frame-pointer -o chgrp chgrp.o chown-core.o ../lib/libfetish.a ../lib/libfetish.a gcc -O2 -mcpu=i686 -fomit-frame-pointer -o chown chown.o chown-core.o ../lib/libfetish.a ../lib/libfetish.a gcc -O2 -mcpu=i686 -fomit-frame-pointer -o chmod chmod.o ../lib/libfetish.a ../lib/libfetish.a gcc -O2 -mcpu=i686 -fomit-frame-pointer -o cp cp.o copy.o cp-hash.o ../lib/libfetish.a ../lib/libfetish.a gcc -O2 -mcpu=i686 -fomit-frame-pointer -o dd dd.o ../lib/libfetish.a ../lib/libfetish.a gcc -O2 -mcpu=i686 -fomit-frame-pointer -o dircolors dircolors.o ../lib/libfetish.a ../lib/libfetish.a gcc -O2 -mcpu=i686 -fomit-frame-pointer -o du du.o ../lib/libfetish.a ../lib/libfetish.a gcc -O2 -mcpu=i686 -fomit-frame-pointer -o ginstall install.o copy.o cp-hash.o ../lib/libfetish.a ../lib/libfetish.a gcc -O2 -mcpu=i686 -fomit-frame-pointer -o link link.o ../lib/libfetish.a ../lib/libfetish.a gcc -O2 -mcpu=i686 -fomit-frame-pointer -o ln ln.o ../lib/libfetish.a ../lib/libfetish.a gcc -O2 -mcpu=i686 -fomit-frame-pointer -o dir ls.o ls-dir.o ../lib/libfetish.a ../lib/libfetish.a -lrt -lncurses /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find /lib/libncurses.so collect2: ld returned 1 exit status distcc[31398] ERROR: compile on localhost failed make[3]: *** [dir] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/coreutils-5.2.0-r2/work/coreutils-5.2.0/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/coreutils-5.2.0-r2/work/coreutils-5.2.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/coreutils-5.2.0-r2/work/coreutils-5.2.0' make: *** [all] Error 2 !!! ERROR: sys-apps/coreutils-5.2.0-r2 failed. !!! Function src_compile, Line 119, Exitcode 2 !!! (no error message) !!! catalyst: build script failed !!! catalyst: Stage build aborting due to error. Reproducible: Always Steps to Reproduce:
It appears to be a bug with your seed stage. I would venture to guess that the libncurses.so is actually under /usr/lib instead. Also, you *must* build a stage1 using a generic x86 seed stage, you cannot use an optimized seed stage. Reassigning to zhen@gentoo.org, since this is a catalyst-specific issue.
chris is right. try what he said, and if that doesn't work, disable distcc and see what happens. ncurses can be rather finicky in the stage builds .. this isn't really a catalyst issue as catalyst just calls the appropriate script to do the building (which in this case is Portage). your specfile looks ok and that is about the only thing that would bork catalyst.
Used a plain stage3, disabled distcc, no results though. I guess catalyst building ain't for me :) (I reverted my reiser4 filesystem to reiser3 anyway, no need for custom livecds anymore)