Riak compile error: Module gen_server2 potentially included by two different applications: rabbit_common and riak_core

Brian Rowe rowe at muxspace.com
Wed Jul 27 09:31:31 EDT 2011


Hello,

I had this same problem with a different project (Nitrogen +
Mochiweb). The problem is that in R14B03, there is an additional check
within reltool to prevent duplicate modules from being packaged. IIRC
the best of the kludges was to add an exclude directive in the
reltool.config.

HTH,
Brian



On Wed, Jul 27, 2011 at 3:15 AM, Alvaro Videla <videlalvaro at gmail.com> wrote:
> Hi,
> Yes, the module gen_server2 from riak core is part of RabbitMQ from the days
> the company was part of LShift.
> Why it fails on you I don't know. Are you running both systems in the same
> Erlang VM?
> Probably the Riak guys know more about this issue.
> Cheers,
> Alvaro
>
> On Tue, Jul 26, 2011 at 10:03 PM, Brett Hoerner <brett at bretthoerner.com>
> wrote:
>>
>> Ubuntu 11.04 x86_64
>> Erlang R14B03 (erts-5.8.4) [source] [64-bit] [smp:4:4] [rq:4]
>> [async-threads:0] [kernel-poll:false]
>>
>> Fresh git master checkout, any thoughts?
>>
>> make rel
>>  ... [snip] ...
>> ==> rel (generate)
>> {"init terminating in do_boot","Module gen_server2 potentially
>> included by two different applications: rabbit_common and riak_core."}
>>
>> Crash dump was written to: erl_crash.dump
>> init terminating in do_boot (Module gen_server2 potentially included
>> by two different applications: rabbit_common and riak_core.)
>> make: *** [rel] Error 1
>>
>> Full output: https://gist.github.com/1107843
>>
>> _______________________________________________
>> riak-users mailing list
>> riak-users at lists.basho.com
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>




More information about the riak-users mailing list