Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106648 - cant sync with portage 2.0.52-r1
Summary: cant sync with portage 2.0.52-r1
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:
Depends on: 100444
Blocks: 108082
  Show dependency tree
 
Reported: 2005-09-19 23:04 UTC by SpanKY
Modified: 2005-10-05 13:16 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 SpanKY gentoo-dev 2005-09-19 23:04:25 UTC
this was working with previous version of portage ...

root@vapier 0 ~ # emerge metadata
skipping sync

>>> Updating Portage cache:   17%Traceback (most recent call last):
  File "/usr/bin/emerge", line 2731, in ?
    cleanse_cache(pdb, oldcat, savelist)
  File "/usr/bin/emerge", line 2706, in cleanse_cache
    for pv in pdb.auxdb[porttree_root][cat].keys():
KeyError: 'cross-arm-gentoo-linux-uclibc'

root@vapier 0 ~ # grep cross-arm-gentoo-linux-uclibc /etc/portage/categories
cross-arm-gentoo-linux-uclibc

root@vapier 0 ~ # ls /usr/local/portage/cross-arm-gentoo-linux-uclibc
binutils  gcc  linux-headers  uclibc

root@vapier 0 ~ # portageq envvar PORTDIR_OVERLAY
/usr/local/portage
Comment 1 Danny van Dyk (RETIRED) gentoo-dev 2005-10-03 13:50:03 UTC
I can confirm this Bug. PORTDIR_OVERLAY pointing to an overlay containing
cross-compiler ebuilds breaks emerge --{sync,metadata} :-/

phi dvandyk # emerge --metadata
skipping sync

>>> Updating Portage cache:   17%Traceback (most recent call last):
  File "/usr/bin/emerge", line 2731, in ?
    cleanse_cache(pdb, oldcat, savelist)
  File "/usr/bin/emerge", line 2706, in cleanse_cache
    for pv in pdb.auxdb[porttree_root][cat].keys():
KeyError: 'cross-powerpc-unknown-linux-gnu'

phi dvandyk # emerge info
Portage 2.0.52-r1 (default-linux/amd64/2005.1, gcc-3.4.3-20050110,
glibc-2.3.5-r0, 2.6.12-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.12
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.2.3-r5, 2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
[snip]
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildsyspkg cvs distlocks sandbox sfperms sign strict"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
LINGUAS="de"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://sigma/gentoo-portage"
Comment 2 Jason Stubbs (RETIRED) gentoo-dev 2005-10-04 08:41:25 UTC
Fixed in portage-2.0.53_rc3 
Comment 3 Jason Stubbs (RETIRED) gentoo-dev 2005-10-05 13:16:17 UTC
Forgot to mark.