No longer compiles with sip-4.10

Bugs item #2950025, was opened at 2010-02-11 23:26
Message generated for change (Tracker Item Submitted) made by mbanck
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=835077&aid=2950025&group_id=165310

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Building / Install
Group: v 1.0.0
Status: Open
Resolution: None
Priority: 6
Private: No
Submitted By: Michael Banck (mbanck)
Assigned to: Nobody/Anonymous (nobody)
Summary: No longer compiles with sip-4.10

Initial Comment:
If built against version 4.10 of sip4, avogadro fails to build:

[ 80%] Building CXX object libavogadro/src/python/CMakeFiles/python-module.dir/sip.cpp.o
cd /build/mbanck-avogadro_1.0.0-2-i386-OSMUtI/avogadro-1.0.0/obj-i486-linux-gnu/libavogadro/src/python && /usr/bin/g++ -Dpython_module_EXPORTS -D_BSD_SOURCE -DHAVE_GCC_VISIBILITY -DENABLE_PYTHON -DENABLE_GLSL -DQT_DLL -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NO_DEBUG -g -O2 -g -Wall -O2 -fvisibility=hidden -fvisibility-inlines-hidden -fpermissive -O2 -DNDEBUG -DQT_NO_DEBUG_OUTPUT -fPIC -I/build/mbanck-avogadro_1.0.0-2-i386-OSMUtI/avogadro-1.0.0/obj-i486-linux-gnu/libavogadro/include -I/usr/include/qt4 -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtCore -I/build/mbanck-avogadro_1.0.0-2-i386-OSMUtI/avogadro-1.0.0/obj-i486-linux-gnu/libavogadro/src -I/usr/include/eigen2 -I/usr/include/openbabel-2.0 -I/usr/include/python2.5 -I/build/mbanck-avogadro_1.0.0-2-i386-OSMUtI/avogadro-1.0.0/libavogadro/include -I/build/mbanck-avogadro_1.0.0-2-i386-OSMUtI/avogadro-1.0.0 -I/build/mbanck-avogadro_1.0.0-2-i386-OSMUtI/avogadro-1.0.0/obj-i486-linux-gnu/libavogadro/src/python -I/usr/lib/python2.5/site-packages/numpy/core/include -o CMakeFiles/python-module.dir/sip.cpp.o -c /build/mbanck-avogadro_1.0.0-2-i386-OSMUtI/avogadro-1.0.0/libavogadro/src/python/sip.cpp
/build/mbanck-avogadro_1.0.0-2-i386-OSMUtI/avogadro-1.0.0/libavogadro/src/python/sip.cpp: In static member function ‘static PyObject* QClass_converters::QClass_to_PyQt::convert(const T&)’:
/build/mbanck-avogadro_1.0.0-2-i386-OSMUtI/avogadro-1.0.0/libavogadro/src/python/sip.cpp:143: error: ‘const struct sipAPIDef’ has no member named ‘api_convert_from_instance’
/build/mbanck-avogadro_1.0.0-2-i386-OSMUtI/avogadro-1.0.0/libavogadro/src/python/sip.cpp: In static member function ‘static PyObject* QClass_converters::QClass_to_PyQt::convert(T*)’:
/build/mbanck-avogadro_1.0.0-2-i386-OSMUtI/avogadro-1.0.0/libavogadro/src/python/sip.cpp:167: error: ‘const struct sipAPIDef’ has no member named ‘api_convert_from_instance’
/build/mbanck-avogadro_1.0.0-2-i386-OSMUtI/avogadro-1.0.0/libavogadro/src/python/sip.cpp: In static member function ‘static void* QClass_converters::QClass_from_PyQt(PyObject*)’:
/build/mbanck-avogadro_1.0.0-2-i386-OSMUtI/avogadro-1.0.0/libavogadro/src/python/sip.cpp:187: error: ‘const struct sipAPIDef’ has no member named ‘api_wrapper_check’
/build/mbanck-avogadro_1.0.0-2-i386-OSMUtI/avogadro-1.0.0/libavogadro/src/python/sip.cpp:195: error: ‘const struct sipAPIDef’ has no member named ‘api_transfer’
/build/mbanck-avogadro_1.0.0-2-i386-OSMUtI/avogadro-1.0.0/libavogadro/src/python/sip.cpp:205: error: ‘struct sipWrapper’ has no member named ‘u’
/build/mbanck-avogadro_1.0.0-2-i386-OSMUtI/avogadro-1.0.0/libavogadro/src/python/sip.cpp: In static member function ‘static PyObject* QList_QAction_to_python_list_PyQt::convert(const QList<QAction*>&)’:
/build/mbanck-avogadro_1.0.0-2-i386-OSMUtI/avogadro-1.0.0/libavogadro/src/python/sip.cpp:245: error: ‘const struct _sipAPIDef’ has no member named ‘api_convert_from_instance’
/build/mbanck-avogadro_1.0.0-2-i386-OSMUtI/avogadro-1.0.0/libavogadro/src/python/sip.cpp: In function ‘PyObject* toPyQt(T*)’:
/build/mbanck-avogadro_1.0.0-2-i386-OSMUtI/avogadro-1.0.0/libavogadro/src/python/sip.cpp:383: error: ‘const struct sipAPIDef’ has no member named ‘api_convert_from_instance’
/build/mbanck-avogadro_1.0.0-2-i386-OSMUtI/avogadro-1.0.0/obj-i486-linux-gnu/libavogadro/include/avogadro/primitive.h: At global scope:
/build/mbanck-avogadro_1.0.0-2-i386-OSMUtI/avogadro-1.0.0/obj-i486-linux-gnu/libavogadro/include/avogadro/primitive.h:40: warning: ‘Avogadro::FALSE_ID’ defined but not used
make[3]: *** [libavogadro/src/python/CMakeFiles/python-module.dir/sip.cpp.o] Error 1
make[3]: Leaving directory `/build/mbanck-avogadro_1.0.0-2-i386-OSMUtI/avogadro-1.0.0/obj-i486-linux-gnu’

Version 4.10 is now the version for Ubuntu lucid (10.04 LTS) and Debian unstable.


You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=835077&aid=2950025&group_id=165310