Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87079 - incomplete docs on livecd ?
Summary: incomplete docs on livecd ?
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-29 01:18 UTC by Frantisek Augusztin
Modified: 2005-03-29 18:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Gentoo bootstrap output (gentoo-bootstrap.log,61.40 KB, text/plain)
2005-03-29 01:51 UTC, Frantisek Augusztin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frantisek Augusztin 2005-03-29 01:18:25 UTC
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.
Comment 1 Frantisek Augusztin 2005-03-29 01:51:49 UTC
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
Comment 2 Frantisek Augusztin 2005-03-29 05:03:54 UTC
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).
Comment 3 Frantisek Augusztin 2005-03-29 14:05:31 UTC
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.
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2005-03-29 18:40:31 UTC
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.