Hi Jared,

Sorry for not responding earlier - we are doing a push today and bit crazy.  I will work on getting the output to you via pastbin over the weekend after things have settled down a bit.

Just to give you a recap - here is the rebar.config we are using that resulted in the situation on two dev machines and our test instance.  We have since rolled back.  We are using rebar get-deps to do the pulling, so whatever these configs (which I think are common) pull is what we are pulling.  We are not pulling directly.  The issue is with the protobuffs repo that the riak-erlang-client is subsequently pulling when it is being made.

Still, as soon as I can, I will get you the logs.


%% -*- erlang -*-

{compile_pre_script, "scripts/generate-include.sh"}.
{erl_opts, [debug_info, {parse_transform, lager_transform}]}.
{deps, [{riakc, ".*", {git, "git://github.com/basho/riak-erlang-client.git", {branch, "HEAD"}}},
       {mochiweb, ".*", {git, "git://github.com/mochi/mochiweb.git", {branch, "HEAD"}}},
       {lager, ".*", {git, "git://github.com/basho/lager.git", {branch, "HEAD"}}},
       {erlydtl, ".*", {git, "git://github.com/evanmiller/erlydtl.git", {branch, "HEAD"}}}
      ]}.
{cover_enabled, true}.
{eunit_opts, [verbose, {report,{eunit_surefire,[{dir,"."}]}}]}.



Thanks again!

Bryan

On 10/6/11 7:23 PM, Jared Morrow wrote:
Bryan,

I've tried both clean clones and builds of riak and riak-erlang-client and haven't seen any issue.   Can you put your entire output in a gist or pastebin and link it in an email so I can try to see what is happening?

Thanks,
Jared

On Thu, Oct 6, 2011 at 7:00 PM, Bryan Hughes <[email protected]> wrote:
Was able to isolate that the problem is in the protobuffs repo that riak-erlang-client pulls down in its rebar.  Its broken or something.  I was able to copy over an older version of that code and it now builds.

Cheers,
Bryan



On 10/6/11 5:36 PM, Bryan Hughes wrote:
Help!  I did a make clean and got new deps

./rebar get-deps

and then did a make

=INFO REPORT==== 6-Oct-2011::17:29:21 ===
Writing header file to "riakclient_pb.hrl"
ERROR: compile failed while processing /Users/bryan/projects/git/wobblesoft/engineering/herd_server/deps/riakc: {'EXIT',{{badmatch,{ok,{pokemon_pb,[{abstract_code,no_abstract_code}]}}},
        [{protobuffs_compile,output,4},
         {rebar_protobuffs_compiler,compile_each,1},
         {rebar_core,run_modules,4},
         {rebar_core,execute,4},
         {rebar_core,process_dir,4},
         {rebar_core,process_each,5},
         {rebar_core,process_dir,4},
         {rebar_core,process_commands,1}]}}
make: *** [all] Error 1


Here is my rebar.config

%% -*- erlang -*-

{compile_pre_script, "scripts/generate-include.sh"}.
{erl_opts, [debug_info, {parse_transform, lager_transform}]}.
{deps, [{riakc, ".*", {git, "git://github.com/basho/riak-erlang-client.git", {branch, "HEAD"}}},
       {mochiweb, ".*", {git, "git://github.com/mochi/mochiweb.git", {branch, "HEAD"}}},
       {lager, ".*", {git, "git://github.com/basho/lager.git", {branch, "HEAD"}}},
       {erlydtl, ".*", {git, "git://github.com/evanmiller/erlydtl.git", {branch, "HEAD"}}}
      ]}.
{cover_enabled, true}.
{eunit_opts, [verbose, {report,{eunit_surefire,[{dir,"."}]}}]}.


Thanks!
Bryan


_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to