[Zope-dev] zope.app.container won't compile

Tres Seaver tseaver at palladion.com
Sun Oct 19 11:13:05 EDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andreas Jung wrote:
> A buildout fails reproducable both on Mac and Linux...how is the guilty?
> 
> Andreas
> 
> ------------------
> 
> 
> Develop: 
> '/Users/ajung/src/svn.zope.org/zopyx.smartprintng.core/trunk/zopyx.convert2'
> Unused options for buildout: 'download-directory'.
> Installing test.
> Getting distribution for 'zope.app.container'.
> In file included from 
> src/zope/app/container/_zope_app_container_contained.c:64:
> src/zope/app/container/_zope_proxy_proxy.c:616: error: syntax error 
> before 'wrap_length'
> src/zope/app/container/_zope_proxy_proxy.c:617: warning: return type 
> defaults to 'int'
> src/zope/app/container/_zope_proxy_proxy.c:622: error: syntax error 
> before 'Py_ssize_t'
> src/zope/app/container/_zope_proxy_proxy.c:623: warning: function 
> declaration isn't a prototype
> src/zope/app/container/_zope_proxy_proxy.c: In function 'wrap_slice':
> src/zope/app/container/_zope_proxy_proxy.c:624: error: 'self' undeclared 
> (first use in this function)
> src/zope/app/container/_zope_proxy_proxy.c:624: error: (Each undeclared 
> identifier is reported only once
> src/zope/app/container/_zope_proxy_proxy.c:624: error: for each function 
> it appears in.)
> src/zope/app/container/_zope_proxy_proxy.c:624: error: 'start' 
> undeclared (first use in this function)
> src/zope/app/container/_zope_proxy_proxy.c:624: error: 'end' undeclared 
> (first use in this function)
> src/zope/app/container/_zope_proxy_proxy.c: At top level:
> src/zope/app/container/_zope_proxy_proxy.c:628: error: syntax error 
> before 'Py_ssize_t'
> src/zope/app/container/_zope_proxy_proxy.c:629: warning: function 
> declaration isn't a prototype
> src/zope/app/container/_zope_proxy_proxy.c: In function 'wrap_ass_slice':
> src/zope/app/container/_zope_proxy_proxy.c:630: error: 'self' undeclared 
> (first use in this function)
> src/zope/app/container/_zope_proxy_proxy.c:630: error: 'i' undeclared 
> (first use in this function)
> src/zope/app/container/_zope_proxy_proxy.c:630: error: 'j' undeclared 
> (first use in this function)
> src/zope/app/container/_zope_proxy_proxy.c:630: error: 'value' 
> undeclared (first use in this function)
> error: Setup script exited with error: command 'gcc' failed with exit 
> status 1
> An error occured when trying to install zope.app.container 3.6.1.Look 
> above this message for any errors thatwere output by easy_install.
> While:
>    Installing test.
>    Getting distribution for 'zope.app.container'.

A trunk checkout compiles cleanly on Python 2.4:  Sidnei checked in a
fix for this problem on Thursday.


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI+06B+gerLs4ltQ4RAlFKAKCqxmNtlJERidThbBwPNp+g+ITCQwCdGpsM
BCQ66zenInNP78zid4+wOiQ=
=dF3T
-----END PGP SIGNATURE-----



More information about the Zope-Dev mailing list