[oe-issues] [Bug 2468] python-pyqt4 fails do_compile
bugzilla-daemon at tinman.treke.net
bugzilla-daemon at tinman.treke.net
Mon Jun 11 17:07:03 UTC 2007
http://bugs.openembedded.org/show_bug.cgi?id=2468
--- Comment #2 from Jake MORRISON <jake at cogini.com> 2007-06-11 10:07:03 ---
I have been digging into this one for the last few hours.
There is a missing dependency on sip4, but it goes deeper.
After building python-sip4_4.4.5.bb, I got errors
in python-pyqt4_4.2.bb about missing functions/enums that
are only available in sip 4.6. So I made builds for
sip4-native_4.6.bb and python-sip4_4.6.bb (which appears to
basically be a "native" build of sip4 for use with PyQt).
Now I am getting errors like this:
sip/QtCore/qobject.sip: In function 'sipWrapperType*
sipSubClass_QObject(void**)':
sip/QtCore/qobject.sip:175: error: 'sipName_QFileSystemWatcher' was not
declared in this scope
Which looks like this in sip/QtCore/qobject.sip:
{sipName_QIODevice, &sipClass_QIODevice, 19, 5},
#if QT_VERSION >= 0x040200
{sipName_QFileSystemWatcher, &sipClass_QFileSystemWatcher,
-1, 6},
#else
{0, 0, -1, 6},
#endif
sipName_QIODevice is defined in a header, QtCore/sipAPIQtCore.h,
but there is no corresponding definition for sipName_QFileSystemWatcher.
So I am guessing that there is some problem with conditional code generation,
due to the QT_VERSION. The part that is supposed to create the .h file with
the definition for sipName_QFileSystemWatcher is not running.
Attached are my latest compile log file and a patch which creates the
sip4-native_4.6.bb and python-sip4_4.6.bb.
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Openembedded-issues
mailing list