Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116315 - cannot unmerge kbd-1.12-r4.ebuild
Summary: cannot unmerge kbd-1.12-r4.ebuild
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Ebuild Support (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage team
URL: http://oriol.joor.net
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-21 11:52 UTC by Oriol
Modified: 2005-12-27 00:53 UTC (History)
0 users

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


Attachments
my CONTENTS file of kbd-1.12-r4 (CONTENTS,60.07 KB, application/octet-stream)
2005-12-27 00:40 UTC, Oriol
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oriol 2005-12-21 11:52:34 UTC
When I uprade kbd to 1.12-r5 portage makes auto-clean task an try to unmerge kbd-1.12-r4.ebuild and now it fails with this error:

Traceback (most recent call last):
  File "/usr/bin/emerge", line 3206, in ?
    portage.mtimedb["resume"]={}
  File "/usr/bin/emerge", line 2251, in unmerge
    if retval:
  File "/usr/lib/portage/pym/portage.py", line 2901, in unmerge
    print "!!!",e
  File "/usr/lib/portage/pym/portage.py", line 6169, in unmerge
    for x in string.split(self.settings["CONFIG_PROTECT_MASK"]):
KeyError: '.'

This is my unique error in portage, maybe it is a problem with portage.

Best regards
Comment 1 SpanKY gentoo-dev 2005-12-21 11:57:23 UTC
you neglected to post `emerge info`
Comment 2 Oriol 2005-12-21 12:03:11 UTC
Portage 2.0.53 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.13.2 i686)
=================================================================
System uname: 2.6.13.2 i686 Intel(R) Pentium(R) M processor 1200MHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -msse2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -msse2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d acl acpi alsa apm arts audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 canna caps cdr crypt cups curl dga directfb divx4linux dvd eds emboss encode esd ethereal evo exif expat extensions fam fbcon ffmpeg flac flash foomaticdb fortran freewnn gd gdbm gif glut gmail gmp gnome gpm gps gstreamer gtk gtk2 gtkhtml idn imagemagick imap imlib ipv6 irda jabber java jpeg junit kde lcms ldap libg++ libgda libwww lirc mad maildir mikmod mime mmx mng motif mozcalendar moznocompose moznoirc moznomail moznoxft mp3 mpeg mpi msn ncurses netboot nls ogg oggvorbis opengl oss pam pcmcia pcre pda pdflib perl png pnp python qt quicktime readline samba sasl sdl slang slp snmp socks5 spell sse ssl sv svga tcltk tcpd tiff truetype truetype-fonts trusted type1-fonts udev usb videos vorbis wavelan wireless wmf wxwindows x86 xine xml xml2 xmms xosd xv xvid zeo zlib video_cards_i810 video_cards_i915 userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 3 Oriol 2005-12-25 17:45:52 UTC
I send the info needed but the bug is not resolved.
Comment 4 Zac Medico gentoo-dev 2005-12-25 19:50:33 UTC
The traceback from comment #0 seems to reference incorrect line numbers (python problem?).  However, your KeyError problem bears a striking resemblence to bug 100479.  Please attach the CONTENTS file located in /var/db/pkg/sys-apps/kbd-1.12-r4/.
Comment 5 Oriol 2005-12-27 00:40:32 UTC
Created attachment 75587 [details]
my CONTENTS file of kbd-1.12-r4

This is my /var/db/pkg/sys-apps/kbd-1.12-r4/CONTENTS file. In my humil opinion it has unusual "codes" at the end of file.
Comment 6 Oriol 2005-12-27 00:53:14 UTC
Thanks Zac.

I solved the problem, my issue is that CONTETS file is broken. Lot of thanks for your help.