-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Amarok is unusable #15264
Comments
In
This was also reported on IRC (back in 2015), but never got a response. |
A few more lines of context from
|
Running it like this makes it work:
|
amarok was broken by
mariadb going multi-output.
I failed to fix it with limited
effort
|
@vcunat, #15421 will fix the problem for any program that calls mysqld, but amarok (and no doubt other things waiting in the woodwork) uses libmysqld. That doesn't exec(mysqld), and so never uses the wrapper. Until the mariadb package stops setting DEFAULT_MYSQL_HOME to /not/a/real/dir, everything using libmysqld will need a fix like #16578. |
Yeah, you're right. I thought about trying to hunt down such packages and make an analogous change for all of them, but wasn't really sure how to do it. I did try changing |
Is there even some case where it makes sense to use |
@jerith666, did you try to just build mariadb after that change? @vcunat, I am not an expert on mysql/mariadb, but there are a lot of files that seem to be shared by the lib and bin. Besides the error messages above we're seeing errors for here, there are also plugins that are shared. If the error messages and plugin stuff could be split into its own output that both lib and out/bin depend on, there might be some benefit. As the derivation stands now, lib can never be used without out also being present. So the multiple output is broken (in that it doesn't actually reduce the closure size) while also breaking stuff like Amarok. Unless the discussion in #8494 is making a proper multiple output derivation sound much harder than it actually is, I can't fix it the ideal (multi output) way. Would you entertain a PR that makes mariadb single output again? |
"Sharing files" between outputs is perfectly fine, e.g. |
Okay, I'm trying |
@pwetzel You're right, it got almost to the end and then failed. :(
|
I believe the mysql/mariadb problems should be gone after #17413 (staged ATM). I wanted to test amarok, but it won't run even before the change, due to not finding any collection plugins (which might be because I didn't install anything but ran it directly from nix store). |
The only issue I know of w/ amarok plugins is #16588, but that's about gstreamer plugins, not collection plugins. All my testing has been done with amarok installed as normal, though. |
Let's just keep the other open issue, as mysql/mariadb is probably OK now. |
@vcunat are you suggesting that Amarok is usable now then? |
I think he's just suggesting that #16588 better captures the reason it's not working. :) |
Right, but I disagree with closing issues when the actual issue is not fixed. This just seems like a guess. Of course that issue could have all sorts of knock-on breakages - I'm not suggesting we capture all of them. But someone (i.e., me) has expressed direct interest in Amarok being broken, so I'd rather be following this issue (and being asked to check with things like "@ocharles I fixed x, could you see if that's solved this problem?") |
I closed this just as I would close any duplicate issue. It seems counter-productive to have two of them, and the current problems seemed to be better described in the other one. It's possible I misunderstand the status. @ocharles: you can reopen (technically) and I won't mind at all if you do it. (It's also possible to edit the issue description to reflect current status, etc.) |
Issue description
Amarok installs, but then errors at startup informing the user "Amarok could not find any collection plugins. It is possible that Amarok is installed under the wrong prefix".
Steps to reproduce
Technical details
The text was updated successfully, but these errors were encountered: