Registered Member
|
anyone understand what is the problem from this build output?
seems like a syntax error, but I guess this would have been trapped before release? [ 54%] Building CXX object server/CMakeFiles/akonadiprivate.dir/src/handler/remove.cpp.o Linking CXX executable ../../bin/akonadi_control [ 55%] [ 55%] Building CXX object server/CMakeFiles/akonadiprivate.dir/src/handler/resourceselect.cpp.o Building CXX object server/CMakeFiles/akonadiprivate.dir/src/handler/scope.cpp.o [ 55%] Building CXX object server/CMakeFiles/akonadiprivate.dir/src/handler/search.cpp.o [ 56%] Building CXX object server/CMakeFiles/akonadiprivate.dir/src/handler/searchhelper.cpp.o [ 56%] Building CXX object server/CMakeFiles/akonadiprivate.dir/src/handler/searchpersistent.cpp.o [ 57%] Building CXX object server/CMakeFiles/akonadiprivate.dir/src/handler/select.cpp.o [ 57%] [ 57%] Building CXX object server/CMakeFiles/akonadiprivate.dir/src/handler/subscribe.cpp.o Building CXX object server/CMakeFiles/akonadiprivate.dir/src/handler/status.cpp.o In file included from /tmp/homebrew-akonadi-1.7.0-k2cB/akonadi-1.7.0/server/src/nepomuksearch.h:27, from /tmp/homebrew-akonadi-1.7.0-k2cB/akonadi-1.7.0/server/src/handler/search.cpp:27: /tmp/homebrew-akonadi-1.7.0-k2cB/akonadi-1.7.0/server/src/nepomuk/queryserviceclient.h:81: error: expected ‘,’ or ‘...’ before ‘>’ token /tmp/homebrew-akonadi-1.7.0-k2cB/akonadi-1.7.0/server/src/nepomuk/queryserviceclient.h:99: error: expected ‘,’ or ‘...’ before ‘>’ token /tmp/homebrew-akonadi-1.7.0-k2cB/akonadi-1.7.0/server/src/nepomuk/queryserviceclient.h:81: error: wrong number of template arguments (1, should be 2) /usr/local/Cellar/qt/4.8.0/include/QtCore/qdatastream.h:66: error: provided for ‘template<class Key, class T> class QHash’ /tmp/homebrew-akonadi-1.7.0-k2cB/akonadi-1.7.0/server/src/nepomuk/queryserviceclient.h:81: error: default argument missing for parameter 3 of ‘bool Nepomuk::Query::QueryServiceClient::query(const QString&, const QHash<QString, QString>&, QString)’ /tmp/homebrew-akonadi-1.7.0-k2cB/akonadi-1.7.0/server/src/nepomuk/queryserviceclient.h:99: error: wrong number of template arguments (1, should be 2) /usr/local/Cellar/qt/4.8.0/include/QtCore/qdatastream.h:66: error: provided for ‘template<class Key, class T> class QHash’ /tmp/homebrew-akonadi-1.7.0-k2cB/akonadi-1.7.0/server/src/nepomuk/queryserviceclient.h:99: error: default argument missing for parameter 3 of ‘bool Nepomuk::Query::QueryServiceClient::blockingQuery(const QString&, const QHash<QString, QString>&, QString)’ [ 58%] Building CXX object server/CMakeFiles/akonadiprivate.dir/src/handler/store.cpp.o make[2]: *** [server/CMakeFiles/akonadiprivate.dir/src/handler/search.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... [ 58%] Built target akonadi_control make[1]: *** [server/CMakeFiles/akonadiprivate.dir/all] Error 2 make: *** [all] Error 2 ==> Exit Status: 2 http://github.com/mxcl/homebrew/blob/ma ... mula/.rb#L ==> Environment HOMEBREW_VERSION: 0.8.1 HEAD: fd48f8e7a97d7da8049d81725da481d6f6e289b8 HOMEBREW_PREFIX: /usr/local HOMEBREW_CELLAR: /usr/local/Cellar Hardware: 8-core 64-bit sandybridge OS X: 10.6.8 Kernel Architecture: x86_64 Ruby: 1.8.7-249 /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby Xcode: 4.0 GCC-4.0: N/A GCC-4.2: build 5666 LLVM: build 2335 Clang: 2.0-137 MacPorts or Fink? false X11 installed? true ==> Build Flags CC: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2 CXX: /usr/bin/llvm-g++ => /usr/llvm-gcc-4.2/bin/llvm-g++-4.2 LD: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2 CFLAGS: -O3 -w -pipe -march=core2 -msse4 CXXFLAGS: -O3 -w -pipe -march=core2 -msse4 CPPFLAGS: -I/usr/local/Cellar/readline/6.2.2/include -I/usr/local/Cellar/libffi/3.0.9/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/X11/include LDFLAGS: -L/usr/local/Cellar/readline/6.2.2/lib -L/usr/local/Cellar/libffi/3.0.9/lib -L/usr/local/Cellar/gettext/0.18.1.1/lib -L/usr/X11/lib MAKEFLAGS: -j8 PKG_CONFIG_PATH: /usr/local/Cellar/readline/6.2.2/lib/pkgconfig:/usr/local/Cellar/libffi/3.0.9/lib/pkgconfig:/usr/local/Cellar/gettext/0.18.1.1/lib/pkgconfig |
Registered Member
|
maybe my Qt is outdated?
|
Administrator
|
It looks like your version of Nepomuk could be out dated. Which version have you installed?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
do you mean Soprano ? I have 2.7.4, I will upgrade to 2.7.5 but I am guessing no API changes happened, right?
|
Administrator
|
2.7.4 should be close enough to 2.7.5. And nope, I was definitely referring to Nepomuk - which is a component of kdelibs.
You should be running Qt 4.7 or newer at least.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Same problem with Qt 4.8.0 and akonadi 1.7.1
w03684m:akonadi-1.7.1 mjobin$ mkdir build w03684m:akonadi-1.7.1 mjobin$ cd build/ w03684m:build mjobin$ cmake .. -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Checking whether C compiler has -isysroot -- Checking whether C compiler has -isysroot - yes -- Checking whether C compiler supports OSX deployment target flag -- Checking whether C compiler supports OSX deployment target flag - yes -- 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 -- Checking whether CXX compiler has -isysroot -- Checking whether CXX compiler has -isysroot - yes -- Checking whether CXX compiler supports OSX deployment target flag -- Checking whether CXX compiler supports OSX deployment target flag - yes -- 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 -- Using default db backend QMYSQL -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - not 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 - found -- Looking for QT_MAC_USE_COCOA -- Looking for QT_MAC_USE_COCOA - found -- Found Qt4: /usr/local/bin/qmake (found suitable version "4.8.0", required is "4.6.0") -- checking for module 'soprano' -- found soprano, version 2.7.5 -- Found Soprano version 2.7.5: /usr/local/lib/libsoprano.dylib -- Found Soprano includes: /usr/local/include -- Found Soprano Index: /usr/local/lib/libsopranoindex.dylib -- Found Soprano Client: /usr/local/lib/libsopranoclient.dylib -- Found Soprano Plugin Dir: /usr/local/share/soprano/plugins -- Found Soprano Plugins: nquadparser nquadserializer raptorparser raptorserializer redlandbackend sesame2backend virtuosobackend -- Found Automoc4: /usr/local/bin/automoc4 -- Found shared-mime-info version: 0.90 -- Boost version: 1.49.0 -- Found the following Boost libraries: -- program_options -- checking for module 'sqlite3' -- found sqlite3, version 3.7.10 -- Found Sqlite: /usr/local/Cellar/sqlite/3.7.10/include -- Looking for include files HAVE_EXECINFO_H -- Looking for include files HAVE_EXECINFO_H - found -- Looking for backtrace -- Looking for backtrace - found -- Looking for include files HAVE_UNISTD_H -- Looking for include files HAVE_UNISTD_H - found -- MacOS Bundle Path: /Applications/KDE4 -- MySQL Server found: /usr/local/bin/mysqld -- PostgreSQL wasn't found. it is required to use the Postgres backend. -- Building QSQLITE3 driver -- Make sure that you add /usr/local/lib/qt4/plugins to your QT_PLUGIN_PATH environment variable. -- SQlite /usr/local/Cellar/sqlite/3.7.10/lib/libsqlite3.dylib -- ----------------------------------------------------------------------------- -- The following external packages were located on your system. -- This installation will have the extra features provided by these packages. + Soprano + Boost + Sqlite Congratulations! All external packages have been found. ----------------------------------------------------------------------------- -- Configuring done -- Generating done -- Build files have been written to: /Users/mjobin/Library/Caches/Homebrew/akonadi-1.7.1/build w03684m:build mjobin$ time make Scanning dependencies of target akonadiprotocolinternals [ 0%] Building CXX object libs/CMakeFiles/akonadiprotocolinternals.dir/imapparser.cpp.o [ 1%] Building CXX object libs/CMakeFiles/akonadiprotocolinternals.dir/imapset.cpp.o [ 1%] Building CXX object libs/CMakeFiles/akonadiprotocolinternals.dir/notificationmessage.cpp.o [ 1%] Building CXX object libs/CMakeFiles/akonadiprotocolinternals.dir/xdgbasedirs.cpp.o Linking CXX shared library ../lib/libakonadiprotocolinternals.dylib [ 1%] Built target akonadiprotocolinternals Scanning dependencies of target imapparserbenchmark_automoc Generating imapparserbenchmark.moc [ 1%] Built target imapparserbenchmark_automoc Scanning dependencies of target imapparserbenchmark [ 2%] Building CXX object libs/tests/CMakeFiles/imapparserbenchmark.dir/imapparserbenchmark_automoc.cpp.o [ 2%] Building CXX object libs/tests/CMakeFiles/imapparserbenchmark.dir/imapparserbenchmark.cpp.o Linking CXX executable imapparserbenchmark [ 2%] Built target imapparserbenchmark Scanning dependencies of target notificationmessagetest_automoc Generating notificationmessagetest.moc [ 2%] Built target notificationmessagetest_automoc Scanning dependencies of target notificationmessagetest [ 2%] Building CXX object libs/tests/CMakeFiles/notificationmessagetest.dir/notificationmessagetest_automoc.cpp.o [ 2%] Building CXX object libs/tests/CMakeFiles/notificationmessagetest.dir/notificationmessagetest.cpp.o Linking CXX executable notificationmessagetest [ 2%] Built target notificationmessagetest Scanning dependencies of target akonadi_shared_automoc Generating akapplication.moc [ 2%] Built target akonadi_shared_automoc Scanning dependencies of target akonadi_shared [ 2%] Building CXX object shared/CMakeFiles/akonadi_shared.dir/akonadi_shared_automoc.cpp.o [ 2%] Building CXX object shared/CMakeFiles/akonadi_shared.dir/akapplication.cpp.o [ 3%] Building CXX object shared/CMakeFiles/akonadi_shared.dir/akcrash.cpp.o [ 3%] Building CXX object shared/CMakeFiles/akonadi_shared.dir/akdbus.cpp.o [ 4%] Building CXX object shared/CMakeFiles/akonadi_shared.dir/akdebug.cpp.o [ 4%] Building CXX object shared/CMakeFiles/akonadi_shared.dir/akstandarddirs.cpp.o Linking CXX static library ../lib/libakonadi_shared.a /usr/bin/ranlib: file: ../lib/libakonadi_shared.a(akonadi_shared_automoc.cpp. has no symbols /usr/bin/ranlib: file: ../lib/libakonadi_shared.a(akonadi_shared_automoc.cpp. has no symbols [ 4%] Built target akonadi_shared Scanning dependencies of target akonadi_agent_launcher_automoc [ 4%] Built target akonadi_agent_launcher_automoc Scanning dependencies of target akonadi_agent_launcher [ 4%] Building CXX object agentserver/CMakeFiles/akonadi_agent_launcher.dir/akonadi_agent_launcher_automoc.cpp.o [ 5%] Building CXX object agentserver/CMakeFiles/akonadi_agent_launcher.dir/agentpluginloader.cpp.o [ 5%] Building CXX object agentserver/CMakeFiles/akonadi_agent_launcher.dir/agentlauncher.cpp.o Linking CXX executable ../bin/akonadi_agent_launcher.app/Contents/MacOS/akonadi_agent_launcher [ 5%] Built target akonadi_agent_launcher Scanning dependencies of target akonadi_agent_server_automoc Generating agentserver.moc Generating agentthread.moc [ 5%] Built target akonadi_agent_server_automoc Scanning dependencies of target akonadi_agent_server [ 6%] Building CXX object agentserver/CMakeFiles/akonadi_agent_server.dir/akonadi_agent_server_automoc.cpp.o [ 6%] Building CXX object agentserver/CMakeFiles/akonadi_agent_server.dir/agentpluginloader.cpp.o [ 6%] Building CXX object agentserver/CMakeFiles/akonadi_agent_server.dir/agentserver.cpp.o [ 7%] Building CXX object agentserver/CMakeFiles/akonadi_agent_server.dir/agentthread.cpp.o [ 7%] Building CXX object agentserver/CMakeFiles/akonadi_agent_server.dir/main.cpp.o Linking CXX executable ../bin/akonadi_agent_server [ 7%] Built target akonadi_agent_server Scanning dependencies of target akonadiprivate_automoc Generating subscribe.moc Generating colmove.moc Generating xesamsearch.moc Generating logout.moc Generating tracer.moc Generating datastore.moc Generating searchmanager.moc Generating akappend.moc Generating store.moc Generating colcopy.moc Generating itemretrievaljob.moc Generating copy.moc Generating login.moc Generating intervalcheck.moc Generating append.moc Generating dbustracer.moc Generating list.moc Generating select.moc Generating transaction.moc Generating notificationcollector.moc Generating link.moc Generating akonadi.moc Generating capability.moc Generating akonadiconnection.moc Generating nepomuksearchengine.moc Generating modify.moc Generating status.moc Generating expunge.moc Generating itemretrievalthread.moc Generating debuginterface.moc Generating resourcemanager.moc Generating notificationmanager.moc Generating nepomuksearch.moc Generating handler.moc Generating itemretrievalmanager.moc Generating delete.moc Generating searchpersistent.moc Generating xesamsearchengine.moc Generating resourceselect.moc Generating create.moc Generating search.moc Generating notificationsource.moc Generating cachecleaner.moc Generating queryserviceclient.moc Generating move.moc Generating remove.moc Generating moc_fetch.cpp Generating moc_preprocessorinstance.cpp Generating moc_storagejanitor.cpp Generating moc_fetchhelper.cpp Generating moc_preprocessormanager.cpp [ 7%] Built target akonadiprivate_automoc [ 8%] Generating org.freedesktop.Akonadi.DebugInterface.xml [ 8%] Generating entities.h, entities.cpp [ 9%] Generating queryserviceinterface.cpp, queryserviceinterface.h [ 9%] Generating queryserviceinterface.moc [ 10%] Generating queryinterface.cpp, queryinterface.h [ 10%] Generating queryinterface.moc [ 10%] Generating tracernotificationadaptor.cpp, tracernotificationadaptor.h [ 10%] Generating tracernotificationadaptor.moc [ 10%] Generating traceradaptor.cpp, traceradaptor.h [ 11%] Generating traceradaptor.moc [ 11%] Generating notificationmanageradaptor.cpp, notificationmanageradaptor.h [ 12%] Generating notificationmanageradaptor.moc [ 13%] Generating serveradaptor.cpp, serveradaptor.h [ 13%] Generating serveradaptor.moc [ 14%] Generating notificationsourceadaptor.cpp, notificationsourceadaptor.h [ 14%] Generating notificationsourceadaptor.moc [ 14%] Generating debuginterfaceadaptor.cpp, debuginterfaceadaptor.h [ 14%] Generating debuginterfaceadaptor.moc [ 14%] Generating resourcemanageradaptor.cpp, resourcemanageradaptor.h [ 15%] Generating resourcemanageradaptor.moc [ 15%] Generating preprocessormanageradaptor.cpp, preprocessormanageradaptor.h [ 16%] Generating preprocessormanageradaptor.moc [ 17%] Generating agentmanagerinterface.cpp, agentmanagerinterface.h [ 17%] Generating agentmanagerinterface.moc [ 18%] Generating resourceinterface.cpp, resourceinterface.h [ 18%] Generating resourceinterface.moc [ 18%] Generating preprocessorinterface.cpp, preprocessorinterface.h [ 18%] Generating preprocessorinterface.moc [ 18%] Generating agentcontrolinterface.cpp, agentcontrolinterface.h [ 19%] Generating agentcontrolinterface.moc [ 19%] Generating xesaminterface.cpp, xesaminterface.h [ 20%] Generating xesaminterface.moc [ 20%] Generating qrc_akonadidb.cxx Scanning dependencies of target akonadiprivate [ 21%] Building CXX object server/CMakeFiles/akonadiprivate.dir/akonadiprivate_automoc.cpp.o [ 21%] Building CXX object server/CMakeFiles/akonadiprivate.dir/src/akonadi.cpp.o [ 22%] Building CXX object server/CMakeFiles/akonadiprivate.dir/src/akonadiconnection.cpp.o [ 22%] Building CXX object server/CMakeFiles/akonadiprivate.dir/src/handler.cpp.o [ 22%] Building CXX object server/CMakeFiles/akonadiprivate.dir/src/handlerhelper.cpp.o [ 23%] Building CXX object server/CMakeFiles/akonadiprivate.dir/src/intervalcheck.cpp.o [ 23%] Building CXX object server/CMakeFiles/akonadiprivate.dir/src/response.cpp.o [ 24%] Building CXX object server/CMakeFiles/akonadiprivate.dir/src/handler/akappend.cpp.o [ 24%] Building CXX object server/CMakeFiles/akonadiprivate.dir/src/handler/append.cpp.o [ 24%] Building CXX object server/CMakeFiles/akonadiprivate.dir/src/handler/copy.cpp.o [ 25%] Building CXX object server/CMakeFiles/akonadiprivate.dir/src/handler/colcopy.cpp.o [ 25%] Building CXX object server/CMakeFiles/akonadiprivate.dir/src/handler/colmove.cpp.o [ 25%] Building CXX object server/CMakeFiles/akonadiprivate.dir/src/handler/create.cpp.o [ 26%] Building CXX object server/CMakeFiles/akonadiprivate.dir/src/handler/capability.cpp.o [ 26%] Building CXX object server/CMakeFiles/akonadiprivate.dir/src/handler/delete.cpp.o [ 27%] Building CXX object server/CMakeFiles/akonadiprivate.dir/src/handler/expunge.cpp.o [ 27%] Building CXX object server/CMakeFiles/akonadiprivate.dir/src/handler/fetch.cpp.o [ 27%] Building CXX object server/CMakeFiles/akonadiprivate.dir/src/handler/fetchhelper.cpp.o [ 28%] Building CXX object server/CMakeFiles/akonadiprivate.dir/src/handler/link.cpp.o [ 28%] Building CXX object server/CMakeFiles/akonadiprivate.dir/src/handler/list.cpp.o [ 29%] Building CXX object server/CMakeFiles/akonadiprivate.dir/src/handler/login.cpp.o [ 29%] Building CXX object server/CMakeFiles/akonadiprivate.dir/src/handler/logout.cpp.o [ 29%] Building CXX object server/CMakeFiles/akonadiprivate.dir/src/handler/modify.cpp.o [ 30%] Building CXX object server/CMakeFiles/akonadiprivate.dir/src/handler/move.cpp.o [ 30%] Building CXX object server/CMakeFiles/akonadiprivate.dir/src/handler/remove.cpp.o [ 31%] Building CXX object server/CMakeFiles/akonadiprivate.dir/src/handler/resourceselect.cpp.o [ 31%] Building CXX object server/CMakeFiles/akonadiprivate.dir/src/handler/scope.cpp.o [ 31%] Building CXX object server/CMakeFiles/akonadiprivate.dir/src/handler/search.cpp.o In file included from /Users/mjobin/Library/Caches/Homebrew/akonadi-1.7.1/server/src/nepomuksearch.h:27, from /Users/mjobin/Library/Caches/Homebrew/akonadi-1.7.1/server/src/handler/search.cpp:27: /Users/mjobin/Library/Caches/Homebrew/akonadi-1.7.1/server/src/nepomuk/queryserviceclient.h:81: error: expected ‘,’ or ‘...’ before ‘>’ token /Users/mjobin/Library/Caches/Homebrew/akonadi-1.7.1/server/src/nepomuk/queryserviceclient.h:99: error: expected ‘,’ or ‘...’ before ‘>’ token /Users/mjobin/Library/Caches/Homebrew/akonadi-1.7.1/server/src/nepomuk/queryserviceclient.h:81: error: wrong number of template arguments (1, should be 2) /usr/local/Cellar/qt/4.8.0/include/QtCore/qdatastream.h:66: error: provided for ‘template<class Key, class T> class QHash’ /Users/mjobin/Library/Caches/Homebrew/akonadi-1.7.1/server/src/nepomuk/queryserviceclient.h:81: error: default argument missing for parameter 3 of ‘bool Nepomuk::Query::QueryServiceClient::query(const QString&, const QHash<QString, QString>&, QString)’ /Users/mjobin/Library/Caches/Homebrew/akonadi-1.7.1/server/src/nepomuk/queryserviceclient.h:99: error: wrong number of template arguments (1, should be 2) /usr/local/Cellar/qt/4.8.0/include/QtCore/qdatastream.h:66: error: provided for ‘template<class Key, class T> class QHash’ /Users/mjobin/Library/Caches/Homebrew/akonadi-1.7.1/server/src/nepomuk/queryserviceclient.h:99: error: default argument missing for parameter 3 of ‘bool Nepomuk::Query::QueryServiceClient::blockingQuery(const QString&, const QHash<QString, QString>&, QString)’ make[2]: *** [server/CMakeFiles/akonadiprivate.dir/src/handler/search.cpp.o] Error 1 make[1]: *** [server/CMakeFiles/akonadiprivate.dir/all] Error 2 make: *** [all] Error 2 real 0m49.212s user 0m34.284s sys 0m6.424s w03684m:build mjobin$ |
Administrator
|
What version of gcc do you have installed?
I recall people had trouble building KDE PIM and it's associated components using older versions of gcc.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
|
Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]