Sinan depends failure when app includes crypto

2 views
Skip to first unread message

Tony Payne

unread,
Jan 16, 2009, 7:26:47 PM1/16/09
to erlware-dev
If I remove crypto from my app's applications config, this problem
goes away:
[sin_depends fault!!] {badmatch,[]}:
[{sin_depends,resolve_project_dependencies,4},
{sin_depends,check_project_dependencies,4},
{sin_depends,depends,1},
{eta_task_runner,execute_task_stack,3},
{eta_task_runner,run_tasks,3},
{eta_task_runner,do_tasks,3},
{eta_task_runner,'-run_task_reply/4-fun-0-',4},
{proc_lib,init_p,3}]
Task failed

Here's my .app file:
{application, ssmsme,
[{description, "ssmsme"},
{vsn, "0.01"},
{modules, [
ssmsme,
ssmsme_app,
ssmsme_sup,
ssmsme_deps,
ssmsme_email,
ssmsme_encrypt,
ssmsme_msgstore,
ssmsme_web,
msg_controller,
main_controller
]},
{registered, []},
{mod, {ssmsme_app, []}},
{env, []},
{applications, [kernel, stdlib, crypto, eunit]}]}.

Mikael Magnusson

unread,
Jan 17, 2009, 2:25:05 AM1/17/09
to erlwa...@googlegroups.com
On Fri, 2009-01-16 at 16:26 -0800, Tony Payne wrote:
> If I remove crypto from my app's applications config, this problem
> goes away:
> [sin_depends fault!!] {badmatch,[]}:
> [{sin_depends,resolve_project_dependencies,4},
> {sin_depends,check_project_dependencies,4},
> {sin_depends,depends,1},
> {eta_task_runner,execute_task_stack,3},
> {eta_task_runner,run_tasks,3},
> {eta_task_runner,do_tasks,3},
> {eta_task_runner,'-run_task_reply/4-fun-0-',4},
> {proc_lib,init_p,3}]
> Task failed
>

You need to install crypto with faxien, since sinan now uses the locally
installed applications when building a project.

I have a patch I'll post which detects this kind of dependency problem,
and outputs a better error message.

/Mikael

Reply all
Reply to author
Forward
0 new messages