-
Notifications
You must be signed in to change notification settings - Fork 35
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
Fail to install mingw-w64-gcc #17
Comments
Dependency cycles can't be solved, any solution can only be guessed. |
aurman is working as intended there. mingw-w64-gcc deps on mingw-w64-crt which deps on mingw-w64-gcc-base But mingw-w64-gcc-base lists mingw-w64-gcc as conflicting. |
Ok! Sorry for the noise then. |
I have implemented a new dep solving algorithm. See b11d68b It should work now. I am not trying to solve the dep cycle, aurman just allows packages which have been only needed for building (make and check depends) to be removed again. So mingw-w64-gcc-base is being installed for building mingw-w64-crt and finally being removed when mingw-w64-gcc gets installed. Let me know if it works for you! |
This sounds like a hacky way to get this specific package installed, but what if you have a real dependency cycle? |
Then that is being shown and aborted. As I said: I am not handling the dep cycle, I am handling the order of installing the packages to solve the conflict. |
It actually works. |
Let me explain in more detail what I have done and why it should not have any downsides besides possible implementation bugs. At first regarding the "dep-cycle" from the beginning of this issue. There is not really a dep-cycle, aurman just found a possible dep-cycle while trying to resolve the conflict. Again: mingw-w64-gcc deps on mingw-w64-crt which deps on mingw-w64-gcc-base mingw-w64-gcc is an alternative provider, so aurman tried that, but that leads to the mentioned dep-cycle. At that point the old dep solver just presented this problems and aborted, as listed in this issue. To the changes of the dep solving algorithm: |
Yeah, that's what confused me. This was a provider bug in the "holy solver", not an actual dependency cycle. |
I count this as resolved for now. |
Since this issue led to completely changing the dep solving algorithm, I am posting new benchmarks here. I have further improved the reaction of the algorithm to found problems while dep solving, hence -S plasma-git-meta ros-lunar-desktop ros-indigo-desktop-full in just under a second and simple things like -S mingw-w64-gcc still in less than 0.1 seconds Besides improving the handling of errors, I changed the algorithm for hypothetical appending of packages, hence aurman is now able to install solutions in chunks, e.g. the needed repo deps for an aur package just before building the package |
this together with automatic pgp keys fetching is way too awesome, please insert some bugs here :) |
I've succesfully installed
mingw-w64-gcc
with trizen and other managers, butaurman
fails to solve dependency tree:I have also tried to install it with
--deep_search
:The text was updated successfully, but these errors were encountered: