On 1/16/23 19:39, Stuart Henderson wrote:
noticed while testing:
: ===> Building for elixir-1.14.3
: Can't open /usr/obj/ports/elixir-1.14.3/elixir-1.14.3/rebar.config: No such
file or directory.
I presume this is unimportant and can be ignored?
That's coming from erlang.port.mk pre-build:
[...]
. if ! target(pre-build)
pre-build:
@cp -f ${REBAR_BIN} ${WRKSRC}/rebar
@perl -pi -e 'BEGIN{undef $$/;} s/{deps,.*?]}.//smg'
${WRKSRC}/rebar.config
. endif
.endif
[...]
Elixir doesn't use rebar3 to build, it's just pulled in via
erlang.port.mk by default, because CONFIGURE_STYLE is empty.
Hence, no rebar.config
Should we add /usr/local/lib/erlang25/bin/epmd to the path for tests
or something, or just ignore this?
epmd is a port mapper daemon used for peer discovery. It's started
automatically when you invoke 'erl' (see rabbitmq), and there's no epmd
already running. It doesn't seem to be needed for tests to pass, so I
wouldn't consider it important here.
On a side note, I've seen that both FreeBSD and Debian install an epmd
rc script with their erlang packages, to run it system-wide ... I wanted
to look into that option for the erlang port. Unrelated to lang/elixir,
but I might send a diff to lang/erlang about that soonish.