[ZCM] [ZC] 2047/12 Comment "Failed build of zopeinterface 3.0.1final on FC4"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Tue Mar 14 03:34:11 EST 2006


Issue #2047 Update (Comment) "Failed build of zopeinterface 3.0.1final on FC4"
 Status Pending, Zope/bug medium
To followup, visit:
  http://www.zope.org/Collectors/Zope/2047

==============================================================
= Comment - Entry #12 by ajung on Mar 14, 2006 3:34 am

No idea, perhaps your zpkg version is not up2date?
________________________________________
= Comment - Entry #11 by jdpipe on Mar 14, 2006 3:26 am

I should clarify that when I got this error, I not installed any other zope related software. It's talking about dependencies: what should I have had installed before the build started? Maybe the setup.py script needs to check for 'import zope' or something like that, perhaps?
________________________________________
= Comment - Entry #10 by ajung on Mar 14, 2006 2:53 am

It builds also fine on an old debian system with gcc-2.95.4.
This is likely a local problem on your machine...no idea why..
________________________________________
= Comment - Entry #9 by ajung on Mar 14, 2006 2:50 am

I am also running FC4 and it compiles fine on my system both with the FC4 gcc 4.0.2 and a self-compiled gcc 4.1.0.

I don't see any issues.
________________________________________
= Comment - Entry #8 by jdpipe on Mar 14, 2006 2:47 am

My first error message was from building from your official sources. The version with which I had success was the .src.rpm one. It appears to be an unmodified version of 3.1.0 -- is that a 'development' version?

Cheers
JP
________________________________________
= Comment - Entry #7 by ajung on Mar 14, 2006 2:38 am

Try to compile the stuff from the sources. 3rd-party RPM packages are not supported, only source builds and official binary packages.
________________________________________
= Comment - Entry #6 by jdpipe on Mar 14, 2006 2:34 am

Here are my compiler details:

[john at cruncher2 interface]$ gcc -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --host=i386-redhat-linux
Thread model: posix
gcc version 4.0.2 20051125 (Red Hat 4.0.2-8)

Also, my python and related packages:
[john at cruncher2 interface]$ rpm -qa | grep python
python-dateutil-1.0-1.fc4
MySQL-python-1.2.0-1
python-devel-2.4.1-2
dbus-python-0.33-3.fc4.1
gnome-python2-gtkhtml2-2.10.0-6
python-crypto-2.0.1-1.fc4
python-imaging-1.1.5-1.fc4
gnome-python2-canvas-2.10.0-1
rpm-python-4.4.1-22
python-urlgrabber-2.9.6-1
mod_python-3.1.4-2
gnome-python2-bonobo-2.10.0-1
python-ldap-2.0.6-4
gnome-python2-gnomeprint-2.10.0-6
libxml2-python-2.6.20-1.FC4
gnome-python2-extras-2.10.0-6
python-2.4.1-2
python-elementtree-1.2.6-4
gnome-python2-gnomevfs-2.10.0-1
python-matplotlib-0.86-1.fc4
python-sqlite-1.1.6-1
gnome-python2-2.10.0-1
gnome-python2-gconf-2.10.0-1
python-numeric-23.7-2
python-zopeinterface-3.1.0-0.2.c1.2.fc4.1

My system is a pretty standard Fedora Core 4 system, with official updates plus 'fedora extras' packages.

Cheers
JP

________________________________________
= Comment - Entry #5 by jdpipe on Mar 14, 2006 2:32 am

FYI I downloaded the src.rpm from http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/testing/development/stoq/RPMS/

I was then able to build and install zopeinterface.

Version: python-zopeinterface-3.1.0-0.2.c1.2.fc4.1

You might want to patch your stable version with whatever the fix was.

Cheers
JP



________________________________________
= Comment - Entry #4 by ajung on Mar 14, 2006 2:32 am

The package builds fine on my system. This means it should work on most system at last on my system and on the systems of the programmer.

If you have any problems than provide _at least_ reasonable
informations about your compiler...this is likely a local problem on  your problem and nothing that deserves the severity critical. It might be critical for you but that does not mean that it is critical for the all.
________________________________________
= Comment - Entry #3 by jdpipe on Mar 14, 2006 2:24 am

Define critical... I can't build the software: that's pretty critical to me...

Any ideas what I should try?
________________________________________
= Edit - Entry #2 by ajung on Mar 14, 2006 2:13 am

 Changes: importance (critical => medium), new comment

This is not a critical bug
________________________________________
= Request - Entry #1 by Anonymous User on Mar 14, 2006 2:11 am

Hi,

Just downloaded 'zope interface' while trying to satisfy dependencies in order to install 'buildbot'. So I don't know what zope is or does, however following the standard python build process gave me the following errors when running 'python setup.py build'. I will next try your more recent beta release and see if that works.

running build_ext
building 'zope.interface._zope_interface_coptimizations' extension
creating build/temp.linux-i686-2.4
creating build/temp.linux-i686-2.4/Dependencies
creating build/temp.linux-i686-2.4/Dependencies/zope.interface-ZopeInterface-3.0.1
creating build/temp.linux-i686-2.4/Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC -IDependencies/zope.interface-ZopeInterface-3.0.1/zope.interface -I/usr/include/python2.4 -c Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface/_zope_interface_coptimizations.c -o build/temp.linux-i686-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
[root at cruncher2 ZopeInterface-3.0.1]#

Cheers
JP

http://pye.dyndns.org
==============================================================



More information about the Zope-Collector-Monitor mailing list