tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: brokenness from erlang update



Adam <adam%netbsd.org@localhost> writes:

>> jose has a newer release (1.11.10 vs 1.11.2), but I get essentially the
>> same crash:
>> 
>>  Runtime terminating during boot
>> ({undef,[{file,pid2name,[<0.79.0>],[]},{erl_eval,do_apply,7,[{file,"erl_eval.erl"},{line,900}]},{erl_eval,expr,6,[{file,"erl_eval.erl"},{line,648}]},{erl_eval,exprs,6,[{file,"erl_eval.erl"},{line,271}]},{erl_eval,eval_lc1,7,[{file,"erl_eval.erl"},{line,929}]},{erl_eval,eval_generate,8,[{file,"erl_eval.erl"},{line,1003}]},{erl_eval,eval_lc,7,[{file,"erl_eval.erl"},{line,917}]},{erl_eval,exprs,6,[{file,"erl_eval.erl"},{line,271}]}]})
>> 
>>  Crash dump is being written to: erl_crash.dump...done
>>  gmake[1]: *** [erlang.mk:5414: jose.d] Error 1
>>  gmake: *** [erlang.mk:5197: app] Error 2
>
> Fixed. With some pain in the ****, but fixed. :]

Thanks!  (I think that's just what happens when one updates to a new
major release without waiting until all the other packaging systems to
update and provoke fixed releases of erlang-foo.)

Now, ejabberd fails to build.  I've rebuilt rebar.

It may be that all erlang packages need a revbump; I don't know if there
is any inherited dependency on OTP version -- I see complaints about old
BEAM.
I'm rebuilding more, but that's a clue about revbump, if it fixes it.


=> Checking for portability problems in extracted files
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c -o gdt -g users
checking for a sed that does not truncate output... /usr/bin/sed
checking for x86_64--netbsd-erl... no
checking for erl... /usr/pkg/bin/erl
checking for x86_64--netbsd-erlc... no
checking for erlc... /usr/pkg/bin/erlc
checking for x86_64--netbsd-epmd... no
checking for epmd... /usr/pkg/bin/epmd
checking for x86_64--netbsd-erl... /usr/pkg/bin/erl
checking for x86_64--netbsd-erlc... /usr/pkg/bin/erlc
checking for Erlang/OTP root directory... /usr/pkg/lib/erlang
checking for escript... /usr/pkg/lib/erlang/bin/escript
checking for make... make
checking Erlang/OTP version... ok
allow this system group to start ejabberd: ejabberd
allow this system user to start ejabberd: ejabberd
configure: creating ./config.status
config.status: creating Makefile
config.status: creating vars.config
===> Building for ejabberd-22.05nb2
escript: exception error: undefined function rebar:main/1
  in function  escript:run/2 (escript.erl, line 904)
  in call from escript:start/1 (escript.erl, line 418)
  in call from init:start_it/1 
  in call from init:start_em/1 
  in call from init:do_boot/3 
escript: exception error: undefined function rebar:main/1
  in function  escript:run/2 (escript.erl, line 904)
  in call from escript:start/1 (escript.erl, line 418)
  in call from init:start_it/1 
  in call from init:start_em/1 
  in call from init:do_boot/3 
/usr/pkg/lib/erlang/bin/escript rebar skip_deps=true compile
=ERROR REPORT==== 21-Aug-2024::13:11:23.462760 ===
beam/beam_load.c(206): Error loading module rebar:
  This BEAM file was compiled for an old version of the runtime system.
  To fix this, please re-compile this module with Erlang/OTP 24 or later.



escript: exception error: undefined function rebar:main/1
  in function  escript:run/2 (escript.erl, line 904)
  in call from escript:start/1 (escript.erl, line 418)
  in call from init:start_it/1 
  in call from init:start_em/1 
  in call from init:do_boot/3 
gmake: *** [Makefile:158: src] Error 127
*** Error code 2




Home | Main Index | Thread Index | Old Index