Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Tasslehoff Kjappfot <tasskjapp@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: python-pyqt compile error with latest org.openembedded.dev
Date: Fri, 07 May 2010 15:54:54 +0200	[thread overview]
Message-ID: <4BE41BAE.5000302@gmail.com> (raw)
In-Reply-To: <4BE11B74.7090901@gmail.com>

Doesn't seem to be a lot of interest in this, and I stumbled across an 
old post about "End-of-life for PyQt-Embedded" ( 
http://lists.linuxtogo.org/pipermail/openembedded-devel/2007-August/002802.html). 
Was this the end of PyQt in OE? If so, should the recipes be removed?

What about PySide ( http://www.pyside.org/), Nokias own Python bindings 
for Qt? Is that something it would be interesting to have a recipe for? 
I've been trying to make one myself, but my OE skills haven't proven 
good enough.



On 05/05/2010 09:17 AM, Tasslehoff Kjappfot wrote:
> I was told on #oe that I should have been a bit more verbose in my 
> previous mail, and I agree :-)
>
> I'm compiling Angstrom for the Beagleboard with the latest 
> org.openembedded.dev, and python-pyqt fails. I took a closer look at 
> the recipes for python-pyqt and python-sip, and they use old versions 
> that don't match the Qt-version currently in use. I'm attempting to 
> make it build with updated versions on my machine, but my recipe-fu 
> isn't very good, so any help is appreciated.
>
> Compilation output ===>
>
> NOTE: make MAKEFLAGS=
>
> cd QtCore/ && make -f Makefile
>
> make[1]: Entering directory 
> `/data/src/openembedded/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/python-pyqt-4.4.3-ml5/PyQt-x11-gpl-4.4.3/QtCore' 
>
>
> arm-angstrom-linux-gnueabi-g++ -march=armv7-a -mtune=cortex-a8 
> -mfpu=neon -mfloat-abi=softfp -c -pipe 
> -isystem/data/src/openembedded/build/angstrom-dev/staging/armv7a-angstrom-linux-gnueabi/usr/include 
> -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 
> -ggdb3 
> -isystem/data/src/openembedded/build/angstrom-dev/staging/armv7a-angstrom-linux-gnueabi/usr/include 
> -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 
> -ggdb3 -fpermissive -fvisibility-inlines-hidden -Wall -W -D_REENTRANT 
> -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED 
> -I/data/src/openembedded/build/angstrom-dev/staging/armv7a-angstrom-linux-gnueabi/usr/share/qt4/mkspecs/linux-g++ 
> -I. 
> -I/data/src/openembedded/build/angstrom-dev/staging/armv7a-angstrom-linux-gnueabi/usr/include/qt4/QtCore 
> -I/data/src/openembedded/build/angstrom-dev/staging/armv7a-angstrom-linux-gnueabi/usr/include/qt4/QtGui 
> -I/data/src/openembedded/build/angstrom-dev/staging/armv7a-angstrom-linux-gnueabi/usr/include/qt4 
> -I/data/src/openembedded/build/angstrom-dev/staging/armv7a-angstrom-linux-gnueabi/usr/include/qt4/Qt 
> -I/data/src/openembedded/build/angstrom-dev/staging/armv7a-angstrom-linux-gnueabi/usr/include/python2.6 
> -I. -o sipQtCoreQResource.o sipQtCoreQResource.cpp
>
> /data/src/openembedded/build/angstrom-dev/staging/armv7a-angstrom-linux-gnueabi/usr/include/qt4/QtCore/qscopedpointer.h: 
> In copy constructor 'QResource::QResource(const QResource&)':
>
> /data/src/openembedded/build/angstrom-dev/staging/armv7a-angstrom-linux-gnueabi/usr/include/qt4/QtCore/qscopedpointer.h:170: 
> error: 'QScopedPointer<T, Cleanup>::QScopedPointer(const 
> QScopedPointer<T, Cleanup>&) [with T = QResourcePrivate, Cleanup = 
> QScopedPointerDeleter<QResourcePrivate>]' is private
>
> /data/src/openembedded/build/angstrom-dev/staging/armv7a-angstrom-linux-gnueabi/usr/include/qt4/QtCore/qresource.h:59: 
> error: within this context
>
> sipQtCoreQResource.cpp: In constructor 
> 'sipQResource::sipQResource(const QResource&)':
>
> sipQtCoreQResource.cpp:84: note: synthesized method 
> 'QResource::QResource(const QResource&)' first required here
>
> /data/src/openembedded/build/angstrom-dev/staging/armv7a-angstrom-linux-gnueabi/usr/include/qt4/QtCore/qscopedpointer.h: 
> In member function 'QResource& QResource::operator=(const QResource&)':
>
> /data/src/openembedded/build/angstrom-dev/staging/armv7a-angstrom-linux-gnueabi/usr/include/qt4/QtCore/qscopedpointer.h:170: 
> error: 'QScopedPointer<T, Cleanup>& QScopedPointer<T, 
> Cleanup>::operator=(const QScopedPointer<T, Cleanup>&) [with T = 
> QResourcePrivate, Cleanup = QScopedPointerDeleter<QResourcePrivate>]' 
> is private
>
> /data/src/openembedded/build/angstrom-dev/staging/armv7a-angstrom-linux-gnueabi/usr/include/qt4/QtCore/qresource.h:59: 
> error: within this context
>
> sipQtCoreQResource.cpp: In function 'void assign_QResource(void*, 
> const void*)':
>
> sipQtCoreQResource.cpp:618: note: synthesized method 'QResource& 
> QResource::operator=(const QResource&)' first required here
>
> /data/src/openembedded/build/angstrom-dev/staging/armv7a-angstrom-linux-gnueabi/usr/include/qt4/QtCore/qscopedpointer.h: 
> In static member function 'static void 
> QScopedPointerDeleter<T>::cleanup(T*) [with T = QResourcePrivate]':
>
> /data/src/openembedded/build/angstrom-dev/staging/armv7a-angstrom-linux-gnueabi/usr/include/qt4/QtCore/qscopedpointer.h:100:   
> instantiated from 'QScopedPointer<T, Cleanup>::~QScopedPointer() [with 
> T = QResourcePrivate, Cleanup = QScopedPointerDeleter<QResourcePrivate>]'
>
> /data/src/openembedded/build/angstrom-dev/staging/armv7a-angstrom-linux-gnueabi/usr/include/qt4/QtCore/qresource.h:59:   
> instantiated from here
>
> /data/src/openembedded/build/angstrom-dev/staging/armv7a-angstrom-linux-gnueabi/usr/include/qt4/QtCore/qscopedpointer.h:59: 
> error: invalid application of 'sizeof' to incomplete type 
> 'QResourcePrivate'
>
> /data/src/openembedded/build/angstrom-dev/staging/armv7a-angstrom-linux-gnueabi/usr/include/qt4/QtCore/qscopedpointer.h:59: 
> error: creating array with negative size ('-0x00000000000000001')
>
> /data/src/openembedded/build/angstrom-dev/staging/armv7a-angstrom-linux-gnueabi/usr/include/qt4/QtCore/qscopedpointer.h:62: 
> warning: possible problem detected in invocation of delete operator:
>
> /data/src/openembedded/build/angstrom-dev/staging/armv7a-angstrom-linux-gnueabi/usr/include/qt4/QtCore/qscopedpointer.h:54: 
> warning: 'pointer' has incomplete type
>
> /data/src/openembedded/build/angstrom-dev/staging/armv7a-angstrom-linux-gnueabi/usr/include/qt4/QtCore/qresource.h:56: 
> warning: forward declaration of 'struct QResourcePrivate'
>
> /data/src/openembedded/build/angstrom-dev/staging/armv7a-angstrom-linux-gnueabi/usr/include/qt4/QtCore/qscopedpointer.h:62: 
> note: neither the destructor nor the class-specific operator delete 
> will be called, even if they are declared when the class is defined.
>
> make[1]: *** [sipQtCoreQResource.o] Error 1
>
> make[1]: Leaving directory 
> `/data/src/openembedded/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/python-pyqt-4.4.3-ml5/PyQt-x11-gpl-4.4.3/QtCore' 
>
>
> make: *** [sub-QtCore-make_default] Error 2
>
> FATAL: oe_runmake failed



  reply	other threads:[~2010-05-07 13:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.5784.1273038368.24517.openembedded-devel@lists.openembedded.org>
2010-05-05  7:17 ` python-pyqt compile error with latest org.openembedded.dev Tasslehoff Kjappfot
2010-05-07 13:54   ` Tasslehoff Kjappfot [this message]
2010-05-04 14:40 Tasslehoff Kjappfot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BE41BAE.5000302@gmail.com \
    --to=tasskjapp@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox