Ok. thats really good to know. I think what is going on is that because things are being distributed as an escript code:lib_dir isn't actually returning the lib dir of erts. Its returning the lib dir of the escript which isn't what we want at all.
I need to think about that a little bit. To get it fixed. On a side note, sinan now respects the ERL_LIBS env variable, and that dep_dirs thing you just saw. On Wed, Oct 5, 2011 at 1:12 PM, Tristan Sloughter <[email protected]> wrote: > Hah, that fixed it! > > 2011/10/5 Eric Merritt <[email protected]> >> >> Thats good and its bad. Its good in that the version parser is not >> screwed up. Its bad in that its not finding proper as it should. >> >> Hmm, this may be a pathing issue. I am not sure they we can test that. >> >> add a piece to your config that looks as follows >> >> {dep_dirs, ["<path to where ever proper is>"]}. >> >> so if proper is in usr/local/lib/erlang/lib it would look like >> >> {dep_dirs, ["/usr/local/lib/erlang/lib"]}. >> >> Lets see what that results in. >> >> On Wed, Oct 5, 2011 at 1:01 PM, Tristan Sloughter >> <[email protected]> wrote: >> > I got rid of the other proper and installed proper 1.0 from master, same >> > thing: >> > starting: depends >> > Unable to resolve compile time dependencies, probably do to the >> > following >> > constraints: >> > application proper in the project >> > constraint on proper with constraints [proper] originating from these >> > application(s) ['__top_level__'] >> > build problem sin_task_depends:211 [{failed, >> > {possible_culprit, >> > [proper, >> > {proper, >> > {set,1,16,16,8,80,48, >> > >> > {[],[],[],[],[],[],[],[],[],[],[],[], >> > [],[],[],[]}, >> > {{[],[], >> > [proper], >> > >> > [],[],[],[],[],[],[],[],[],[],[],[], >> > []}}}, >> > {set,1,16,16,8,80,48, >> > >> > {[],[],[],[],[],[],[],[],[],[],[],[], >> > [],[],[],[]}, >> > >> > {{[],[],[],[],[],[],[],[],[],[],[],[], >> > [],[],[], >> > ['__top_level__']}}}}]}}] >> > On Wed, Oct 5, 2011 at 12:16 PM, Eric Merritt <[email protected]> >> > wrote: >> >> >> >> This is the new dep solver stuff. I am actually happy you are hitting >> >> this error. its going to help get the error messaging right. >> >> >> >> So what its saying there is that there is a dependency change starting >> >> at proper that is not being satisfied. So it might be proper or >> >> something that proper depends on. (Its hard for the system to know >> >> exactly in a back tracing search senario). >> >> >> >> Hmmm. I wonder if the 'alpha2' is the problem. That could be a bug, I >> >> may have to do some better version parsing. In any case, Do me a >> >> favor. There is a 1.0 version of proper out. Try installing that and >> >> lets see what happens >> >> >> >> https://github.com/manopapad/proper.git >> >> >> >> You should probably use that anyway, its quite a bit more advanced >> >> then the version you have. >> >> >> >> Eventually I want to break these things out into plugins so you if you >> >> dont need proper you dont have to have it. >> >> >> >> oh and nuke your old proper. >> >> >> >> Thanks for bearing with me in this. You are my first non-me user of >> >> this version of sinan. >> >> On Wed, Oct 5, 2011 at 12:08 PM, Tristan Sloughter >> >> <[email protected]> wrote: >> >> > Note that the config file must be named sinan.config and not >> >> > sinan.cfg. >> >> > Once I got that fixed I get what looks to be complaining I don't have >> >> > proper. But I do: >> >> > /usr/local/lib/erlang/lib/proper-0.0.1alpha2/ >> >> > λ sinan build >> >> > starting: depends >> >> > Unable to resolve compile time dependencies, probably do to the >> >> > following >> >> > constraints: >> >> > application proper in the project >> >> > constraint on proper with constraints [proper] originating from >> >> > these >> >> > application(s) ['__top_level__'] >> >> > build problem sin_task_depends:211 [{failed, >> >> > {possible_culprit, >> >> > [proper, >> >> > {proper, >> >> > {set,1,16,16,8,80,48, >> >> > >> >> > {[],[],[],[],[],[],[],[],[],[],[],[], >> >> > [],[],[],[]}, >> >> > {{[],[], >> >> > [proper], >> >> > >> >> > [],[],[],[],[],[],[],[],[],[],[],[], >> >> > []}}}, >> >> > {set,1,16,16,8,80,48, >> >> > >> >> > {[],[],[],[],[],[],[],[],[],[],[],[], >> >> > [],[],[],[]}, >> >> > >> >> > {{[],[],[],[],[],[],[],[],[],[],[],[], >> >> > [],[],[], >> >> > ['__top_level__']}}}}]}}] >> >> > On Wed, Oct 5, 2011 at 12:01 PM, Eric Merritt >> >> > <[email protected]> >> >> > wrote: >> >> >> >> >> >> {project_name, maru}. >> >> >> {project_vsn, "0.0.1"}. >> >> >> >> >> >> ---- >> >> >> >> >> >> you dont actually need any of the others. but if you want you can >> >> >> keepthem >> >> >> >> >> >> {build_dir, "_build"}. >> >> >> {ignore_dirs, ["_", "."]}. >> >> >> {ignore_apps, []}. >> >> >> >> >> >> This is an erlang term file. So notice the periods at the end of >> >> >> each >> >> >> element. >> >> >> >> >> >> >> >> >> On Wed, Oct 5, 2011 at 11:59 AM, Tristan Sloughter >> >> >> <[email protected]> wrote: >> >> >> > roject : { >> >> >> > name : maru >> >> >> > vsn : "0.0.1" >> >> >> > }, >> >> >> > build_dir : _build, >> >> >> > ignore_dirs : ["_", >> >> >> > "."], >> >> >> > ignore_apps : [], >> >> >> > On Wed, Oct 5, 2011 at 11:56 AM, Eric Merritt >> >> >> > <[email protected]> >> >> >> > wrote: >> >> >> >> >> >> >> >> Tristan, >> >> >> >> >> >> >> >> It does not. This uses term based configs. and a fair number of >> >> >> >> things >> >> >> >> have changed. Hence the 2.0.0 and alpha designation. Before I >> >> >> >> actually >> >> >> >> do the release this will all get documented. In the short term >> >> >> >> post >> >> >> >> your configs (if you can) here and I will reply with a >> >> >> >> translation. >> >> >> >> That will be good for posterity. Its a simple conversion though. >> >> >> >> >> >> >> >> Thanks, >> >> >> >> Eric >> >> >> >> >> >> >> >> On Wed, Oct 5, 2011 at 11:51 AM, Tristan Sloughter >> >> >> >> <[email protected]> wrote: >> >> >> >> > It doesn't like my old config files: >> >> >> >> > build problem sin_discover:181 [unable_to_intuit_config] >> >> >> >> > What needs to change with them? >> >> >> >> > >> >> >> >> > On Wed, Oct 5, 2011 at 11:47 AM, Tristan Sloughter >> >> >> >> > <[email protected]> wrote: >> >> >> >> >> >> >> >> >> >> Sweetness. Using this version now. >> >> >> >> >> >> >> >> >> >> On Sun, Oct 2, 2011 at 9:19 PM, Eric Merritt >> >> >> >> >> <[email protected]> >> >> >> >> >> wrote: >> >> >> >> >>> >> >> >> >> >>> Guys, >> >> >> >> >>> >> >> >> >> >>> I just released a massive amount of change to my alpha >> >> >> >> >>> version >> >> >> >> >>> of >> >> >> >> >>> sinan available here: >> >> >> >> >>> >> >> >> >> >>> https://github.com/downloads/ericbmerritt/sinan/sinan >> >> >> >> >>> >> >> >> >> >>> This should be the complete functionality for the 2.0.0 >> >> >> >> >>> release. >> >> >> >> >>> For >> >> >> >> >>> the rest I am only planing bug fixes and more documentation. >> >> >> >> >>> >> >> >> >> >>> Just remember this is alpha quality software. I am looking >> >> >> >> >>> for >> >> >> >> >>> any >> >> >> >> >>> feedback you can provide to improve the project before doing >> >> >> >> >>> a >> >> >> >> >>> general >> >> >> >> >>> release. >> >> >> >> >>> >> >> >> >> >>> These are the latest changes since Jordan's last review: >> >> >> >> >>> >> >> >> >> >>> Eric Merritt <[email protected]> >> >> >> >> >>> * add gh-pages publishing to the project >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> (https://github.com/ericbmerritt/sinan/commit/a63e3e7a7b2f3c66f50d7bfe499e28f3c71b32f7) >> >> >> >> >>> * Remove no longer needed sinan script from system >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> (https://github.com/ericbmerritt/sinan/commit/15a03a272f2d2bdae0f7732500213bfb126a713d) >> >> >> >> >>> * Migrate sinan documentation to Markdown >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> (https://github.com/ericbmerritt/sinan/commit/76a97a44540043e1ecdf121e1ee148bdfc1ffd21) >> >> >> >> >>> * make specialization on release possible >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> (https://github.com/ericbmerritt/sinan/commit/3f932b42e6f08c9a8da554943635cd414caea719) >> >> >> >> >>> * fix bug in copy_file return values >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> (https://github.com/ericbmerritt/sinan/commit/472edb4fbd843eb68f160b6ee9c0fb6d356c9421) >> >> >> >> >>> * fix naming in sin_utils >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> (https://github.com/ericbmerritt/sinan/commit/4727e5683fa9ee8a5dc92cbd3db4cc4e3ef1f62a) >> >> >> >> >>> * fix problems in escript generation >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> (https://github.com/ericbmerritt/sinan/commit/3194bd7f9279b03f0d134f8e7eb15dbcd49d8fa3) >> >> >> >> >>> * add escript directives to sinan.config >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> (https://github.com/ericbmerritt/sinan/commit/ebb08369a7f0f73d309b1c3e648b2ad3b774ba29) >> >> >> >> >>> * minor fixes to whitespace and @doc tags >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> (https://github.com/ericbmerritt/sinan/commit/afd8caf0dcfa5a32940c44ba712f149b408e9f16) >> >> >> >> >>> * add sinan.hrl containing app description record to >> >> >> >> >>> the >> >> >> >> >>> system >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> (https://github.com/ericbmerritt/sinan/commit/55ef56ab550c786eae5c30fe18ecb5cbf29a3e8a) >> >> >> >> >>> * remove no longer needed dependencies from sinan >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> (https://github.com/ericbmerritt/sinan/commit/89e3ff188f24799f0470b722dd4f2c961c998df2) >> >> >> >> >>> * fixes and enhancements to bootstraping makefile >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> (https://github.com/ericbmerritt/sinan/commit/bb855f2fff99c33f76342fdac240ca1be55ded1c) >> >> >> >> >>> * add new dep_constraints to sinan.config >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> (https://github.com/ericbmerritt/sinan/commit/c7a0002677ccc4960006cac72ec27145e9658775) >> >> >> >> >>> * add new constraints based release and refactored app >> >> >> >> >>> info >> >> >> >> >>> to >> >> >> >> >>> tasks >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> (https://github.com/ericbmerritt/sinan/commit/2de90d4fa3074722651c8c37b7381865f8f51bdc) >> >> >> >> >>> * cleanup release naming and handling >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> (https://github.com/ericbmerritt/sinan/commit/64c6634db02a4d6a3ce17dc57fb78e437c8ad310) >> >> >> >> >>> * add do_if_changed function to sin_sig >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> (https://github.com/ericbmerritt/sinan/commit/b6f580121cd4a0814300343affa1fd8ae6370807) >> >> >> >> >>> * fix unit tests not being run >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> (https://github.com/ericbmerritt/sinan/commit/19b5375e101cebe11aad5f0cce25eeafe168badb) >> >> >> >> >>> * add dep resolver to the list of behaviours >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> (https://github.com/ericbmerritt/sinan/commit/9f4bc60f01c558d5499622cc4a7c3eed24bb7141) >> >> >> >> >>> * factor out duplicate code in cucumber tests >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> (https://github.com/ericbmerritt/sinan/commit/6543a28d7c8a4d136e8cdb767aa195eb30ffb215) >> >> >> >> >>> * support explicitly targeting features in the >> >> >> >> >>> cucumber >> >> >> >> >>> task >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> (https://github.com/ericbmerritt/sinan/commit/665e3446588399ce3d7fbd4537fe944967fe489e) >> >> >> >> >>> * modules build in dependency order >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> (https://github.com/ericbmerritt/sinan/commit/74a88152f1faad1f56d6776e8ef636bba3fd427f) >> >> >> >> >>> * remove no longer needed information from >> >> >> >> >>> sin_task_build >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> (https://github.com/ericbmerritt/sinan/commit/77553b6ee8dc1bcdb1a079746c624cf732935600) >> >> >> >> >>> * move metadata build out and copying to the build >> >> >> >> >>> task >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> (https://github.com/ericbmerritt/sinan/commit/3ed7e8931c766534d73e74f8a7a271686fa76341) >> >> >> >> >>> * add more docs to the release task >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> (https://github.com/ericbmerritt/sinan/commit/79f613d31256fe901530fd6768c6da60a154f3aa) >> >> >> >> >>> * add type information to the app file >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> (https://github.com/ericbmerritt/sinan/commit/2b25e19934591b45377ac5da75a0c611f52776cc) >> >> >> >> >>> * move contents of internal.hrl to sinan.hrl >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> (https://github.com/ericbmerritt/sinan/commit/7cf4f5a1d36ecc15deb40a0a8ce22a1b2a1eac36) >> >> >> >> >>> * remove invalid mode comment from README >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> (https://github.com/ericbmerritt/sinan/commit/03243fd800d725b4c0570a24a783c56395134ddb) >> >> >> >> >>> * fix sin_shell so that it works in the new escript >> >> >> >> >>> world >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> (https://github.com/ericbmerritt/sinan/commit/4a1ca177ba9e672f53289f5d4b5bf1c0a6894efd) >> >> >> >> >>> * remove sasl from sinan manual start function >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> (https://github.com/ericbmerritt/sinan/commit/2805c5eabb1d358e49b72ad08bac2db050a06d59) >> >> >> >> >>> * remove dependencies on ewlib and ewrepo >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> (https://github.com/ericbmerritt/sinan/commit/1e6d2556e19545c2f036bf3d43e6f8f8f83db286) >> >> >> >> >>> * version bump to 2.0.0 >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> (https://github.com/ericbmerritt/sinan/commit/7a44f807c8c8619fbae37fa020d492fd75b11e4d) >> >> >> >> >>> >> >> >> >> >>> -- >> >> >> >> >>> 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.
