Unable to build python-pyqt
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 <[email protected]>
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/
What might I be doing wrong that's breaking the build?
Thanks in advance for any help getting this going :-)
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 30 lines · Gary Thomas
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
(quoted diff) +0
-8-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'
Quoted 4 lines
This is using the meta-oe/recipes-devtools/python/python-pyqt_4.9.5.bb Poky/Yocto master
1fd9a16d2I assume that this package built at the time of the last patch:
Yes it did and still does here (4 different hosts) for both qt 4.8.1 and 4.8.3.
Quoted 11 lines
commit
00fe75fb5773cf5602a20a50ed299ed287dd6ebd
Author: Martin Jansa <[email protected]>
Date: Thu Oct 25 00:25:53 2012 +0200python-pyqt: don't bypass sstate with sip files
* discovered with http://patchwork.openembedded.org/patch/38521/
Signed-off-by Martin Jansa <[email protected]>What might I be doing wrong that's breaking the build?
I would check what's on those lines and is missing in your build | /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'
Cheers,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 31 lines · Martin Jansa
Quoted 30 lines · Gary Thomas
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
(quoted diff) +0
-8-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'
Quoted 6 lines
Quoted 4 lines
This is using the meta-oe/recipes-devtools/python/python-pyqt_4.9.5.bb Poky/Yocto master
1fd9a16d2I assume that this package built at the time of the last patch:
Yes it did and still does here (4 different hosts) for both qt 4.8.1 and 4.8.3.
What distribution layers are you using?
What's your target?
What compiler are you using (currently I'm at 4.7.2-r13)?
I had troubles with sip-native:
ERROR: Fetcher failure: Fetch command failed with exit code 8, output:
http://www.riverbankcomputing.com/static/Downloads/sip4/sip-4.13.3.tar.gz:
2012-11-15 04:53:17 ERROR 404: Not Found.
How do you get around this?
I'd like to duplicate what you've done so I can figure out what's wrong.
Quoted 11 lines
Quoted 11 lines
commit
00fe75fb5773cf5602a20a50ed299ed287dd6ebd
Author: Martin Jansa <[email protected]>
Date: Thu Oct 25 00:25:53 2012 +0200python-pyqt: don't bypass sstate with sip files
* discovered with http://patchwork.openembedded.org/patch/38521/
Signed-off-by Martin Jansa <[email protected]>
Quoted 7 lines
Quoted 1 line
What might I be doing wrong that's breaking the build?
I would check what's on those lines and is missing in your build | /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'
Thanks
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 32 lines · Gary Thomas
Quoted 31 lines · Martin Jansa
Quoted 30 lines · Gary Thomas
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
(quoted diff) +0
-8-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'
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
This is using the meta-oe/recipes-devtools/python/python-pyqt_4.9.5.bb Poky/Yocto master
1fd9a16d2I assume that this package built at the time of the last patch:
Yes it did and still does here (4 different hosts) for both qt 4.8.1 and 4.8.3.
What distribution layers are you using?
meta-jama = "master:7ecd04df5f040e79c140e87802e48cdf89978ade"
meta-shr
meta-aurora
meta-fso
meta-android = "jansa/test:cfe203305e46f32f5ae3ea788552f9fd681cd790"
meta-oe
meta-efl
meta-gnome
meta-gpe
meta-multimedia
meta-networking
meta-initramfs
meta-systemd = "jansa/test:3bc7f5d5b5c87f321b5f824785f8618a194097b4"
meta-osmocombb
meta-nokia
meta-htc
meta-palm
meta-openmoko
meta-samsung = "jansa/test:cfe203305e46f32f5ae3ea788552f9fd681cd790" meta-browser = "jansa/test:b8f4a7e489907bbaf99d4059192ddf93ef1e54bc" meta-handheld = "jansa/spitz:cb3a1aba74900438bc304675262e1f749d34a657" meta-webos-shr = "master:d8dfa37c945a33a8bb5644f897e700ad0b593468" meta = "jansa/test:3ff3d7ff8e5a1400fbbb7d4873ad1a7dbadd0f29"
note that jansa/test branches don't have anything related to python-pyqt, so you can use master branches if they parse now.
Quoted 1 line
What's your target?
om-gta02, om-gta04, nokia900, tuna, qemux86, qemuarm, qemux86-64, spitz
Quoted 1 line
What compiler are you using (currently I'm at 4.7.2-r13)?
the same
Quoted 5 lines
I had troubles with sip-native:
ERROR: Fetcher failure: Fetch command failed with exit code 8, output: http://www.riverbankcomputing.com/static/Downloads/sip4/sip-4.13.3.tar.gz: 2012-11-15 04:53:17 ERROR 404: Not Found.How do you get around this?
sip-4.13.3.tar.gz on SHR premirror, older versions are moved to SF mirror:
http://sourceforge.net/projects/pyqt/files/sip/
Quoted 1 line
I'd like to duplicate what you've done so I can figure out what's wrong.
You can follow this:
http://shr-project.org/trac/wiki/Building%20SHR
Quoted 19 lines
Quoted 19 lines
Quoted 6 lines
commit
00fe75fb5773cf5602a20a50ed299ed287dd6ebd
Author: Martin Jansa <[email protected]>
Date: Thu Oct 25 00:25:53 2012 +0200Quoted 7 lines
python-pyqt: don't bypass sstate with sip files
* discovered with http://patchwork.openembedded.org/patch/38521/
Signed-off-by Martin Jansa <[email protected]>What might I be doing wrong that's breaking the build?
I would check what's on those lines and is missing in your build | /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'
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 76 lines · Martin Jansa
Quoted 32 lines · Gary Thomas
Quoted 31 lines · Martin Jansa
Quoted 30 lines · Gary Thomas
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
(quoted diff) +0
-8-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'Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
This is using the meta-oe/recipes-devtools/python/python-pyqt_4.9.5.bb Poky/Yocto master
1fd9a16d2I assume that this package built at the time of the last patch:
Yes it did and still does here (4 different hosts) for both qt 4.8.1 and 4.8.3.
What distribution layers are you using?
meta-jama = "master:7ecd04df5f040e79c140e87802e48cdf89978ade"
meta-shr
meta-aurora
meta-fso
meta-android = "jansa/test:cfe203305e46f32f5ae3ea788552f9fd681cd790"
meta-oe
meta-efl
meta-gnome
meta-gpe
meta-multimedia
meta-networking
meta-initramfs
meta-systemd = "jansa/test:3bc7f5d5b5c87f321b5f824785f8618a194097b4"
meta-osmocombb
meta-nokia
meta-htc
meta-palm
meta-openmokometa-samsung = "jansa/test:cfe203305e46f32f5ae3ea788552f9fd681cd790" meta-browser = "jansa/test:b8f4a7e489907bbaf99d4059192ddf93ef1e54bc" meta-handheld = "jansa/spitz:cb3a1aba74900438bc304675262e1f749d34a657" meta-webos-shr = "master:d8dfa37c945a33a8bb5644f897e700ad0b593468" meta = "jansa/test:3ff3d7ff8e5a1400fbbb7d4873ad1a7dbadd0f29"note that jansa/test branches don't have anything related to python-pyqt, so you can use master branches if they parse now.
Quoted 1 line
What's your target?
om-gta02, om-gta04, nokia900, tuna, qemux86, qemuarm, qemux86-64, spitz
Quoted 1 line
What compiler are you using (currently I'm at 4.7.2-r13)?
the same
Quoted 8 lines
Quoted 5 lines
I had troubles with sip-native:
ERROR: Fetcher failure: Fetch command failed with exit code 8, output: http://www.riverbankcomputing.com/static/Downloads/sip4/sip-4.13.3.tar.gz: 2012-11-15 04:53:17 ERROR 404: Not Found.How do you get around this?
sip-4.13.3.tar.gz on SHR premirror, older versions are moved to SF mirror:
http://sourceforge.net/projects/pyqt/files/sip/
Maybe the sip recipes should be updated to use the SourceForge mirrors?
Quoted 5 lines
Quoted 2 lines
I'd like to duplicate what you've done so I can figure out what's wrong.
You can follow this:
http://shr-project.org/trac/wiki/Building%20SHR
This helped a lot, I've been able to build python-pyqt now.
Query: do you know what I might need to do to build it for QT4-embedded instead of QT4-x11?
Quoted 28 lines
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
commit
00fe75fb5773cf5602a20a50ed299ed287dd6ebd
Author: Martin Jansa <[email protected]>
Date: Thu Oct 25 00:25:53 2012 +0200python-pyqt: don't bypass sstate with sip files
* discovered with http://patchwork.openembedded.org/patch/38521/
Signed-off-by Martin Jansa <[email protected]>Quoted 7 lines
Quoted 7 lines
Quoted 1 line
What might I be doing wrong that's breaking the build?
I would check what's on those lines and is missing in your build | /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'_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------