Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7494 - if working dir is something emerge is going to delete, emerge fails
Summary: if working dir is something emerge is going to delete, emerge fails
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 All
: High trivial (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-05 00:02 UTC by SpanKY
Modified: 2011-10-30 22:18 UTC (History)
1 user (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 SpanKY gentoo-dev 2002-09-05 00:02:48 UTC
when building/testing ebuilds, i used to get this at odd times but never was 
able to make emerge reproduce the error till now ;)

root@rux0r root # ebuild /usr/portage/net-ftp/ftp/ftp-0.17-r1.ebuild unpack
>>> md5 ;-) netkit-ftp-0.17.tar.gz
>>> Unpacking source...
>>> Unpacking netkit-ftp-0.17.tar.gz
>>> Source unpacked.
root@rux0r root # cd /var/tmp/portage/ftp-0.17-r1/work/netkit-ftp-0.17/
root@rux0r netkit-ftp-0.17 # emerge ftp
Calculating dependencies ...done!
>>> emerge net-ftp/ftp-0.17-r1 to /
Traceback (most recent call last):
  File "/usr/bin/emerge", line 1387, in ?
    mydepgraph.merge(mydepgraph.altlist())
  File "/usr/bin/emerge", line 938, in merge
    retval=portage.doebuild(y,"merge",myroot,edebug)
  File "/usr/lib/python2.2/site-packages/portage.py", line 1006, in doebuild
    settings["STARTDIR"]=os.getcwd()
OSError: [Errno 2] No such file or directory
root@rux0r netkit-ftp-0.17 #
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-09-05 12:50:26 UTC
Will be fixed in 2.0.37; thanks :)
Comment 2 SpanKY gentoo-dev 2002-09-12 18:13:18 UTC
root@rux0r boot-LINUXLIBC6 # emerge --version
Portage 2.0.36
root@rux0r boot-LINUXLIBC6 # emerge cvsup
Calculating dependencies ...done!
>>> emerge dev-util/cvsup-16.1e to /
Traceback (most recent call last):
  File "/usr/bin/emerge", line 1386, in ?
    mydepgraph.merge(mydepgraph.altlist())
  File "/usr/bin/emerge", line 937, in merge
    retval=portage.doebuild(y,"merge",myroot,edebug)
  File "/usr/lib/python2.2/site-packages/portage.py", line 1008, in doebuild
    settings["STARTDIR"]=os.getcwd()
OSError: [Errno 2] No such file or directory
Comment 3 SpanKY gentoo-dev 2002-09-12 18:13:53 UTC
err nm i missed the fact it works in .37 ... sorry about extra e-mail ;)