Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failed to emerge kde-apps/templateparser-9999
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Cleus
Apprentice
Apprentice


Joined: 21 Aug 2004
Posts: 157

PostPosted: Wed Oct 28, 2015 5:08 pm    Post subject: Failed to emerge kde-apps/templateparser-9999 Reply with quote

Hi!
Strange error. Messageviewer and other kdepim-live packages are installed.

Code:
[ 50%] Building CXX object src/CMakeFiles/KF5TemplateParser.dir/customtemplates.cpp.o
cd /tmp/portage/kde-apps/templateparser-9999/work/templateparser-9999_build/src && /usr/bin/x86_64-pc-linux-gnu-g++  -DKCOREADDONS_LIB -DKF5TemplateParser_EXPORTS -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_URL_CAST_FROM_STRING -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_QSTRINGBUILDER -DQT_WEBKITWIDGETS_LIB -DQT_WEBKIT_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"libtemplateparser\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE  -DQT_NO_DEBUG -DNDEBUG -O2 -march=native -mtune=native -pipe -fomit-frame-pointer  -std=c++0x -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -pedantic -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -I/tmp/portage/kde-apps/templateparser-9999/work/templateparser-9999_build/src -I/tmp/portage/kde-apps/templateparser-9999/work/templateparser-9999/templateparser/src -isystem /usr/include/KF5/PimCommon -isystem /usr/include/KF5/pimcommon -isystem /usr/include/KF5/KIMAP -isystem /usr/include/KF5 -isystem /usr/include/KF5/KMime -isystem /usr/include/KF5/AkonadiCore -isystem /usr/include/KF5/akonadi/private -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/KF5/KItemModels -isystem /usr/include/qt5/QtGui -isystem /usr/include/KF5/KTextWidgets -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/KF5/SonnetUi -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/AkonadiWidgets -isystem /usr/include/KF5/KContacts -isystem /usr/include/KF5/Akonadi/Contact -isystem /usr/include/KF5/akonadi/contact -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KService -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/MessageViewer -isystem /usr/include/KF5/messageviewer -isystem /usr/include/KF5/KDEWebKit -isystem /usr/include/qt5/QtWebKitWidgets -isystem /usr/include/qt5/QtWebKit -isystem /usr/include/KF5/MessageCore -isystem /usr/include/KF5/messagecore -isystem /usr/include/KF5/Akonadi/KMime -isystem /usr/include/KF5/akonadi/kmime -isystem /usr/include/KF5/Libkleo -isystem /usr/include/KF5/libkleo -isystem /usr/include/KF5/qgpgme -isystem /usr/include/KF5/gpgme++ -isystem /usr/include/KF5/KIdentityManagement -isystem /usr/include/KF5/KIdentityManagement/kidentitymanagement -isystem /usr/include/KF5/KPIMTextEdit -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/qt5/QtDBus -isystem /usr/include/KF5/KIconThemes -isystem /usr/include/KF5/KCompletion    -fexceptions -fPIC -o CMakeFiles/KF5TemplateParser.dir/customtemplates.cpp.o -c /tmp/portage/kde-apps/templateparser-9999/work/templateparser-9999/templateparser/src/customtemplates.cpp
In file included from /usr/include/KF5/MessageViewer/ObjectTreeParser:1:0,
                 from /tmp/portage/kde-apps/templateparser-9999/work/templateparser-9999/templateparser/src/templateparser.cpp:29:[u]
/usr/include/KF5/messageviewer/objecttreeparser.h:47:25: fatal error: messagepart.h: No such file or directory
 #include "messagepart.h"
                         ^
compilation terminated.
src/CMakeFiles/KF5TemplateParser.dir/build.make:94: recipe for target 'src/CMakeFiles/KF5TemplateParser.dir/templateparser.cpp.o' failed
make[2]: *** [src/CMakeFiles/KF5TemplateParser.dir/templateparser.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/tmp/portage/kde-apps/templateparser-9999/work/templateparser-9999_build'
CMakeFiles/Makefile2:150: recipe for target 'src/CMakeFiles/KF5TemplateParser.dir/all' failed
make[1]: *** [src/CMakeFiles/KF5TemplateParser.dir/all] Error 2
make[1]: Leaving directory '/tmp/portage/kde-apps/templateparser-9999/work/templateparser-9999_build'
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: kde-apps/templateparser-9999::kde failed (compile phase):
 *   emake faile
Back to top
View user's profile Send private message
genstorm
Advocate
Advocate


Joined: 05 Apr 2007
Posts: 3868
Location: Austria

PostPosted: Wed Oct 28, 2015 10:46 pm    Post subject: Reply with quote

Strange errors may happen at any time using live packages. This one is not so strange, most likely messagecomposer needs a rebuild.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Cleus
Apprentice
Apprentice


Joined: 21 Aug 2004
Posts: 157

PostPosted: Thu Oct 29, 2015 3:10 am    Post subject: Reply with quote

genstorm wrote:
Strange errors may happen at any time using live packages. This one is not so strange, most likely messagecomposer needs a rebuild.


Code:
emerge messagecomposer -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    *] kde-apps/templateparser-9999:5::kde  USE="-debug {-test}" 0 KiB
[ebuild  N    *] kde-apps/messagecomposer-9999:5::kde  USE="-debug {-test}" 0 KiB
Back to top
View user's profile Send private message
genstorm
Advocate
Advocate


Joined: 05 Apr 2007
Posts: 3868
Location: Austria

PostPosted: Thu Oct 29, 2015 10:31 am    Post subject: Reply with quote

OK, the error is actually happening in a header from messageviewer, which also contains a messagepart.h, but it isn't found:
Code:
/usr/include/KF5/messageviewer/objecttreeparser.h:47:25: fatal error: messagepart.h: No such file or directory
 #include "messagepart.h"

It was introduced by some upstream commit a few days ago and likewise needs a fix upstream. They have been informed.

EDIT: And it was fixed. A rebuild of messageviewer is now required. Thx for reporting!
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Cleus
Apprentice
Apprentice


Joined: 21 Aug 2004
Posts: 157

PostPosted: Thu Oct 29, 2015 3:42 pm    Post subject: Reply with quote

Solved.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum