Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126120 - portage 2.1_pre6-r2 emerge --resume --pretend broken
Summary: portage 2.1_pre6-r2 emerge --resume --pretend broken
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
: 136162 (view as bug list)
Depends on:
Blocks: 115839 125886
  Show dependency tree
 
Reported: 2006-03-13 22:57 UTC by Ben Kohler
Modified: 2006-06-09 05:27 UTC (History)
1 user (show)

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


Attachments
/var/cache/edb/mtimedb as requested (mtimedb,30.52 KB, application/octet-stream)
2006-03-13 22:58 UTC, Ben Kohler
Details
fix KeyError from applied_useflags (applied_useflags.patch,1.23 KB, patch)
2006-03-14 16:08 UTC, Zac Medico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Kohler 2006-03-13 22:57:03 UTC
when attempting "emerge --resume --pretend" (during an emerge consisting of several packages) i get the following error output:

ben ~ # emerge --resume --pretend

These are the packages that would be merged, in order:

Traceback (most recent call last):
  File "/usr/bin/emerge", line 3249, in ?
    mydepgraph.display(portage.mtimedb["resume"]["mergelist"])
  File "/usr/bin/emerge", line 1541, in display
    if portage.portdb.fetch_check(x[2], self.applied_useflags[x[2]]):
KeyError: 'app-emulation/cedega-5.1'
ben ~ # 

---

emerge --info output:

ben ~ # emerge --info
Portage 2.1_pre6-r2 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r0, 2.6.15-r4s2-r5 i686)
=================================================================
System uname: 2.6.15-r4s2-r5 i686 AMD Athlon(tm) XP 2100+
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
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-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac alsa apm avi bash-completion berkdb bitmap-fonts bzip2 cdr crypt css cups dba dri dvd dvdr dvdread eds emboss encode ffmpeg firefox flac foomaticdb fortran gdbm gif gimp gpm gstreamer gtk gtk2 imlib ipv6 ithreads java jpeg kde kdeenablefinal libg++ libwww mad mikmod mmx mmxext motif mp3 mpeg mplayer ncurses nfsv4 nls nptl nptlonly nsplugin nvidia ogg opengl pam pdflib perl png python qt quicktime readline real samba sdl spell sse ssl tcpd theora tidy tiff truetype truetype-fonts type1-fonts udev unicode userlocales v4l visualization vorbis vrl2 win32codecs wxwindows xcomposite xine xinerama xml xmms xprint xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS

ben ~ #
Comment 1 Ben Kohler 2006-03-13 22:58:19 UTC
Created attachment 82071 [details]
/var/cache/edb/mtimedb as requested
Comment 2 Zac Medico gentoo-dev 2006-03-14 16:08:15 UTC
Created attachment 82163 [details, diff]
fix KeyError from applied_useflags

Thanks for reporting.  This is fixed in svn r2890.  If you save the patch as /tmp/applied_useflags.patch, then you can apply it as follows:

cd /usr/lib/portage
patch -p0 < /tmp/applied_useflags.patch
Comment 3 Zac Medico gentoo-dev 2006-03-14 18:06:21 UTC
Released in 2.1_pre6-r3.
Comment 4 Zac Medico gentoo-dev 2006-06-09 05:27:08 UTC
*** Bug 136162 has been marked as a duplicate of this bug. ***