When Gentoo executes /sbin/depscan.sh (booting time, emerging or whatever) it's produced an error because one file is missing. If tryed to follow up the mistake and I watch that the problem is inside the following line: bash "${svcdir}/depcache" | \ \ /bin/gawk \ -f /lib/rcscripts/awk/functions.awk \ -f /lib/rcscripts/awk/gendepends.awk || \ retval=1 The error is the following one... # /sbin/depscan.sh * Caching service dependencies... : command not foundcache: line 3: : command not foundcache: line 5: : command not foundcache: line 10: : command not foundcache: line 16: : command not foundcache: line 20: : command not foundcache: line 29: : command not foundcache: line 30: Reproducible: Always Steps to Reproduce: 1. Execute /sbin/depscan.sh 2. The error is repeated 3. Actual Results: # /sbin/depscan.sh * Caching service dependencies... : command not foundcache: line 3: : command not foundcache: line 5: : command not foundcache: line 10: : command not foundcache: line 16: : command not foundcache: line 20: : command not foundcache: line 29: : command not foundcache: line 30: Expected Results: N/A emerge --info Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r9 i686) ================================================================= System uname: 2.6.9-gentoo-r9 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="" ARCH="x86" AUTOCLEAN="yes" BASH_ENV="/etc/spork/is/not/valid/profile.env" CC="gcc" CFLAGS="-march=pentium3 -pipe -O3" CHOST="i686-pc-linux-gnu" CLEAN_DELAY="5" 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" CVS_RSH="ssh" CXX="g++" CXXFLAGS="-march=pentium3 -pipe -O3" DISPLAY="acsev-052.sur.acisa.es:0.0" DISTDIR="/usr/portage/distfiles" EDITOR="/usr/bin/vim" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}" GENTOO_MIRRORS="ftp://ftp.ipv6.uni-muenster.de/pub/linux/distributions/gentoo http://gentoo.zie.pg.gda.pl http://ftp.easynet.nl/mirror/gentoo/" GLIBC_SSP_CHECKED="1" GRP_STAGE23_USE="ipv6 pam tcpd readline nls ssl gpm perl python berkdb ncurses" HOME="/root" HOSTNAME="acisasec" INFODIR="/usr/share/info" INFOPATH="/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info" INPUTRC="/etc/inputrc" LESS="-R" LESSOPEN="|lesspipe.sh %s" LOGNAME="root" MAIL="/var/mail/root" MAKEOPTS="-j2" MANPATH="/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man" NOCOLOR="false" PAGER="/usr/bin/less" PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3" PKGDIR="/usr/portage/packages" PORTAGE_ARCHLIST="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 ppc-macos ppc-od s390 sh sparc x86 x86-obsd x86-fbsd x86-od"PORTAGE_BINHOST_CHUNKSIZE="3000" PORTAGE_CALLER="emerge" PORTAGE_GID="250" PORTAGE_MASTER_PID="10083" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PRELINK_PATH="" PRELINK_PATH_MASK="" PS1="\[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\]" PWD="/root" REMOTEHOST="acsev-052.sur.acisa.es" RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}" RPMDIR="/usr/portage/rpm" RSYNC_RETRIES="3" RSYNC_TIMEOUT="180" SHELL="/bin/bash" SHLVL="1" SSH_CLIENT="::ffff:172.16.11.8 33958 22" SSH_CONNECTION="::ffff:172.16.11.8 33958 ::ffff:172.16.11.233 22" SSH_TTY="/dev/pts/0" SVCDIR="/var/lib/init.d/" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" TERM="xterm" USE="X acpi alsa apm arts avi berkdb bitmap-fonts crypt cups dvd encode f77 foomaticdb fortran gdbm gif gpm imlib jpeg ldap libg++ libwww mad mikmod mmx motif mpeg ncurses nls nptl oggvorbis pam pdflib perl png python quicktime readline samba sdl snmp spell sse ssl svga tcpd tiff truetype unicode wifi wmf x86 xml2 xmms xv zlib" USER="root" USERLAND="GNU" USE_EXPAND="VIDEO_CARDS INPUT_DEVICES LINGUAS" XARGS="xargs -r" _="/usr/bin/emerge"
check your config files, these errors are almost always because there's a typo in a config file i'd review: /etc/conf.d/* /etc/init.d/* /etc/rc.conf
Note: -> This is a new instalation, based on the 2004.3 profile. -> Since the first boot, it started to fail... Regards
I've removed everything inside my /etc/conf.d/ and rebuild baselayout and everything is ok right now! Thanks a lot. In anycase, I think that we should isolate side-effects that bad configuration files could have on the rest of the system...
there's already a bug open about that ... we've been trying to come up with a decent (read: not a hack) solution, but it's not a high priority :x