Running 'env-update' on my system return the following error: >>> Regenerating /etc/ld.so.cache... * Caching service dependencies... bash: line 1: 1#: command not found [ ok ] Evidently, it's calling a bash script from somewhere who's starting line is 1# instead of #!. Just a guess. How can I track this problem down? Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-ac4) ================================================================= System uname: 2.4.22-ac4 i686 Intel(R) Pentium(R) 4 CPU 3.06GHz Gentoo Base System version 1.4.3.12 ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium3 -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" 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/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/xdvi/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mpeg ncurses pdflib png quicktime spell truetype xml2 xmms xv zlib directfb alsa gdbm berkdb slang readline arts tetex aalib nas bonobo svga tcltk java mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl mozilla cdr scanner acpi apache2 artswrappersuid autofs clamav curl dga dnd dv dvb dvd emacs emacs-w3 etwin expat faad fastcgi fbcon fbdev ffmpeg flac freetds gd geoip glut gnomedb gstreamer gtk2 gtkhtml imagemagick imap imlib2 innodb ipv6 jack jack-caps javascript ladcca libdsk lufsusermount matroska mbox mcal mmx moznocompose moznoirc moznomail mozp3p mozsvg mozxmlterm mpi nvidia oav odbc offensive ofx pic ruby S3TC samba sasl sox sse stroke tiff transcode unicode usb v4l wmf wxwin wxwindows X509 xface xfs xine xinerama xml xosd xvid -apm -nls"
Did you edit any of your initscripts ? That message comes from depscan.sh (it's called by env-update).
Evidently someone did on this system. Apologies for the false report, someone placed a 1 before a # in a comment within a config file. I grep'd for it in the begining but only now turned up the problem. [false] Case closed. -P
closing