Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile error in branch develop2.2 #393

Open
LintianShi opened this issue Feb 22, 2020 · 1 comment
Open

Compile error in branch develop2.2 #393

LintianShi opened this issue Feb 22, 2020 · 1 comment

Comments

@LintianShi
Copy link

I am trying to compile riak-2.2.3 on Ubuntu 16.04, but when compiling riakc there are some errors.
I am not familiar with erlang. Can anybody tell me what wrong it happened?
It uses {riakc, ".*", {git, "git://github.com/basho/riak-erlang-client", {branch, "develop-2.2"}}}

==> riakc (compile)
Compiling /home/slt/riak-2.2.3/deps/riakc/src/riakc_pb_socket.erl failed:
/home/slt/riak-2.2.3/deps/riakc/src/riakc_pb_socket.erl:1587: field node_confirms undefined in record rpbputreq
/home/slt/riak-2.2.3/deps/riakc/src/riakc_pb_socket.erl:1649: field node_confirms undefined in record rpbcounterupdatereq
/home/slt/riak-2.2.3/deps/riakc/src/riakc_pb_socket.erl:1586: variable 'NCOpt' is unused
/home/slt/riak-2.2.3/deps/riakc/src/riakc_pb_socket.erl:1648: variable 'NodeConfirms' is unused
ERROR: compile failed while processing /home/slt/riak-2.2.3/deps/riakc: rebar_abort

1585: put_options([{node_confirms, NodeConfirms} | Rest], Req) ->
1586: NCOpt = riak_pb_kv_codec:encode_quorum(NodeConfirms),
1587 put_options(Rest, Req#rpbputreq{node_confirms = NCOpt});

1548: counter_incr_options([{node_confirms, NodeConfirms} | Rest], Req) ->
1549: counter_incr_options(Rest, Req#rpbcounterupdatereq{node_confirms=riak_pb_kv_codec:encode_quorum(NodeConfirms)});

@LintianShi
Copy link
Author

my erlang version is R16B02_basho10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant