Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27980 - xpak.py fails if $PWD doesnt exist
Summary: xpak.py fails if $PWD doesnt exist
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2003-09-04 23:04 UTC by SpanKY
Modified: 2011-10-30 22:20 UTC (History)
0 users

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 2003-09-04 23:04:00 UTC
here is how to reproduce it:
root@vapier 0 root # mkdir blah
root@vapier 0 root # cd blah
root@vapier 0 blah # rm -rf ../blah
root@vapier 0 blah # rm `portageq envvar PKGDIR`/All/coreutils*
root@vapier 0 blah # quickpkg coreutils
shell-init: could not get current directory: getcwd: cannot access parent
directories: No such file or directory
 * Building package for coreutils-5.0-r3...
<tar output>
Traceback (most recent call last):
  File "/usr/bin/xpak", line 11, in ?
    xpak.xpak(sys.argv[1],sys.argv[2])
  File "/usr/lib/python2.2/site-packages/xpak.py", line 57, in xpak
    origdir=os.getcwd()
OSError: [Errno 2] No such file or directory
<some more unrelated output>
 * Packages now in /mnt/space/packages:
 * coreutils-5.0-r3: not created
root@vapier 0 blah #
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-12-24 18:11:45 UTC
portage-2.0.50_pre9
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2004-02-08 17:55:16 UTC
supposed to be fixed in 2.0.50 which is stable now. If this bug is not fixed please reopen.