Bug 209964 - [svn snapshot] PyKDE4 does not compile due to kdelibs
Summary: [svn snapshot] PyKDE4 does not compile due to kdelibs
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.3
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-09 10:15 UTC by Dmitrij S. Kryzhevich
Modified: 2009-11-06 09:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitrij S. Kryzhevich 2009-10-09 10:15:38 UTC
Version:            (using Devel)
Compiler:          gcc 4.4.1 
OS:                Linux
Installed from:    Compiled sources

KDE4 from svn (upto 1032777 rev). Kdebindings wont compile with kdelibs from trunk, but compile with stable 4.3.1 kdelibs.
Logs:

[ 59%] Building CXX object python/pykde4/CMakeFiles/python_module_PyKDE4_kdeui.dir/sip/kdeui/sipkdeuipart5.o
cd /builddir/build/BUILD/kdebindings-4.3.65/x86_64-redhat-linux-gnu/python/pykde4 && /usr/lib64/ccache/c++   -Dpython_module_PyKDE4_kdeui_EXPORTS -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DQT3_SUPPORT -D_REENTRANT -DQT_CORE_LIB -DQT_GUI_LIB -DUSING_SOPRANO_NRLMODEL_UNSTABLE_API -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic  -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -fPIC -I/builddir/build/BUILD/kdebindings-4.3.65/x86_64-redhat-linux-gnu/python/pykde4 -I/builddir/build/BUILD/kdebindings-4.3.65/python/pykde4 -I/builddir/build/BUILD/kdebindings-4.3.65 -I/builddir/build/BUILD/kdebindings-4.3.65/x86_64-redhat-linux-gnu -I/usr/include/kde4 -I/usr/include/kde4/KDE -I/usr/include/KDE -I/usr/include/phonon -I/usr/include/QtXmlPatterns -I/usr/include/QtWebKit -I/usr/include/QtHelp -I/usr/include/QtAssistant -I/usr/include/QtDBus -I/usr/include/QtTest -I/usr/include/QtUiTools -I/usr/include/QtScript -I/usr/include/QtSvg -I/usr/include/QtXml -I/usr/include/QtSql -I/usr/include/QtOpenGL -I/usr/include/QtNetwork -I/usr/include/QtDesigner -I/usr/include/Qt3Support -I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include/Qt -I/usr/lib64/qt4/mkspecs/default -I/usr/include/python2.6 -I/usr/include/kde4/solid -I/usr/include/kde4/kio -I/usr/include/kde4/kdeprint -I/usr/include/kde4/kdeprint/lpr -I/usr/include/kde4/dom -I/usr/include/kde4/ksettings -I/usr/include/kde4/knewstuff2 -I/usr/include/kde4/dnssd -I/usr/include/PolicyKit/polkit-qt -I/usr/include/PolicyKit   -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/python_module_PyKDE4_kdeui.dir/sip/kdeui/sipkdeuipart5.o -c /builddir/build/BUILD/kdebindings-4.3.65/x86_64-redhat-linux-gnu/python/pykde4/sip/kdeui/sipkdeuipart5.cpp
In file included from /usr/include/python2.6/pyconfig.h:6,
                 from /usr/include/python2.6/Python.h:8,
                 from /usr/include/python2.6/sip.h:28,
                 from /builddir/build/BUILD/kdebindings-4.3.65/x86_64-redhat-linux-gnu/python/pykde4/sip/kdeui/sipAPIkdeui.h:11,
                 from /builddir/build/BUILD/kdebindings-4.3.65/x86_64-redhat-linux-gnu/python/pykde4/sip/kdeui/sipkdeuipart5.cpp:7:
/usr/include/python2.6/pyconfig-64.h:1031:1: warning: "_XOPEN_SOURCE" redefined
<command-line>: warning: this is the location of the previous definition
sipkdeuipart5.cpp: In member function 'void sipKWidgetItemDelegate::sipProtect_paintWidgets(QPainter*, const QStyleOptionViewItem&, const QPersistentModelIndex&) const':
sipkdeuipart5.cpp:748: warning: 'void KWidgetItemDelegate::paintWidgets(QPainter*, const QStyleOptionViewItem&, const QPersistentModelIndex&) const' is deprecated (declared at /usr/include/kde4/kwidgetitemdelegate.h:125)
sipkdeuipart5.cpp: In member function 'virtual void sipKTreeWidgetSearchLine::setContextMenuEnabled(bool)':
sipkdeuipart5.cpp:5309: warning: 'virtual void KLineEdit::setContextMenuEnabled(bool)' is deprecated (declared at /usr/include/kde4/klineedit.h:224)
sipkdeuipart5.cpp: In member function 'virtual void sipKLineEdit::setContextMenuEnabled(bool)':
sipkdeuipart5.cpp:9574: warning: 'virtual void KLineEdit::setContextMenuEnabled(bool)' is deprecated (declared at /usr/include/kde4/klineedit.h:224)
sipkdeuipart5.cpp: In function 'PyObject* meth_KLineEdit_setContextMenuEnabled(PyObject*, PyObject*)':
sipkdeuipart5.cpp:12072: warning: 'virtual void KLineEdit::setContextMenuEnabled(bool)' is deprecated (declared at /usr/include/kde4/klineedit.h:224)
sipkdeuipart5.cpp:12072: warning: 'virtual void KLineEdit::setContextMenuEnabled(bool)' is deprecated (declared at /usr/include/kde4/klineedit.h:224)
sipkdeuipart5.cpp: In function 'PyObject* meth_KLineEdit_isContextMenuEnabled(PyObject*, PyObject*)':
sipkdeuipart5.cpp:12100: warning: 'bool KLineEdit::isContextMenuEnabled() const' is deprecated (declared at /usr/include/kde4/klineedit.h:230)
sipkdeuipart5.cpp: In member function 'virtual void sipKListWidgetSearchLine::setContextMenuEnabled(bool)':
sipkdeuipart5.cpp:14281: warning: 'virtual void KLineEdit::setContextMenuEnabled(bool)' is deprecated (declared at /usr/include/kde4/klineedit.h:224)
In file included from /builddir/build/BUILD/kdebindings-4.3.65/python/pykde4/sip/kdeui/kcategorydrawer.sip:25:
/usr/include/kde4/kcategorydrawer.h: In member function 'KCategoryDrawer& KCategoryDrawer::operator=(const KCategoryDrawer&)':
/usr/include/kde4/kcategorydrawer.h:37: error: non-static const member 'KCategoryDrawer::Private* const KCategoryDrawer::d', can't use default assignment operator
sipkdeuipart5.cpp: In function 'void assign_KCategoryDrawer(void*, const void*)':
sipkdeuipart5.cpp:27927: note: synthesized method 'KCategoryDrawer& KCategoryDrawer::operator=(const KCategoryDrawer&)' first required here 
sipkdeuipart5.cpp: In member function 'virtual void sipKCategorizedView::rowsInsertedArtifficial(const QModelIndex&, int, int)':
sipkdeuipart5.cpp:29024: warning: 'virtual void KCategorizedView::rowsInsertedArtifficial(const QModelIndex&, int, int)' is deprecated (declared at /usr/include/kde4/kcategorizedview.h:283)
sipkdeuipart5.cpp: In member function 'virtual void sipKCategorizedView::rowsRemoved(const QModelIndex&, int, int)':
sipkdeuipart5.cpp:29042: warning: 'virtual void KCategorizedView::rowsRemoved(const QModelIndex&, int, int)' is deprecated (declared at /usr/include/kde4/kcategorizedview.h:291)
sipkdeuipart5.cpp: In member function 'void sipKCategorizedView::sipProtectVirt_rowsInsertedArtifficial(bool, const QModelIndex&, int, int)':
sipkdeuipart5.cpp:30706: warning: 'virtual void KCategorizedView::rowsInsertedArtifficial(const QModelIndex&, int, int)' is deprecated (declared at /usr/include/kde4/kcategorizedview.h:283)
sipkdeuipart5.cpp: In member function 'void sipKCategorizedView::sipProtectVirt_rowsRemoved(bool, const QModelIndex&, int, int)':
sipkdeuipart5.cpp:30711: warning: 'virtual void KCategorizedView::rowsRemoved(const QModelIndex&, int, int)' is deprecated (declared at /usr/include/kde4/kcategorizedview.h:291)
sipkdeuipart5.cpp: In function 'PyObject* meth_KCategorizedSortFilterProxyModel_naturalCompare(PyObject*, PyObject*)':
sipkdeuipart5.cpp:35867: warning: 'static int KCategorizedSortFilterProxyModel::naturalCompare(const QString&, const QString&)' is deprecated (declared at /usr/include/kde4/kcategorizedsortfilterproxymodel.h:114)
sipkdeuipart5.cpp: In member function 'virtual void sipKComboBox::setContextMenuEnabled(bool)':
sipkdeuipart5.cpp:48738: warning: 'virtual void KComboBox::setContextMenuEnabled(bool)' is deprecated (declared at /usr/include/kde4/kcombobox.h:291)
sipkdeuipart5.cpp: In function 'PyObject* meth_KComboBox_insertURL(PyObject*, PyObject*)':
sipkdeuipart5.cpp:51387: warning: 'void KComboBox::insertURL(const KUrl&, int)' is deprecated (declared at /usr/include/kde4/kcombobox.h:184)
sipkdeuipart5.cpp:51404: warning: 'void KComboBox::insertURL(const QPixmap&, const KUrl&, int)' is deprecated (declared at /usr/include/kde4/kcombobox.h:186)
sipkdeuipart5.cpp: In function 'PyObject* meth_KComboBox_changeURL(PyObject*, PyObject*)':
sipkdeuipart5.cpp:51432: warning: 'void KComboBox::changeURL(const KUrl&, int)' is deprecated (declared at /usr/include/kde4/kcombobox.h:188)
sipkdeuipart5.cpp:51449: warning: 'void KComboBox::changeURL(const QPixmap&, const KUrl&, int)' is deprecated (declared at /usr/include/kde4/kcombobox.h:190)
sipkdeuipart5.cpp: In function 'PyObject* meth_KComboBox_setContextMenuEnabled(PyObject*, PyObject*)':
sipkdeuipart5.cpp:51719: warning: 'virtual void KComboBox::setContextMenuEnabled(bool)' is deprecated (declared at /usr/include/kde4/kcombobox.h:291)
sipkdeuipart5.cpp:51719: warning: 'virtual void KComboBox::setContextMenuEnabled(bool)' is deprecated (declared at /usr/include/kde4/kcombobox.h:291)
sipkdeuipart5.cpp: In member function 'virtual void sipKFontComboBox::setContextMenuEnabled(bool)':
sipkdeuipart5.cpp:53111: warning: 'virtual void KComboBox::setContextMenuEnabled(bool)' is deprecated (declared at /usr/include/kde4/kcombobox.h:291)
make[2]: Leaving directory `/builddir/build/BUILD/kdebindings-4.3.65/x86_64-redhat-linux-gnu'
make[2]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_kdeui.dir/sip/kdeui/sipkdeuipart5.o] Error 1
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_kdeui.dir/all] Error 2
make[1]: Leaving directory `/builddir/build/BUILD/kdebindings-4.3.65/x86_64-redhat-linux-gnu'
make: *** [all] Error 2
make: Leaving directory `/builddir/build/BUILD/kdebindings-4.3.65/x86_64-redhat-linux-gnu'

Sip: 4.8.2, PyQt4: 4.5.4, Qt: 4.5.2.
Comment 1 Dmitrij S. Kryzhevich 2009-10-09 10:16:19 UTC
Sorry, fogget to add: this problem is discussed, for example, here: http://help.lockergnome.com/linux/gentoo-user-build-PyKDE4-kde-kde-live-kde-testing--ftopict506680.html
Comment 2 Dmitrij S. Kryzhevich 2009-11-06 09:55:16 UTC
Works fine now from lates svn.