KDE Applications 15.08.0 available for packagers
Daniel Vrátil
dvratil at kde.org
Wed Aug 26 11:12:54 UTC 2015
On Tuesday, August 25, 2015 8:38:01 PM CEST Eric Hameleers wrote:
> On Tue, 25 Aug 2015, Daniel Vrátil wrote:
> > On Tuesday, August 25, 2015 3:02:54 AM CEST Eric Hameleers wrote:
> >> On Tue, 18 Aug 2015, Antonio Rojas wrote:
> >>> Subject: Re: KDE Applications 15.08.0 available for packagers
> >>
> >> I seem to be unable to compile kdepim after all the other new
> >> kdepim related packages have been built successfully.
> >> I have grantlee 5.0.0 installed, and it is found by cmake:
> >> ...
> >>
> >> * Qt5OpenGL
> >> * Qt5
> >> * Qt5Gui
> >> * Grantlee5 (required version >= 5.0)
> >> * Gpgme , The GnuPG Made Easy (GPGME) library) ,
> >>
> >> <http://www.gnupg.org/related_software/gpgme>
> >>
> >> * Gettext
> >>
> >> ...
> >>
> >> But I get a linker error like this:
> >>
> >> [ 22%] Building CXX object
> >> kaddressbookgrantlee/CMakeFiles/kaddressbookgrantlee.
> >> dir/printing/grantleeprint.cpp.o
> >> [ 22%] Building CXX object
> >> kaddressbookgrantlee/CMakeFiles/kaddressbookgrantlee.
> >> dir/kaddressbookgrantlee_automoc.cpp.o
> >> Linking CXX shared library libkaddressbookgrantlee.so
> >> CMakeFiles/kaddressbookgrantlee.dir/formatter/grantleecontactformatter.cp
> >> p.o>>
> >> : In function
> >>
> >> `KAddressBookGrantlee::GrantleeContactFormatter::GrantleeContactFormatter
> >> ()'>>
> >> : grantleecontactformatter.cpp:(.text+0x2bc): undefined reference to
> >>
> >> `Grantlee::FileSystemTemplateLoader::FileSystemTemplateLoader()'
> >> CMakeFiles/kaddressbookgrantlee.dir/formatter/grantleecontactformatter.cp
> >> p.o>>
> >> : In function
> >>
> >> `KAddressBookGrantlee::GrantleeContactFormatter::setGrantleeTheme(Grantle
> >> eTh eme::Theme const&)':
> >> grantleecontactformatter.cpp:(.text+0x543): undefined reference to
> >> `Grantlee::TemplateImpl::error()'
> >> grantleecontactformatter.cpp:(.text+0x564): undefined reference to
> >> `Grantlee::TemplateImpl::errorString()'
> >> grantleecontactformatter.cpp:(.text+0x645): undefined reference to
> >> `Grantlee::TemplateImpl::error()'
> >> grantleecontactformatter.cpp:(.text+0x729): undefined reference to
> >> `Grantlee::TemplateImpl::errorString()'
> >>
> >> ...etc.
> >>
> >> I have no idea how to troubleshoot or fix this. I do want to ship the
> >> new kdepim with my next batch of Slackware updates.
> >
> > I think I've seen similar problem when having both Qt 4 and Qt 5 Grantlee
> > installed. Could you try without Qt4 Grantlee installed?
> >
> > Dan
>
> Hi Dan,
>
> Indeed I had both grantlee Qt4 and Qt5 interfaces installed, and after
> removing the old Qt4 based version and adding
> /usr/include/grantlee-qt5 to the include path (that is where I
> installed the Qt5 version in order to not make it clash) I no
> longer get the aforementione errors, but instead I get this new one
> twice: the first time around 2% of the compilation:
That means automoc did not find the includes. I am not sure how to pass the
adjusted include_directories from CMake to automoc, maybe someone else might
know....?
Dan
>
> [ 2%] Automatic moc for target grantlee_messageheaderfilters
> Generating moc_messageheadergrantleefilters.cpp
> /tmp/kde-build/kdepim/kdepim-15.08.0/messageviewer/grantleefilters/messagehe
> ader grantleefilters.h:31: Error: Undefined interface
> AUTOGEN: error: process for
> /tmp/kde-build/kdepim/kdepim-15.08.0/build/messagevi
> ewer/grantleefilters/moc_messageheadergrantleefilters.cpp failed:
> /tmp/kde-build/kdepim/kdepim-15.08.0/messageviewer/grantleefilters/messagehe
> ader grantleefilters.h:31: Error: Undefined interface
>
> moc failed...
> make[2]: ***
> [messageviewer/grantleefilters/CMakeFiles/grantlee_messageheaderfilters_auto
> moc] Error 1
> make[1]: ***
> [messageviewer/grantleefilters/CMakeFiles/grantlee_messageheaderfilters_auto
> moc.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....
> Generating moc_kwatchgnupgconfig.cpp
>
>
> And then the compilation runs for a long time until it hits the same
> spot again:
>
> [ 51%] Automatic moc for target grantlee_messageheaderfilters
> Generating moc_messageheadergrantleefilters.cpp
> /tmp/kde-build/kdepim/kdepim-15.08.0/messageviewer/grantleefilters/messagehe
> adergrantleefilters.h:31: Error: Undefined interface
> AUTOGEN: error: process for
> /tmp/kde-build/kdepim/kdepim-15.08.0/build/messageviewer/grantleefilters/moc
> _messageheadergrantleefilters.cpp failed:
> /tmp/kde-build/kdepim/kdepim-15.08.0/messageviewer/grantleefilters/messagehe
> adergrantleefilters.h:31: Error: Undefined interface
>
> moc failed...
> make[2]: ***
> [messageviewer/grantleefilters/CMakeFiles/grantlee_messageheaderfilters_auto
> moc] Error 1
> make[1]: ***
> [messageviewer/grantleefilters/CMakeFiles/grantlee_messageheaderfilters_auto
> moc.dir/all] Error 2
> make: *** [all] Error 2
>
> I am at a loss.
>
> Cheers, Eric
--
Daniel Vrátil
Email: dvratil at kde.org
Jabber: dan.vratil at kdetalk.net
IRC: dvratil on Freenode (#kde, #kontact, #akonadi)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/release-team/attachments/20150826/d14e39cc/attachment.sig>
More information about the release-team
mailing list