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
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to