willemdj / erlsom

XML parser for Erlang
GNU Lesser General Public License v3.0
266 stars 103 forks source link

Build is broken on macOS: escript: exception error: undefined function rebar:main/1 #91

Closed barracuda156 closed 1 year ago

barracuda156 commented 1 year ago
--->  Configuring erlsom
--->  Building erlsom
Executing:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_erlang_erlsom/erlsom/work/erlsom-e00d2c7426fe7a8c49f8959da38a11d21b8b2168" && /usr/bin/make -j6 -w all CC="/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_erlang_erlsom/erlsom/work/compwrap/cc/opt/local/bin/gcc-mp-12" CXX="/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_erlang_erlsom/erlsom/work/compwrap/cxx/opt/local/bin/g++-mp-12" OBJC="/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_erlang_erlsom/erlsom/work/compwrap/objc/opt/local/bin/gcc-mp-12" OBJCXX="/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_erlang_erlsom/erlsom/work/compwrap/objcxx/opt/local/bin/g++-mp-12" FC="/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_erlang_erlsom/erlsom/work/compwrap/fc/opt/local/bin/gfortran-mp-12" F77="/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_erlang_erlsom/erlsom/work/compwrap/f77/opt/local/bin/gfortran-mp-12" F90="/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_erlang_erlsom/erlsom/work/compwrap/f90/opt/local/bin/gfortran-mp-12" INSTALL="/usr/bin/install -c" 
make: Entering directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_erlang_erlsom/erlsom/work/erlsom-e00d2c7426fe7a8c49f8959da38a11d21b8b2168'
escript: exception error: undefined function rebar:main/1
  in function  escript:run/2 (escript.erl, line 750)
  in call from escript:start/1 (escript.erl, line 277)
  in call from init:start_em/1 
  in call from init:do_boot/3 
make: *** [compile] Error 127
barracuda156 commented 1 year ago

OK, it is provided rebar is broken. With rebar3 it builds fine.

willemdj commented 1 year ago

ok, thanks for letting this know.