=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> 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
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

Stop.
make[1]: stopped in /usr/pkgsrc/chat/ejabberd
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/chat/ejabberd