[Distutils] Problem with buildout

Encolpe Degoute encolpe.degoute at free.fr
Fri Dec 11 23:59:34 CET 2009


Hello,

Check the zc.recipe.cmmi version.
Recent version introduce an incompatibility for recipe using it:
http://encolpe.wordpress.com/2009/06/03/heads-up-new-plone-recipe-pound-release/

Regards,

James J Myers a écrit :
> 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
> 
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig


-- 
Encolpe DEGOUTE
http://encolpe.degoute.free.fr/
Logiciels libres, hockey sur glace et autres activités cérébrales



More information about the Distutils-SIG mailing list