After a successful sync i can no longer run an update of world. I have absolutely no idea why. I have tried resyncing but the problem persists. Reproducible: Always Steps to Reproduce: 1.Run sudo emerge --sync 2.Run sudo emerge -uaDNv world Actual Results: These are the packages that would be merged, in order: Calculating dependencies... done! Traceback (most recent call last): File "/usr/bin/emerge", line 40, in <module> retval = _emerge.emerge_main() File "/usr/lib64/portage/pym/_emerge/__init__.py", line 15814, in emerge_main myopts, myaction, myfiles, spinner) File "/usr/lib64/portage/pym/_emerge/__init__.py", line 14719, in action_build mydepgraph.display_problems() File "/usr/lib64/portage/pym/_emerge/__init__.py", line 8571, in display_problems self._display_problems() File "/usr/lib64/portage/pym/_emerge/__init__.py", line 8590, in _display_problems self._unsatisfied_blockers_for_display) File "/usr/lib64/portage/pym/_emerge/__init__.py", line 7705, in _show_unsatisfied_blockers self._show_merge_list() File "/usr/lib64/portage/pym/_emerge/__init__.py", line 7702, in _show_merge_list self.display(display_list) File "/usr/lib64/portage/pym/_emerge/__init__.py", line 8296, in display useflags=pkg_use, debug=self.edebug) File "/usr/lib64/portage/pym/portage/dbapi/porttree.py", line 731, in getfetchsizes mf = Manifest(pkgdir, self.mysettings["DISTDIR"]) File "/usr/lib64/portage/pym/portage/manifest.py", line 111, in __init__ self._read() File "/usr/lib64/portage/pym/portage/manifest.py", line 153, in _read self._readManifest(self.getFullname(), myhashdict=self.fhashdict) File "/usr/lib64/portage/pym/portage/manifest.py", line 141, in _readManifest self._parseDigests(fd, myhashdict=myhashdict, **kwargs) File "/usr/lib64/portage/pym/portage/manifest.py", line 173, in _parseDigests for myentry in self._parseManifestLines(mylines): File "/usr/lib64/portage/pym/portage/manifest.py", line 163, in _parseManifestLines myentry = parser(mysplit) File "/usr/lib64/portage/pym/portage/manifest.py", line 54, in parseManifest2 mysize = int(mysplit[2]) ValueError: invalid literal for int() with base 10: 'ChangeLog' Expected Results: Should run a successful update. Portage 2.1.6.13 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-gentoo-r2 x86_64) ================================================================= System uname: Linux-2.6.32-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8600_@_3.33GHz-with-gentoo-2.0.1 Timestamp of tree: Sat, 23 Jan 2010 11:15:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.9-r2 dev-lang/python: 2.6.4 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.0-r1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=core2 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/ ftp://mirror.bytemark.co.uk/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ ftp://mirror.qubenet.net/mirror/gentoo/ http://gentoo.virginmedia.com/ ftp://gentoo.virginmedia.com/sites/gentoo " LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X a52 aac aalib acl acpi alsa amd64 audiofile avahi bash-completion berkdb bluetooth bzip2 cairo cddb cdparanoia cdr cli cracklib crypt css cxx dbus doc dri dts dvd dvdr encode ffmpeg firefox flac fontconfig foomaticdb fortran ftp gcj gdbm gif gimp gnutls gpm gstreamer gtk gtkhtml gzip hal iconv ieee1394 jadetex java javascript jpeg lm_sensors mmx modules mp3 mpeg mplayer mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre perl png pppd python qt3support quicktime readline reflection samba session smp spl sse sse2 ssl svg symlink sysfs tcpd theora threads tiff tk truetype unicode usb v4l v4l2 vcd vorbis x264 xine xinerama xorg xulrunner xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 217290 [details, diff] Handle ValueError triggered by corrupt Manifest entry Save as /tmp/manifest_valueerror.patch and apply as follows: patch /usr/lib/portage/pym/portage/manifest.py /tmp/manifest_valueerror.patch
Thank you for the patch. Unfortunatly it did not fix the problem, although it did succeed in suppressing the error. This allowed me to discover, by attempting to re-merge firefox, that i could not download the src due to a manifest error? So i decided to try removing my entire portage tree and re-syncing which solved the problem.
The fix hasn't been released yet.
This is fixed in 2.1.7.17 and 2.2_rc62.