-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Closed
Description
Elixir and Erlang/OTP versions
Erlang/OTP 27 [erts-15.2.7.1] [source] [64-bit] [smp:10:10] [ds:10:10:10] [async-threads:1] [jit]
Elixir 1.19.1 (compiled with Erlang/OTP 27)
Operating system
MacOS
Current behavior
❯ make docs
==> ex_doc (elixir)
CANONICAL= bin/elixir ../ex_doc/bin/ex_doc "Elixir" "1.19.3" "lib/elixir/ebin" --main "Kernel" --source-url "https://github.com/elixir-lang/elixir" --source-ref "" --logo lib/elixir/pages/images/logo.png --output doc/elixir --canonical "https://hexdocs.pm/elixir/" --homepage-url "https://elixir-lang.org/docs.html" --config "lib/elixir/scripts/elixir_docs.exs"
16:58:23.729 [error] beam/beam_load.c(180): Error loading module 'Elixir':
module name in object code is elixir
16:58:23.903 [error] beam/beam_load.c(180): Error loading module 'Elixir.PATH':
module name in object code is 'Elixir.Path'
16:58:23.914 [error] beam/beam_load.c(180): Error loading module 'Elixir.PORT':
module name in object code is 'Elixir.Port'
View "html" docs at "doc/elixir/index.html"
View "epub" docs at "doc/elixir/Elixir.epub"
bin/elixir lib/elixir/scripts/docs_config.exs "elixir"
fatal: not a git repository (or any of the parent directories): .git
** (MatchError) no match of right hand side value:
{"", 128}
lib/elixir/scripts/docs_config.exs:7: (file)
(elixir 1.19.3) lib/code.ex:1613: Code.require_file/2
make: *** [docs_elixir] Error 1besides the beam_load.c errors, you can see the crash of lib/elixir/scripts/docs_config.exs.
The culprit is that it expects a Git repo to be present and it is not there.
What it is trying to do it to obtain a list of Elixir releases from the Git tags.
A possible solution would be to build a list of Elixir versions and store it in a VERSIONS file, and read from it.
Expected behavior
Not to crash
Metadata
Metadata
Assignees
Labels
No labels