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"
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
(I made the traceback readable, haven't tried to duplicate)
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.
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.
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?
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.
*** Bug 70800 has been marked as a duplicate of this bug. ***
Fixed on or before 2.0.51.22-r1
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.