I'm running MySQL on a different server than the one hosting mediatomb, so I built MySQL with the minmal flag (which doesn't build mysql-server) and then built mediatomb with the "mysql" flag so I could take advantage of that instead of relying on sqlite. However, when I try to start the init script, it complains that MySQL isn't running. Editing the init script to remove "mysql" from the "need" line does the trick however. Reproducible: Always Steps to Reproduce: 1. Install MySQL with the "minimal" use flag 2. Install Mediatomb with the "mysql" use flag 3. Attempt to start mediatomb Actual Results: # /etc/init.d/mediatomb start mysql * ERROR: Some services needed are missing. Run * './mediatomb broken' for a list of those * services. mediatomb was not started. Expected Results: # /etc/init.d/mediatomb start * Caching service dependencies ... [ ok ] * Starting MediaTomb ... [ ok ]
Created attachment 201200 [details] My emerge.info
Created attachment 210513 [details] mysql patch This patch adds an additional check to see if MySQL has been built with USE minimal before `need mysql` is sedded to the init script. I'm not sure if this is the best way of fixing this issue but it works for me.
I believe this is fixed in bug #264235. I've added a built_with_use check to the sed on line 92. This needs to be checked by a dev since I'm not sure if this is the correct way to fix this issue.
(In reply to comment #3) > I believe this is fixed in bug #264235. I've added a built_with_use check to > the sed on line 92. This needs to be checked by a dev since I'm not sure if > this is the correct way to fix this issue. > in tree, thanks.