[Kde-pim] kdepim unbuildable with kdesrc-build

Martin Graesslin mgraesslin at kde.org
Mon Aug 24 10:56:14 BST 2015


On Monday, August 24, 2015 11:42:10 AM CEST Volker Krause wrote:
> Hi Martin,
> 
> sorry about that.
> 
> I'm not exactly sure what is wrong here, I use kdesrc-build myself, for
> kdepim and everything else of KDE I use, and never had this issue with
> kdepim. Last time I saw similar issues was in the very early KF5 days, when
> stuff was still moving a lot, and you are right, these issues are very
> frustrating to debug.
> 
> I also usually have the old builds still around, both in build and install
> locations, so that sounds similar to your setup, and my kdesrc-build
> configuration is pretty much vanilla upstream.
> 
> I'm also not aware of anything non-standard we do regarding library search
> paths etc, so without further input I unfortunately have no idea how to
> improve the situation :-(
> 
> Anyone else seeing this, or similar issues with building manually? Which
> library is picked up over which other one in the case things go wrong, for
> which target, and what do the CMake config files say for those libraries? I
> have seen switching between debug and release builds creating duplicate
> config files, and thus resulting in an outdated one still being around
> after some time, something similar might be happening here.

I just looked into the bash history of the libraries which I had to delete:
* /opt/kf5/lib/x86_64-linux-gnu/libmessagecomposer*
* /opt/kf5/lib/x86_64-linux-gnu/libmessagecore.so*
* /opt/kf5/lib/x86_64-linux-gnu/libmessageviewer*
* /opt/kf5/lib/x86_64-linux-gnu/libmailcommon.so*
* /opt/kf5/lib/x86_64-linux-gnu/libtemplateparser.so*
* /opt/kf5/lib/x86_64-linux-gnu/libkdepim.so*

Given what I see, I assume that a CMake run for a --refresh-build picks up the 
incorrect values. I'll try copying my build dir to a safe-location and try to 
verify by running another --refresh-build on kdepim.

Cheers
Martin

> 
> regards,
> Volker
> 
> On Monday 24 August 2015 10:54:04 Martin Graesslin wrote:
> > Hi pim-devs,
> > 
> > I just spent two hours trying to build kdepim. I finally succeeded and I
> > have a running kdepim from master again. Hey, I don't have the time to
> > spend hours on trying to build kdepim, this is blocking my work.
> > 
> > Let's go a step back and look at the root problem: one cannot build kdepim
> > if an older version is installed. So I run kdesrc-build last week, which
> > worked for hundreds of projects, but failed for kdepim, because it tries
> > to
> > link outdated installed files instead of the newly build ones. I ignored
> > it
> > last week, but this morning kmail crashed and I was unable to start due to
> > newer libraries errors (kmime and others were updated after all). So I had
> > to try to build kmail.
> > 
> > The experience is horrible: I had to figure out which files to delete, by
> > manually running make, see the error message, delete the offending file,
> > run make again, wait and continue.
> > 
> > Unfortunately all of that did not help, in the end I did:
> > ./extragear/utils/kdesrc-build/kdesrc-build --refresh-build kdepim
> > 
> > Which did not just a refresh-build of kdepim, no! It started the complete
> > module with 21 projects. Unfortunately kdepim means the module-set and the
> > module. So I wasted another half an hour compile time on rebuilding stuff
> > I
> > didn't need.
> > 
> > As you can read from this mail: I'm rather frustrated by the build setup
> > of
> > kdepim. Could you please fix that stuff. If you want kde-developers to
> > test
> > pim, make sure that it can be build with kdesrc-build. If you cannot
> > ensure
> > it, remove it from kdesrc-build. Running kdesrc-build and afterwards
> > having
> > a situation where
> > a) you cannot start kdepim any more
> > b) you cannot compile it
> > isn't really helpful for getting people to test your latest work. If I
> > have
> > a broken kmail after running kdesrc-build I must look for another email
> > client as I cannot spend 2 hours every few days to get back to my mails.
> > 
> > Cheers
> > Martin Gräßlin
> > 
> > P.S.: I'm not subscribed to this mailing list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20150824/255fbec4/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list