$ emerge -Duvp world These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild U ] sys-apps/baselayout-1.8.6.7 [1.8.6.6] [ebuild U ] app-admin/mirrorselect-0.4 [0.3] [ebuild U ] app-emulation/wine-20030508 [20030411-r1] $ emerge -Du world 2>&1 | tee /tmp/emerge.log * Please install sys-apps/gawk-3.1.1-r2 or later! !!! ERROR: sys-apps/baselayout-1.8.6.7 failed. !!! Function src_compile, Line 126, Exitcode 0 !!! gawk too old The full yet short log of the emerge process is attached as emerge.log. $ emerge -s gawk * sys-apps/gawk Latest version available: 3.1.2-r3 Latest version installed: 3.1.2-r3 Size of downloaded files: 1,956 kB Homepage: http://www.gnu.org/software/gawk/gawk.html Description: GNU awk pattern-matching language $ emerge info Portage 2.0.48_pre5 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz GENTOO_MIRRORS=" http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://194.83.57.2/sites/www.ibiblio.org/gentoo/ http://212.219.56.131/sites/www.ibiblio.org/gentoo/" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 3dnow avi cups encode gif jpeg mmx mpeg ncurses pdflib png quicktime truetype xml2 xmms xv zlib directfb alsa slang readline aalib svga java X sdl tcpd pam libwww ssl python imlib oggvorbis gtk motif opengl mozilla cdr acpi acpi4linux dvd fbcon gtk2 imap maildir moznocompose moznoirc moznomail moznoxft mozsvg sse tiff usb xml -oss -apm -crypt -libg++ -mikmod -nls -spell -gtkhtml -gdbm -berkdb -arts -tetex -bonobo -tcltk -guile -gpm -perl -esd -gnome -qt -kde" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -falign-functions=4 -funroll-loops -ffast-math -fforce-addr" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -falign-functions=4 -funroll-loops -ffast-math -fforce-addr" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j5" AUTOCLEAN="yes" SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
Created attachment 11817 [details] emerge.log
Hello. After recompiling gawk and running env-update, ldconfig and source /etc/profile the baselayout emerge went fine. I'm at a loss as to why this failed to recognise gawk in the first place but I guess this bug is as good as closed.
try revdep-rebuild from gentoolkit maybe you have some more broken packages
*** Bug 20856 has been marked as a duplicate of this bug. ***
*** Bug 20866 has been marked as a duplicate of this bug. ***
This problem seems to be caused by a conflict with a previous install of either gawk or baselayout (from looking at the CONTENTS files in /var/db/pkg I suspect baselayout). The problem is that /lib/rcscripts/filefuncs.so is supposed to be a symlink, but on my machine it was a regular file. To get around it I just changed into directory /etc/rcscripts/, moved the file filefuncs.so to filefuncs.so.sav and created a new symlink from filefuncs.so -> filefuncs.so.0.0.1. After that, emerge worked as expected.