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

erlang 18.0 compatibility: type dict(), queue() undefined [JIRA: CLIENTS-524] #220

Closed
p5n opened this issue Jul 22, 2015 · 5 comments
Closed

Comments

@p5n
Copy link

p5n commented Jul 22, 2015

making this project as ejabberd dependency produces

ejabberd/trunk/src/ejabberd-15.06/deps/riakc/src/riakc_obj.erl:287: type dict() undefined

ejabberd/trunk/src/ejabberd-15.06/deps/riakc/src/riakc_pb_socket.erl:120: type queue() undefined

@Basho-JIRA Basho-JIRA changed the title erlang 18.0 compatibility: type dict(), queue() undefined erlang 18.0 compatibility: type dict(), queue() undefined [JIRA: CLIENTS-524] Jul 22, 2015
@danieldreier
Copy link

I'm also seeing problems with erlang 18; tests fail as run using ./rebar ct but I don't know enough erlang to figure out why. I tried simply bumping the allowed version in rebar.config but that obviously wasn't enough.

edit: I believe the problems I ran into were actually related to #221 rather than necessarily erlang 18.

@mremond
Copy link

mremond commented Oct 14, 2015

When trying to build master, I get:

MacBook-Pro-de-Mickael:riak-erlang-client mremond$ make
./rebar get-deps
==> riak-erlang-client (get-deps)
Pulling riak_pb from {git,"git://github.com/basho/riak_pb",{tag,"2.1.0.2"}}
Cloning into 'riak_pb'...
==> riak_pb (get-deps)
Pulling protobuffs from {git,"git://github.com/basho/erlang_protobuffs.git",
                             {tag,"0.8.1p5"}}
Cloning into 'protobuffs'...
==> protobuffs (get-deps)
Pulling meck from {git,"git://github.com/basho/meck.git",{tag,"0.8.2"}}
Cloning into 'meck'...
==> meck (get-deps)
./rebar compile
==> meck (pre_compile)
==> meck (compile)
ERROR: OTP release 18 does not match required regex R15|R16|17
ERROR: compile failed while processing /Users/mremond/tmp/riak-erlang-client/deps/meck: rebar_abort
make: *** [compile] Error 1

@binarytemple
Copy link

+1

@binarytemple
Copy link

@danieldreier can you clarify the reason why you think the problem might be related to rebar not being rebar3 - as opposed to the rebar.conf / syntax not being compatible with Erlang 18 ?

@lukebakken lukebakken added this to the riak-erlang-client-2.1.2 milestone May 19, 2016
@lukebakken lukebakken self-assigned this May 19, 2016
@lukebakken
Copy link
Contributor

Fixed by 89e630a

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

No branches or pull requests

6 participants