This forum has been archived. All content is frozen. Please use KDE Discuss instead.

error building kdebindings from trunk with kdesvn-build

Tags: kdebindings, error, trunk, kdesvn-build kdebindings, error, trunk, kdesvn-build kdebindings, error, trunk, kdesvn-build
(comma "," separated)
krigav
Registered Member
Posts
2
Karma
0
OS
I've build an running KDE 4 System from trunk using kdesvn-build using this packages (in this order):

kdesupport
kdelibs
kdepimlibs
kdebase
kdemultimedia
kdeutils
kdegraphics


When I try to build kdesupport with ./kdesvn-build kdesupport the cmake config works but the following build fails with this error message:

Code: Select all
/home/kris/kde/include/kio/slaveinterface.h:107: warning: 'Connection' is deprecated (declared at /home/kris/kde/include/kio/connection.h:49)
/home/kris/kde/include/kio/slaveinterface.h:108: warning: 'Connection' is deprecated (declared at /home/kris/kde/include/kio/connection.h:49)
sipkiopart5.cpp: In function 'PyObject* meth_KUrlRequester_setPath(PyObject*, PyObject*)':
sipkiopart5.cpp:31036: warning: 'void KUrlRequester::setPath(const QString&)' is deprecated (declared at /home/kris/kde/include/kurlrequester.h:216)
sipkiopart5.cpp: In member function 'virtual void sipKUrlComboBox::setContextMenuEnabled(bool)':
sipkiopart5.cpp:32079: warning: 'virtual void KComboBox::setContextMenuEnabled(bool)' is deprecated (declared at /home/kris/kde/include/kcombobox.h:291)
sipkiopart7.cpp: In function 'PyObject* meth_KCrashBookmarkImporter_parseCrashBookmarks(PyObject*, PyObject*)':
sipkiopart7.cpp:4843: warning: 'KCrashBookmarkImporter' is deprecated (declared at /home/kris/kde/include/kbookmarkimporter_crash.h:36)
sipkiopart7.cpp: In function 'void* cast_KCrashBookmarkImporter(void*, const sipTypeDef*)':
sipkiopart7.cpp:4897: warning: 'KCrashBookmarkImporter' is deprecated (declared at /home/kris/kde/include/kbookmarkimporter_crash.h:36)
sipkiopart7.cpp: In function 'void release_KCrashBookmarkImporter(void*, int)':
sipkiopart7.cpp:4913: warning: 'KCrashBookmarkImporter' is deprecated (declared at /home/kris/kde/include/kbookmarkimporter_crash.h:36)
sipkiopart5.cpp: In function 'PyObject* meth_KPropertiesDialogPlugin_isDesktopFile(PyObject*, PyObject*)':
sipkiopart5.cpp:63386: warning: 'static bool KPropertiesDialogPlugin::isDesktopFile(const KFileItem&)' is deprecated (declared at /home/kris/kde/include/kpropertiesdialog.h:371)
sipkiopart7.cpp: In function 'PyObject* meth_KBookmarkGroup_moveItem(PyObject*, PyObject*)':
sipkiopart7.cpp:12482: warning: 'bool KBookmarkGroup::moveItem(const KBookmark&, const KBookmark&)' is deprecated (declared at /home/kris/kde/include/kbookmark.h:394)
In file included from /home/kris/kde/include/kio/slave.h:34,
                 from /home/kris/devel/kdesvn/kdebindings/python/pykde4/sip/kio/kabstractfilemodule.sip:99,
                 from /home/kris/devel/kdesvn/build/kdebindings/python/pykde4/sip/kio/sipkiopart6.cpp:7:
/home/kris/kde/include/kio/slaveinterface.h:107: warning: 'Connection' is deprecated (declared at /home/kris/kde/include/kio/connection.h:49)
/home/kris/kde/include/kio/slaveinterface.h:108: warning: 'Connection' is deprecated (declared at /home/kris/kde/include/kio/connection.h:49)
sipkiopart6.cpp: In constructor 'sipKDiskFreeSpace::sipKDiskFreeSpace(QObject*)':
sipkiopart6.cpp:9878: warning: 'KDiskFreeSpace::KDiskFreeSpace(QObject*)' is deprecated (declared at /home/kris/kde/include/kdiskfreespace.h:43)
sipkiopart6.cpp: In function 'PyObject* meth_KDiskFreeSpace_readDF(PyObject*, PyObject*)':
sipkiopart6.cpp:10252: warning: 'bool KDiskFreeSpace::readDF(const QString&)' is deprecated (declared at /home/kris/kde/include/kdiskfreespace.h:63)
sipkiopart6.cpp: In function 'PyObject* meth_KDiskFreeSpace_findUsageInfo(PyObject*, PyObject*)':
sipkiopart6.cpp:10282: warning: 'static KDiskFreeSpace* KDiskFreeSpace::findUsageInfo(const QString&)' is deprecated (declared at /home/kris/kde/include/kdiskfreespace.h:72)
Linking CXX shared library ../../lib/pykde/kio.so
[ 21%] Built target python_module_PyKDE4_kio
make: *** [all] Error 2


The cmake config output:

Code: Select all
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.5.1 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Automoc4: /home/kris/kde/bin/automoc4
-- Found Perl: /usr/bin/perl
-- Phonon Version: 4.3.50
-- Found Phonon: /home/kris/kde/lib/libphonon.so
-- Found Phonon Includes: /home/kris/kde/include/KDE;/home/kris/kde/include
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Failed
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found KDE 4.3 include dir: /home/kris/kde/include
-- Found KDE 4.3 library dir: /home/kris/kde/lib
-- Found the KDE4 kconfig_compiler preprocessor: /home/kris/kde/bin/kconfig_compiler
-- Found automoc4: /home/kris/kde/bin/automoc4
-- Found Soprano version 2.3.60: /home/kris/kde/lib/libsoprano.so
-- Found Soprano includes: /home/kris/kde/include
-- Found Soprano Index: SOPRANO_INDEX_LIBRARIES-NOTFOUND
-- Found Soprano Client: /home/kris/kde/lib/libsopranoclient.so
-- Found Soprano Plugin Dir: /home/kris/kde/share/soprano/plugins
-- Found Soprano Plugins: nquadparser nquadserializer
-- Found NEPOMUK: /home/kris/kde/lib/libnepomuk.so
-- Found KdepimLibs: /home/kris/kde/lib/cmake/KdepimLibs/KdepimLibsConfig.cmake
-- Phonon Version: 4.3.50
-- Found Okular: /home/kris/kde/lib/libokularcore.so
-- Found Akonadi: /home/kris/kde/lib/cmake/Akonadi/AkonadiConfig.cmake
-- cmake package FindKDevPlatform.cmake was not found. The package KDevPlatform is needed to compile all part of this program.
-- Checking how Qt was built...
-- Threshold is set to 10
-- QT_NO_BUTTONGROUP *Undefined*
-- QT_NO_COLORDIALOG *Undefined*
-- QT_NO_DATETIMEEDIT *Undefined*
-- QT_NO_DIALOG *Undefined*
-- QT_NO_ERRORMESSAGE *Undefined*
-- QT_NO_FILEDIALOG *Undefined*
-- QT_NO_FONTDIALOG *Undefined*
-- QT_NO_GROUPBOX *Undefined*
-- QT_NO_LCDNUMBER *Undefined*
-- QT_NO_LINEEDIT *Undefined*
-- QT_NO_LISTVIEW *Undefined*
-- QT_NO_MAINWINDOW *Undefined*
-- QT_NO_MENUBAR *Undefined*
-- QT_NO_MESSAGEBOX *Undefined*
-- QT_NO_PRINTDIALOG *Undefined*
-- QT_NO_PROGRESSBAR *Undefined*
-- QT_NO_PROGRESSDIALOG *Undefined*
-- QT_NO_PUSHBUTTON *Undefined*
-- QT_NO_RADIOBUTTON *Undefined*
-- QT_NO_SCROLLBAR *Undefined*
-- QT_NO_SLIDER *Undefined*
-- QT_NO_STYLE_PLASTIQUE *Undefined*
-- QT_NO_STYLE_WINDOWSXP [Defined]
-- QT_NO_STYLE_WINDOWS *Undefined*
-- QT_NO_STYLE_MAC [Defined]
-- QT_NO_STYLE_CLEANLOOKS *Undefined*
-- QT_NO_TABLEVIEW *Undefined*
-- QT_NO_TEXTBROWSER *Undefined*
-- QT_NO_TEXTEDIT *Undefined*
-- QT_NO_TOOLBUTTON *Undefined*
--   found qimageblitz, version 4.0.0
-- Found QImageBlitz: /home/kris/kde/include/qimageblitz
-- Build Smoke... yes - Qt, QtWebKit, QtScript, QtUiTools, QtTest, QImageBlitz, Solid, Soprano, Plasma, KDE, Akonadi, KHTML, KTextEditor, Nepomuk, Okular
-- Build QtRuby... no
-- Build QtWebKit Ruby... no
-- Build QtUiTools Ruby... no
-- Build QtScript... no
-- Build QtTest... no
-- Build Soprano Ruby... no
-- Build QScintilla Ruby... no
-- Build Qwt Ruby... no
-- Build Phonon Ruby... no
-- Build Akonadi Ruby... no
-- Build KHTML Ruby... no
-- Build Korundum... no
-- Build KDevPlatform Ruby... no
-- Build KTextEditor Ruby... no
-- Build Nepomuk Ruby... no
-- Build Okular Ruby... no
-- Build Plasma Ruby... no
-- Build Solid Ruby... no
-- Ruby Executable: RUBY_EXECUTABLE-NOTFOUND
-- Ruby Libraries:
-- Ruby Include Path:
-- Build Kross Ruby... no
-- Found PythonInterp: /usr/bin/python
-- Found Python executable: /usr/bin/python
-- Found Python version: 2.5.4
-- Found Python library: /usr/lib/libpython2.5.so
-- Found Python executable: /usr/bin/python
-- Found Python version: 2.5.4
-- Found Python library: /usr/lib/libpython2.5.so
-- Python Libraries: /usr/lib/libpython2.5.so
-- Python Include Path: /usr/include/python2.5
-- Build Kross Python... yes
-- Found SIP version: 4.8.2
-- Found PyQt4 version: 4.5.2
-- Found Python executable: /usr/bin/python
-- Found Python version: 2.5.4
-- Found Python library: /usr/lib/libpython2.5.so
-- Found PyQt4 version: 4.5.2
-- Found Soprano version 2.3.60: /home/kris/kde/lib/libsoprano.so
-- Found Soprano includes: /home/kris/kde/include
-- Found Soprano Index: SOPRANO_INDEX_LIBRARIES-NOTFOUND
-- Found Soprano Client: /home/kris/kde/lib/libsopranoclient.so
-- Found Soprano Plugin Dir: /home/kris/kde/share/soprano/plugins/soprano/plugins
-- Found Soprano Plugins: nquadparser nquadserializer
-- checking for one of the modules 'polkit-qt'
-- Cannot find Polkit-Qt library!
-- KDE_VERSION: 4.3.63
-- KDE4_INCLUDE_DIR: /home/kris/kde/include
-- KDE4_LIB_DIR: /home/kris/kde/lib
-- PYTHON_SITE_PACKAGES_DIR: /usr/lib/python2.5/site-packages
-- Build PyKDE4... yes
-- gmcs was not found on your system but is needed for Qyoto.
-- gacutil was not found on your system but is needed for Qyoto.
-- checking for one of the modules 'mono-cecil'
-- checking for one of the modules 'cecil'
Failed to find mono-cecil needed by CSharp. Please install libmono-devel.
-- Build Qyoto... no
-- Build PhononSharp... no
-- Build QScintillaSharp... no
-- Build SopranoSharp...
-- Build NepomukSharp...
-- Build PlasmaSharp...
-- Build Kimono... no
-- Build KHTMLSharp... no
-- Build KTextEditorSharp... no
-- Build Kross Java... no
-- Build Kross Falcon... no

-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
-----------------------------------------------------------------------------
   * Soprano - Soprano Libraries
   * Soprano - Soprano Libraries
   * Nepomuk - Nepomuk Libraries
   * Kdepimlibs - KDE pim Libraries

-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
-----------------------------------------------------------------------------
   * Polkit-Qt  <kdesupport>
     Qt Wrapper around PolicyKit
     Required to build PolicyKit-Qt support

-----------------------------------------------------------------------------

-- Configuring done
-- Generating done
-- Build files have been written to: /home/kris/devel/kdesvn/build/kdebindings


I'm using Qt 4.5.1 from gentoo portage and I've installed all the dependencies needed to build the above mentioned modules.

I've also installed PyQt 4.5.2 with sip 4.8.2.

Did I miss something?

Thanks for your help!
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
The actual error is further up in the build logs, most of those are harmless warnings.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
krigav
Registered Member
Posts
2
Karma
0
OS
Here is what i get when I do cat build-1.log | grep error

Code: Select all
kalyptus: processing /usr/include/qt4/QtGui/qerrormessage.h
kalyptus: processing /usr/include/qt4/QtNetwork/qsslerror.h
kalyptus: processing /usr/include/qt4/QtSql/qsqlerror.h
kalyptus: processing /usr/include/qt4/Qt/qdbuserror.h
/home/kris/kde/include/kcategorydrawer.h:37: error: non-static const member 'KCategoryDrawer::Private* const KCategoryDrawer::d', can't use default assignment operator
sipkiopart4.cpp: In function 'PyObject* meth_KIO_Connection_errorString(PyObject*, PyObject*)':

The whole log: http://pastebin.com/m7d2c84a0

Thanks for your replay!
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
That is a bug in KCategoryDrawer, since it was recently updated in Trunk. Please ask the bindings team if there is anything they need to update or if it is a bug in KDELibs.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
ereslibre
KDE Developer
Posts
3
Karma
0
OS
I am looking into this issue.
ereslibre
KDE Developer
Posts
3
Karma
0
OS
Are you still experiencing this issue ? I have right now compiled:

kdesupport
kdelibs
kdepimlibs
kdebase
kdevplatform
kdebindings

and did not experience this issue. Apart from building kdebindings, do I need to run anything more to reproduce ?

Please, tell me if you are still having this issue and the steps to reproduce.
urkud
Registered Member
Posts
2
Karma
0
OS
I have the same error with svn trunk kdelibs and kdebinding. Will try to rebuild tomorrow and report error log.
Update: the current build log is available here: http://www.loegria.net/misc/kdebindings-build.log (1Mb) or compressed version here: http://www.loegria.net/misc/kdebindings-build.log.gz (52Kb).
ereslibre
KDE Developer
Posts
3
Karma
0
OS
Fix committed to trunk on revision 1042035.


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]