Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22946 - can't compile sysvinit-2.84
Summary: can't compile sysvinit-2.84
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-16 13:16 UTC by Eremit
Modified: 2003-11-25 01:38 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eremit 2003-06-16 13:16:57 UTC
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.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-06-23 00:19:45 UTC
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).
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2003-06-23 13:17:07 UTC
> 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.
Comment 3 marco 2003-07-28 13:21:34 UTC
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
Comment 4 Andrew Cooks (RETIRED) gentoo-dev 2003-11-25 01:38:59 UTC
Please reopen if it still a problem.