SUMMARY I'm trying to package KMail for Alpine Linux, but it crashes on start with the following error: org.kde.pim.mailcommon: "The Email program encountered a fatal error and will terminate now.\nThe error was:\nUnable to obtain agent type ''." org.kde.pim.akonadicore: Failed to request resource "" : "Cannot connect to the Akonadi service. (Unable to obtain agent type ''.)" Not sure if it matters in this case, but the system uses Musl rather than glibc. STEPS TO REPRODUCE 1. Just try to run KMail on Alpine Linux OBSERVED RESULT Crashes on start EXPECTED RESULT Not to crash SOFTWARE/OS VERSIONS Linux/KDE Plasma: Alpine Linux Edge (available in About System) KDE Plasma Version: 5.16.5 KDE Frameworks Version: 5.63.0 Qt Version: 5.12.5 ADDITIONAL INFORMATION This is a Musl based system, so glibc is not available.