Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6568 - portage 2.0.27 errors with alternate ROOT
Summary: portage 2.0.27 errors with alternate ROOT
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-16 00:14 UTC by Mark Guertin
Modified: 2011-10-30 22:20 UTC (History)
2 users (show)

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 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.