[PyKDE] PyKDE-3.11.3 build failure against sip-3.11

Rex Dieter rdieter at math.unl.edu
Tue Sep 21 19:13:09 BST 2004


Phil Thompson wrote:
> SIP v4.1 and v3.11 have been released and can be downloaded from the usual 
> place.

FYI, in my attempt to rebuild PyQt/PyKDE against sip-3.11, PyQt-3.12 
rebuilt fine, PyKDE-3.11.3 build fails.  Failed build log attached.

-- Rex
-------------- next part --------------
Executing(%prep): /bin/sh -e /usr/local/tmp/rpm-tmp.63926
+ umask 022
+ cd /usr/local/tmp/BUILD
+ LANG=C
+ export LANG
+ cd /usr/local/tmp/BUILD
+ rm -rf PyKDE-3.11.3
+ /usr/bin/gzip -dc /linux/kde-redhat/SOURCES/PyKDE/PyKDE-3.11.3.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd PyKDE-3.11.3
++ /usr/bin/id -u
+ '[' 482 = 0 ']'
++ /usr/bin/id -u
+ '[' 482 = 0 ']'
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ echo 'Patch #1 (PyKDE-3.11.3-sip3.patch):'
Patch #1 (PyKDE-3.11.3-sip3.patch):
+ patch -p1 -b --suffix .sip3 -s
+ exit 0
Executing(%build): /bin/sh -e /usr/local/tmp/rpm-tmp.94251
+ umask 022
+ cd /usr/local/tmp/BUILD
+ cd PyKDE-3.11.3
+ LANG=C
+ export LANG
+ unset QTDIR
+ . /etc/profile.d/qt.sh
++ '[' -z '' ']'
++ QTDIR=/usr/lib/qt-3.3
++ export QTDIR
+ /usr/bin/python2 configure.py

     PyKDE version 3.11.3
           -------

Python include directory is /usr/include/python2.2
Python version is 2.2.2

sip version is 3.11 (3.11.0)

Qt directory is /usr/lib/qt-3.3
Qt version is 3.3.3

PyQt directory is /usr/share/sip
PyQt version is 3.12 (3.12.0)

KDE base directory is /usr
KDE include directory is /usr/include/kde
KDE lib directory is /usr/lib
KDE version is 3.3.0 (0x30300)

PyKDE modules will be installed in /usr/lib/python2.2/site-packages
PyKDE .sip files will be installed in /usr/share/sip

PyKDE modules to be built:
   dcop kdecore kdesu kdefx kdeui kio kutils kfile kparts khtml kspell kdeprint kmdi

Generating the C++ source for the dcop module...
Compiling dcop.py...
Creating the Makefile for the dcop module...

Generating the C++ source for the kdecore module...
Compiling kdecore.py...
Creating the Makefile for the kdecore module...

Generating the C++ source for the kdesu module...
Compiling kdesu.py...
Creating the Makefile for the kdesu module...

Generating the C++ source for the kdefx module...
Compiling kdefx.py...
Creating the Makefile for the kdefx module...

Generating the C++ source for the kdeui module...
Compiling kdeui.py...
Creating the Makefile for the kdeui module...

Generating the C++ source for the kio module...
Compiling kio.py...
Creating the Makefile for the kio module...

Generating the C++ source for the kutils module...
Compiling kutils.py...
Creating the Makefile for the kutils module...

Generating the C++ source for the kfile module...
Compiling kfile.py...
Creating the Makefile for the kfile module...

Generating the C++ source for the kparts module...
Compiling kparts.py...
Creating the Makefile for the kparts module...

Generating the C++ source for the khtml module...
Compiling khtml.py...
Creating the Makefile for the khtml module...

Generating the C++ source for the kspell module...
Compiling kspell.py...
Creating the Makefile for the kspell module...

Generating the C++ source for the kdeprint module...
Compiling kdeprint.py...
Creating the Makefile for the kdeprint module...

Generating the C++ source for the kmdi module...
Compiling kmdi.py...
Creating the Makefile for the kmdi module...

Creating top level Makefile...
Creating pykdeconfig.py...
+ make 
make[1]: Entering directory `/usr/local/tmp/BUILD/PyKDE-3.11.3'
make[2]: Entering directory `/usr/local/tmp/BUILD/PyKDE-3.11.3/dcop'
g++ -c -Wno-deprecated-declarations -pipe -fPIC -O2 -march=i386 -mcpu=i686 -w -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde330 -I/usr/include/kde -I/usr/include/python2.2 -I/usr/lib/qt-3.3/include -I/usr/X11R6/include -o dcoppart0.o dcoppart0.cpp
/usr/lib/qt-3.3/bin/moc -o moc_dcoppart0.cpp dcoppart0.h
g++ -c -Wno-deprecated-declarations -pipe -fPIC -O2 -march=i386 -mcpu=i686 -w -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde330 -I/usr/include/kde -I/usr/include/python2.2 -I/usr/lib/qt-3.3/include -I/usr/X11R6/include -o moc_dcoppart0.o moc_dcoppart0.cpp
g++ -shared -Wl,-soname,libdcopcmodule.so -Wl,-rpath,/usr/lib -Wl,-rpath,/usr/lib/qt-3.3/lib -o libdcopcmodule.so dcoppart0.o moc_dcoppart0.o -L../qt -L/usr/lib -L/usr/lib/python2.2/site-packages -L/usr/lib/qt-3.3/lib -L/usr/X11R6/lib -lqtcmodule -lDCOP -lsip -lqt-mt -lXext -lX11 -lm -lpthread
make[2]: Leaving directory `/usr/local/tmp/BUILD/PyKDE-3.11.3/dcop'
make[2]: Entering directory `/usr/local/tmp/BUILD/PyKDE-3.11.3/kdecore'
g++ -c -Wno-deprecated-declarations -pipe -fPIC -O2 -march=i386 -mcpu=i686 -w -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde330 -I/usr/include/kde -I/usr/include/python2.2 -I/usr/lib/qt-3.3/include -I/usr/X11R6/include -o kdecorepart0.o kdecorepart0.cpp
/usr/lib/qt-3.3/bin/moc -o moc_kdecorepart0.cpp kdecorepart0.h
g++ -c -Wno-deprecated-declarations -pipe -fPIC -O2 -march=i386 -mcpu=i686 -w -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde330 -I/usr/include/kde -I/usr/include/python2.2 -I/usr/lib/qt-3.3/include -I/usr/X11R6/include -o moc_kdecorepart0.o moc_kdecorepart0.cpp
sip/kdecore/kconfigdata.sip: In function `PyObject* 
   sipDo_testKEntryMap(PyObject*, PyObject*)':
sip/kdecore/kconfigdata.sip:78: `
   sipForceConvertTo_QMap_0200KEntryKey_0200KEntry' undeclared (first use this 
   function)
sip/kdecore/kconfigdata.sip:78: (Each undeclared identifier is reported only 
   once for each function it appears in.)
sip/kdecore/bytearray.sip: In function `PyObject* sipDo_dcop_next(PyObject*, 
   PyObject*)':
sip/kdecore/bytearray.sip:349: `sipConvertFrom_QMap_0200QCString_0200DCOPRef' 
   undeclared (first use this function)
sip/kdecore/bytearray.sip:355: `sipConvertFrom_QMap_0200QString_0200DCOPRef' 
   undeclared (first use this function)
sip/kdecore/bytearray.sip:361: `sipConvertFrom_QValueList_0200QCString' 
   undeclared (first use this function)
sip/kdecore/bytearray.sip:367: `sipConvertFrom_QValueList_0200DCOPRef' 
   undeclared (first use this function)
sip/kdecore/bytearray.sip: In function `PyObject* sipDo_dcop_add(PyObject*, 
   PyObject*)':
sip/kdecore/bytearray.sip:62: `sipForceConvertTo_QMap_0200QCString_0200DCOPRef' 
   undeclared (first use this function)
sip/kdecore/bytearray.sip:72: `sipForceConvertTo_QMap_0200QString_0200DCOPRef' 
   undeclared (first use this function)
sip/kdecore/bytearray.sip:88: `sipForceConvertTo_QValueList_0200QCString' 
   undeclared (first use this function)
sip/kdecore/bytearray.sip:98: `sipForceConvertTo_QValueList_0200DCOPRef' 
   undeclared (first use this function)
kdecorepart0.cpp: In static member function `static const KShortcut& 
   sipKShortcutList::sipVH_shortcutDefault(const sipMethodCache*, sipThisType*, 
   unsigned int)':
kdecorepart0.cpp:55427: `sipResErr' undeclared (first use this function)
make[2]: *** [kdecorepart0.o] Error 1
make[2]: Leaving directory `/usr/local/tmp/BUILD/PyKDE-3.11.3/kdecore'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/tmp/BUILD/PyKDE-3.11.3'
error: Bad exit status from /usr/local/tmp/rpm-tmp.94251 (%build)


RPM build errors:
    Bad exit status from /usr/local/tmp/rpm-tmp.94251 (%build)


More information about the PyQt mailing list