Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68861 - emerge -Dauv world crashes with traceback; everything else works
Summary: emerge -Dauv world crashes with traceback; everything else works
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
: 70800 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-10-25 10:26 UTC by Marcin Gil
Modified: 2005-07-14 06:58 UTC (History)
1 user (show)

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


Attachments
digest_check.patch (digest_check.patch,311 bytes, patch)
2004-10-26 05:08 UTC, Jason Stubbs (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Gil 2004-10-25 10:26:08 UTC
After upgrade to portage 2.0.51-r2 this happened first time. I got this message
after issuing 'emerge -Dauv world':

enclave download # emerge -Dauv worldThese are the packages that I would merge, in order:Calculating world dependencies                        ...done!Traceback (most recent call last):  File "/usr/bin/emerge", line 2934, in ?    mydepgraph.display(mydepgraph.altlist())  File "/usr/bin/emerge", line 1445, in display    if portage.portdb.fetch_check(x[2], portage.settings):  File "/usr/lib/portage/pym/portage.py", line 5237, in fetch_check    if x not in mysums:TypeError: iterable argument required

I erased portage /usr/portage, recreated from everything from portage-rescue, synced and then reemerged portage. Bug still exists.

Reproducible: Always
Steps to Reproduce:
1. emerge portage 2.0.51-r2
2. emerge -Dauv world
3.

Actual Results:  
enclave download # emerge -Dauv worldThese are the packages that I would merge,
in order:Calculating world dependencies                        ...done!Traceback
(most recent call last):  File "/usr/bin/emerge", line 2934, in ?   
mydepgraph.display(mydepgraph.altlist())  File "/usr/bin/emerge", line 1445, in
display    if portage.portdb.fetch_check(x[2], portage.settings):  File
"/usr/lib/portage/pym/portage.py", line 5237, in fetch_check    if x not in
mysums:TypeError: iterable argument required

Expected Results:  
display world dependencies and updated packages

enclave ~ # emerge info
Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20041006-r0,
2.6.8.1-ck9 i686)
=================================================================
System uname: 2.6.8.1-ck9 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.3
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -mtune=athlon-xp -momit-leaf-frame-pointer
-fprefetch-loop-arrays -ftracer -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -mtune=athlon-xp -momit-leaf-frame-pointer
-fprefetch-loop-arrays -ftracer -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow S3TC X acl acpi alsa apache2 arts atm avi bzlib cddb cdparanoia cdr
crypt ctype cups divx4linux dvd encode expat f77 foomaticdb gd gdbm gif gimp
gimpprint gpm gstreamer gtk gtk2 iconv imlib imlib2 java jpeg kde lcms libg++
libwww mad maildir mikmod mmx mpeg ncurses nls nptl oggvorbis ooo-kde openal
opengl pam pdf pdflib perl php png posix postgres python qt quicktime radeon
readline samba sdl shared slang spell sqlite sse ssl svga tcpd tiff truetype v4l
x86 xfs xml2 xprint xrandr xv xvid zlib video_cards_radeon linguas_pl"
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2004-10-25 10:36:17 UTC
enclave download # emerge -Dauv world

These are the packages that I would merge, in order:

Calculating world dependencies                        ...done!

Traceback
(most recent call last):
  File "/usr/bin/emerge", line 2934, in ?
    mydepgraph.display(mydepgraph.altlist())
  File "/usr/bin/emerge", line 1445, in display
    if portage.portdb.fetch_check(x[2], portage.settings):
  File "/usr/lib/portage/pym/portage.py", line 5237, in fetch_check
    if x not in mysums:
TypeError: iterable argument required
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2004-10-25 10:36:54 UTC
(I made the traceback readable, haven't tried to duplicate)
Comment 3 Marcin Gil 2004-10-26 01:36:24 UTC
ebuild /usr/portage/sys-apps/portage/portage-2.0.51_rc9.ebuild merge 

did the trick; My emerge broke after portage upgrade. Don't know why though.
Comment 4 Marcin Gil 2004-10-26 01:45:56 UTC
Nope. This works as a older version of portage (and it's not _rc9 but _rc7). Upgrading to 2.0.51-r2 makes bug reappear. Sorry for disturbance.
Comment 5 Jason Stubbs (RETIRED) gentoo-dev 2004-10-26 05:08:30 UTC
Created attachment 42616 [details, diff]
digest_check.patch

Pretty sure I've got the bug fixed. Are you using an overlay? Does the overlay
contain any packages that don't have digests? The bug seems to be triggered by
a missing digest...

This patch should fix it. Can you confirm please?
Comment 6 Marcin Gil 2004-10-26 07:38:56 UTC
Yup, that does the thing. And yes, I am using 2 overlays: my own and bmg.
I had a cedega-4.1 ebuild in my overlay (badly crafted from cedega-4.0.1) without digest.
Comment 7 Nicholas Jones (RETIRED) gentoo-dev 2005-01-10 19:28:02 UTC
*** Bug 70800 has been marked as a duplicate of this bug. ***
Comment 8 Jason Stubbs (RETIRED) gentoo-dev 2005-07-14 05:47:29 UTC
Fixed on or before 2.0.51.22-r1 
Comment 9 Jason Stubbs (RETIRED) gentoo-dev 2005-07-14 06:58:19 UTC
Looking through the batch of bugs, I'm not sure that some of these are 
actually fixed in stable. Others, the requirements have possibly changed after 
the initial fix was committed. 
 
If you think this bug has been closed incorrectly, please reopen or ask that 
it be reopened.