I would absolutely love to do that and I have spent about two years trying to figure out how to do it in some reasonable way. The problem is that sinan searches all possible paths in the version graph to figure out a list of versions that satisfy all constraints. In the case where it can't produce a set of dependencies plus versions that satisfy all constraints it defaults to giving you the dependency constraint roots that seem to be causing the problem. One of the things, or one of the things that these things depend on is missing.
The reason I can't be more specific then that is because I don't know which of the (possible tens of thousands) of paths it searched is the closest to being correct. I am really open to ideas here if you have them. On Mon, Oct 17, 2011 at 6:39 PM, Tristan Sloughter <[email protected]> wrote: > I finally figured out what the error message below meant. Once it hit me it > was obvious and I feel stupid for not realizing it right away. > But it would be nice if it could list the dependencies from those apps it > could't find instead of those apps. I at first was confused and thinking it > was unable to find the apps I was trying to get it to compile in the first > place. > $ ./sinan build > starting: depends > Using the following lib directories to resolve dependencies: > /home/dotcloud/maru/_build/maru/lib > /home/dotcloud/otp/lib > > /usr/local/lib/erlang/lib > /usr/local/agner/packages/ > Unable to resolve runtime dependencies, probably do to the following > constraints: > application maru_web in the project > application maru_mail in the project > application maru_models in the project > build problem sin_task_depends:246 [{failed, > > {possible_culprit,[maru_web,maru_mail,maru_models]}} > > -- > You received this message because you are subscribed to the Google Groups > "erlware-dev" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/erlware-dev?hl=en. > -- You received this message because you are subscribed to the Google Groups "erlware-dev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/erlware-dev?hl=en.
