Andreas Jung wrote:
> On 19.10.2008 14:14 Uhr, Andreas Jung wrote:
>> On 19.10.2008 14:04 Uhr, Roger Ineichen wrote:
>>> Hi Andreas
>>>
>>>> Betreff: [Zope-dev] zope.app.container won't compile
>>>>
>>>> A buildout fails reproducable both on Mac and Linux...how is
>>>> the guilty?
>>>
>>> Same on windows with Python 2.4.
>>>
>>> I think this is a Python 2.4 to Python 2.5 migration issue
>>> and not platform dependent.
>>>
>>> Are you using Python 2.4?
>>
>> Sure. If someone made Python 2.4 incompatible changes then they have to
>> reverted :->
> 
> [EMAIL PROTECTED] neither compiles directly using "python 
> setup.py build" - neither with Python 2.4 nor 2.5 nor 2.6. Also running
> the bootstrap.py; bin/buildout dance does not work in any way...wtf???

Works here with Python 2.4, 2.5 and 2.6:

[EMAIL PROTECTED]:~$ cd temp
[EMAIL PROTECTED]:~/temp$ svn co $z/zope.app.container/trunk zope.app.container
...
Checked out revision 92387.
[EMAIL PROTECTED]:~/temp$ cd zope.app.container



[EMAIL PROTECTED]:~/temp/zope.app.container$ python2.4 setup.py build
running build
running build_py
...
running egg_info
...
running build_ext
building 'zope.app.container._zope_app_container_contained' extension
creating build/temp.macosx-10.3-i386-2.4
creating build/temp.macosx-10.3-i386-2.4/src
creating build/temp.macosx-10.3-i386-2.4/src/zope
creating build/temp.macosx-10.3-i386-2.4/src/zope/app
creating build/temp.macosx-10.3-i386-2.4/src/zope/app/container
gcc -I/opt/local/include -L/opt/local/lib -fno-strict-aliasing 
-Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes -Iinclude -I/Users/philipp/include/python2.4 -c 
src/zope/app/container/_zope_app_container_contained.c -o 
build/temp.macosx-10.3-i386-2.4/src/zope/app/container/_zope_app_container_contained.o
gcc -I/opt/local/include -L/opt/local/lib -bundle -undefined 
dynamic_lookup 
build/temp.macosx-10.3-i386-2.4/src/zope/app/container/_zope_app_container_contained.o
 
-o 
build/lib.macosx-10.3-i386-2.4/zope/app/container/_zope_app_container_contained.so



[EMAIL PROTECTED]:~/temp/zope.app.container$ python2.5 setup.py build
running build
running build_py
...
running egg_info
...
running build_ext
building 'zope.app.container._zope_app_container_contained' extension
creating build/temp.macosx-10.3-i386-2.5
creating build/temp.macosx-10.3-i386-2.5/src
creating build/temp.macosx-10.3-i386-2.5/src/zope
creating build/temp.macosx-10.3-i386-2.5/src/zope/app
creating build/temp.macosx-10.3-i386-2.5/src/zope/app/container
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp 
-mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes 
-Iinclude -I/opt/include/python2.5 -c 
src/zope/app/container/_zope_app_container_contained.c -o 
build/temp.macosx-10.3-i386-2.5/src/zope/app/container/_zope_app_container_contained.o
gcc -bundle -undefined dynamic_lookup 
build/temp.macosx-10.3-i386-2.5/src/zope/app/container/_zope_app_container_contained.o
 
-o 
build/lib.macosx-10.3-i386-2.5/zope/app/container/_zope_app_container_contained.so



[EMAIL PROTECTED]:~/temp/zope.app.container$ python2.6 setup.py build
running build
running build_py
...
running egg_info
...
running build_ext
building 'zope.app.container._zope_app_container_contained' extension
creating build/temp.macosx-10.3-i386-2.6
creating build/temp.macosx-10.3-i386-2.6/src
creating build/temp.macosx-10.3-i386-2.6/src/zope
creating build/temp.macosx-10.3-i386-2.6/src/zope/app
creating build/temp.macosx-10.3-i386-2.6/src/zope/app/container
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall 
-Wstrict-prototypes -Iinclude -I/opt/include/python2.6 -c 
src/zope/app/container/_zope_app_container_contained.c -o 
build/temp.macosx-10.3-i386-2.6/src/zope/app/container/_zope_app_container_contained.o
gcc -bundle -undefined dynamic_lookup 
build/temp.macosx-10.3-i386-2.6/src/zope/app/container/_zope_app_container_contained.o
 
-o 
build/lib.macosx-10.3-i386-2.6/zope/app/container/_zope_app_container_contained.so



[EMAIL PROTECTED]:~/temp/zope.app.container$ python2.4 bootstrap.py
Creating directory '/Users/philipp/temp/zope.app.container/bin'.
Creating directory '/Users/philipp/temp/zope.app.container/parts'.
Creating directory '/Users/philipp/temp/zope.app.container/develop-eggs'.
Generated script '/Users/philipp/temp/zope.app.container/bin/buildout'.

[EMAIL PROTECTED]:~/temp/zope.app.container$ bin/buildout
Develop: '/Users/philipp/temp/zope.app.container/.'
Installing test.
Generated script '/Users/philipp/temp/zope.app.container/bin/test'.

[EMAIL PROTECTED]:~/temp/zope.app.container$ bin/test
Running zope.app.container.testing.AppContainerLayer tests:
   Set up zope.app.container.testing.AppContainerLayer in 10.527 seconds.
   Ran 15 tests with 0 failures and 0 errors in 1.326 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
   Tear down zope.app.container.testing.AppContainerLayer in 0.001 seconds.
   Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
   Ran 242 tests with 0 failures and 0 errors in 0.637 seconds.
Tearing down left over layers:
   Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 257 tests, 0 failures, 0 errors in 12.704 seconds.



[EMAIL PROTECTED]:~/temp/zope.app.container$ python2.5 bootstrap.py
Generated script '/Users/philipp/temp/zope.app.container/bin/buildout'.

[EMAIL PROTECTED]:~/temp/zope.app.container$ bin/buildout
Develop: '/Users/philipp/temp/zope.app.container/.'
Uninstalling test.
Installing test.
Generated script '/Users/philipp/temp/zope.app.container/bin/test'.

[EMAIL PROTECTED]:~/temp/zope.app.container$ bin/test
Running unit tests:
   Ran 242 tests with 0 failures and 0 errors in 1.313 seconds.
Running zope.app.container.testing.AppContainerLayer tests:
   Set up zope.app.container.testing.AppContainerLayer in 7.600 seconds.
   Ran 15 tests with 0 failures and 0 errors in 1.115 seconds.
Tearing down left over layers:
   Tear down zope.app.container.testing.AppContainerLayer in 0.001 seconds.
Total: 257 tests, 0 failures, 0 errors in 8.828 seconds.



[EMAIL PROTECTED]:~/temp/zope.app.container$ python2.6 bootstrap.py
/Users/philipp/lib/python2.6/site-packages/zc.buildout-1.1.1-py2.6.egg/zc/buildout/buildout.py:21:
 
DeprecationWarning: the md5 module is deprecated; use hashlib instead
   import md5
Generated script '/Users/philipp/temp/zope.app.container/bin/buildout'.

[EMAIL PROTECTED]:~/temp/zope.app.container$ bin/buildout
/Users/philipp/buildout-eggs/zc.buildout-1.1.1-py2.6.egg/zc/buildout/buildout.py:21:
 
DeprecationWarning: the md5 module is deprecated; use hashlib instead
   import md5
Develop: '/Users/philipp/temp/zope.app.container/.'
Uninstalling test.
Installing test.
Generated script '/Users/philipp/temp/zope.app.container/bin/test'.

[EMAIL PROTECTED]:~/temp/zope.app.container$ bin/test
/Users/philipp/buildout-eggs/zope.security-3.4.1-py2.6-macosx-10.3-i386.egg/zope/security/checker.py:30:
 
DeprecationWarning: the sets module is deprecated
   import sets
/Users/philipp/buildout-eggs/zope.app.authentication-3.4.3-py2.6.egg/zope/app/authentication/password.py:20:
 
DeprecationWarning: the md5 module is deprecated; use hashlib instead
   import md5
/Users/philipp/buildout-eggs/zope.app.authentication-3.4.3-py2.6.egg/zope/app/authentication/password.py:21:
 
DeprecationWarning: the sha module is deprecated; use the hashlib module 
instead
   import sha
Running unit tests:
   Ran 242 tests with 0 failures and 0 errors in 1.170 seconds.
Running zope.app.container.testing.AppContainerLayer tests:
   Set up 
zope.app.container.testing.AppContainerLayer/opt/lib/python2.6/mhlib.py:83: 
DeprecationWarning: the multifile module has been deprecated since 
Python 2.5
   import multifile
  in 7.213 seconds.
   Ran 15 tests with 0 failures and 0 errors in 1.477 seconds.
Tearing down left over layers:
   Tear down zope.app.container.testing.AppContainerLayer in 0.002 seconds.
Total: 257 tests, 0 failures, 0 errors in 8.801 seconds.

_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to