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

Bug 7129

Summary: DISTFILES not being exported
Product: Portage Development Reporter: Daniel Ahlberg (RETIRED) <aliz>
Component: UnclassifiedAssignee: Gentoo Release Team <releng>
Status: RESOLVED FIXED    
Severity: normal CC: aliz, vapier
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Daniel Ahlberg (RETIRED) gentoo-dev 2002-08-27 11:33:13 UTC
A couple of things I've noticed:

* When bootstrapping, DISTDIR isn't exported from make.conf resulting in that
downloaded tarballs gets downloaded to /usr/portage/distfiles.

* I get this only in a chroot:

nea root # chroot /mnt/gentoo-1.2 /bin/bash
nea / # source /etc/profile
2.95.3 nea / # env-update
>>> Regenerating /etc/ld.so.cache...
2.95.3 nea / # emerge -pe world

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

Calculating world dependencies \Traceback (most recent call last):
  File "/usr/bin/emerge", line 1325, in ?
    if not mydepgraph.xcreate(myaction):
  File "/usr/bin/emerge", line 771, in xcreate
    if not self.create(myk):
  File "/usr/bin/emerge", line 643, 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
2.95.3 nea / #

I've mounted /usr/portage inside the chroot using -o bind. Let me now if you
need more information. Same error in 2.0.30_alpha2 as in 2.0.28.
Comment 1 Daniel Ahlberg (RETIRED) gentoo-dev 2002-08-27 12:12:50 UTC
Also, I can't run repoman if I run it in /usr/gentoo-x86, it gives:

nea libnet # repoman
Traceback (most recent call last):
  File "/usr/bin/repoman", line 11, in ?
    import os,sys,string,signal,portage,readline
ImportError: No module named readline
nea libnet #
Comment 2 SpanKY gentoo-dev 2002-08-27 13:20:28 UTC
distfiles are supposed to go into /usr/portage/distfiles ... i dont see where 
the 'bug' is with this

the portage error is a dup of Bug 7104

repoman error, maybe readline hasnt been installed yet ?

*** This bug has been marked as a duplicate of 7104 ***
Comment 3 Daniel Ahlberg (RETIRED) gentoo-dev 2002-08-27 13:53:19 UTC
Then what is the meaning of the DISTDIR variable found in make.global? IMO it
could be pretty important to be able to decide where downloaded distfiles are saved.

I tried to re-emerge readline but I get the same error. If I checkout CVS in
/usr/portage repoman works.
Comment 4 SpanKY gentoo-dev 2002-08-27 15:47:07 UTC
oh, the way you worded the first part i thought you were saying 'DISTFILES was 
not defined and was causing portage to download to /usr/portage/distfiles'

if repoman is fixed in cvs, then i dont see why to pursue that portion of the 
bug

and the portage thing is over at Bug 7104
Comment 5 Daniel Robbins (RETIRED) gentoo-dev 2002-08-28 18:29:43 UTC
Verwilst, can you fix the bootstrap DISTFILES issue?  Ignore the other
completely unrelated bug that Aliz attached to this bug report later on.
Comment 6 Mark Guertin 2002-10-05 11:18:28 UTC
Was this taken care of, or does bootstrap.sh still need attention?
Comment 7 Nicholas Jones (RETIRED) gentoo-dev 2002-11-12 21:55:46 UTC
Done... Along with PORTDIR, DISTDIR, PKGDIR, and PORTAGE_TMPDIR
Comment 8 John Davis (zhen) (RETIRED) gentoo-dev 2002-12-19 18:25:09 UTC
assigned/fixed borks the database,changing to resolved:fixed.
//ZhEN