tsloughter / beamup

Install and control active BEAM languages and components
https://tsloughter.github.io/beamup/
Apache License 2.0
40 stars 2 forks source link

`build erlang latest` fails on M1, missing ex_doc #32

Closed kwando closed 2 weeks ago

kwando commented 2 weeks ago
❯ beamup build erlang latest
 ✅ Downloading release source tarball from erlang/otp
Finished download in 11 seconds
 ✅ ./configure --prefix /Users/kwando/Library/Application Support/beamup/erlang/latest (done in 28 seconds)
 ✅ make -j 10 (done in 2 minutes)
 ✅ make -j 10 docs DOC_TARGETS=chunks (done in 6 seconds)
 ✅ make -j 10 install (done in 10 seconds)
 ⢀ make -j 10 install-docs                                                                                                                                                                                                                                stdout: ERL_TOP=/private/var/folders/wv/gx6j3x2s6mx33f3jlx00h1k40000gn/T/otp.eM5NLfnw59sY/unpack/erlang-otp-9f1b71d INSTALLROOT="/Users/kwando/Library/Application Support/beamup/erlang/latest/lib/erlang" PATH=/private/var/folders/wv/gx6j3x2s6mx33f3jlx00h1k40000gn/T/otp.eM5NLfnw59sY/unpack/erlang-otp-9f1b71d/bootstrap/bin:"${PATH}" \
    make RELEASE_ROOT="/Users/kwando/Library/Application Support/beamup/erlang/latest/lib/erlang" release_docs
cd /private/var/folders/wv/gx6j3x2s6mx33f3jlx00h1k40000gn/T/otp.eM5NLfnw59sY/unpack/erlang-otp-9f1b71d/lib && \
     PATH=/private/var/folders/wv/gx6j3x2s6mx33f3jlx00h1k40000gn/T/otp.eM5NLfnw59sY/unpack/erlang-otp-9f1b71d/bin:"${PATH}" ERL_TOP=/private/var/folders/wv/gx6j3x2s6mx33f3jlx00h1k40000gn/T/otp.eM5NLfnw59sY/unpack/erlang-otp-9f1b71d \
     make BUILD_ALL=1 TESTROOT="/Users/kwando/Library/Application Support/beamup/erlang/latest/lib/erlang" release_docs
=== Entering application stdlib
/Applications/Xcode.app/Contents/Developer/usr/bin/make - --jobserver-fds=3,13 -j RELEASE_PATH="/Users/kwando/Library/Application Support/beamup/erlang/latest/lib/erlang"   release_docs_spec 
make[5]: Nothing to be done for `release_docs_spec'.
/Applications/Xcode.app/Contents/Developer/usr/bin/make - --jobserver-fds=3,13 -j RELEASE_PATH="/Users/kwando/Library/Application Support/beamup/erlang/latest/lib/erlang"   release_docs_spec 
 GEN    html/index.html
Could not find ex_doc! 
 ❌ make -j 10 install-docs
Building Erlang for ref=latest id=latest
~ via  v1.22.0 took 2m56s 
❯ beamup --version
beamup 0.4.1
tsloughter commented 2 weeks ago

Ah, thanks, yup, I thought I removed install-docs but guess I never did. I suppose I'll have it skip it and give a message that you can have it run if you install ex_doc.

tsloughter commented 2 weeks ago

Temp fix merged and release made: https://github.com/tsloughter/beamup/releases/tag/v0.4.2