Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143064 - dev-java/jdepend-2.9 is corrupt: [Errno 22] Invalid argument
Summary: dev-java/jdepend-2.9 is corrupt: [Errno 22] Invalid argument
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-07 01:09 UTC by Michael Baer
Modified: 2006-08-07 01:56 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Baer 2006-08-07 01:09:02 UTC
An "emerge -upDv world" produces the following error:
-------------------------------------

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

Calculating world dependencies |Traceback (most recent call last):
  File "/usr/bin/emerge", line 3970, in ?
    emerge_main()
  File "/usr/bin/emerge", line 3965, in emerge_main
    myopts, myaction, myfiles, spinner)
  File "/usr/bin/emerge", line 3378, in action_build
    if not mydepgraph.xcreate(myaction):
  File "/usr/bin/emerge", line 1221, in xcreate
    if not self.select_dep(
  File "/usr/bin/emerge", line 1150, in select_dep
    myuse=selected_pkg[-1]):
  File "/usr/bin/emerge", line 816, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 1048, in select_dep
    myeb_matches = portdb.xmatch("match-visible", x)
  File "/usr/lib/portage/pym/portage.py", line 4990, in xmatch
    myval=match_from_list(mydep,self.xmatch("list-visible",None,mydep=mydep,mykey=mykey))
  File "/usr/lib/portage/pym/portage.py", line 4976, in xmatch
    myval=self.gvisible(self.visible(self.cp_list(mykey)))
  File "/usr/lib/portage/pym/portage.py", line 5075, in gvisible
    keys, eapi = self.aux_get(mycpv, ["KEYWORDS", "EAPI"])
  File "/usr/lib/portage/pym/portage.py", line 4784, in aux_get
    self.auxdb[mylocation][mycpv] = mydata
  File "/usr/lib/portage/pym/cache/template.py", line 62, in __setitem__
    self._setitem(cpv, d)
  File "/usr/lib/portage/pym/cache/flat_hash.py", line 96, in _setitem
    raise cache_errors.CacheCorruption(cpv, e)
cache.cache_errors.CacheCorruption: dev-java/jdepend-2.9 is corrupt: [Errno 22] Invalid argument

---------------------
Removing /usr/portage/dev-java/jdepend/jdepend-2.9.ebuild "fixes" the problem. But this cannot be the solution until the end of time ;-)


emerge --info
----------------------
Portage 2.1.1_pre4-r3 (default-linux/x86/2006.0, gcc-4.0.3/vanilla, glibc-2.4-r3, 2.6.17.7 i686)
=================================================================
System uname: 2.6.17.7 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.12.4
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.2.3-r6, 2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  0.4.2-r1
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
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/revdep-rebuild/ /opt/openjms/config /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/share/X11/xkb /usr/share/config /var/bind /var/spool/fax/etc /var/www/localhost/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -mtune=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks loadpolicy metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.ndlug.nd.edu/pub/gentoo/ ftp://cs.ubishops.ca/pub/gentoo"
LANG="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j4"
PKGDIR="/var/cache/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="/my-ebuilds"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac acl acpi alsa apache2 apm arts asf avi bcmath berkdb bitmap-fonts bzip2 calendar caps cgi cli crypt cups curl dba devmap dga dlloader doc dri drm dvd eds elibc_glibc emboss encode esd flatfile foomaticdb fortran freetype gd gdbm gif glitz gnome gpm gstreamer gtk gtk2 hal iconv imagemagick imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kde kerberos kernel_linux ldap libg++ libwww linguas_de mad maildir mhash mikmod mmx motif mp3 mpeg mysql ncurses nls nptl objc offensive ogg opengl oss pam pcre pdflib pear perl png pppd python qt qt3 qt4 quicktime readline reflection scanner sdl session soap sockets socks5 spell spl sse ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev usb userland_GNU vcd vhosts video_cards_ati video_cards_vesa vorbis win32codecs x264 xine xml xml2 xmms xorg xsl xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
------------------------------
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-07 01:56:51 UTC
Well, we can't fix your locally corrupted file, you need to fix it yourself. Reopen if the issue occurs again after you've fixed and re-emerged it.