[Distutils] Problem with buildout

James J Myers myersjj at gmail.com
Fri Dec 11 23:47:37 CET 2009


I've been using bootstrap.py/buildout happily for a while now, but 
recently (early December) my buildout stopped working.
The symptom is that it appears to fail to unpack Apache as shown in 
output below.

I'm not aware of changing anything in my scripts that could account for 
this and I really need this to work!
Any ideas gratefully accepted!

The recipe segment that is failing is at the bottom of this email...

I've tried to override the version of zc.buildout used by bootstrap.py 
but it seems to always use 1.4.3 anyway (which I notice is new as of Dec 
10).

Generated interpreter 
'/home/dhat/webapps/portal_test2/myproject/bin/python'.
Installing apache.
apache: Downloading http://apache.multihomed.net/httpd/httpd-2.2.14.tar.gz
apache: Unpacking and configuring
sh: ./configure: /bin/sh: bad interpreter: Permission denied
While:
   Installing apache.

An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
   File 
"/home/dhat/webapps/portal_test2/myproject/eggs/zc.buildout-1.4.3-py2.5.egg/zc/buildout/buildout.py", 
line 1660, in main
     getattr(buildout, command)(args)
   File 
"/home/dhat/webapps/portal_test2/myproject/eggs/zc.buildout-1.4.3-py2.5.egg/zc/buildout/buildout.py", 
line 532, in install
     installed_files = self[part]._call(recipe.install)
   File 
"/home/dhat/webapps/portal_test2/myproject/eggs/zc.buildout-1.4.3-py2.5.egg/zc/buildout/buildout.py", 
line 1204, in _call
     return f()
   File "build/bdist.linux-i686/egg/zc/recipe/cmmi/__init__.py", line 
159, in install
   File "build/bdist.linux-i686/egg/zc/recipe/cmmi/__init__.py", line 
186, in cmmi
   File "build/bdist.linux-i686/egg/zc/recipe/cmmi/__init__.py", line 
32, in system
SystemError: ('Failed', './configure 
--prefix=/home/dhat/webapps/portal_test2/myproject/parts/apache 
--enable-proxy=shared --enable-rewrite=shared 
--enable-auth_digest=shared --enable-alias=shared')


Recipe:

[apache]
recipe = zc.recipe.cmmi
#url = http://www.ibiblio.org/pub/mirrors/apache/httpd/httpd-2.2.14.tar.gz
url = http://apache.multihomed.net/httpd/httpd-2.2.14.tar.gz
extra_options =
       --enable-proxy=shared
       --enable-rewrite=shared
       --enable-auth_digest=shared
       --enable-alias=shared
-------------- next part --------------
A non-text attachment was scrubbed...
Name: myersjj.vcf
Type: text/x-vcard
Size: 270 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20091211/9aee7a67/attachment.vcf>


More information about the Distutils-SIG mailing list