stopping on errors?

David Faure faure at kde.org
Fri Apr 23 21:13:29 CEST 2010


Sorry if this was already discussed somewhere, but why doesn't
cmake stop immediately on syntax errors?

Finding the error in the log below is not as trivial as one might expect...
(especially considering that the terminal will show the bottom part of it,
so one typically reads up from there).


Executing command /d/qt/4/kde-qt-4.6/bin/qmake -query QT_VERSION 
-- Found Qt-Version 4.6.2 (using /d/qt/4/kde-qt-4.6/bin/qmake)
-- Found X11: /usr/lib/libX11.so
Executing command /usr/lib/icecc/bin/gcc --version 
Executing command /usr/lib/icecc/bin/gcc -v 
-- Found KDE 4.5 include dir: /d/kde/inst/kde-trunk/include
-- Found KDE 4.5 library dir: /d/kde/inst/kde-trunk/lib
-- Found the KDE4 kconfig_compiler preprocessor: /d/kde/inst/kde-
trunk/bin/kconfig_compiler
-- Found automoc4: /d/kde/inst/kdesupport_trunk/bin/automoc4
-- Strigi API needs 'signed char'
KDE4_DBUS_INTERFACES_DIR = /d/kde/inst/kde-trunk/share/dbus-1/interfaces
-- Could NOT find LIBLZMA  (missing:  LIBLZMA_INCLUDE_DIR LIBLZMA_LIBRARY 
LIBLZMA_HAS_AUTO_DECODER LIBLZMA_HAS_EASY_ENCODER LIBLZMA_HAS_LZMA_PRESET) 
-- Found OPENEXR: 
/usr/lib/libImath.so;/usr/lib/libIlmImf.so;/usr/lib/libIex.so;/usr/lib/libHalf.so;/usr/lib/libIlmThread.so
-- Found ALSA: /usr/lib/libasound.so
Executing command /usr/bin/xine-config --version 
-- Strigi API needs 'signed char'
CMake Error: Error in cmake code at
/d/kde/src/t/kdebase/apps/keditbookmarks/kbookmarkmodel/CMakeLists.txt:19:
Parse error.  Function missing ending ")".  End of file reached.
-- checking for module 'kwebkit'
--   package 'kwebkit' not found
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
Executing command /usr/bin/pkg-config glib-2.0 --exists 
Executing command /usr/bin/pkg-config glib-2.0 --variable=includedir 
Executing command /usr/bin/pkg-config glib-2.0 --variable=libdir 
Executing command /usr/bin/pkg-config glib-2.0 --libs 
Executing command /usr/bin/pkg-config glib-2.0 --cflags 
-- PKGCONFIG said for glib-2.0: _LibGLIB2IncDir=/usr/include
-- Strigi API needs 'signed char'
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
Executing command /usr/bin/pkg-config glib-2.0 --exists 
Executing command /usr/bin/pkg-config glib-2.0 --variable=includedir 
Executing command /usr/bin/pkg-config glib-2.0 --variable=libdir 
Executing command /usr/bin/pkg-config glib-2.0 --libs 
Executing command /usr/bin/pkg-config glib-2.0 --cflags 
-- PKGCONFIG said for glib-2.0: _LibGLIB2IncDir=/usr/include
-- Could NOT find Googlegadgets  (missing:  GOOGLEGADGETS_LIBRARIES 
GOOGLEGADGETS_INCLUDE_DIRS) 
-- checking for modules 'qzion>=0.4.0;qedje>=0.4.0'
--   package 'qzion>=0.4.0' not found
--   package 'qedje>=0.4.0' not found
-- Could not find QZion and/or QEdje. Please download them here 
(http://code.openbossa.org/projects/qedje/pages/Home).
-- Could NOT find QEdje  (missing:  QEDJE_LIBRARIES QEDJE_INCLUDE_DIRS) 
-- Found Python executable: /usr/bin/python2.6
-- Found Python version: 2.6.4
-- Found Python library: /usr/lib/libpython2.6.so
-- Found SIP version: 4.10
-- Found PyQt4 version: 4.7 in /d/kde/inst/kde-
trunk/share/apps/cmake/modules/FindPyQt.py
-- Found PyKDE4 version 4.4.1 /usr/share/sip/PyKDE4
WARNING: Installation prefix does not match PolicyKit install prefixes. You 
probably will need to move files installed in /d/kde/inst/kde-trunk/ and by 
dbus_add_activation_system_service to the /usr/ prefix
-- Found PNG: /usr/lib/libpng.so
-- checking for module 'polkit>=0.8'
--   package 'polkit>=0.8' not found
-- checking for module 'polkit-dbus>=0.8'
--   package 'polkit-dbus>=0.8' not found
-- checking for module 'polkit-grant>=0.8'
--   package 'polkit-grant>=0.8' not found
-- Could NOT find PCIUTILS  (missing:  PCIUTILS_LIBRARIES PCIUTILS_INCLUDE_DIR) 
-- Will build networkmanager-0.7
-- Could NOT find Xmms  (missing:  XMMS_LIBRARIES XMMS_INCLUDE_DIRS) 
-- Could NOT find XMMS: the nowplaying dataengine will NOT support XMMS 1.x
Executing command /usr/bin/freetype-config --libs 
Executing command /usr/bin/freetype-config --cflags 
-- Found Freetype: -lfreetype -lz
-- Found GObject libraries: 
/usr/lib/libgobject-2.0.so;/usr/lib/libgmodule-2.0.so;/usr/lib/libgthread-2.0.so;/usr/lib/libglib-2.0.so
-- Found GObject includes : /usr/include/glib-2.0/gobject
/d/kde/inst/kde-trunk/share/dbus-1/interfaces

-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
-----------------------------------------------------------------------------
   * Soprano - Semantic Desktop Storing
   * Shared desktop ontologies - Desktop ontologies
   * Nepomuk - Nepomuk Libraries
   * Soprano Raptor Parser - RDF parser plugin for Soprano
   * Soprano Redland Backend - Redland storage backend for Soprano
   * OpenSLP - SLP (Service Location Protocol) implementation
   * libattica - A library to access Open Collaboration Service providers
   * Samba - the SMB client library, a version with smbc_set_context() and 
smbc_option_set()
   * libssh - the SSH library with SFTP support
   * BZip2 - A high-quality data compressor
   * OpenEXR - API for accessing OpenEXR formatted images
   * Exiv2 - A library to access image metadata
   * Phonon - Phonon library
   * ALSA - The Advanced Linux Sound Architecture (ALSA) library
   * Xine - Xine libraries
   * Soprano - Semantic Desktop Storing
   * Shared desktop ontologies - Desktop ontologies
   * Nepomuk - Nepomuk
   * glib2 - Low-level core library for data structure handling, portability 
wrappers, etc.
   * XKB - X keyboard extension
   * glib2 - Low-level core library for data structure handling, portability 
wrappers, etc.
   * Python - KDE Python support
   * Soprano - Semantic Desktop Storing
   * Shared desktop ontologies - Desktop ontologies
   * Nepomuk - Nepomuk Libraries
   * Polkit-Qt - Qt Wrapper around PolicyKit
   * Compositing support - X11 Compositing support
   * lm-sensors - Sensors support for ksysguard
   * OpenGL - API for developing portable, interactive 2D and 3D graphics 
applications
   * RAW1394 - library for direct access to IEEE 1394 bus
   * BlueZ - BlueZ is the Linux Bluetooth protocol stack
   * NetworkManager - A daemon for user controlled networking
   * libgps - GPS support for geolocation
   * kdepimlibs - KDE PIM libraries
   * Soprano - Semantic Desktop Storing
   * FreeType - A font rendering engine
   * libxklavier - A XKB foundation library for keyboard handling software
   * xkbfile - X11 KXB library for keyboard handling software
   * libusb - User level access to USB devices
   * libxft - X FreeType interface library

-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
-----------------------------------------------------------------------------
   * Soprano Virtuoso Backend  <http://soprano.sourceforge.net>
     Virtuoso storage backend for Soprano
     The Soprano Virtuoso backend is required to run the Nepomuk semantic 
desktop system.
   * LZMA/XZ  <http://tukaani.org/xz/>
     A very high compression ratio data compressor
     Provides the ability to read and write xz compressed data files.
   * GoogleGadgets (0.11.0 or higher)  <http://code.google.com/p/google-
gadgets-for-linux/>
     Google Gadgets library
     Needed to build plasma scriptengine for google gadgets
   * QEdje  <http://code.openbossa.org/projects/qedje/pages/Home>
     QEdje library
     Needed to build plasma scriptengine for edje files
   * PCIUTILS  <http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml>
     PciUtils is a library for direct access to PCI slots
     View PCI details in kinfocenter.
   * XMMS  <http://www.xmms.org>
     X MultiMedia System development libraries
     Support for XMMS in the Now Playing data engine
   * ck-connector  <http://freedesktop.org/wiki/Software/ConsoleKit>
     The ConsoleKit connector library
     Provides ConsoleKit integration in KDM

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

-- Configuring incomplete, errors occurred!
make: *** [cmake_check_build_system] Error 1
makeobj[0]: Leaving directory `/d/kde/build/t/kdebase/apps/keditbookmarks'


-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Sponsored by Nokia to work on KDE, incl. Konqueror (http://www.konqueror.org).


More information about the Kde-buildsystem mailing list