From owner-freebsd-ports@FreeBSD.ORG Sat Nov 28 09:57:51 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC1AA106566B for ; Sat, 28 Nov 2009 09:57:51 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from amailer.gwdg.de (amailer.gwdg.de [134.76.10.18]) by mx1.freebsd.org (Postfix) with ESMTP id 426728FC15 for ; Sat, 28 Nov 2009 09:57:51 +0000 (UTC) Received: from p578b68b8.dip0.t-ipconnect.de ([87.139.104.184] helo=krabat.raven.hur) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NEK3o-0007eO-EE; Sat, 28 Nov 2009 10:57:49 +0100 Message-ID: <4B10F418.90106@gwdg.de> Date: Sat, 28 Nov 2009 10:57:44 +0100 From: Rainer Hurling User-Agent: Thunderbird 2.0.0.23 (X11/20091126) MIME-Version: 1.0 To: Wen Heping Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: freebsd-ports@freebsd.org Subject: graphics/qgis does not compile any more X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Nov 2009 09:57:51 -0000 Today I updated my 9.0-CURRENT ports to python-2.6.4. Now I am not able to compile qgis any more. The following error occurs: --------------------------------------------------------------------------- [ 61%] Generating core/core.so g++ -c -DCORE_EXPORT= -pipe -fPIC -O2 -Wall -W -DNDEBUG -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LI -I. -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/composer -I/usr/ orts/graphics/qgis/work/qgis-1.3.0/src/core/raster -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/renderer -I/usr/ports/ raphics/qgis/work/qgis-1.3.0/src/core/spatialindex -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/symbology -I/usr/ports graphics/qgis/work/qgis-1.3.0 -I/usr/local/include -I/usr/local/include/python2.6 -I/usr/local/share/qt4/mkspecs/default -I/u r/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtNetwork -I/usr/local/include/qt4/QtSvg - /usr/local/include/qt4/QtXml -I/usr/local/include/qt4 -o sipcorecmodule.o sipcorecmodule.cpp g++ -c -DCORE_EXPORT= -pipe -fPIC -O2 -Wall -W -DNDEBUG -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LI -I. -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/composer -I/usr/ orts/graphics/qgis/work/qgis-1.3.0/src/core/raster -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/renderer -I/usr/ports/ raphics/qgis/work/qgis-1.3.0/src/core/spatialindex -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/symbology -I/usr/ports graphics/qgis/work/qgis-1.3.0 -I/usr/local/include -I/usr/local/include/python2.6 -I/usr/local/share/qt4/mkspecs/default -I/u r/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtNetwork -I/usr/local/include/qt4/QtSvg - /usr/local/include/qt4/QtXml -I/usr/local/include/qt4 -o sipcoreQList0101QgsVectorOverlay.o sipcoreQList0101QgsVectorOverlay. pp g++ -c -DCORE_EXPORT= -pipe -fPIC -O2 -Wall -W -DNDEBUG -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LI -I. -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/composer -I/usr/ orts/graphics/qgis/work/qgis-1.3.0/src/core/raster -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/renderer -I/usr/ports/ raphics/qgis/work/qgis-1.3.0/src/core/spatialindex -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/symbology -I/usr/ports graphics/qgis/work/qgis-1.3.0 -I/usr/local/include -I/usr/local/include/python2.6 -I/usr/local/share/qt4/mkspecs/default -I/u r/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtNetwork -I/usr/local/include/qt4/QtSvg - /usr/local/include/qt4/QtXml -I/usr/local/include/qt4 -o sipcoreQMultiMap24000100QgsSnappingResult.o sipcoreQMultiMap24000100 gsSnappingResult.cpp g++ -c -DCORE_EXPORT= -pipe -fPIC -O2 -Wall -W -DNDEBUG -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LI -I. -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/composer -I/usr/ orts/graphics/qgis/work/qgis-1.3.0/src/core/raster -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/renderer -I/usr/ports/ raphics/qgis/work/qgis-1.3.0/src/core/spatialindex -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/symbology -I/usr/ports graphics/qgis/work/qgis-1.3.0 -I/usr/local/include -I/usr/local/include/python2.6 -I/usr/local/share/qt4/mkspecs/default -I/u r/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtNetwork -I/usr/local/include/qt4/QtSvg - /usr/local/include/qt4/QtXml -I/usr/local/include/qt4 -o sipcoreQList0100QgsVectorDataProviderNativeType.o sipcoreQList0100Qg VectorDataProviderNativeType.cpp g++ -c -DCORE_EXPORT= -pipe -fPIC -O2 -Wall -W -DNDEBUG -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LI -I. -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/composer -I/usr/ orts/graphics/qgis/work/qgis-1.3.0/src/core/raster -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/renderer -I/usr/ports/ raphics/qgis/work/qgis-1.3.0/src/core/spatialindex -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/symbology -I/usr/ports/graphics/qgis/work/qgis-1.3.0 -I/usr/local/include -I/usr/local/include/python2.6 -I/usr/local/share/qt4/mkspecs/default -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtNetwork -I/usr/local/include/qt4/QtSvg -I/usr/local/include/qt4/QtXml -I/usr/local/include/qt4 -o sipcoreQMap18000100QgsGeometry.o sipcoreQMap18000100QgsGeometry.cpp g++ -c -DCORE_EXPORT= -pipe -fPIC -O2 -Wall -W -DNDEBUG -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -I. -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/composer -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/raster -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/renderer -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/spatialindex -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/symbology -I/usr/ports/graphics/qgis/work/qgis-1.3.0 -I/usr/local/include -I/usr/local/include/python2.6 -I/usr/local/share/qt4/mkspecs/default -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtNetwork -I/usr/local/include/qt4/QtSvg -I/usr/local/include/qt4/QtXml -I/usr/local/include/qt4 -o sipcoreQMap18000600QMap18000100QVariant.o sipcoreQMap18000600QMap18000100QVariant.cpp/usr/ports/graphics/qgis/work/qgis-1.3.0/python/core/conversions.sip: In function 'int convertTo_QMap_1800_0600QMap_1800_0100QVariant(PyObject*, void**, int*, PyObject*)': /usr/ports/graphics/qgis/work/qgis-1.3.0/python/core/conversions.sip:369: error: 'sipClass_QVariant' was not declared in this scope /usr/ports/graphics/qgis/work/qgis-1.3.0/python/core/conversions.sip:396: error: 'sipClass_QVariant' was not declared in this scope gmake: *** [sipcoreQMap18000600QMap18000100QVariant.o] Fehler 1 *** Error code 2 Stop in /usr/ports/graphics/qgis/work/qgis-1.3.0. *** Error code 1 Stop in /usr/ports/graphics/qgis/work/qgis-1.3.0. *** Error code 1 Stop in /usr/ports/graphics/qgis/work/qgis-1.3.0. *** Error code 1 Stop in /usr/ports/graphics/qgis. *** Error code 1 Stop in /usr/ports/graphics/qgis. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20091128-50806-1ytkoq3-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=qgis-1.3.0 UPGRADE_PORT_VER=1.3.0 make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! graphics/qgis (qgis-1.3.0) (unknown build error) --------------------------------------------------------------------------- Starting the qgis version compiled under python-2.4 gives me the following hints. Obviously the API change from v5.0 to v6.0 is causing this? --------------------------------------------------------------------------- PyQGIS konnte nicht geladen werden. Die Python-Unterstützung wird abgeschaltet. Traceback (most recent call last): File "", line 1, in RuntimeError: the sip module implements API v6.0 but the qgis.core module requires API v5.0 Python-Version: 2.6.4 (r264:75706, Nov 27 2009, 16:35:12) [GCC 4.2.1 20070719 [FreeBSD]] Python-Pfad: ['/usr/local/share/qgis/python', '/home/rhurlin/.qgis//python/plugins', '/usr/local/share/qgis/python/plugins', '/usr/local/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg', '/usr/local/lib/python2.6/site-packages/nose-0.10.4-py2.6.egg', '/usr/local/lib/python2.6/site-packages/simplejson-2.0.9-py2.6-freebsd-9.0-CURRENT-i386.egg', '/usr/local/lib/python26.zip', '/usr/local/lib/python2.6', '/usr/local/lib/python2.6/plat-freebsd9', '/usr/local/lib/python2.6/lib-tk', '/usr/local/lib/python2.6/lib-old', '/usr/local/lib/python2.6/lib-dynload', '/usr/local/lib/python2.6/site-packages', '/usr/local/lib/python2.6/site-packages/Numeric', '/usr/local/kde4/lib/python2.6/site-packages', '/usr/local/lib/python2.6/site-packages/gst-0.10', '/usr/local/lib/python2.6/site-packages/gtk-2.0'] --------------------------------------------------------------------------- If possible, I don't want to turn off python support in qgis. Thanks in advance, Rainer Hurling