SUMMARY I'm building v2.9.0 on Debian buster (well, actually, Devuan Beowulf, which is the same thing but with systemd yanked out). CMake'ing works, but during linking, I get this error: [ 61%] Linking CXX shared module ../../../../../lib/amarok_storage-mysqlestorage.so /usr/bin/ld: cannot find -lmariadbd collect2: error: ld returned 1 exit status indeed, I didn't have embedded MariaDB installed. When I installed the package for it, the error went away. So, CMake should have checked for this library's presence - and didn't; or alternatively, mistakenly thought it had located it.
I think this was fixed in 2.9.71, but packaging of MySQL/MariaDB seems to slightly vary between distros. Can you please check if this bug is acutally fixed for you? Thank you.
(In reply to Heiko Becker from comment #1) Which exact version should I try and build?
As I wrote 2.9.71 (aka 2.10 Alpha1, you can get it from https://download.kde.org/unstable/amarok/2.9.71/). git master works too and isn't that different from the release yet.
(In reply to Heiko Becker from comment #3) > As I wrote 2.9.71 (aka 2.10 Alpha1, you can get it from > https://download.kde.org/unstable/amarok/2.9.71/). git master works too and > isn't that different from the release yet. FYI: With this version, I'm getting a zillion CMake warnings: Package type "Amarok/ContextApplet" not found kf5.kcoreaddons.desktopparser: Unable to find service type for service "Amarok/ContextApplet" listed in "/usr/local/src/amarok-2.9.71/src/context/applets/wikipedia/package/metadata.desktop"
(In reply to Eyal Rozenberg from comment #4) > FYI: With this version, I'm getting a zillion CMake warnings: > > Package type "Amarok/ContextApplet" not found > > kf5.kcoreaddons.desktopparser: Unable to find service type for service > "Amarok/ContextApplet" listed in True, but you didn't really answer the question concerning the original bug report.
I can no longer reproduce the bug with the version you specified. So, I'll close this as WORKSFORME. Thanks for your time.