From kde-release-team Fri Aug 28 14:45:12 2015 From: Eric Hameleers Date: Fri, 28 Aug 2015 14:45:12 +0000 To: kde-release-team Subject: Re: KDE Applications 15.08.0 available for packagers Message-Id: X-MARC-Message: https://marc.info/?l=kde-release-team&m=144077313011043 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--960504934-924730080-1440773112=:8400" This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --960504934-924730080-1440773112=:8400 Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8BIT On Tue, 25 Aug 2015, Daniel Vrátil wrote: > Date: Tue, 25 Aug 2015 13:21:23 +0200 > From: Daniel Vrátil > To: release-team@kde.org > Cc: Eric Hameleers > Subject: Re: KDE Applications 15.08.0 available for packagers > > 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) , >> >> * 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.cpp.o >> : In function >> `KAddressBookGrantlee::GrantleeContactFormatter::GrantleeContactFormatter()' >> : grantleecontactformatter.cpp:(.text+0x2bc): undefined reference to >> `Grantlee::FileSystemTemplateLoader::FileSystemTemplateLoader()' >> CMakeFiles/kaddressbookgrantlee.dir/formatter/grantleecontactformatter.cpp.o >> : In function >> `KAddressBookGrantlee::GrantleeContactFormatter::setGrantleeTheme(GrantleeTh >> 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 Ultimately, your suggestion was key to the solution. Indeed, with the Qt4 grantlee removed, these errors disappeared (but other errors appeared instead). In the end, I decided to get rid of Qt4 grantlee entirely and install the headers for Qt5 grantlee in /usr/include/grantlee/ instead of /usr/include/grantlee-qt5/ ... and then everything compiled. Cheers, Eric -- Eric Hameleers Home: http://alien.slackbook.org/blog/ --960504934-924730080-1440773112=:8400 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KcmVsZWFzZS10 ZWFtIG1haWxpbmcgbGlzdApyZWxlYXNlLXRlYW1Aa2RlLm9yZwpodHRwczovL21haWwua2RlLm9y Zy9tYWlsbWFuL2xpc3RpbmZvL3JlbGVhc2UtdGVhbQo= --960504934-924730080-1440773112=:8400--