Received: from mail.mlbassoc.com ([65.100.170.105] helo=mail.chez-thomas.org) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1TYo4m-0003Pd-ME for openembedded-devel@lists.openembedded.org; Thu, 15 Nov 2012 02:17:05 +0100 Received: by mail.chez-thomas.org (Postfix, from userid 1998) id 586C5F81221; Wed, 14 Nov 2012 18:03:09 -0700 (MST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on hermes.chez-thomas.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable version=3.3.2 Received: from [192.168.1.114] (zeus [192.168.1.114]) by mail.chez-thomas.org (Postfix) with ESMTP id 730FCF811EC; Wed, 14 Nov 2012 18:03:06 -0700 (MST) Message-ID: <50A43F5A.7030806@mlbassoc.com> Date: Wed, 14 Nov 2012 18:03:22 -0700 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121028 Thunderbird/16.0.2 MIME-Version: 1.0 To: openembedded-devel Subject: Unable to build python-pyqt X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Nov 2012 01:17:05 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I'm trying to build python-pyqt using the latest meta-openembedded alongside Poky/Yocto distribution. It's failing with a slew of errors: | arm-poky-linux-gnueabi-g++ -march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 --sysroot=/local/p82_new/tmp/sysroots/my_target -c -pipe -pipe -pipe -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -fno-strict-aliasing -O2 -O2 -fPIC -fPIC -fPIC -Wall -W -Wall -W -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/local/p82_new/tmp/sysroots/my_target/usr/share/qtopia/mkspecs/linux-g++ -I. -I/local/p82_new/tmp/sysroots/my_target/usr/include/qtopia/QtCore -I/local/p82_new/tmp/sysroots/my_target/usr/include/qtopia/QtGui -I/local/p82_new/tmp/sysroots/my_target/usr/include/qtopia -I../../QtCore -I../../QtCore -I/local/p82_new/tmp/sysroots/my_target/usr/include/qtopia/Qt -I/local/p82_new/tmp/sysroots/my_target/usr/include/python2.7 -I../qpy/QtCore -I../qpy/QtGui -I../qpy/QtDeclarative -I/local/p82_new/tmp/sysroots/my_target/usr/include/qtopia/QtCore -I/local/p82_new/tmp/sysroots/my_target/usr/include/qtopia/QtGui -I/local/p82_new/tmp/sysroots/my_target/usr/include/qtopia/QtDeclarative -I/local/p82_new/tmp/sysroots/my_target/usr/include/qtopia/QtWebKit -I/local/p82_new/tmp/sysroots/my_target/usr/include/qtopia/QtNetwork -I. -o qpycore_qabstracteventdispatcher.o qpycore_qabstracteventdispatcher.cpp | In file included from ../../QtCore/sipAPIQtCore.h:33:0, | from qpycore_sip.h:32, | from qpycore_qabstracteventdispatcher.cpp:30: | /local/p82_new/tmp/sysroots/my_target/usr/include/sip.h:983:29: error: expected unqualified-id before ';' token | /local/p82_new/tmp/sysroots/my_target/usr/include/sip.h:1202:52: error: expected ',' or '...' before 'new' | In file included from qpycore_sip.h:32:0, | from qpycore_qabstracteventdispatcher.cpp:30: | QtCore/sipAPIQtCore.h:8603:8: error: 'pyqt4ClassTypeDef' does not name a type | QtCore/sipAPIQtCore.h:8747:8: error: 'pyqt4ClassTypeDef' does not name a type | QtCore/sipAPIQtCore.h:8752:8: error: 'pyqt4ClassTypeDef' does not name a type ... | qpycore_qabstracteventdispatcher.cpp: In function 'bool event_filter(void*)': | qpycore_qabstracteventdispatcher.cpp:98:5: error: 'SIP_BLOCK_THREADS' was not declared in this scope | qpycore_qabstracteventdispatcher.cpp:104:5: error: expected ';' before 'PyObject' | qpycore_qabstracteventdispatcher.cpp:107:9: error: 'msg_obj' was not declared in this scope | qpycore_qabstracteventdispatcher.cpp:137:5: error: 'SIP_UNBLOCK_THREADS' was not declared in this scope | qpycore_qabstracteventdispatcher.cpp:139:5: error: expected ';' before 'return' This is using the meta-oe/recipes-devtools/python/python-pyqt_4.9.5.bb Poky/Yocto master 1fd9a16d2 I assume that this package built at the time of the last patch: commit 00fe75fb5773cf5602a20a50ed299ed287dd6ebd Author: Martin Jansa Date: Thu Oct 25 00:25:53 2012 +0200 python-pyqt: don't bypass sstate with sip files * discovered with http://patchwork.openembedded.org/patch/38521/ Signed-off-by: Martin Jansa What might I be doing wrong that's breaking the build? Thanks in advance for any help getting this going :-) -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------