Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 26439

Summary: Baselayout does not compile
Product: Gentoo Linux Reporter: Emanuel Greisen <gentoo>
Component: New packagesAssignee: Martin Schlemmer (RETIRED) <azarah>
Status: RESOLVED NEEDINFO    
Severity: major    
Priority: High    
Version: 1.4_rc4   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Emanuel Greisen 2003-08-11 17:41:56 UTC
When I finished the bootstrap.sh during install, and went to "emerge system" the
baselayout did not install.

The error was in the compilation of sysvinit, it said undefinded reference to
"crypt" in sulogin.o.

Changing the "baselayout-1.8.6.8-r1.ebuild" file I added "-lcrypt" to LDFLAGS
instead of the empty string just at the place where sysvinit is to be compiled:

[snip]
                einfo "Building sysvinit..."
                emake CC="${CC:-gcc}" LD="${CC:-gcc}" \
                        LDFLAGS="-lcrypt" || die "problem compiling sysvinit"

                if [ -z "`use bootstrap`" ]
[snip]

That fixed it and the rest of the compilation is running smooth as I type.

./Emanuel
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-08-12 07:07:26 UTC
Do you have a:

  /usr/lib/libcrypt.a

?
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2003-10-13 15:22:00 UTC
No response.