[ZCM] [ZC] 1787/ 3 Resolve "Zope 2.8 build: failing on MacOSX 1.4 aka Tiger"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Sat May 21 13:04:38 EDT 2005


Issue #1787 Update (Resolve) "Zope 2.8 build: failing on MacOSX 1.4 aka Tiger"
 Status Resolved, Zope/bug medium
To followup, visit:
  http://www.zope.org/Collectors/Zope/1787

==============================================================
= Resolve - Entry #3 by ajung on May 21, 2005 1:04 pm

 Status: Pending => Resolved

Fixed for 2.8b2
________________________________________
= Comment - Entry #2 by shh on May 19, 2005 4:45 am

FWIW, I also see the warning but not the error (10.4.1):

building 'ExtensionClass._ExtensionClass' extension
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -IExtensionClass -I/usr/local/python2.3/include/python2.3 -c ExtensionClass/_ExtensionClass.c -o /Users/stefan/svnroot/zope/z28/build-base/python-2.3/build-temp/ExtensionClass/_ExtensionClass.o
In file included from /usr/local/python2.3/include/python2.3/Python.h:48,
                 from ExtensionClass/ExtensionClass.h:83,
                 from ExtensionClass/_ExtensionClass.c:20:
/usr/local/python2.3/include/python2.3/pyport.h:370: warning: 'struct winsize' declared inside parameter list
/usr/local/python2.3/include/python2.3/pyport.h:371: warning: 'struct winsize' declared inside parameter list
gcc -bundle -undefined dynamic_lookup /Users/stefan/svnroot/zope/z28/build-base/python-2.3/build-temp/ExtensionClass/_ExtensionClass.o -o /Users/stefan/svnroot/zope/z28/build-base/python-2.3/build-lib/ExtensionClass/_ExtensionClass.so

________________________________________
= Request - Entry #1 by ajung on May 18, 2005 11:52 pm

This is possibly an incompatiblity with GCC 4 (haven't tried to compile Zope with GCC 4
on Linux):

building 'ExtensionClass._ExtensionClass' extension
creating /Users/ajung/sandboxes/Zope/z1/build-base/python-2.3/build-temp/ExtensionClass
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -IExtensionClass -I/opt/python-2.3.5/include/python2.3 -c ExtensionClass/_ExtensionClass.c -o /Users/ajung/sandboxes/Zope/z1/build-base/python-2.3/build-temp/ExtensionClass/_ExtensionClass.o
In file included from /opt/python-2.3.5/include/python2.3/Python.h:48,
                 from ExtensionClass/ExtensionClass.h:83,
                 from ExtensionClass/_ExtensionClass.c:20:
/opt/python-2.3.5/include/python2.3/pyport.h:370: warning: 'struct winsize' declared inside parameter list
/opt/python-2.3.5/include/python2.3/pyport.h:371: warning: 'struct winsize' declared inside parameter list
ExtensionClass/_ExtensionClass.c:184: error: static declaration of 'BaseType' follows non-static declaration
ExtensionClass/_ExtensionClass.c:31: error: previous declaration of 'BaseType' was here
ExtensionClass/_ExtensionClass.c:599: error: static declaration of 'ExtensionClassType' follows non-static declaration
ExtensionClass/_ExtensionClass.c:30: error: previous declaration of 'ExtensionClassType' was here
error: command 'gcc' failed with exit status 1
make: *** [build] Error 1

==============================================================



More information about the Zope-Collector-Monitor mailing list