Version: 2.4-GIT OS: Linux Running cmake on the amarok sources while missing the required lpackages (on Debian) libmysqld-pic and libwrap0-dev does not give any error message, cmake finishes successfully - however, building Amarok fails with a linker error in amarok_collection-mysqlecollection.so. Reproducible: Didn't try Steps to Reproduce: Try to compile amarok without having one of that packages installed. Actual Results: CMake finishes successfully, but compiling fails. Expected Results: Since these are required dependencies, cmake should fail and tell me what my system is missing.
This is a packaging problem as both packages are MySQL dependencies and will of course not be detected in Amarok's cmake, as it only tests for the presence of MySQL which is enough and should carry those dependencies. Please check with your distribution.
Actually cmake could easily detect that, by just trying to link a simple file against wrap and mysqld. What package do you think they should be depended by? I did not have any mysql development files installed, except for libmysqlclient-dev, which should not depend on server-side development files.
Still, it is up to the MySQL packagers to correct that, not Amarok.