And you are positive you don't already have the beam file in your ERL_LIBS
path somewhere?
The output I get is:
$ ./sinan build
starting: depends
Using the following lib directories to resolve dependencies:
/home/dotcloud/otp/lib
/home/dotcloud/Devel/claimstrade/_build/claimstrade/lib/
/usr/local/lib/erlang/lib
/home/dotcloud/Devel/maru/_build/maru/lib/
/usr/local/agner/packages/
/home/dotcloud/Devel/maru/_build/maru/lib
starting: build
Building /home/dotcloud/Devel/maru/lib/idioms/src/idioms.erl
Building /home/dotcloud/Devel/maru/lib/maru_db/src/maru_db.erl
Building /home/dotcloud/Devel/maru/lib/maru_db/src/maru_db_app.erl
Building /home/dotcloud/Devel/maru/lib/maru_db/src/maru_db_sup.erl
Building /home/dotcloud/Devel/maru/lib/maru_db/src/maru_db_mnesia.erl
Building /home/dotcloud/Devel/maru/lib/maru_models/src/maru_model_utils.erl
Building /home/dotcloud/Devel/maru/lib/maru_models/src/maru_model_users.erl
build problem error:badarg:[{io,format,
[<0.23.0>,
"/home/dotcloud/Devel/maru/lib/maru_models/src/maru_model_users.erl:none:error:error
in parse transform 'maru_model_transform': {undef,\n
[{maru_model_transform,\n
parse_transform,\n
[[{attribute,1,file,\n
{\"/home/dotcloud/Devel/maru/lib/maru_models/src/maru_model_users.erl\",\n
1}},\n
{attribute,9,module,\n
maru_model_users},\n
{attribute,10,extends,\n
maru_model_base},\n
{attribute,1,file,\n
{\"/home/dotcloud/Devel/maru/_build/maru/lib/maru_models-0.1.0/include/maru_model.hrl\",\n
1}},\n
{attribute,13,file,\n
{\"/home/dotcloud/Devel/maru/lib/maru_models/src/maru_model_users.erl\",\n
13}},\n
{attribute,1,file,\n
{\"/home/dotcloud/Devel/maru/_build/maru/lib/maru_models-0.1.0/include/jsonerl.hrl\",\n
1}},\n
{attribute,14,file,\n
{\"/home/dotcloud/Devel/maru/lib/maru_models/src/maru_model_users.erl\",\n
14}},\n
{attribute,1,file,\n
{\"/home/dotcloud/otp/lib/eunit-2.2.1/include/eunit.hrl\",\n
1}},\n
{attribute,15,file,\n
{\"/home/dotcloud/Devel/maru/lib/maru_models/src/maru_model_users.erl\",\n
15}},\n
{attribute,17,export,\n
[{find,1},\n
{to_json,1},\n
{to_record,1}]},\n
{attribute,21,record,\n
{maru_model_users,\n
[{record_field,21,\n
{atom,21,id},\n
{call,21,\n
{remote,21,\n
{atom,21,\n
ossp_uuid},\n
{atom,21,make}},\n
[{atom,21,v1},\n
{atom,21,text}]}},\n
{record_field,22,\n
{atom,22,fullname}},\n
{record_field,23,\n
{atom,23,username}},\n
{record_field,24,\n
{atom,24,email}},\n
{record_field,25,\n
{atom,25,password}},\n
{record_field,26,\n
{atom,26,accounts},\n
{nil,26}}]}},\n
{attribute,21,type,\n
{{record,\n
maru_model_users},\n
[{typed_record_field,\n
{record_field,21,\n
{atom,21,id},\n
{call,21,\n
{remote,21,\n
{atom,21,\n
ossp_uuid},\n
{atom,21,make}},\n
[{atom,21,v1},\n
{atom,21,text}]}},\n
{remote_type,21,\n
[{atom,21,\n
maru_model_types},\n
{atom,21,maru_key},\n
[]]}},\n
{typed_record_field,\n
{record_field,22,\n
{atom,22,fullname}},\n
{type,22,union,\n
[{atom,22,\n
undefined},\n
{remote_type,22,\n
[{atom,22,\n
maru_model_types},\n
{atom,22,\n
maru_string},\n
[]]}]}},\n
{typed_record_field,\n
{record_field,23,\n
{atom,23,username}},\n
{type,23,union,\n
[{atom,23,\n
undefined},\n
{remote_type,23,\n
[{atom,23,\n
maru_model_types},\n
{atom,23,\n
maru_string},\n
[]]}]}},\n
{typed_record_field,\n
{record_field,24,\n
On Sat, Oct 22, 2011 at 6:40 PM, Eric Merritt <[email protected]>wrote:
> Yea. complete sinan clean and then a sinan build. No problems at all.
> What output do you see?
>
> On Sat, Oct 22, 2011 at 6:30 PM, Tristan Sloughter
> <[email protected]> wrote:
> > I am using a hard path.
> > Are you sure you did a 'sinan clean' then a 'sinan build'?
> >
> > On Sat, Oct 22, 2011 at 6:18 PM, Eric Merritt <[email protected]>
> > wrote:
> >>
> >> Ok. I just built maru again with no problem. Could you run sinan with
> >> a hard path? that is if the new version of sinan is in /usr/local/bin
> >> run /usr/local/bin/sinan. I am just trying to make sure we are running
> >> the right thing so to speak. Then we need to start looking at
> >> differences between what you are running and me.
> >>
> >>
> >> On Sat, Oct 22, 2011 at 6:04 PM, Tristan Sloughter
> >> <[email protected]> wrote:
> >> > dc27aaf656155a52777177cf31b21c50 sinan
> >> >
> >> > On Sat, Oct 22, 2011 at 5:34 PM, Eric Merritt <[email protected]
> >
> >> > wrote:
> >> >>
> >> >> Shit, I have actually verified that maru builds fine with this. Would
> >> >> you mind checking that you are using the latest and greatest. The md5
> >> >> for the latest and greatest is dc27aaf656155a52777177cf31b21c50.
> >> >>
> >> >> On Sat, Oct 22, 2011 at 4:54 PM, Tristan Sloughter
> >> >> <[email protected]> wrote:
> >> >> > Maru.
> >> >> >
> >> >> > On Sat, Oct 22, 2011 at 4:51 PM, Eric Merritt
> >> >> > <[email protected]>
> >> >> > wrote:
> >> >> >>
> >> >> >> You mentioned that. However, it should be fixed in the latest
> >> >> >> version
> >> >> >> of sinan. Which project are you seeing this in?
> >> >> >>
> >> >> >> On Sat, Oct 22, 2011 at 2:55 PM, Tristan Sloughter
> >> >> >> <[email protected]> wrote:
> >> >> >> > Oh, and have I mentioned that the compilation of the transform
> >> >> >> > before
> >> >> >> > everything else is broke again?
> >> >> >> >
> >> >> >> > On Sat, Oct 22, 2011 at 11:49 AM, Eric Merritt
> >> >> >> > <[email protected]>
> >> >> >> > wrote:
> >> >> >> >>
> >> >> >> >> Ok. I have this fixed and have uploaded a new version
> >> >> >> >> https://github.com/downloads/erlware/sinan/sinan
> >> >> >> >>
> >> >> >> >> On Sat, Oct 22, 2011 at 11:16 AM, Eric Merritt
> >> >> >> >> <[email protected]>
> >> >> >> >> wrote:
> >> >> >> >> > ok. that tells me what the problem is though. I think I can
> fix
> >> >> >> >> > your
> >> >> >> >> > bad dict error now. Thats awesome, again thanks for pushing
> >> >> >> >> > through
> >> >> >> >> > all this alpha stuff for me.
> >> >> >> >> >
> >> >> >> >> > On Sat, Oct 22, 2011 at 11:14 AM, Tristan Sloughter
> >> >> >> >> > <[email protected]> wrote:
> >> >> >> >> >> yes. I took it out to be able to build though.
> >> >> >> >> >>
> >> >> >> >> >> On Sat, Oct 22, 2011 at 11:10 AM, Eric Merritt
> >> >> >> >> >> <[email protected]>
> >> >> >> >> >> wrote:
> >> >> >> >> >>>
> >> >> >> >> >>> do you have a pre_build hook in your project?
> >> >> >> >> >>>
> >> >> >> >> >>> On Thu, Oct 20, 2011 at 10:07 PM, Tristan Sloughter
> >> >> >> >> >>> <[email protected]> wrote:
> >> >> >> >> >>> > I get this error every once in a while... It usually goes
> >> >> >> >> >>> > away
> >> >> >> >> >>> > with
> >> >> >> >> >>> > a
> >> >> >> >> >>> > 'sinan
> >> >> >> >> >>> > clean'. But its not anymore.
> >> >> >> >> >>> > I can't get passed this:
> >> >> >> >> >>> > starting: build
> >> >> >> >> >>> > build problem error:{badrecord,dict}:[{dict,get_slot,2},
> >> >> >> >> >>> > {dict,find,2},
> >> >> >> >> >>> >
> >> >> >> >> >>> > {sin_state,get_value,2},
> >> >> >> >> >>> >
> >> >> >> >> >>> > {sin_task_build,ensure_build_dir,1},
> >> >> >> >> >>> >
> >> >> >> >> >>> > {sin_task_build,do_task,2},
> >> >> >> >> >>> >
> >> >> >> >> >>> > {sinan,'-run_task/4-fun-1-',5},
> >> >> >> >> >>> > {lists,foldl,3},
> >> >> >> >> >>> >
> >> >> >> >> >>> > {sinan,do_task_full,3}]
> >> >> >> >> >>> >
> >> >> >> >> >>> > --
> >> >> >> >> >>> > 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.
> >> >> >> >> >>>
> >> >> >> >> >>
> >> >> >> >> >> --
> >> >> >> >> >> 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.
> >> >> >> >>
> >> >> >> >
> >> >> >> > --
> >> >> >> > 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.
> >> >> >>
> >> >> >
> >> >> > --
> >> >> > 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.
> >> >>
> >> >
> >> > --
> >> > 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.
> >>
> >
> > --
> > 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.
>
>
--
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.