Version: unspecified (using KDE 4.4.4) OS: Linux Just updated sip and pyqt and I cannot build kdebindings 4.4.5 from source. Scanning dependencies of target python_module_PyKDE4_akonadi [ 68%] Building CXX object python/pykde4/CMakeFiles/python_module_PyKDE4_akonadi.dir/sip/akonadi/sipakonadipart0.o In file included from /usr/include/python2.6/Python.h:8:0, from /usr/include/python2.6/sip.h:32, from /build/src/build/python/pykde4/sip/akonadi/sipAPIakonadi.h:11, from /build/src/build/python/pykde4/sip/akonadi/sipakonadipart0.cpp:7: /usr/include/python2.6/pyconfig.h:1040:0: warning: "_XOPEN_SOURCE" redefined <command-line>:0:0: note: this is the location of the previous definition /build/src/kdebindings-4.4.5/python/pykde4/sip/kdecore/typedefs.sip: In function 'PyObject* convertFrom_QSet_0100QByteArray(void*, PyObject*)': /build/src/kdebindings-4.4.5/python/pykde4/sip/kdecore/typedefs.sip:609:16: warning: suggest explicit braces to avoid ambiguous 'else' [ 68%] Building CXX object python/pykde4/CMakeFiles/python_module_PyKDE4_akonadi.dir/sip/akonadi/sipakonadipart1.o In file included from /usr/include/python2.6/Python.h:8:0, from /usr/include/python2.6/sip.h:32, from /build/src/build/python/pykde4/sip/akonadi/sipAPIakonadi.h:11, from /build/src/build/python/pykde4/sip/akonadi/sipakonadipart1.cpp:7: /usr/include/python2.6/pyconfig.h:1040:0: warning: "_XOPEN_SOURCE" redefined <command-line>:0:0: note: this is the location of the previous definition [ 68%] Building CXX object python/pykde4/CMakeFiles/python_module_PyKDE4_akonadi.dir/sip/akonadi/sipakonadipart2.o In file included from /usr/include/python2.6/Python.h:8:0, from /usr/include/python2.6/sip.h:32, from /build/src/build/python/pykde4/sip/akonadi/sipAPIakonadi.h:11, from /build/src/build/python/pykde4/sip/akonadi/sipakonadipart2.cpp:7: /usr/include/python2.6/pyconfig.h:1040:0: warning: "_XOPEN_SOURCE" redefined <command-line>:0:0: note: this is the location of the previous definition In file included from /build/src/kdebindings-4.4.5/python/pykde4/sip/akonadi/attribute.sip:66:0, from /build/src/build/python/pykde4/sip/akonadi/sipakonadipart2.cpp:7: /usr/include/akonadi/kmime/addressattribute.h: In member function 'Akonadi::AddressAttribute& Akonadi::AddressAttribute::operator=(const Akonadi::AddressAttribute&)': /usr/include/akonadi/kmime/addressattribute.h:43:1: error: non-static const member 'Akonadi::AddressAttribute::Private* const Akonadi::AddressAttribute::d', can't use default assignment operator sipakonadipart2.cpp: In function 'void assign_Akonadi_AddressAttribute(void*, Py_ssize_t, const void*)': sipakonadipart2.cpp:6922:131: note: synthesized method 'Akonadi::AddressAttribute& Akonadi::AddressAttribute::operator=(const Akonadi::AddressAttribute&)' first required here sipakonadipart2.cpp: In constructor 'sipAkonadi_ItemView::sipAkonadi_ItemView(KXmlGuiWindow*, QWidget*)': sipakonadipart2.cpp:7594:111: warning: 'Akonadi::ItemView::ItemView(KXmlGuiWindow*, QWidget*)' is deprecated (declared at /usr/include/akonadi/itemview.h:80) sipakonadipart2.cpp: In function 'PyObject* meth_Akonadi_ItemView_setXmlGuiWindow(PyObject*, PyObject*)': sipakonadipart2.cpp:12479:39: warning: 'void Akonadi::ItemView::setXmlGuiWindow(KXmlGuiWindow*)' is deprecated (declared at /usr/include/akonadi/itemview.h:104) make[2]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_akonadi.dir/sip/akonadi/sipakonadipart2.o] Error 1 make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_akonadi.dir/all] Error 2 make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: install sip 4.10.3, pyqt 4.7.4. try to build kdebindings 4.4.5 Actual Results: make fails pyqt 4.7.4 sip 4.10.3
same with KDE 4.4.92 Scanning dependencies of target python_module_PyKDE4_akonadi [ 60%] Building CXX object python/pykde4/CMakeFiles/python_module_PyKDE4_akonadi.dir/sip/akonadi/sipakonadipart0.o In file included from /usr/include/python2.6/Python.h:8:0, from /usr/include/python2.6/sip.h:32, from /build/src/build/python/pykde4/sip/akonadi/sipAPIakonadi.h:11, from /build/src/build/python/pykde4/sip/akonadi/sipakonadipart0.cpp:7: /usr/include/python2.6/pyconfig.h:1040:0: warning: "_XOPEN_SOURCE" redefined <command-line>:0:0: note: this is the location of the previous definition /build/src/kdebindings-4.4.92/python/pykde4/sip/akonadi/agentfilterproxymodel.sip: In function 'const sipTypeDef* sipSubClass_Akonadi_AgentFilterProxyModel(void**)': /build/src/kdebindings-4.4.92/python/pykde4/sip/akonadi/agentfilterproxymodel.sip:207:51: warning: 'CollectionModel' is deprecated (declared at /usr/include/akonadi/collectionmodel.h:55) /build/src/kdebindings-4.4.92/python/pykde4/sip/akonadi/agentfilterproxymodel.sip:210:60: warning: 'CollectionStatisticsModel' is deprecated (declared at /usr/include/akonadi/collectionstatisticsmodel.h:53) /build/src/kdebindings-4.4.92/python/pykde4/sip/akonadi/agentfilterproxymodel.sip:215:61: warning: 'MessageThreaderProxyModel' is deprecated (declared at /usr/include/akonadi/kmime/messagethreaderproxymodel.h:39) /build/src/kdebindings-4.4.92/python/pykde4/sip/akonadi/agentfilterproxymodel.sip:231:45: warning: 'ItemModel' is deprecated (declared at /usr/include/akonadi/itemmodel.h:57) /build/src/kdebindings-4.4.92/python/pykde4/sip/akonadi/agentfilterproxymodel.sip:234:47: warning: 'MessageModel' is deprecated (declared at /usr/include/akonadi/kmime/messagemodel.h:39) /build/src/kdebindings-4.4.92/python/pykde4/sip/akonadi/attribute.sip: In function 'const sipTypeDef* sipSubClass_Akonadi_Attribute(void**)': /build/src/kdebindings-4.4.92/python/pykde4/sip/akonadi/attribute.sip:54:61: warning: 'MessageThreadingAttribute' is deprecated (declared at /usr/include/akonadi/kmime/messagethreadingattribute.h:35) /build/src/kdebindings-4.4.92/python/pykde4/sip/akonadi/selectionproxymodel.sip: In function 'const sipTypeDef* sipSubClass_Akonadi_SelectionProxyModel(void**)': /build/src/kdebindings-4.4.92/python/pykde4/sip/akonadi/selectionproxymodel.sip:134:51: warning: 'CollectionModel' is deprecated (declared at /usr/include/akonadi/collectionmodel.h:55) /build/src/kdebindings-4.4.92/python/pykde4/sip/akonadi/selectionproxymodel.sip:137:60: warning: 'CollectionStatisticsModel' is deprecated (declared at /usr/include/akonadi/collectionstatisticsmodel.h:53) /build/src/kdebindings-4.4.92/python/pykde4/sip/akonadi/selectionproxymodel.sip:142:61: warning: 'MessageThreaderProxyModel' is deprecated (declared at /usr/include/akonadi/kmime/messagethreaderproxymodel.h:39) /build/src/kdebindings-4.4.92/python/pykde4/sip/akonadi/selectionproxymodel.sip:158:45: warning: 'ItemModel' is deprecated (declared at /usr/include/akonadi/itemmodel.h:57) /build/src/kdebindings-4.4.92/python/pykde4/sip/akonadi/selectionproxymodel.sip:161:47: warning: 'MessageModel' is deprecated (declared at /usr/include/akonadi/kmime/messagemodel.h:39) /build/src/kdebindings-4.4.92/python/pykde4/sip/akonadi/addressattribute.sip: In function 'const sipTypeDef* sipSubClass_Akonadi_AddressAttribute(void**)': /build/src/kdebindings-4.4.92/python/pykde4/sip/akonadi/addressattribute.sip:57:61: warning: 'MessageThreadingAttribute' is deprecated (declared at /usr/include/akonadi/kmime/messagethreadingattribute.h:35) /build/src/kdebindings-4.4.92/python/pykde4/sip/kdecore/typedefs.sip: In function 'PyObject* convertFrom_QSet_0100QByteArray(void*, PyObject*)': /build/src/kdebindings-4.4.92/python/pykde4/sip/kdecore/typedefs.sip:609:16: warning: suggest explicit braces to avoid ambiguous 'else' [ 60%] Building CXX object python/pykde4/CMakeFiles/python_module_PyKDE4_akonadi.dir/sip/akonadi/sipakonadipart1.o In file included from /usr/include/python2.6/Python.h:8:0, from /usr/include/python2.6/sip.h:32, from /build/src/build/python/pykde4/sip/akonadi/sipAPIakonadi.h:11, from /build/src/build/python/pykde4/sip/akonadi/sipakonadipart1.cpp:7: /usr/include/python2.6/pyconfig.h:1040:0: warning: "_XOPEN_SOURCE" redefined <command-line>:0:0: note: this is the location of the previous definition [ 60%] Building CXX object python/pykde4/CMakeFiles/python_module_PyKDE4_akonadi.dir/sip/akonadi/sipakonadipart2.o In file included from /usr/include/python2.6/Python.h:8:0, from /usr/include/python2.6/sip.h:32, from /build/src/build/python/pykde4/sip/akonadi/sipAPIakonadi.h:11, from /build/src/build/python/pykde4/sip/akonadi/sipakonadipart2.cpp:7: /usr/include/python2.6/pyconfig.h:1040:0: warning: "_XOPEN_SOURCE" redefined <command-line>:0:0: note: this is the location of the previous definition sipakonadipart2.cpp: In function 'PyObject* meth_Akonadi_MessageThreadingAttribute_type(PyObject*, PyObject*)': sipakonadipart2.cpp:3069:45: warning: 'MessageThreadingAttribute' is deprecated (declared at /usr/include/akonadi/kmime/messagethreadingattribute.h:35) sipakonadipart2.cpp: In function 'PyObject* meth_Akonadi_MessageThreadingAttribute_clone(PyObject*, PyObject*)': sipakonadipart2.cpp:3096:45: warning: 'MessageThreadingAttribute' is deprecated (declared at /usr/include/akonadi/kmime/messagethreadingattribute.h:35) sipakonadipart2.cpp:3100:49: warning: 'MessageThreadingAttribute' is deprecated (declared at /usr/include/akonadi/kmime/messagethreadingattribute.h:35) sipakonadipart2.cpp: In function 'PyObject* meth_Akonadi_MessageThreadingAttribute_serialized(PyObject*, PyObject*)': sipakonadipart2.cpp:3123:45: warning: 'MessageThreadingAttribute' is deprecated (declared at /usr/include/akonadi/kmime/messagethreadingattribute.h:35) sipakonadipart2.cpp: In function 'PyObject* meth_Akonadi_MessageThreadingAttribute_deserialize(PyObject*, PyObject*)': sipakonadipart2.cpp:3152:45: warning: 'MessageThreadingAttribute' is deprecated (declared at /usr/include/akonadi/kmime/messagethreadingattribute.h:35) sipakonadipart2.cpp: In function 'PyObject* meth_Akonadi_MessageThreadingAttribute_perfectParents(PyObject*, PyObject*)': sipakonadipart2.cpp:3179:45: warning: 'MessageThreadingAttribute' is deprecated (declared at /usr/include/akonadi/kmime/messagethreadingattribute.h:35) sipakonadipart2.cpp: In function 'PyObject* meth_Akonadi_MessageThreadingAttribute_unperfectParents(PyObject*, PyObject*)': sipakonadipart2.cpp:3206:45: warning: 'MessageThreadingAttribute' is deprecated (declared at /usr/include/akonadi/kmime/messagethreadingattribute.h:35) sipakonadipart2.cpp: In function 'PyObject* meth_Akonadi_MessageThreadingAttribute_subjectParents(PyObject*, PyObject*)': sipakonadipart2.cpp:3233:45: warning: 'MessageThreadingAttribute' is deprecated (declared at /usr/include/akonadi/kmime/messagethreadingattribute.h:35) sipakonadipart2.cpp: In function 'PyObject* meth_Akonadi_MessageThreadingAttribute_setPerfectParents(PyObject*, PyObject*)': sipakonadipart2.cpp:3262:45: warning: 'MessageThreadingAttribute' is deprecated (declared at /usr/include/akonadi/kmime/messagethreadingattribute.h:35) sipakonadipart2.cpp: In function 'PyObject* meth_Akonadi_MessageThreadingAttribute_setUnperfectParents(PyObject*, PyObject*)': sipakonadipart2.cpp:3291:45: warning: 'MessageThreadingAttribute' is deprecated (declared at /usr/include/akonadi/kmime/messagethreadingattribute.h:35) sipakonadipart2.cpp: In function 'PyObject* meth_Akonadi_MessageThreadingAttribute_setSubjectParents(PyObject*, PyObject*)': sipakonadipart2.cpp:3320:45: warning: 'MessageThreadingAttribute' is deprecated (declared at /usr/include/akonadi/kmime/messagethreadingattribute.h:35) sipakonadipart2.cpp: In function 'void* cast_Akonadi_MessageThreadingAttribute(void*, const sipTypeDef*)': sipakonadipart2.cpp:3350:137: warning: 'MessageThreadingAttribute' is deprecated (declared at /usr/include/akonadi/kmime/messagethreadingattribute.h:35) sipakonadipart2.cpp: In function 'void release_Akonadi_MessageThreadingAttribute(void*, int)': sipakonadipart2.cpp:3363:64: warning: 'MessageThreadingAttribute' is deprecated (declared at /usr/include/akonadi/kmime/messagethreadingattribute.h:35) sipakonadipart2.cpp: In function 'void* init_Akonadi_MessageThreadingAttribute(sipSimpleWrapper*, PyObject*, PyObject*, PyObject**, PyObject**, PyObject**)': sipakonadipart2.cpp:3382:41: warning: 'MessageThreadingAttribute' is deprecated (declared at /usr/include/akonadi/kmime/messagethreadingattribute.h:35) sipakonadipart2.cpp:3388:35: warning: 'MessageThreadingAttribute' is deprecated (declared at /usr/include/akonadi/kmime/messagethreadingattribute.h:35) sipakonadipart2.cpp: In function 'PyObject* meth_Akonadi_MessageThreaderProxyModel_parent(PyObject*, PyObject*)': sipakonadipart2.cpp:5271:45: warning: 'MessageThreaderProxyModel' is deprecated (declared at /usr/include/akonadi/kmime/messagethreaderproxymodel.h:39) sipakonadipart2.cpp: In function 'PyObject* meth_Akonadi_MessageThreaderProxyModel_rowCount(PyObject*, PyObject*)': sipakonadipart2.cpp:5300:45: warning: 'MessageThreaderProxyModel' is deprecated (declared at /usr/include/akonadi/kmime/messagethreaderproxymodel.h:39) sipakonadipart2.cpp: In function 'PyObject* meth_Akonadi_MessageThreaderProxyModel_index(PyObject*, PyObject*)': sipakonadipart2.cpp:5331:45: warning: 'MessageThreaderProxyModel' is deprecated (declared at /usr/include/akonadi/kmime/messagethreaderproxymodel.h:39) sipakonadipart2.cpp: In function 'PyObject* meth_Akonadi_MessageThreaderProxyModel_hasChildren(PyObject*, PyObject*)': sipakonadipart2.cpp:5360:45: warning: 'MessageThreaderProxyModel' is deprecated (declared at /usr/include/akonadi/kmime/messagethreaderproxymodel.h:39) sipakonadipart2.cpp: In function 'PyObject* meth_Akonadi_MessageThreaderProxyModel_createIndex(PyObject*, PyObject*)': sipakonadipart2.cpp:5390:45: warning: 'MessageThreaderProxyModel' is deprecated (declared at /usr/include/akonadi/kmime/messagethreaderproxymodel.h:39) sipakonadipart2.cpp: In function 'PyObject* meth_Akonadi_MessageThreaderProxyModel_columnCount(PyObject*, PyObject*)': sipakonadipart2.cpp:5419:45: warning: 'MessageThreaderProxyModel' is deprecated (declared at /usr/include/akonadi/kmime/messagethreaderproxymodel.h:39) sipakonadipart2.cpp: In function 'PyObject* meth_Akonadi_MessageThreaderProxyModel_mimeTypes(PyObject*, PyObject*)': sipakonadipart2.cpp:5447:45: warning: 'MessageThreaderProxyModel' is deprecated (declared at /usr/include/akonadi/kmime/messagethreaderproxymodel.h:39) sipakonadipart2.cpp: In function 'PyObject* meth_Akonadi_MessageThreaderProxyModel_mimeData(PyObject*, PyObject*)': sipakonadipart2.cpp:5477:45: warning: 'MessageThreaderProxyModel' is deprecated (declared at /usr/include/akonadi/kmime/messagethreaderproxymodel.h:39) sipakonadipart2.cpp: In function 'PyObject* meth_Akonadi_MessageThreaderProxyModel_mapFromSource(PyObject*, PyObject*)': sipakonadipart2.cpp:5507:45: warning: 'MessageThreaderProxyModel' is deprecated (declared at /usr/include/akonadi/kmime/messagethreaderproxymodel.h:39) sipakonadipart2.cpp: In function 'PyObject* meth_Akonadi_MessageThreaderProxyModel_mapToSource(PyObject*, PyObject*)': sipakonadipart2.cpp:5536:45: warning: 'MessageThreaderProxyModel' is deprecated (declared at /usr/include/akonadi/kmime/messagethreaderproxymodel.h:39) sipakonadipart2.cpp: In function 'PyObject* meth_Akonadi_MessageThreaderProxyModel_setSourceModel(PyObject*, PyObject*)': sipakonadipart2.cpp:5565:45: warning: 'MessageThreaderProxyModel' is deprecated (declared at /usr/include/akonadi/kmime/messagethreaderproxymodel.h:39) sipakonadipart2.cpp: In function 'void* cast_Akonadi_MessageThreaderProxyModel(void*, const sipTypeDef*)': sipakonadipart2.cpp:5594:140: warning: 'MessageThreaderProxyModel' is deprecated (declared at /usr/include/akonadi/kmime/messagethreaderproxymodel.h:39) sipakonadipart2.cpp: In function 'void release_Akonadi_MessageThreaderProxyModel(void*, int)': sipakonadipart2.cpp:5610:68: warning: 'MessageThreaderProxyModel' is deprecated (declared at /usr/include/akonadi/kmime/messagethreaderproxymodel.h:39) sipakonadipart2.cpp: In function 'PyObject* meth_Akonadi_MessageModel_columnCount(PyObject*, PyObject*)': sipakonadipart2.cpp:7715:32: warning: 'MessageModel' is deprecated (declared at /usr/include/akonadi/kmime/messagemodel.h:39) sipakonadipart2.cpp: In function 'PyObject* meth_Akonadi_MessageModel_data(PyObject*, PyObject*)': sipakonadipart2.cpp:7745:32: warning: 'MessageModel' is deprecated (declared at /usr/include/akonadi/kmime/messagemodel.h:39) sipakonadipart2.cpp: In function 'PyObject* meth_Akonadi_MessageModel_headerData(PyObject*, PyObject*)': sipakonadipart2.cpp:7776:32: warning: 'MessageModel' is deprecated (declared at /usr/include/akonadi/kmime/messagemodel.h:39) sipakonadipart2.cpp: In function 'PyObject* meth_Akonadi_MessageModel_rowCount(PyObject*, PyObject*)': sipakonadipart2.cpp:7806:32: warning: 'MessageModel' is deprecated (declared at /usr/include/akonadi/kmime/messagemodel.h:39) sipakonadipart2.cpp: In function 'PyObject* meth_Akonadi_MessageModel_mimeTypes(PyObject*, PyObject*)': sipakonadipart2.cpp:7834:32: warning: 'MessageModel' is deprecated (declared at /usr/include/akonadi/kmime/messagemodel.h:39) sipakonadipart2.cpp: In function 'void* cast_Akonadi_MessageModel(void*, const sipTypeDef*)': sipakonadipart2.cpp:7864:99: warning: 'ItemModel' is deprecated (declared at /usr/include/akonadi/itemmodel.h:57) sipakonadipart2.cpp:7864:124: warning: 'MessageModel' is deprecated (declared at /usr/include/akonadi/kmime/messagemodel.h:39) sipakonadipart2.cpp: In function 'void release_Akonadi_MessageModel(void*, int)': sipakonadipart2.cpp:7880:55: warning: 'MessageModel' is deprecated (declared at /usr/include/akonadi/kmime/messagemodel.h:39) In file included from /build/src/kdebindings-4.4.92/python/pykde4/sip/akonadi/attribute.sip:66:0, from /build/src/build/python/pykde4/sip/akonadi/sipakonadipart2.cpp:7: /usr/include/akonadi/kmime/addressattribute.h: In member function 'Akonadi::AddressAttribute& Akonadi::AddressAttribute::operator=(const Akonadi::AddressAttribute&)': /usr/include/akonadi/kmime/addressattribute.h:43:1: error: non-static const member 'Akonadi::AddressAttribute::Private* const Akonadi::AddressAttribute::d', can't use default assignment operator sipakonadipart2.cpp: In function 'void assign_Akonadi_AddressAttribute(void*, Py_ssize_t, const void*)': sipakonadipart2.cpp:8825:131: note: synthesized method 'Akonadi::AddressAttribute& Akonadi::AddressAttribute::operator=(const Akonadi::AddressAttribute&)' first required here sipakonadipart2.cpp: In constructor 'sipAkonadi_ItemView::sipAkonadi_ItemView(KXmlGuiWindow*, QWidget*)': sipakonadipart2.cpp:9497:111: warning: 'Akonadi::ItemView::ItemView(KXmlGuiWindow*, QWidget*)' is deprecated (declared at /usr/include/akonadi/itemview.h:80) sipakonadipart2.cpp: In function 'PyObject* meth_Akonadi_ItemView_setXmlGuiWindow(PyObject*, PyObject*)': sipakonadipart2.cpp:14382:39: warning: 'void Akonadi::ItemView::setXmlGuiWindow(KXmlGuiWindow*)' is deprecated (declared at /usr/include/akonadi/itemview.h:104) make[2]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_akonadi.dir/sip/akonadi/sipakonadipart2.o] Error 1 make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_akonadi.dir/all] Error 2 make: *** [all] Error 2
*** This bug has been marked as a duplicate of bug 244697 ***