Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 6568

Summary: portage 2.0.27 errors with alternate ROOT
Product: Portage Development Reporter: Mark Guertin <mguertin>
Component: UnclassifiedAssignee: Daniel Robbins (RETIRED) <drobbins>
Status: RESOLVED FIXED    
Severity: critical CC: bart, kevin
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mark Guertin 2002-08-16 00:14:01 UTC
emerge -p `/usr/portage/scripts/build.sh ppc-2.0` works as expected.

ROOT="/var/tmp" emerge -p `/usr/portage/scripts/build.sh ppc-2.0` errors with
following:

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

Calculating dependencies \Traceback (most recent call last):
  File "/usr/bin/emerge", line 1347, in ?
    if not mydepgraph.create([mytype,portage.root,mykey],None,"--onlydeps" not
in myopts):
  File "/usr/bin/emerge", line 635, in create
    mycheck=portage.dep_check(mydep[myroot],mydbapi)
  File "/usr/lib/python2.2/site-packages/portage.py", line 2122, in dep_check
    mydict[x]=1
TypeError: list objects are unhashable

Unable to build a stage1 for new gcc 3.2 currently for testing, can you take a
look at this when you get a chance?

Thanks
Comment 1 Mark Guertin 2002-08-16 00:42:22 UTC
wanted to add that ROOT="/" emerge -p `/usr/portage/scripts/build.sh ppc-2.0`
also works fine (shows pkg list)
Comment 2 Mark Guertin 2002-08-16 14:26:13 UTC
Think I've tracked this down a little further... it seems that something in the
profile was missing a keyword (?) I can reproduce on one machine but works ok on
2 others now.  I am going to close this for now as it looks like user
error/missing error check in portage.