Bug 283256 - missing libmysqld-pic and libwrap0-dev not detected by cmake
Summary: missing libmysqld-pic and libwrap0-dev not detected by cmake
Status: RESOLVED DOWNSTREAM
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.4-GIT
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: 2.5
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-03 16:19 UTC by Ralf Jung
Modified: 2011-10-05 06:32 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.