After emerging KDevelop 3.1 env-update reports the following: bash-2.05b# env-update >>> Regenerating /etc/ld.so.cache... * Caching service dependencies... /var/lib/init.d/depcache: line 2892: syntax error: unexpected end of file * Can't find service 'portmap' needed by 'famd'; continuing... * Can't find service 'localmount' needed by 'gpm'; continuing... bash-2.05b# Reproducible: Always Steps to Reproduce: 1. Emerge KDevelop 3.1 2. Env-update 3. See error bash-2.05b# emerge info Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8-gentoo-r3) ================================================================= System uname: 2.6.8-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.4.16 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr /env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/co r/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ htt oo.tiscali.nl/gentoo/ http://gentoo.mirror.sdv.fr http://www.gigaload.or .org/ http://ftp.easynet.nl/mirror/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X alsa apm avi berkdb bitmap-fonts cdr crypt emacs encode gdbm gif gtk2 imlib innodb java jpeg libg++ libwww mad mikmod motif mpeg mysql nc s oggvorbis opengl oss pam pdflib perl png python qt quicktime readline g ssl svga tcpd truetype x86 xml2 xmms xprint xv zlib"
Created attachment 40457 [details] My /var/lib/init.d/depcache There is at least one unmacthed ( in the bottom. However this file must be autogenerated since correcting it has no effect-
Solved the problem. As I thought from the beginning, KDevelop had nothing to do with it. Instead the error occured after emerging hdparm. Afterward it said it had to merge some files in /etc/ (the normal procedure), so I used etc-update and tried to merge the files. However I stopped in the middle of this process which resulted in a /etc/inid.d/hdparm AND a /etc/inid.d/hdparm.merged file. All I had to do, was rm /etc/inid.d/hdparm.merged (after checking that /etc/inid.d/hdparm was the one I wanted). The lesson is: Never stop unexpectedly while mergin files, as this may result in two files.