[PyQt] PyKDE build failure with Sip 4.15.1
Scott Kitterman
debian at kitterman.com
Sat Aug 24 04:17:59 BST 2013
I've updated the Debian packages in the Debian Experimental repository for
testing (just Sip 4.1.5 so far, but I'll upload 4.15.1 shortly). I tried
rebuilding the current Debian PyKDE package (4.10.5) and it failed to build
(last part of the build log attached). I tried locally with 4.15.1 and it
still fails (the attached log is with 4.15.1.).
I tried building the same package with sip 4.14.7 and it builds fine.
Scott K
-------------- next part --------------
Scanning dependencies of target compile_python_files
make[5]: Leaving directory `/home/pykde4-4.10.5/builddir-2.7'
make -f CMakeFiles/compile_python_files.dir/build.make CMakeFiles/compile_python_files.dir/build
make[5]: Entering directory `/home/pykde4-4.10.5/builddir-2.7'
/usr/bin/cmake -E echo Byte-compiling\ /home/pykde4-4.10.5/builddir-2.7//__init__.py\ to\ /home/pykde4-4.10.5/builddir-2.7//__init__.pyc
Byte-compiling /home/pykde4-4.10.5/builddir-2.7//__init__.py to /home/pykde4-4.10.5/builddir-2.7//__init__.pyc
/usr/bin/cmake -E copy /home/pykde4-4.10.5/__init__.py /home/pykde4-4.10.5/builddir-2.7//__init__.py
/usr/bin/python2.7 /usr/share/kde4/apps/cmake/modules/PythonCompile.py /home/pykde4-4.10.5/builddir-2.7//__init__.py
/usr/bin/cmake -E echo Byte-compiling\ /home/pykde4-4.10.5/builddir-2.7//home/pykde4-4.10.5/builddir-2.7/pykdeconfig.py\ to\ /home/pykde4-4.10.5/builddir-2.7//home/pykde4-4.10.5/builddir-2.7/pykdeconfig.pyc
Byte-compiling /home/pykde4-4.10.5/builddir-2.7//home/pykde4-4.10.5/builddir-2.7/pykdeconfig.py to /home/pykde4-4.10.5/builddir-2.7//home/pykde4-4.10.5/builddir-2.7/pykdeconfig.pyc
/usr/bin/cmake -E copy /home/pykde4-4.10.5/builddir-2.7/pykdeconfig.py /home/pykde4-4.10.5/builddir-2.7//home/pykde4-4.10.5/builddir-2.7/pykdeconfig.py
/usr/bin/python2.7 /usr/share/kde4/apps/cmake/modules/PythonCompile.py /home/pykde4-4.10.5/builddir-2.7//home/pykde4-4.10.5/builddir-2.7/pykdeconfig.py
make[5]: Leaving directory `/home/pykde4-4.10.5/builddir-2.7'
/usr/bin/cmake -E cmake_progress_report /home/pykde4-4.10.5/builddir-2.7/CMakeFiles
[ 0%] Built target compile_python_files
make -f CMakeFiles/python_module_PyKDE4_akonadi.dir/build.make CMakeFiles/python_module_PyKDE4_akonadi.dir/depend
make[5]: Entering directory `/home/pykde4-4.10.5/builddir-2.7'
/usr/bin/cmake -E cmake_progress_report /home/pykde4-4.10.5/builddir-2.7/CMakeFiles 2
[ 1%] Generating sip/akonadi/sipakonadipart0.cpp, sip/akonadi/sipakonadipart1.cpp, sip/akonadi/sipakonadipart2.cpp, sip/akonadi/sipakonadipart3.cpp, sip/akonadi/sipakonadipart4.cpp, sip/akonadi/sipakonadipart5.cpp, sip/akonadi/sipakonadipart6.cpp, sip/akonadi/sipakonadipart7.cpp
/usr/bin/cmake -E echo
touch /home/pykde4-4.10.5/builddir-2.7/sip/akonadi/sipakonadipart0.cpp /home/pykde4-4.10.5/builddir-2.7/sip/akonadi/sipakonadipart1.cpp /home/pykde4-4.10.5/builddir-2.7/sip/akonadi/sipakonadipart2.cpp /home/pykde4-4.10.5/builddir-2.7/sip/akonadi/sipakonadipart3.cpp /home/pykde4-4.10.5/builddir-2.7/sip/akonadi/sipakonadipart4.cpp /home/pykde4-4.10.5/builddir-2.7/sip/akonadi/sipakonadipart5.cpp /home/pykde4-4.10.5/builddir-2.7/sip/akonadi/sipakonadipart6.cpp /home/pykde4-4.10.5/builddir-2.7/sip/akonadi/sipakonadipart7.cpp
/usr/bin/sip -t ALL -t WS_X11 -t Qt_4_8_4 -x VendorID -x PyQt_NoPrintRangeBug -g -x PyKDE_QVector -x Py_v3 -j 8 -c /home/pykde4-4.10.5/builddir-2.7/sip/akonadi -I /usr/share/sip/PyQt4 -I /home/pykde4-4.10.5/sip /home/pykde4-4.10.5/sip/akonadi/akonadimod.sip
sip: Deprecation warning: /home/pykde4-4.10.5/sip/kdeui/kxmlguibuilder.sip:41: Annotations should not be used in explicit C/C++ signatures
sip: Deprecation warning: /home/pykde4-4.10.5/sip/akonadi/itemserializerplugin.sip:33: Annotation is invalid
cd /home/pykde4-4.10.5/builddir-2.7 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pykde4-4.10.5 /home/pykde4-4.10.5 /home/pykde4-4.10.5/builddir-2.7 /home/pykde4-4.10.5/builddir-2.7 /home/pykde4-4.10.5/builddir-2.7/CMakeFiles/python_module_PyKDE4_akonadi.dir/DependInfo.cmake --color=
Scanning dependencies of target python_module_PyKDE4_akonadi
make[5]: Leaving directory `/home/pykde4-4.10.5/builddir-2.7'
make -f CMakeFiles/python_module_PyKDE4_akonadi.dir/build.make CMakeFiles/python_module_PyKDE4_akonadi.dir/build
make[5]: Entering directory `/home/pykde4-4.10.5/builddir-2.7'
/usr/bin/cmake -E cmake_progress_report /home/pykde4-4.10.5/builddir-2.7/CMakeFiles
[ 1%] Building CXX object CMakeFiles/python_module_PyKDE4_akonadi.dir/sip/akonadi/sipakonadipart0.cpp.o
/usr/bin/c++ -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=5 -DKDE_DEPRECATED_WARNINGS -DQT3_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_STL -DUSING_SOPRANO_NRLMODEL_UNSTABLE_API -D_BSD_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=500 -Dpython_module_PyKDE4_akonadi_EXPORTS -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -DNDEBUG -DQT_NO_DEBUG -fPIC -I. -I.. -I/usr/include/KDE -I/usr/include/qt4/phonon -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtAssistant -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/usr/include/python2.7 -I/usr/include/i386-linux-gnu/python2.7 -I/usr/include/solid -I/usr/include/kio -I/usr/include/dom -I/usr/include/ksettings -I/usr/include/knewstuff2 -I/usr/include/dnssd -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o CMakeFiles/python_module_PyKDE4_akonadi.dir/sip/akonadi/sipakonadipart0.cpp.o -c sip/akonadi/sipakonadipart0.cpp
/home/pykde4-4.10.5/sip/akonadi/agentfilterproxymodel.sip: In function 'const sipTypeDef* sipSubClass_Akonadi_AgentFilterProxyModel(void**)':
/home/pykde4-4.10.5/sip/akonadi/agentfilterproxymodel.sip:146:60: warning: 'EntityTreeViewStateSaver' is deprecated (declared at /usr/include/akonadi/entitytreeviewstatesaver.h:89) [-Wdeprecated-declarations]
else if (dynamic_cast<Akonadi::EntityTreeViewStateSaver*>(sipCpp))
^
/home/pykde4-4.10.5/sip/akonadi/agentfilterproxymodel.sip:248:51: warning: 'CollectionModel' is deprecated (declared at /usr/include/akonadi/collectionmodel.h:54) [-Wdeprecated-declarations]
else if (dynamic_cast<Akonadi::CollectionModel*>(sipCpp))
^
/home/pykde4-4.10.5/sip/akonadi/agentfilterproxymodel.sip:251:60: warning: 'CollectionStatisticsModel' is deprecated (declared at /usr/include/akonadi/collectionstatisticsmodel.h:52) [-Wdeprecated-declarations]
if (dynamic_cast<Akonadi::CollectionStatisticsModel*>(sipCpp))
^
/home/pykde4-4.10.5/sip/akonadi/agentfilterproxymodel.sip:256:61: warning: 'MessageThreaderProxyModel' is deprecated (declared at /usr/include/akonadi/kmime/messagethreaderproxymodel.h:38) [-Wdeprecated-declarations]
else if (dynamic_cast<Akonadi::MessageThreaderProxyModel*>(sipCpp))
^
/home/pykde4-4.10.5/sip/akonadi/agentfilterproxymodel.sip:272:56: warning: 'StatisticsProxyModel' is deprecated (declared at /usr/include/akonadi/statisticsproxymodel.h:51) [-Wdeprecated-declarations]
else if (dynamic_cast<Akonadi::StatisticsProxyModel*>(sipCpp))
^
/home/pykde4-4.10.5/sip/akonadi/agentfilterproxymodel.sip:278:45: warning: 'ItemModel' is deprecated (declared at /usr/include/akonadi/itemmodel.h:56) [-Wdeprecated-declarations]
else if (dynamic_cast<Akonadi::ItemModel*>(sipCpp))
^
/home/pykde4-4.10.5/sip/akonadi/agentfilterproxymodel.sip:281:47: warning: 'MessageModel' is deprecated (declared at /usr/include/akonadi/kmime/messagemodel.h:38) [-Wdeprecated-declarations]
if (dynamic_cast<Akonadi::MessageModel*>(sipCpp))
^
/home/pykde4-4.10.5/sip/akonadi/attribute.sip: In function 'const sipTypeDef* sipSubClass_Akonadi_Attribute(void**)':
/home/pykde4-4.10.5/sip/akonadi/attribute.sip:54:61: warning: 'MessageThreadingAttribute' is deprecated (declared at /usr/include/akonadi/kmime/messagethreadingattribute.h:34) [-Wdeprecated-declarations]
else if (dynamic_cast<Akonadi::MessageThreadingAttribute*>(sipCpp))
^
/home/pykde4-4.10.5/sip/akonadi/selectionproxymodel.sip: In function 'const sipTypeDef* sipSubClass_Akonadi_SelectionProxyModel(void**)':
/home/pykde4-4.10.5/sip/akonadi/selectionproxymodel.sip:50:60: warning: 'EntityTreeViewStateSaver' is deprecated (declared at /usr/include/akonadi/entitytreeviewstatesaver.h:89) [-Wdeprecated-declarations]
else if (dynamic_cast<Akonadi::EntityTreeViewStateSaver*>(sipCpp))
^
/home/pykde4-4.10.5/sip/akonadi/selectionproxymodel.sip:152:51: warning: 'CollectionModel' is deprecated (declared at /usr/include/akonadi/collectionmodel.h:54) [-Wdeprecated-declarations]
else if (dynamic_cast<Akonadi::CollectionModel*>(sipCpp))
^
/home/pykde4-4.10.5/sip/akonadi/selectionproxymodel.sip:155:60: warning: 'CollectionStatisticsModel' is deprecated (declared at /usr/include/akonadi/collectionstatisticsmodel.h:52) [-Wdeprecated-declarations]
if (dynamic_cast<Akonadi::CollectionStatisticsModel*>(sipCpp))
^
/home/pykde4-4.10.5/sip/akonadi/selectionproxymodel.sip:160:61: warning: 'MessageThreaderProxyModel' is deprecated (declared at /usr/include/akonadi/kmime/messagethreaderproxymodel.h:38) [-Wdeprecated-declarations]
else if (dynamic_cast<Akonadi::MessageThreaderProxyModel*>(sipCpp))
^
/home/pykde4-4.10.5/sip/akonadi/selectionproxymodel.sip:176:56: warning: 'StatisticsProxyModel' is deprecated (declared at /usr/include/akonadi/statisticsproxymodel.h:51) [-Wdeprecated-declarations]
else if (dynamic_cast<Akonadi::StatisticsProxyModel*>(sipCpp))
^
/home/pykde4-4.10.5/sip/akonadi/selectionproxymodel.sip:182:45: warning: 'ItemModel' is deprecated (declared at /usr/include/akonadi/itemmodel.h:56) [-Wdeprecated-declarations]
else if (dynamic_cast<Akonadi::ItemModel*>(sipCpp))
^
/home/pykde4-4.10.5/sip/akonadi/selectionproxymodel.sip:185:47: warning: 'MessageModel' is deprecated (declared at /usr/include/akonadi/kmime/messagemodel.h:38) [-Wdeprecated-declarations]
if (dynamic_cast<Akonadi::MessageModel*>(sipCpp))
^
/home/pykde4-4.10.5/sip/akonadi/addressattribute.sip: In function 'const sipTypeDef* sipSubClass_Akonadi_AddressAttribute(void**)':
/home/pykde4-4.10.5/sip/akonadi/addressattribute.sip:61:61: warning: 'MessageThreadingAttribute' is deprecated (declared at /usr/include/akonadi/kmime/messagethreadingattribute.h:34) [-Wdeprecated-declarations]
else if (dynamic_cast<Akonadi::MessageThreadingAttribute*>(sipCpp))
^
/home/pykde4-4.10.5/sip/akonadi/resourcesettings.sip: In function 'const sipTypeDef* sipSubClass_Akonadi_ResourceSettings(void**)':
/home/pykde4-4.10.5/sip/akonadi/resourcesettings.sip:53:60: warning: 'EntityTreeViewStateSaver' is deprecated (declared at /usr/include/akonadi/entitytreeviewstatesaver.h:89) [-Wdeprecated-declarations]
else if (dynamic_cast<Akonadi::EntityTreeViewStateSaver*>(sipCpp))
^
/home/pykde4-4.10.5/sip/akonadi/resourcesettings.sip:159:51: warning: 'CollectionModel' is deprecated (declared at /usr/include/akonadi/collectionmodel.h:54) [-Wdeprecated-declarations]
else if (dynamic_cast<Akonadi::CollectionModel*>(sipCpp))
^
/home/pykde4-4.10.5/sip/akonadi/resourcesettings.sip:162:60: warning: 'CollectionStatisticsModel' is deprecated (declared at /usr/include/akonadi/collectionstatisticsmodel.h:52) [-Wdeprecated-declarations]
if (dynamic_cast<Akonadi::CollectionStatisticsModel*>(sipCpp))
^
/home/pykde4-4.10.5/sip/akonadi/resourcesettings.sip:167:61: warning: 'MessageThreaderProxyModel' is deprecated (declared at /usr/include/akonadi/kmime/messagethreaderproxymodel.h:38) [-Wdeprecated-declarations]
else if (dynamic_cast<Akonadi::MessageThreaderProxyModel*>(sipCpp))
^
/home/pykde4-4.10.5/sip/akonadi/resourcesettings.sip:183:56: warning: 'StatisticsProxyModel' is deprecated (declared at /usr/include/akonadi/statisticsproxymodel.h:51) [-Wdeprecated-declarations]
else if (dynamic_cast<Akonadi::StatisticsProxyModel*>(sipCpp))
^
/home/pykde4-4.10.5/sip/akonadi/resourcesettings.sip:191:45: warning: 'ItemModel' is deprecated (declared at /usr/include/akonadi/itemmodel.h:56) [-Wdeprecated-declarations]
else if (dynamic_cast<Akonadi::ItemModel*>(sipCpp))
^
/home/pykde4-4.10.5/sip/akonadi/resourcesettings.sip:194:47: warning: 'MessageModel' is deprecated (declared at /usr/include/akonadi/kmime/messagemodel.h:38) [-Wdeprecated-declarations]
if (dynamic_cast<Akonadi::MessageModel*>(sipCpp))
^
In file included from /usr/include/akonadi/entityrightsfiltermodel.h:25:0,
from /home/pykde4-4.10.5/sip/akonadi/agentfilterproxymodel.sip:58,
from sip/akonadi/sipakonadipart0.cpp:7:
/usr/include/krecursivefilterproxymodel.h: In member function 'virtual bool sipAkonadi_TrashFilterProxyModel::filterAcceptsRow(int, const QModelIndex&) const':
/usr/include/krecursivefilterproxymodel.h:118:8: error: 'virtual bool KRecursiveFilterProxyModel::filterAcceptsRow(int, const QModelIndex&) const' is private
bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const;
^
/home/pykde4-4.10.5/builddir-2.7/sip/akonadi/sipakonadipart0.cpp:8569:70: error: within this context
return Akonadi::TrashFilterProxyModel::filterAcceptsRow(a0,a1);
^
make[5]: *** [CMakeFiles/python_module_PyKDE4_akonadi.dir/sip/akonadi/sipakonadipart0.cpp.o] Error 1
More information about the PyQt
mailing list