Author ocean-city
Recipients ocean-city, tarek
Date 2009-05-18.11:07:49
SpamBayes Score 1.05453e-09
Marked as misclassified No
Message-id <1242644871.4.0.222185157282.issue6053@psf.upfronthosting.co.za>
In-reply-to
Content
I found two distutils error on windows.

1. If the implementation of ensure_relative is correct, test should be
fixed like attached patch.

2. I got tar error. This happens because tar command I'm using cannot
recognize path with drive letter. For example, "tar -cf r:/foo ." fails
with error. I'm using http://gnuwin32.sourceforge.net/packages/gtar.htm

E:\python-dev\trunk\Lib\distutils\tests>py test_archive_util.py
..tar: Cannot open
c:\docume~1\whiter~1\locals~1\temp\tmprd9lcc\archive.tar: Fun
ction not implemented
tar: Error is not recoverable: exiting now
E.
======================================================================
ERROR: test_make_tarball (__main__.ArchiveUtilTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_archive_util.py", line 35, in test_make_tarball
    make_tarball(base_name, '.')
  File "e:\python-dev\trunk\lib\distutils\archive_util.py", line 47, in
make_tar
ball
    spawn(cmd, dry_run=dry_run)
  File "e:\python-dev\trunk\lib\distutils\spawn.py", line 37, in spawn
    _spawn_nt(cmd, search_path, dry_run=dry_run)
  File "e:\python-dev\trunk\lib\distutils\spawn.py", line 86, in _spawn_nt
    "command '%s' failed with exit status %d" % (cmd[0], rc)
DistutilsExecError: command 'tar' failed with exit status 2

----------------------------------------------------------------------
Ran 4 tests in 0.591s

FAILED (errors=1)
[32258 refs]
History
Date User Action Args
2009-05-18 11:07:52ocean-citysetrecipients: + ocean-city, tarek
2009-05-18 11:07:51ocean-citysetmessageid: <1242644871.4.0.222185157282.issue6053@psf.upfronthosting.co.za>
2009-05-18 11:07:50ocean-citylinkissue6053 messages
2009-05-18 11:07:49ocean-citycreate