mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
Original bug exposes some kind of a race in erlang process. It's not clear if 'epmd & exit' an unsafe construct or not. I'm assuming it's not safe. Let's see if it helps. Reported-by: Agostino Sarubbo Bug: https://bugs.gentoo.org/727344 Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
14 lines
512 B
Diff
14 lines
512 B
Diff
Avoid exec/SIGCHLD race in daemon fork.
|
|
Let's see if it fixes race seen in https://bugs.gentoo.org/727344
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -280,7 +280,7 @@ test_elixir: test_stdlib test_ex_unit test_logger test_mix test_eex test_iex
|
|
|
|
test_stdlib: compile
|
|
@ echo "==> elixir (ex_unit)"
|
|
- $(Q) exec epmd & exit
|
|
+ $(Q) epmd -daemon
|
|
$(Q) if [ "$(OS)" = "Windows_NT" ]; then \
|
|
cd lib/elixir && cmd //C call ../../bin/elixir.bat -r "test/elixir/test_helper.exs" -pr "test/elixir/**/$(TEST_FILES)"; \
|
|
else \
|