I booted from the basic LiveCD, and followed the install instructions. Arrived on point 6.c (to build the system from scratch), I ran : # scripts/bootstrap.sh Make returned an error while compiling baselayout-1.8.6.13, more precisely sysvinit-2.84. I rerun `make` on /var/tmp/portage/baselayout-1.8.6.13/work/sysvinit-2.84/src, which returned the same error message : ... cc -Wall -march=pentium3 -O3 -pipe -fomit-frame-pointer -funroll-loops -D_GNU_SOURCE -c -o sulogin.o sulogin.c sulogin.c: In function `main': sulogin.c:347: warning: `p' might be used uninitialized in this function cc -s -o sulogin sulogin.o sulogin.o(.text+0x9d8): In function `main': : undefined reference to `crypt' collect2: ld returned 1 exit status make: *** [sulogin] Error 1 The reason of this is in the Makefile of that directory, on line 31 : ifneq ($(wildcard /usr/lib/libcrypt.a),) LCRYPT = -lcrypt endif On my system (stage1-x86-20030910.tar.bz2), /usr/lib/libcrypt.so is present, but not /usr/lib/libcrypt.a. So I simply executed : # touch /usr/lib/libcrypt.a , and everything went fine. Thanks for correcting this problem.
Created attachment 27288 [details, diff] Patch to baselayout-1.8.6.13-r1 Allow cc to use -lcrypt flag if /usr/lib/libcrypt.so OR /usr/lib/libcrypt.a exists.
*** Bug 44200 has been marked as a duplicate of this bug. ***
I'm guessing this is fixed in 2004.1 since I haven't heard any more about it. Just touching the file isn't sufficient because you shouldn't link programs in /sbin to shared objects in /usr/lib...! Please re-open if this is still an issue, and provide output of "emerge --info"
I don't think it is fixed, as /usr/lib/libcrypt.a is not in the stage1 of 2004.1. Here is my emerge --info, but it is probably not in the exact state as it was when I installed the system. Next time I install a Gentoo system I'll try to reproduce this problem. ---- Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.4-gentoo-r1) ================================================================= System uname: 2.6.4-gentoo-r1 i686 Pentium III (Katmai) Gentoo Base System version 1.4.10 distcc[4574] (dcc_trace_version) distcc 2.12.1 i686-pc-linux-gnu; built Mar 28 2004 16:09:27 [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -funroll-loops" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -funroll-loops" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://sunsite.cnlab-switch.ch/mirror/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X apm arts avi berkdb crypt encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls pam pdflib perl png python readline samba sdl slang spell ssl svga tcpd truetype wxwindows x86 xml2 xmms xv zlib"
Ok, re-opening, need to investigate this further
stage1 tarballs have all static libraries deleted from them because of catalyst
This does not seem to be much relevant after 1 1/2 years.
I think you should close this bug (it seems I can't close it myself), I've never been able to reproduce it...
Closing per reporter request.