[Distutils] Buildbot throwing a gear after default setup?

ssteinerX@gmail.com ssteinerx at gmail.com
Sat Oct 17 00:51:40 CEST 2009


I've just downloaded and configured the Distribute buildbot and it  
appears that a dependency is missing somewhere.  I get this (just the  
errors excerpted).

Just wanted to capture this before I figure out what needs to be done...

test_make_tarball  
(distutils.tests.test_archive_util.ArchiveUtilTestCase) ... skipped  
'requires zlib'
test_make_zipfile  
(distutils.tests.test_archive_util.ArchiveUtilTestCase) ... skipped  
'Requires zlib'
test_tarfile_root_owner  
(distutils.tests.test_archive_util.ArchiveUtilTestCase) ... skipped  
'Requires zlib'
test_tarfile_vs_tar  
(distutils.tests.test_archive_util.ArchiveUtilTestCase) ... skipped  
'Requires zlib'

======================================================================
ERROR: test_make_archive_owner_group  
(distutils.tests.test_archive_util.ArchiveUtilTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/home/ssteiner/distutils-builbot/parts/trunk-checkout/python/ 
Lib/distutils/tests/test_archive_util.py", line 224, in  
test_make_archive_owner_group
     group=group)
   File "/home/ssteiner/distutils-builbot/parts/trunk-checkout/python/ 
Lib/distutils/archive_util.py", line 236, in make_archive
     filename = func(base_name, base_dir, **kwargs)
   File "/home/ssteiner/distutils-builbot/parts/trunk-checkout/python/ 
Lib/distutils/archive_util.py", line 163, in make_zipfile
     compression=zipfile.ZIP_DEFLATED)
   File "/home/ssteiner/distutils-builbot/parts/trunk-checkout/python/ 
Lib/zipfile.py", line 675, in __init__
     "Compression requires the (missing) zlib module"
RuntimeError: Compression requires the (missing) zlib module

----------------------------------------------------------------------
Ran 158 tests in 1.242s

FAILED (errors=1, skipped=11)
test test_distutils crashed -- <type 'exceptions.OSError'>: [Errno 2]  
No such file or directory
Traceback (most recent call last):
   File "Lib/test/regrtest.py", line 767, in runtest_inner
   File "Lib/test/regrtest.py", line 723, in __exit__
   File "Lib/test/regrtest.py", line 686, in get_cwd
OSError: [Errno 2] No such file or directory
1 test failed:
     test_distutils




More information about the Distutils-SIG mailing list