erlware / relx

Sane, simple release creation for Erlang
http://erlware.github.io/relx
Apache License 2.0
694 stars 232 forks source link

Release knows about mnesia during the build, but then reports it as "undefined application". #603

Open CarlWright opened 6 years ago

CarlWright commented 6 years ago

report-27jul17.txt debug-report-27jul17.txt

rebar.config.txt

Included in my application are two separate .app files that identify mnesia as a dependency.

When I "rebar3 release", it shows mnesia is needed and shows it as available, but then finishes by saying that it is an "Undefined application". Mmesia is understandably missing from the finished release.

Carl A. Wright

lrascao commented 6 years ago

weird, can you check that /usr/lib/erlang/lib/mnesia-4.13 is a valid otp app?

CarlWright commented 6 years ago

Luis,

The directory and the code for mnesia-4.13 are where you expected.

If I do application:load(mnesia) at the console, I get "ok".

Does that show that it is a valid opt app?

Carl

On Fri, Jul 28, 2017 at 7:31 PM, Luis Rascão notifications@github.com wrote:

weird, can you check that /usr/lib/erlang/lib/mnesia-4.13 is a valid otp app?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/erlware/relx/issues/603#issuecomment-318784564, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHXJwsu_zSjszNcZhOzzYeieSpRNHbfks5sSm9UgaJpZM4OnAjJ .

--

Carl A. Wright Service Level LLC +1 734-827-2000 ext. 15 (voice) +1 734-645-0670 (mobile) +1 734-827-2200 (fax)

http://www.servicelevel.net/ http://www.linkedin.com/in/carlwright

lrascao commented 6 years ago

it does, i think we discussed this last time around but is there a simple public app where this issue is reproducible?