hi, i tried to install gentoo from stage1. at documentationpoint 12 i have to fill out "emerge system". this fails when it wants to compile sysvinit in the file sulogin.c. here is the error: eremitpc portage # emerge system Calculating system dependencies ...done! >>> emerge (1 of 77) sys-apps/baselayout-1.8.5.9 to / >>> md5 src_uri ;-) sysvinit-2.84.tar.gz >>> Unpacking source... >>> Unpacking sysvinit-2.84.tar.gz to /var/tmp/portage/baselayout-1.8.5.9/work >>> Unpacking rc-scripts-1.4.2.9.tar.bz2 >>> Source unpacked. * Building sysvinit... cc -c -Wall -O3 -march=athlon-xp -mcpu=athlon-xp -s -mmmx -m3dnow -fstrength-reduce -fexpensive-optimizations -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fomit-frame-pointer -D_GNU_SOURCE init.c cc -c -Wall -O3 -march=athlon-xp -mcpu=athlon-xp -s -mmmx -m3dnow -fstrength-reduce -fexpensive-optimizations -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fomit-frame-pointer -D_GNU_SOURCE -DINIT_MAIN utmp.c -o init_utmp.o cc -Wall -O3 -march=athlon-xp -mcpu=athlon-xp -s -mmmx -m3dnow -fstrength-reduce -fexpensive-optimizations -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fomit-frame-pointer -D_GNU_SOURCE -c -o halt.o halt.c cc -Wall -O3 -march=athlon-xp -mcpu=athlon-xp -s -mmmx -m3dnow -fstrength-reduce -fexpensive-optimizations -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fomit-frame-pointer -D_GNU_SOURCE -c -o ifdown.o ifdown.c init.c: In function `init_main': init.c:2439: warning: no return statement in function returning non-void cc -Wall -O3 -march=athlon-xp -mcpu=athlon-xp -s -mmmx -m3dnow -fstrength-reduce -fexpensive-optimizations -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fomit-frame-pointer -D_GNU_SOURCE -c -o hddown.o hddown.c cc -c -Wall -O3 -march=athlon-xp -mcpu=athlon-xp -s -mmmx -m3dnow -fstrength-reduce -fexpensive-optimizations -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fomit-frame-pointer -D_GNU_SOURCE utmp.c cc -Wall -O3 -march=athlon-xp -mcpu=athlon-xp -s -mmmx -m3dnow -fstrength-reduce -fexpensive-optimizations -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fomit-frame-pointer -D_GNU_SOURCE -c -o dowall.o dowall.c cc -Wall -O3 -march=athlon-xp -mcpu=athlon-xp -s -mmmx -m3dnow -fstrength-reduce -fexpensive-optimizations -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fomit-frame-pointer -D_GNU_SOURCE -c -o shutdown.o shutdown.c cc -Wall -O3 -march=athlon-xp -mcpu=athlon-xp -s -mmmx -m3dnow -fstrength-reduce -fexpensive-optimizations -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fomit-frame-pointer -D_GNU_SOURCE killall5.c -o killall5 cc -Wall -O3 -march=athlon-xp -mcpu=athlon-xp -s -mmmx -m3dnow -fstrength-reduce -fexpensive-optimizations -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fomit-frame-pointer -D_GNU_SOURCE -c -o runlevel.o runlevel.c cc -Wall -O3 -march=athlon-xp -mcpu=athlon-xp -s -mmmx -m3dnow -fstrength-reduce -fexpensive-optimizations -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fomit-frame-pointer -D_GNU_SOURCE -c -o sulogin.o sulogin.c cc -Wall -O3 -march=athlon-xp -mcpu=athlon-xp -s -mmmx -m3dnow -fstrength-reduce -fexpensive-optimizations -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fomit-frame-pointer -D_GNU_SOURCE -c -o utmpdump.o utmpdump.c sulogin.c: In function `main': sulogin.c:347: warning: `p' might be used uninitialized in this function cc -Wall -O3 -march=athlon-xp -mcpu=athlon-xp -s -mmmx -m3dnow -fstrength-reduce -fexpensive-optimizations -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fomit-frame-pointer -D_GNU_SOURCE -c -o last.o last.c cc -Wall -O3 -march=athlon-xp -mcpu=athlon-xp -s -mmmx -m3dnow -fstrength-reduce -fexpensive-optimizations -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fomit-frame-pointer -D_GNU_SOURCE -c -o mesg.o mesg.c cc -Wall -O3 -march=athlon-xp -mcpu=athlon-xp -s -mmmx -m3dnow -fstrength-reduce -fexpensive-optimizations -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fomit-frame-pointer -D_GNU_SOURCE -c -o wall.o wall.c cc -o init init.o init_utmp.o cc -o halt halt.o ifdown.o hddown.o utmp.o cc -o shutdown dowall.o shutdown.o utmp.o cc -o runlevel runlevel.o cc -o sulogin sulogin.o cc -o utmpdump utmpdump.o sulogin.o(.text+0x992): In function `main': : undefined reference to `crypt' collect2: ld returned 1 exit status make: *** [sulogin] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: sys-apps/baselayout-1.8.5.9 failed. !!! Function src_compile, Line 121, Exitcode 2 !!! problem compiling sysvinit hope you can help me and fix this. Eremit Reproducible: Always Steps to Reproduce: 1. 2. 3.
Hi, sorry been MIA for a bit. This looks like it is merged before glibc is recompiled, and thus install libcrypt. Is this during bootstrap ? If so, please send me your bootstrap.sh (in /usr/portage/scripts).
> The error occurs after the bootstrap in stage 1. > at stage 2 i have to fill out "emerge system" and in this case the making of > sysvinit fails. i can't send to you the bootstrap.sh because i have installed > gentoo new from the livecd with stage 3. this works really fine and has no > error. > Ok. If in future you try again, and can provide more info, please reopen.
i've got the same problem now re emergeing glibc try if this helps did a install as sead on the dutch intallation guide downloaded stage 1 enz
Please reopen if it still a problem.