Bug 283256

Summary: missing libmysqld-pic and libwrap0-dev not detected by cmake
Product: [Applications] amarok Reporter: Ralf Jung <post>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DOWNSTREAM    
Severity: normal    
Priority: NOR    
Version: 2.4-GIT   
Target Milestone: 2.5   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ralf Jung 2011-10-03 16:19:28 UTC
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.
Comment 1 Myriam Schweingruber 2011-10-04 05:52:35 UTC
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.
Comment 2 Ralf Jung 2011-10-04 09:01:34 UTC
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.
Comment 3 Myriam Schweingruber 2011-10-05 06:32:46 UTC
Still, it is up to the MySQL packagers to correct that, not Amarok.