This problem seems to be platform specific. My starting point was a minimal installation of Debian "lenny" 5.0.7, with additional Debian packages ssh, bzip2, make, gcc and bison. Bootstrapping fails at the `./bootstrap-prefix.sh $EPREFIX/tmp coreutils' step, see console output below. It seems that a sufficient workaround is to simply carry on with the next step (emerging findutils). A Gentoo Prefix coreutils package gets emerged successfully later on at the `emerge --oneshot coreutils' step. Last part of cnsole output: if gcc -std=gnu99 -DHAVE_CONFIG_H -DLIBDIR=\"/home/erarafo/a/tmp/usr/lib\" -I. -I. -I.. -I.. -I. -g -O2 -MT userspec.o -MD -MP -MF ".deps/userspec.Tpo" -c -o userspec.o userspec.c; \ then mv -f ".deps/userspec.Tpo" ".deps/userspec.Po"; else rm -f ".deps/userspec.Tpo"; exit 1; fi if gcc -std=gnu99 -DHAVE_CONFIG_H -DLIBDIR=\"/home/erarafo/a/tmp/usr/lib\" -I. -I. -I.. -I.. -I. -g -O2 -MT utimecmp.o -MD -MP -MF ".deps/utimecmp.Tpo" -c -o utimecmp.o utimecmp.c; \ then mv -f ".deps/utimecmp.Tpo" ".deps/utimecmp.Po"; else rm -f ".deps/utimecmp.Tpo"; exit 1; fi In file included from utimecmp.c:41: utimens.h:2: error: conflicting types for 'futimens' /usr/include/sys/stat.h:370: error: previous declaration of 'futimens' was here make[3]: *** [utimecmp.o] Error 1 make[3]: Leaving directory `/home/erarafo/a/tmp/var/tmp/coreutils-5.94/coreutils-5.94/lib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/erarafo/a/tmp/var/tmp/coreutils-5.94/coreutils-5.94/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/erarafo/a/tmp/var/tmp/coreutils-5.94/coreutils-5.94' make: *** [all] Error 2
yea, you need `./bootstrap-prefix.sh $EPREFIX/tmp coreutils6` it also might not be required on linux as you have noted.
i wonder why you're using coreutils-5.94. the bug in question was fixed long ago in newer versions.
Same bug and workaround (use coreutils6) on solaris, maybe the bootstrap docu should be updated
I added a hint to the docu
This problem also affects SUSE Enterprise 11 SP0 (unlike release 10 SP2). I will retry bootstrapping with coreutils6.