Bug 7770 - Debian package depends on dev package for libmysqlclient
: Debian package depends on dev package for libmysqlclient
Status: RESOLVED WONTFIX
Product: Logitech Media Server
Classification: Unclassified
Component: Platform Support
: 7.0.1
: PC Debian Linux
: -- normal with 1 vote (vote)
: 7.x
Assigned To: Matt Wise
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-04-08 08:32 UTC by Marc Sherman
Modified: 2009-07-31 10:19 UTC (History)
3 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Sherman 2008-04-08 08:32:27 UTC
The debian package of squeezecenter depends on libmysqlclient14-dev|libmysqlclient15-dev; that should probably be a build-dep, and the dependency should be libmysqlclient14|libmysqlclient15 (probably just one of them, whichever one you build against).
Comment 1 Matt Wise 2008-04-09 12:00:08 UTC
Agreed, the -dev requirement doesn't make sense. I've implemented the change in revision #18613. Can you help test this change on a system that does not have the -dev packages installed in the next nightly build? 
Comment 2 Marc Sherman 2008-04-09 12:03:36 UTC
Sure, I'll purge the dev packages and try upgrading to tomorrow's nightly and let you know.

I'm still running 6.5.5, so let's hope this works, because my kids won't forgive you if it breaks our squeezeboxes! :)
Comment 3 rmgmailbox-sqbox 2008-04-10 08:08:57 UTC
See http://forums.slimdevices.com/showthread.php?p=289869#post289869 for discussion of this problem following 7.0.1~18632 downloads.  Dependency is not satisfiable: libmysqlclient14|libmysqlclient15 in ubuntu 7.10 AMD64.
Comment 4 Marc Sherman 2008-04-10 08:27:52 UTC
Argh. Please don't copy dependency changes out of a bug report without actually testing if the package is even installable first. :)

Like I said in my report, it probably should be depending on the specific lib you actually build against, not a selection. Of course, I don't know much of anything about perl, so I may be way off here.
Comment 5 Mark Lanctot 2008-04-10 08:33:01 UTC
It appears that Ubuntu 7.10 and at least Debian (don't know which version, see the thread referenced in the last comment) use 'libmysqlclient15off'.  libmysqlclient14 and libmysqlclient15 don't appear to be available for these distros from the official repos.

The issue affects both 32-bit and 64-bit OSes.
Comment 6 Matt Wise 2008-06-19 10:56:27 UTC
The more I think about it, I don't really see the huge benefit to changing this. In the rare situation that user has the libmysql15 but not libmysql15-dev, they can force the install ... but it seems like the other package names are likely to change in the future, and it seems like it may be setting us up for failures in the future. (Ie, if they get rid of the 'off'). 

Does this really harm any of our users or cause any issues? 
Comment 7 Chris Owens 2008-07-16 18:08:05 UTC
Moved to 7.2 while awaiting feedback.  You should probably post in the linux forum that you're interested in comments on this bug, Matt, just to make sure we get all the stakeholders that care.
Comment 8 Blackketter Dean 2008-08-06 12:22:27 UTC
Matt: Will you be changing this for 7.2?
Comment 9 Mickey Gee 2008-08-07 11:41:47 UTC
Moving to 7.3 ....
Comment 10 Ian Peters 2008-10-30 09:16:53 UTC
Matt,

re: your question about whether this dependency hurts any of your users -- I wouldn't say I'm hurt by it, but the dependency on libmysqlclient15-dev means that apt tries to install a full development tool chain on my machine to satisfy the dependencies (libmysqlclient15-dev pulls in a lot of other -dev packages, and those end up pulling in gcc, binutils, etc.).

Because I'm running squeezecenter on a very small dedicated machine with compact flash root drive, and because I don't like to have development tools on any of my machines that could easily be reached by the "outside" world, this is kind of annoying for me.

My workaround right now is to download the squeezecenter package, unpack it using ar, then editing the control section to remove this dependency and then reassembling the package, but this is fairly cumbersome and makes it quite difficult for me to grab updates.  So as one of your users, I'd love it if this unneeded dependency could be removed.
Comment 11 Matt Wise 2008-11-07 09:49:54 UTC
At this time, we're not going to change the dependencies. Instead, if you don't have the libmysql dev package (installed by default on debian/ubuntu boxes), use the --force-depends -i options for dpkg to get around the dependency issue. 
Comment 12 Chris Owens 2009-07-31 10:19:23 UTC
Reduce number of active targets for SC