t terminati Crash dump is ng in do_boobeing writtt ({undef,[{en tEo: erl_crash.dump...lixir.Kernel.CLI,main,-eMix.start(:permanent, [])-rmix.exs-eMix.Task.run("compile.app", ~w[--compile-path ebin]),[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}) Crash dump is being written to: erl_crash.dump...done make: *** [Makefile:114: lib/eex/ebin/Elixir.EEx.beam] Error 1 make: *** Waiting for unfinished jobs.... done ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_hardened-j4-20220913-110042 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.2.1 * clang/llvm (if any): Python 3.10.7 Available Ruby profiles: [1] ruby27 (with Rubygems) [2] ruby31 (with Rubygems) * Available Rust versions: [1] rust-bin-1.62.1 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17] *) Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm [2] openjdk-bin-17 The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): GNU Make 4.3.90 HEAD of ::gentoo commit 70b616f4f78c749dc4adacdb6d303dcf49b95748 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Tue Sep 13 17:46:47 2022 +0000 2022-09-13 17:46:47 UTC emerge -qpvO dev-lang/elixir [ebuild N ] dev-lang/elixir-1.13.4 USE="-test"
Created attachment 805006 [details] emerge-info.txt
Created attachment 805009 [details] dev-lang:elixir-1.13.4:20220913-181743.log
Created attachment 805012 [details] emerge-history.txt
Created attachment 805015 [details] environment
Created attachment 805018 [details] etc.portage.tar.bz2
Created attachment 805021 [details] temp.tar.bz2
FWIW this happened with make-9999
ci has reproduced this issue with version 1.14.0 - Updating summary.
Indeed, on the same system elixir-1.12.3 still compiles though.
Same problem, Elixir won't compile
(In reply to Toralf Förster from comment #7) > FWIW this happened with make-9999 Indeed, it fails with make-4.4 and compiles just fine with make-4.3
Setting MAKEOPTS=-j1 fixes things, but I don't know if that's the correct solution. Seems to affect elixir-1.12.3 for me here too.
I guess the correct solution starts with logging an upstream bug :)
This is because of the new behaviour of .NOTPARALLEL. At the top of the file... .NOTPARALLEL: compile In Make 4.3, this makes the entire build run serially. In Make 4.4 it's only the dependencies of compile that are run serially when it seems like almost every target needs it/has missing dependencies. Will send a patch upstream, but I think the easiest way to fix this before the next release is just to add -j1 since that is all .NOTPARALLEL is doing :)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ee2e438446594db98a2cecb48f0cd35ff66512a commit 7ee2e438446594db98a2cecb48f0cd35ff66512a Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me> AuthorDate: 2022-11-16 17:42:09 +0000 Commit: Matthew Smith <matthew@gentoo.org> CommitDate: 2022-11-16 18:04:15 +0000 dev-lang/elixir: Fix build with make 4.4 and later Closes: https://bugs.gentoo.org/show_bug.cgi?id=870016 Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me> Closes: https://github.com/gentoo/gentoo/pull/28296 Signed-off-by: Matthew Smith <matthew@gentoo.org> dev-lang/elixir/elixir-1.12.3.ebuild | 1 + dev-lang/elixir/elixir-1.13.3.ebuild | 1 + dev-lang/elixir/elixir-1.13.4.ebuild | 1 + dev-lang/elixir/elixir-1.14.0.ebuild | 1 + .../elixir-1.14.1-make44-parallel-build.patch | 27 ++++++++++++++++++++++ 5 files changed, 31 insertions(+)