Trouble building kde-pim using kdesrc-build

Daniel Vrátil dvratil at kde.org
Sat Mar 14 18:42:51 GMT 2020


On Saturday, 14 March 2020 16:49:29 CET Shashwat Jolly wrote:
> I am running a fresh install of Ubuntu 19.10.
> 
> - When I followed the first method (sudo apt build-dep on failing modules),
> akonadi started up fine. Then I was able to open up korganizer, but it
> crashed when I tried to create a new event.
> Error log: https://pastebin.com/x6gDYAVH

This looks like you are mixing the distro-provided packages and the self-
compiled ones.

Check this guide: https://community.kde.org/KDE_PIM/Development it contains 
some environment settings to install PIM into an external directory so it 
doesn't clash with the system packages.

> 
> I redid the entire process on a fresh install and still got more errors
> (different this time):
> 
> parse error from icalcomponent_new_from_string. string= ""
> 
> > org.kde.pim.calendar_serializer: Failed to parse incidence! Item id = 3
> > Storage collection id 13 parentCollectionId = 13
> > org.kde.pim.calendar_serializer: ""
> > org.kde.pim.akonadicore: Unable to deserialize payload part: "RFC822" in
> > item 3 collection 13
> > org.kde.pim.akonadicore: Payload data was: ""

Looks like Akonadi is not finding the plugins, the link above wil probably 
help.


> Maybe the event title is being parsed as an empty string?
> 
> Also, kontact opened up as a blank window, kmail seemed to work and even
> saved drafts (though I did not connect my account). All PIM applications
> (korganizer, kontact, kmail) had the error "Shared library was not found"
> when I opened up their settings.
> 
> - I tried the second method as I thought I would be able to get all non-KDE
> dependencies from the packages listed in the Dockerfile, but the Docker
> image is based on KDE neon and I am running Ubuntu 19.10, which is probably
> why I still got missing dependencies.
> 
> Any inputs are appreciated, I'm kind of stuck here :|
> 
> On Sat, Mar 14, 2020 at 8:29 PM Shashwat Jolly <shashwat.jolly at gmail.com>
> 
> wrote:
> > Hi,
> > 
> > I was trying to build kde-pim using kdesrc-build and was having trouble
> > getting all the dependencies. I've tried the following things:
> > 
> > - "sudo apt build-dep <module>" on every module that fails to build
> > 
> > This I think also installs the released versions of the modules being
> > built, and these conflicts cause problems. Eg: when I run korganizer, I'm
> > unable to create a new event etc.
> > 
> > - I cloned the kdepim-docker repo (
> > https://community.kde.org/KDE_PIM/Docker) and installed all packages
> > listed there. The list was apparently not exhaustive as I'm still getting
> > many missing dependencies in many modules.
> > 
> > Any suggestions on how I can smooth this out? I want to build PIM and
> > work on kontact, kmail etc.
> > 
> > Thanks,
> > Shashwat Jolly


-- 
Daniel Vrátil
www.dvratil.cz | dvratil at kde.org
IRC: dvratil on Freenode (#kde, #kontact, #akonadi, #fedora-kde)

GPG Key: 0x4D69557AECB13683
Fingerprint: 0ABD FA55 A4E6 BEA9 9A83 EA97 4D69 557A ECB1 3683
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20200314/f9d1648e/attachment.sig>


More information about the kde-pim mailing list