[Kde-pim] kdepim unbuildable with kdesrc-build

Milian Wolff mail at milianw.de
Mon Aug 24 11:00:31 BST 2015


On Monday, August 24, 2015 10:54:04 AM CEST 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.

I've seen the same, many times. And KMail is not the only project with this 
issue afaik. I've seen this also in KDevelop land and also in Frameworks while 
it was still in flux. Now that it settled down on a stable API the issue is 
gone.
 
> 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

make uninstall && make install

Still sucks, but much faster than that.

> 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.

While I understand your frustration, please note that that this is not a KMail 
specific issue - their CMake files are - afaik - not special or do anything 
wrong. Rather, it seems to be an issue in either CMake or how we use CMake in 
KDE. We should try to figure out the culprit and fix it together. I'm also 
CC'ing kde-buildsystem for that reason.

Bye
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
_______________________________________________
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