colibri@colibri-core ~ % brew install -s erlang
==> Downloading https://ghcr.io/v2/homebrew/core/wxmac/manifests/3.0.5.1_1
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/wxmac/blobs/sha256:95b66fefa42f869430da0597abb27500d551d5f99662e285c4f0d3a9e2800bdf
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:95b66fefa42f869430da0597abb27500d551d5f99662e285c4f0d3a9e2800bdf?se=2021-05-23T08%3A15%3A00Z&s
######################################################################## 100.0%
==> Downloading https://www.erlang.org/download/otp_doc_html_24.0.tar.gz
==> Downloading from http://erlang.org/download/otp_doc_html_24.0.tar.gz
######################################################################## 100.0%
==> Downloading https://github.com/erlang/otp/releases/download/OTP-24.0.1/otp_src_24.0.1.tar.gz
==> Downloading from https://github-releases.githubusercontent.com/374927/851c2280-b983-11eb-8807-475fd4248fef?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH5
######################################################################## 100.0%
==> Installing dependencies for erlang: wxmac
==> Installing erlang dependency: wxmac
==> Pouring wxmac--3.0.5.1_1.big_sur.bottle.tar.gz
🍺 /usr/local/Cellar/wxmac/3.0.5.1_1: 810 files, 52.2MB
==> Installing erlang
==> ./configure --prefix=/usr/local/Cellar/erlang/24.0.1 --enable-dynamic-ssl-lib --enable-hipe --enable-shared-zlib --enable-smp-support --enable-threads --enable-wx --with-ssl=/
==> make
Last 15 lines from /Users/colibri/Library/Logs/Homebrew/erlang/02.make:
< megaco_flex_scanner_drv.flex.src > megaco_flex_scanner_drv_mt.flex
flex -Ca -Pmegaco_flex_scanner_drv -omegaco_flex_scanner_drv.c megaco_flex_scanner_drv.flex
flex -R -Ca --yylineno -Pmegaco_flex_scanner_drv_mt -omegaco_flex_scanner_drv_mt.c megaco_flex_scanner_drv_mt.flex
compiling std driver:
clang -c -DMEGACO_DRV_NAME=\"megaco_flex_scanner_drv\" -fno-common -Werror=return-type -g -O2 -fPIC -fno-common -DOTP_RELEASE -DMFS_FLEX_DEBUG=0 -I/private/tmp/erlang-20210523-57611-1ctzn8v/otp_src_24.0.1/erts/emulator/beam -I/private/tmp/erlang-20210523-57611-1ctzn8v/otp_src_24.0.1/erts/include -I/private/tmp/erlang-20210523-57611-1ctzn8v/otp_src_24.0.1/erts/include/x86_64-apple-darwin20.4.0 -I/private/tmp/erlang-20210523-57611-1ctzn8v/otp_src_24.0.1/erts/include/internal -I/private/tmp/erlang-20210523-57611-1ctzn8v/otp_src_24.0.1/erts/include/internal/x86_64-apple-darwin20.4.0 -I/private/tmp/erlang-20210523-57611-1ctzn8v/otp_src_24.0.1/erts/emulator/sys/unix -I/private/tmp/erlang-20210523-57611-1ctzn8v/otp_src_24.0.1/erts/emulator/sys/common -I/private/tmp/erlang-20210523-57611-1ctzn8v/otp_src_24.0.1/erts/x86_64-apple-darwin20.4.0 -funroll-loops -Wall -DMEGACO_LINENO -o ../../priv/obj/x86_64-apple-darwin20.4.0/megaco_flex_scanner_drv.o megaco_flex_scanner_drv.c
compiling multi-threaded driver:
clang -c -DMEGACO_DRV_NAME=\"megaco_flex_scanner_drv_mt\" -fno-common -Werror=return-type -g -O2 -fPIC -fno-common -DOTP_RELEASE -DMFS_FLEX_DEBUG=0 -I/private/tmp/erlang-20210523-57611-1ctzn8v/otp_src_24.0.1/erts/emulator/beam -I/private/tmp/erlang-20210523-57611-1ctzn8v/otp_src_24.0.1/erts/include -I/private/tmp/erlang-20210523-57611-1ctzn8v/otp_src_24.0.1/erts/include/x86_64-apple-darwin20.4.0 -I/private/tmp/erlang-20210523-57611-1ctzn8v/otp_src_24.0.1/erts/include/internal -I/private/tmp/erlang-20210523-57611-1ctzn8v/otp_src_24.0.1/erts/include/internal/x86_64-apple-darwin20.4.0 -I/private/tmp/erlang-20210523-57611-1ctzn8v/otp_src_24.0.1/erts/emulator/sys/unix -I/private/tmp/erlang-20210523-57611-1ctzn8v/otp_src_24.0.1/erts/emulator/sys/common -I/private/tmp/erlang-20210523-57611-1ctzn8v/otp_src_24.0.1/erts/x86_64-apple-darwin20.4.0 -funroll-loops -Wall -DMEGACO_LINENO -D_THREAD_SAFE -D_REENTRANT -DPOSIX_THREADS -DMEGACO_REENTRANT_FLEX_SCANNER -o ../../priv/obj/x86_64-apple-darwin20.4.0/megaco_flex_scanner_drv_mt.o megaco_flex_scanner_drv_mt.c
make[5]: *** [../../ebin/megaco_flex_scanner.beam] Segmentation fault: 11
make[5]: *** Waiting for unfinished jobs....
make[5]: *** [../../ebin/megaco_flex_scanner_handler.beam] Segmentation fault: 11
make[4]: *** [opt] Error 2
make[3]: *** [opt] Error 2
make[2]: *** [opt] Error 2
make[1]: *** [opt] Error 2
make: *** [libs] Error 2
READ THIS: https://docs.brew.sh/Troubleshooting
These open issues may also help:
erlang@21 21.3.8.23 https://github.com/Homebrew/homebrew-core/pull/77725
colibri@colibri-core ~ %
Where do I send the installation log(01.configure
and if needed 02.make
)?
2021-05-23 11:17:48 +0300
./configure
--disable-debug
--disable-silent-rules
--prefix=/usr/local/Cellar/erlang/24.0.1
--enable-dynamic-ssl-lib
--enable-hipe
--enable-shared-zlib
--enable-smp-support
--enable-threads
--enable-wx
--with-ssl=/usr/local/opt/openssl@1.1
--without-javac
--enable-darwin-64bit
--enable-kernel-poll
--with-dynamic-trace=dtrace
=== Running configure in /private/tmp/erlang-20210523-78454-1pyowcr/otp_src_24.0.1/erts ===
./configure '--disable-debug' '--disable-silent-rules' '--prefix=/usr/local/Cellar/erlang/24.0.1' '--enable-dynamic-ssl-lib' '--enable-hipe' '--enable-shared-zlib' '--enable-smp-support' '--enable-threads' '--enable-wx' '--with-ssl=/usr/local/opt/openssl@1.1' '--without-javac' '--enable-darwin-64bit' '--enable-kernel-poll' '--with-dynamic-trace=dtrace' --disable-option-checking --cache-file=/dev/null --srcdir="/private/tmp/erlang-20210523-78454-1pyowcr/otp_src_24.0.1/erts"
checking build system type... x86_64-apple-darwin20.4.0
checking host system type... x86_64-apple-darwin20.4.0
checking for gcc... clang
2021-05-23 12:12:47 +0300
make
Makefile:1235: warning: overriding commands for target `dialyzer'
Makefile:510: warning: ignoring old commands for target `dialyzer'
test X"$ERTS_SKIP_DEPEND" = X"true" || (cd erts/emulator && PATH=/private/tmp/erlang-20210523-30020-1ujj30m/otp_src_24.0.1/bootstrap/bin:"${PATH}" ERL_TOP=/private/tmp/erlang-20210523-30020-1ujj30m/otp_src_24.0.1 make generate)
/Library/Developer/CommandLineTools/usr/bin/make -f x86_64-apple-darwin20.4.0/Makefile generate
if utils/gen_git_version x86_64-apple-darwin20.4.0/gen_git_version.mk; then touch beam/erl_bif_info.c; fi
dtrace -h -C -Ibeam -s beam/erlang_dtrace.d -o ./erlang_dtrace.tmp
LANG=C /usr/bin/perl utils/beam_makeops \
-wordsize 64 \
-code-model @CODE_MODEL@ \
-outdir x86_64-apple-darwin20.4.0/opt/jit \
-jit yes \
-DUSE_VM_PROBES=1 \
-emulator /private/tmp/erlang-20210523-30020-1ujj30m/otp_src_24.0.1/lib/compiler/src/genop.tab beam/predicates.tab beam/generators.tab beam/jit/x86/ops.tab beam/jit/x86/predicates.tab beam/jit/x86/generators.tab && echo /private/tmp/erlang-20210523-30020-1ujj30m/otp_src_24.0.1/lib/compiler/src/genop.tab beam/predicates.tab beam/generators.tab beam/jit/x86/ops.tab beam/jit/x86/predicates.tab beam/jit/x86/generators.tab utils/beam_makeops x86_64-apple-darwin20.4.0/Makefile >x86_64-apple-darwin20.4.0/opt/jit/OPCODES-GENERATED
LANG=C /usr/bin/perl utils/make_tables -src x86_64-apple-darwin20.4.0/opt/jit -include x86_64-apple-darwin20.4.0/opt/jit\
-dst no -jit yes\