running bootstrap.sh, i get folowing error : gcc -c -DLOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -o2 -mcpu=i686 -fomit-frame-pointer explodename.c l10nflist.c:61: error: conflicting types for `stpcpy' /usr/include/string.h:346: error: previous declaration of `stpcpy' make[2]: *** [l10nflist.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/texinfo-4.8/work/texinfo-4.8/intl' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/texinfo-4.8/work/texinfo-4.8' make: *** [all] Error 2 Due this error, i cannot install Gentoo. I'm running compilation in chrooted enviroment (in Fedora Core 3) without swap partition for chrooted enviroment. Reproducible: Always Steps to Reproduce: 1. Boot fedora core 3. 2. Prepare and chroot to gentoo disk mount /dev/hda6 /local mount -t proc none /local/proc chroot /local 3. In chrooted enviroment, i run : env-update source /etc/profile cd /usr/portage scripts/bootstrap.sh -f scripts/bootstrap.sh Actual Results: Result of compilation was : gcc -c -DLOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -o2 -mcpu=i686 -fomit-frame-pointer explodename.c l10nflist.c:61: error: conflicting types for `stpcpy' /usr/include/string.h:346: error: previous declaration of `stpcpy' make[2]: *** [l10nflist.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/texinfo-4.8/work/texinfo-4.8/intl' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/texinfo-4.8/work/texinfo-4.8' make: *** [all] Error 2 Expected Results: Successfull compilation of texinfo and following packages. Configuration: Intel Mobile Celeron 1.8MHz, 512MB Ram, 18GB partition for Gentoo.
Created attachment 54747 [details] Gentoo bootstrap output As you can see, there are 2 places with stpcpy - the "first" configure : checking for stpcpy... yes And here is a second in the "Continuing with main configure (i686-pc-linux-gnu)" checking for stpcpy... no
After aditional 2 tries of : scripts/bootstrap.sh -f scripts/bootstrap.sh it skipped the compilation with message that there is nothing to update. But i'm unsure that it has compiled texinfo. I'm currently at "emerge system" (hoping that that bug doesn't break anything).
Ok, it looks as inconsistency between online installation documentation, livecd documentation and real situation. Stage 1 clean install worked for me with following steps : 1. first install kernel with emerge gentoo-sources 2. then emerge module-init-tools 3. now i can make modules_install 3. after this i can run bootstrap.sh without errors (the whole bootstrap.sh part is missing from the livecd documentation!) I suggest to close this bug, altough it looks like there are bugs in docs.
Well, you're supposed to bootstrap.sh *only* for a stage1 installation, which requires you use the online docs. Also, what do you have for CFLAGS? It looks like you have -o2 instead of -O2. Anyway, the docs are correct, actually.