Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44200 - baselayout fails to compile during stage 1 install. I get a "undefined reference to `crypt'" error
Summary: baselayout fails to compile during stage 1 install. I get a "undefined refere...
Status: RESOLVED DUPLICATE of bug 43100
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 All
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-09 18:12 UTC by Renzo
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 Renzo 2004-03-09 18:12:09 UTC
I am doing a stage 1 install and receive this error during bootstrap:
gcc   -o init init.o init_utmp.o
gcc  -o halt halt.o ifdown.o hddown.o utmp.o
gcc  -o shutdown dowall.o shutdown.o utmp.o
gcc  -o runlevel runlevel.o
gcc   -o sulogin sulogin.o
gcc  -o utmpdump utmpdump.o
gcc  -o mesg mesg.o
sulogin.o(.text+0xa5b): 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.6.13 failed.
!!! Function src_compile, Line 108, Exitcode 2
!!! problem compiling sysvinit

*****

Here is `emerge info`:
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-unavailable, 2.4.20-xfs-r3)
=================================================================
System uname: 2.4.20-xfs-r3 i686 Pentium II (Deschutes)
Gentoo Base System version 1.4.3.8p1
Autoconf:
Automake:
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=pentium2 -march=pentium2 -funroll-loops -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=pentium2 -march=pentium2 -funroll-loops -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gpm imlib jpeg libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl pam pdflib png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"
Comment 1 Renzo 2004-03-10 09:22:36 UTC
Me being impatient, I decided to try a few things. I removed -fomit-frame-pointer and change march= and mcpu= to pentium2 (since I'm running dual PII xeons) but I received the same error. Baselayout was failing to compiling during bootstrap so I try to emerge baselayout manually (emerge baselayout). It emerged the 47/48 dependencies then it emerged baselayout. I then tried `scripts/bootstrap-2.6.sh` and I'm on stage 2 at the moment.
Comment 2 Nicolas Boichat 2004-03-10 10:47:13 UTC
It's a duplicate of 43100.
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2004-05-05 20:35:45 UTC

*** This bug has been marked as a duplicate of 43100 ***