From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yann E. MORIN Date: Wed, 13 Aug 2014 21:51:29 +0200 Subject: [Buildroot] [PATCH v3] ejabberd: new package In-Reply-To: References: <1405686837-1418-1-git-send-email-johan.oudinet@gmail.com> <20140806202322.GE1587@free.fr> <20140811103315.GB4364@free.fr> <20140811105005.GC4364@free.fr> Message-ID: <20140813195129.GG3939@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Frank, All, On 2014-08-13 14:48 -0400, Frank Hunleth spake thusly: > On Mon, Aug 11, 2014 at 6:50 AM, Yann E. MORIN wrote: > > Johan, All, > > > > On 2014-08-11 12:33 +0200, Yann E. MORIN spake thusly: > >> On 2014-08-11 11:36 +0200, Johan Oudinet spake thusly: > >> > On Wed, Aug 6, 2014 at 10:23 PM, Yann E. MORIN wrote: > > [--SNIP--] > >> > > And it fails at build time, with a lengthy error message, that I do not > >> > > completely grasp: > >> > > > >> > > /home/ymorin/dev/buildroot/O/host/usr/lib/erlang/bin/escript rebar > >> > > get-deps && :> deps/.got > >> > > ==> rel (get-deps) > >> > > Uncaught error in rebar_core: {'EXIT', > >> > > {badarg, > >> > > >> > Very strange. It looks like the rebar script didn't accept the > >> > get-deps argument. > >> > Could you try with the same defconfig as mine to see if the problem > >> > comes from there. > > [--SNIP--] > >> I'll check in a 32-bit chroot to see if the error is the same. > > > > OK, here's what it has to say when run in a 32-bit sueeze chroot: > > > > ---8<--- > > /home/ymorin/dev/buildroot/O/host/usr/lib/erlang/bin/escript rebar get-deps && :> deps/.got > > Uncaught error in rebar_core: {'EXIT', > > {undef, > > [{crypto,start,[],[]}, > > {rebar,run_aux,2, > > [{file,"src/rebar.erl"},{line,143}]}, > > {rebar,main,1, > > [{file,"src/rebar.erl"},{line,58}]}, > > {escript,run,2, > > [{file,"escript.erl"},{line,752}]}, > > {escript,start,1, > > [{file,"escript.erl"},{line,276}]}, > > {init,start_it,1,[]}, > > {init,start_em,1,[]}]}} > > make[2]: *** [deps/.got] Error 1 > > ---8<--- > > I think that you can get this error if host erlang is compiled without > openssl. Maybe you don't have the openssl headers installed on your > system and Johan does? Ah, good idea. I currently have them installed, but I think I installed them recently. Let me retry a build, once with them installed, once with them uninstalled. Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'