[QGIS-trac] [Quantum GIS] #1959: Trunk build fails with sip-4.9 and PyQt-4.6

Quantum GIS qgis at qgis.org
Tue Sep 29 17:16:51 EDT 2009


#1959: Trunk build fails with sip-4.9 and PyQt-4.6
---------------------------------------------------------+------------------
   Reporter:  jctull                                     |              Owner:  nobody       
       Type:  bug                                        |             Status:  new          
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.4.0
  Component:  Build/Install                              |            Version:  HEAD         
   Keywords:  sip pyqt compile                           |   Platform_version:  10.6.1       
   Platform:  OS X                                       |           Must_fix:  Yes          
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 Build errors out on OS X using latest sip and pyqt releases (also
 qt-4.5.2-cocoa):

 ...
 Creating qgisconfig.py...
 Done
 [ 58%] Generating core/core.so
 In file included from
 /Library/Frameworks/QtCore.framework/Headers/qmetatype.h:45,
                  from
 /Library/Frameworks/QtCore.framework/Headers/QMetaType:1,
                  from sipAPIcore.h:13,
                  from sipcorecmodule.cpp:7:
 /Library/Frameworks/QtCore.framework/Headers/qglobal.h:311:6: warning:
 #warning "Support for this version of Mac OS X is still preliminary"
 In file included from
 /Library/Frameworks/QtCore.framework/Headers/qmetatype.h:45,
                  from
 /Library/Frameworks/QtCore.framework/Headers/QMetaType:1,
                  from sipAPIcore.h:13,
                  from sipcoreQList0101QgsVectorOverlay.cpp:7:
 /Library/Frameworks/QtCore.framework/Headers/qglobal.h:311:6: warning:
 #warning "Support for this version of Mac OS X is still preliminary"
 In file included from
 /Library/Frameworks/QtCore.framework/Headers/qmetatype.h:45,
                  from
 /Library/Frameworks/QtCore.framework/Headers/QMetaType:1,
                  from sipAPIcore.h:13,
                  from sipcoreQMultiMap24000100QgsSnappingResult.cpp:7:
 /Library/Frameworks/QtCore.framework/Headers/qglobal.h:311:6: warning:
 #warning "Support for this version of Mac OS X is still preliminary"
 In file included from
 /Library/Frameworks/QtCore.framework/Headers/qmetatype.h:45,
                  from
 /Library/Frameworks/QtCore.framework/Headers/QMetaType:1,
                  from sipAPIcore.h:13,
                  from
 sipcoreQList0100QgsVectorDataProviderNativeType.cpp:7:
 /Library/Frameworks/QtCore.framework/Headers/qglobal.h:311:6: warning:
 #warning "Support for this version of Mac OS X is still preliminary"
 In file included from
 /Library/Frameworks/QtCore.framework/Headers/qmetatype.h:45,
                  from
 /Library/Frameworks/QtCore.framework/Headers/QMetaType:1,
                  from sipAPIcore.h:13,
                  from sipcoreQMap18000100QgsGeometry.cpp:7:
 /Library/Frameworks/QtCore.framework/Headers/qglobal.h:311:6: warning:
 #warning "Support for this version of Mac OS X is still preliminary"
 In file included from
 /Library/Frameworks/QtCore.framework/Headers/qmetatype.h:45,
                  from
 /Library/Frameworks/QtCore.framework/Headers/QMetaType:1,
                  from sipAPIcore.h:13,
                  from sipcoreQMap18000600QMap18000100QVariant.cpp:7:
 /Library/Frameworks/QtCore.framework/Headers/qglobal.h:311:6: warning:
 #warning "Support for this version of Mac OS X is still preliminary"
 /Users/jctull/sources/qgis/trunk/python/core/conversions.sip: In function
 ‘int convertTo_QMap_1800_0600QMap_1800_0100QVariant(PyObject*, void**,
 int*, PyObject*)’:
 /Users/jctull/sources/qgis/trunk/python/core/conversions.sip:370: error:
 ‘sipClass_QVariant’ was not declared in this scope
 /Users/jctull/sources/qgis/trunk/python/core/conversions.sip:397: error:
 ‘sipClass_QVariant’ was not declared in this scope
 make[3]: *** [sipcoreQMap18000600QMap18000100QVariant.o] Error 1
 make[2]: *** [python/core/core.so] Error 2
 make[1]: *** [python/CMakeFiles/python.dir/all] Error 2
 make: *** [all] Error 2

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1959>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list