Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152539 - emerge fails with Key Error
Summary: emerge fails with Key Error
Status: RESOLVED DUPLICATE of bug 147625
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-23 04:42 UTC by Sumit Khanna
Modified: 2006-10-24 00:20 UTC (History)
0 users

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


Attachments
Output from emerge (emerge-error.txt,5.40 KB, text/plain)
2006-10-23 04:43 UTC, Sumit Khanna
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sumit Khanna 2006-10-23 04:42:49 UTC
After the last portage upgrade to portage-2.1.2_pre3-r6, I can no longer run the emerge command. I get a series of aux_get(): (0) Error in <some ebuild> followed by a python KeyError:

#emerge -auDN world

<see attachment>


-----------emerge info---------------
# emerge --info
!!! No gcc found. You probably need to 'source /etc/profile'
!!! to update the environment of this terminal and possibly
!!! other terminals also.
Portage 2.1.2_pre3-r6 (default-linux/amd64/2005.1, [unavailable], glibc-2.5-r0, 2.6.17-gentoo-r4 x86_64)
=================================================================
System uname: 
Gentoo Base System version 1.12.5
Last Sync: Mon, 23 Oct 2006 08:30:02 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/portage-xgl"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib acpi aim alsa audiofile berkdb bitmap-fonts browserplugin bzip2 cdinstall cdparanoia cdr cli cracklib crypt cups dbus dlloader dri dts dvd dvdr dvdread eds elibc_glibc emboss emul-linux-x86 encode exif fam ffmpeg firefox flac foomaticdb fortran ftp gif gnome gpm gstreamer gtk gtk2 gtkhtml hal imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kde kernel_linux ldap lm_sensors lzw lzw-tiff mad matroska mono mp3 mpeg msn mysql ncurses nls nptl nptlonly nsplugin nvidia offensive ogg oggvorbis opengl pam pcre pda pdf perl png pppd python qt3 qt4 quicktime readline reflection rtc samba sdl seamonkey session spell spl ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts usb userland_GNU vcd video_cards_nvidia vorbis wmf xinerama xorg xpm xscreensaver xv xvid yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sumit Khanna 2006-10-23 04:43:25 UTC
Created attachment 100263 [details]
Output from emerge
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-10-23 04:49:45 UTC
Are you using nss_ldap?
Comment 3 Sumit Khanna 2006-10-23 19:36:10 UTC
Yes I am. And now, if I remove the ldap entries from /etc/nsswitch.conf, portage works again. What gives?
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-10-24 00:20:31 UTC
Reopen to dupe.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-10-24 00:20:48 UTC

*** This bug has been marked as a duplicate of 147625 ***