jlouis / etorrent

Erlang Bittorrent Client
BSD 2-Clause "Simplified" License
295 stars 50 forks source link

make rel fail, due module name conflicts #115

Closed baryluk closed 13 years ago

baryluk commented 13 years ago

Strange, but rebar or some general OTP application structure have problem.

rebar generate
==> rel (generate)
{"init terminating in do_boot","Module array potentially included by two different applications: stdlib and wings."}

In fact yes, application wings have module array, which "overrides" stdlib's one (i guess it is have some performance hacks there). However I do not see why etorrent is even looking into wings application. It is not referenced directly or indirectly by any of apps in ettorrent, so it shouldn't be copied into rel.

Any ideas (beside removing wings application from system).

Maybe be a rebar error.

Thanks.

baryluk commented 13 years ago

I notified wings maintainer, to remove this module, and merge it into upstream stdlib. Howerer still wonder why rebar makes a problem here.

jlouis commented 13 years ago

It may be a problem with wings, with reltool or with rebar. The problem is if it tries to package the wrong array module in there. It may be what goes wrong and then all kinds of trouble arrives.

baryluk commented 13 years ago

Ok Will ask rebar folks. Anyway, maintainer of wings, already promised me it will remove this module in near future.