Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4606 - --usepkg broken in portage-2.0.9
Summary: --usepkg broken in portage-2.0.9
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-05 20:35 UTC by Gareth Jones
Modified: 2011-10-30 22:18 UTC (History)
3 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 Gareth Jones 2002-07-05 20:35:19 UTC
When using --usepkg, portage gives the error below. The package seems to be
installed ok however. 


>>> Regenerating /etc/ld.so.cache...
>>> kde-base/kdetoys-3.0.2 merged.
Traceback (most recent call last):
  File "/usr/bin/emerge", line 1265, in ?
    mydepgraph.merge(mydepgraph.altlist())
  File "/usr/bin/emerge", line 643, in merge
    retval=portage.pkgmerge(mytbz2,x[1])
  File "/usr/lib/python2.2/site-packages/portage.py", line 3619, in pkgmerge
    cleanup_pkgmerge(mypkg,origdir)
  File "/usr/lib/python2.2/site-packages/portage.py", line 3569, in cleanup_pkgmerge
    shutil.rmtree(settings["PKG_TMPDIR"]+"/"+mypkg)
  File "/usr/lib/python2.2/shutil.py", line 117, in rmtree
    _build_cmdtuple(path, cmdtuples)
  File "/usr/lib/python2.2/shutil.py", line 132, in _build_cmdtuple
    for f in os.listdir(path):
OSError: [Errno 2] No such file or directory: '/var/tmp/portage-pkg/kdetoys-3.0.2'
Comment 1 Gareth Jones 2002-07-06 09:17:59 UTC
In addition to the error, emerge --usepkg appears to be expanding the package 
files in /.
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2002-07-06 17:15:17 UTC
how does portage 2.0.10 behave for you?
Comment 3 Gareth Jones 2002-07-06 20:09:35 UTC
 2.0.10 does the same thing for me - packages are expanded in /, and then the emerge terminates with an error.  
Comment 4 SpanKY gentoo-dev 2002-07-07 12:55:08 UTC
what packages does this error on for you ? 
i use -b and -k all the time w/out problems (except for Bug 4508) 
Comment 5 SpanKY gentoo-dev 2002-07-09 22:57:09 UTC
weird i just started getting the same problem ... i'm using portage-2.0.11 ...
i know drobbins started asking ppl if he could log into their box to track down 
weird portage errors ... if he doesnt have this one figured out/reproducible on 
his own machines, ill offer mine up
Comment 6 Ulf Bartelt (RETIRED) gentoo-dev 2002-07-10 15:30:32 UTC
the following line got lost between versions 2.0.8 and 2.0.9...

PKG_TMPDIR=${PORTAGE_TMPDIR}/portage-pkg

put it back in make.globals and be happy... ;-)
Comment 7 SpanKY gentoo-dev 2002-07-10 21:23:24 UTC
hmm i recalled doing a diff on ._cfg_0000_make.global and make.global and 
noticing a few missing lines ... i also remember thinking 'how odd the new one 
is missing a few vars' ;)
thx ulf, works for me now