Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65409 - env-update reports missing service portmap && localmount
Summary: env-update reports missing service portmap && localmount
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-26 08:22 UTC by Kim Pedersen
Modified: 2004-09-27 07:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
My /var/lib/init.d/depcache (depcache,63.71 KB, text/plain)
2004-09-26 08:57 UTC, Kim Pedersen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kim Pedersen 2004-09-26 08:22:17 UTC
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"
Comment 1 Kim Pedersen 2004-09-26 08:57:56 UTC
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-
Comment 2 Kim Pedersen 2004-09-27 07:11:11 UTC
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.