[Kde-bindings] Bindings build problems.... pt2

Gary L. Greene, Jr. greeneg at altimatos.com
Fri Aug 7 03:50:11 UTC 2009


I managed to get around the other build problem by "helping" GCC along by
commenting out the standardaction definition at line 33 in
knewstuff2/ui/knewstuffaction.h., which is deprecated anyway, so that should be
"OK" for now until someone can create a proper fix....

Now I'm running into another build problem where I get the following:
[ 72%] Building CXX object
python/pykde4/CMakeFiles/python_module_PyKDE4_kdeui.dir/sip/kdeui/sipkdeuipart5.o
cd /home/kde/build/trunk/KDE/kdebindings/python/pykde4 && /usr/bin/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 -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 -g3 -fno-inline -fPIC
-I/home/kde/build/trunk/KDE/kdebindings/python/pykde4
-I/home/kde/sources/trunk/KDE/kdebindings/python/pykde4
-I/home/kde/sources/trunk/KDE/kdebindings
-I/home/kde/build/trunk/KDE/kdebindings -I/home/kde/installs/trunk/include
-I/home/kde/installs/trunk/include/KDE -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/share/qt4/mkspecs/default
-I/usr/include/python2.6 -I/home/kde/installs/trunk/include/solid
-I/home/kde/installs/trunk/include/kio
-I/home/kde/installs/trunk/include/kdeprint
-I/home/kde/installs/trunk/include/kdeprint/lpr
-I/home/kde/installs/trunk/include/dom
-I/home/kde/installs/trunk/include/ksettings
-I/home/kde/installs/trunk/include/knewstuff2
-I/home/kde/installs/trunk/include/dnssd   -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -o
CMakeFiles/python_module_PyKDE4_kdeui.dir/sip/kdeui/sipkdeuipart5.o -c
/home/kde/build/trunk/KDE/kdebindings/python/pykde4/sip/kdeui/sipkdeuipart5.cpp
In file included from /usr/include/python2.6/Python.h:8,
                 from /usr/include/python2.6/sip.h:28,
                 from
/home/kde/build/trunk/KDE/kdebindings/python/pykde4/sip/kdeui/sipAPIkdeui.h:11,
                 from
/home/kde/build/trunk/KDE/kdebindings/python/pykde4/sip/kdeui/sipkdeuipart5.cpp:7:
/usr/include/python2.6/pyconfig.h:1067: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
/home/kde/installs/trunk/include/kwidgetitemdelegate.h:126)
sipkdeuipart5.cpp: In member function 'virtual void
sipKTreeWidgetSearchLine::setContextMenuEnabled(bool)':
sipkdeuipart5.cpp:5309: warning: 'virtual void
KLineEdit::setContextMenuEnabled(bool)' is deprecated (declared at
/home/kde/installs/trunk/include/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
/home/kde/installs/trunk/include/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
/home/kde/installs/trunk/include/klineedit.h:224)
sipkdeuipart5.cpp:12072: warning: 'virtual void
KLineEdit::setContextMenuEnabled(bool)' is deprecated (declared at
/home/kde/installs/trunk/include/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 /home/kde/installs/trunk/include/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
/home/kde/installs/trunk/include/klineedit.h:224)
/home/kde/installs/trunk/include/kcategorydrawer.h: In member function
'KCategoryDrawer& KCategoryDrawer::operator=(const KCategoryDrawer&)':
/home/kde/installs/trunk/include/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 /home/kde/installs/trunk/include/kcategorizedview.h:285)
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 /home/kde/installs/trunk/include/kcategorizedview.h:293)
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 /home/kde/installs/trunk/include/kcategorizedview.h:285)
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 /home/kde/installs/trunk/include/kcategorizedview.h:293)
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
/home/kde/installs/trunk/include/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
/home/kde/installs/trunk/include/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 /home/kde/installs/trunk/include/kcombobox.h:184)
sipkdeuipart5.cpp:51404: warning: 'void KComboBox::insertURL(const QPixmap&,
const KUrl&, int)' is deprecated (declared at
/home/kde/installs/trunk/include/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 /home/kde/installs/trunk/include/kcombobox.h:188)
sipkdeuipart5.cpp:51449: warning: 'void KComboBox::changeURL(const QPixmap&,
const KUrl&, int)' is deprecated (declared at
/home/kde/installs/trunk/include/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
/home/kde/installs/trunk/include/kcombobox.h:291)
sipkdeuipart5.cpp:51719: warning: 'virtual void
KComboBox::setContextMenuEnabled(bool)' is deprecated (declared at
/home/kde/installs/trunk/include/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
/home/kde/installs/trunk/include/kcombobox.h:291)
make[2]: ***
[python/pykde4/CMakeFiles/python_module_PyKDE4_kdeui.dir/sip/kdeui/sipkdeuipart5.o]
Error 1
make[2]: Leaving directory `/home/kde/build/trunk/KDE/kdebindings'
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_kdeui.dir/all] Error 2
make[1]: Leaving directory `/home/kde/build/trunk/KDE/kdebindings'
make: *** [all] Error 2
makeobj[0]: Leaving directory `/home/kde/build/trunk/KDE/kdebindings'


This one looks like a build problem with Python 2.6, but since I'm not a python
person, I can't be positive. Any help on this would be appreciated.


-- 
Gary L. Greene, Jr.
Project Lead and Developer for the AltimatOS Project.
Volunteer Developer for the KDE Project.G


-----------------------------------------
This email was sent using SquirrelMail.
   "Webmail for nuts!"
http://squirrelmail.org/



More information about the Kde-bindings mailing list