Opened 16 years ago

Closed 16 years ago

#3149 closed defect (fixed)

py-zopeinterface cannot be built

Reported by: purestorm@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

When port tries to install py-zopeinterface to satisfy the dependency of py-twisted, I get the following error. The problem persists after a selfupdate.

---> Attempting to fetch ZopeInterface-3.0.1.tgz from http://www.zope.org/Products/ZopeInterface/ 3.0.1final/ ---> Verifying checksum(s) for py-zopeinterface ---> Extracting py-zopeinterface ---> Configuring py-zopeinterface ---> Building py-zopeinterface with target build Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_python_py- zopeinterface/work/ZopeInterface-3.0.1" && /opt/local/bin/python2.4 setup.py build" returned error 1 Command output: copying Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface/tests/ test_sorting.py -> build/lib.darwin-8.0.0-Power_Macintosh-2.4/zope/interface/tests copying Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface/tests/test_verify.py -> build/lib.darwin-8.0.0-Power_Macintosh-2.4/zope/interface/tests copying Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface/tests/unitfixtures.py -> build/lib.darwin-8.0.0-Power_Macintosh-2.4/zope/interface/tests creating build/lib.darwin-8.0.0-Power_Macintosh-2.4/zope/testing copying Dependencies/zope.testing-ZopeInterface-3.0.1/zope.testing/init.py -> build/ lib.darwin-8.0.0-Power_Macintosh-2.4/zope/testing copying Dependencies/zope.testing-ZopeInterface-3.0.1/zope.testing/cleanup.py -> build/ lib.darwin-8.0.0-Power_Macintosh-2.4/zope/testing copying Dependencies/zope.testing-ZopeInterface-3.0.1/zope.testing/doctest.py -> build/ lib.darwin-8.0.0-Power_Macintosh-2.4/zope/testing copying Dependencies/zope.testing-ZopeInterface-3.0.1/zope.testing/doctestunit.py -> build/ lib.darwin-8.0.0-Power_Macintosh-2.4/zope/testing copying Dependencies/zope.testing-ZopeInterface-3.0.1/zope.testing/loggingsupport.py -> build/ lib.darwin-8.0.0-Power_Macintosh-2.4/zope/testing copying Dependencies/zope.testing-ZopeInterface-3.0.1/zope.testing/loghandler.py -> build/ lib.darwin-8.0.0-Power_Macintosh-2.4/zope/testing copying Dependencies/zope.testing-ZopeInterface-3.0.1/zope.testing/tests.py -> build/ lib.darwin-8.0.0-Power_Macintosh-2.4/zope/testing copying Dependencies/zope-ZopeInterface-3.0.1/zope/PUBLICATION.cfg -> build/lib.darwin-8.0.0- Power_Macintosh-2.4/zope copying Dependencies/zope-ZopeInterface-3.0.1/zope/README.txt -> build/lib.darwin-8.0.0- Power_Macintosh-2.4/zope copying Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface/adapter.txt -> build/ lib.darwin-8.0.0-Power_Macintosh-2.4/zope/interface copying Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface/DEPENDENCIES.cfg -> build/lib.darwin-8.0.0-Power_Macintosh-2.4/zope/interface copying Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface/human.txt -> build/ lib.darwin-8.0.0-Power_Macintosh-2.4/zope/interface copying Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface/PUBLICATION.cfg -> build/ lib.darwin-8.0.0-Power_Macintosh-2.4/zope/interface copying Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface/README.txt -> build/ lib.darwin-8.0.0-Power_Macintosh-2.4/zope/interface copying Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface/SETUP.cfg -> build/ lib.darwin-8.0.0-Power_Macintosh-2.4/zope/interface copying Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface/tests/foodforthought.txt -> build/lib.darwin-8.0.0-Power_Macintosh-2.4/zope/interface/tests running build_ext building 'zope.interface._zope_interface_coptimizations' extension creating build/temp.darwin-8.0.0-Power_Macintosh-2.4 creating build/temp.darwin-8.0.0-Power_Macintosh-2.4/Dependencies creating build/temp.darwin-8.0.0-Power_Macintosh-2.4/Dependencies/zope.interface- ZopeInterface-3.0.1 creating build/temp.darwin-8.0.0-Power_Macintosh-2.4/Dependencies/zope.interface- ZopeInterface-3.0.1/zope.interface gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -fno- common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -IDependencies/zope.interface- ZopeInterface-3.0.1/zope.interface -I/Library/Frameworks/Python.framework/Versions/2.4/include/ python2.4 -c Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface/ _zope_interface_coptimizations.c -o build/temp.darwin-8.0.0-Power_Macintosh-2.4/Dependencies/ zope.interface-ZopeInterface-3.0.1/zope.interface/_zope_interface_coptimizations.o Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface/_zope_interface_coptimizations.c: 339: error: static declaration of 'SpecType' follows non-static declaration Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface/_zope_interface_coptimizations.c:73: error: previous declaration of 'SpecType' was here error: command 'gcc' failed with exit status 1

Error: The following dependencies failed to build: py-zopeinterface

Change History (3)

comment:1 Changed 16 years ago by jmpp@…

Owner: changed from darwinports-bugs@… to mww@…

comment:2 Changed 16 years ago by purestorm@…

I just had a look into the source code and it seems that when replacing "extern" with "static" in line 73 of Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface/_zope_interface_coptimizations.c, it compiles then.

Maybe this is a general bug in ZopeInterface-3.0.1 on Mac Os X 10.4.1?

comment:3 Changed 16 years ago by mww@…

Resolution: fixed
Status: newclosed

thanks, commited!

Note: See TracTickets for help on using tickets.