Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870016 - dev-lang/elixir-1.14.0 with make-4.4: - make: [Makefile:<snip>: .../Elixir.EEx.beam] Error 1
Summary: dev-lang/elixir-1.14.0 with make-4.4: - make: [Makefile:<snip>: .../Elixir.EE...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Haelwenn (lanodan) Monnier
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 879081
  Show dependency tree
 
Reported: 2022-09-13 18:29 UTC by Toralf Förster
Modified: 2022-11-16 18:05 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.36 KB, text/plain)
2022-09-13 18:29 UTC, Toralf Förster
Details
dev-lang:elixir-1.13.4:20220913-181743.log (dev-lang:elixir-1.13.4:20220913-181743.log,7.96 KB, text/plain)
2022-09-13 18:29 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,35.84 KB, text/plain)
2022-09-13 18:29 UTC, Toralf Förster
Details
environment (environment,23.68 KB, text/plain)
2022-09-13 18:29 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,18.44 KB, application/x-bzip)
2022-09-13 18:29 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,9.64 KB, application/x-bzip)
2022-09-13 18:29 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-09-13 18:29:46 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2022-09-13 18:29:48 UTC
Created attachment 805006 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-13 18:29:49 UTC
Created attachment 805009 [details]
dev-lang:elixir-1.13.4:20220913-181743.log
Comment 3 Toralf Förster gentoo-dev 2022-09-13 18:29:51 UTC
Created attachment 805012 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-13 18:29:52 UTC
Created attachment 805015 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-13 18:29:53 UTC
Created attachment 805018 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-13 18:29:54 UTC
Created attachment 805021 [details]
temp.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-13 18:30:37 UTC
FWIW this happened with make-9999
Comment 8 Agostino Sarubbo gentoo-dev 2022-11-10 12:33:13 UTC
ci has reproduced this issue with version 1.14.0 - Updating summary.
Comment 9 Kobboi 2022-11-10 13:02:17 UTC
Indeed, on the same system elixir-1.12.3 still compiles though.
Comment 10 ignamartinoli 2022-11-13 19:33:21 UTC
Same problem, Elixir won't compile
Comment 11 Kobboi 2022-11-13 21:54:54 UTC
(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
Comment 12 Matthew Smith gentoo-dev 2022-11-14 17:48:37 UTC
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.
Comment 13 Kobboi 2022-11-14 17:49:24 UTC
I guess the correct solution starts with logging an upstream bug :)
Comment 14 Matthew Smith gentoo-dev 2022-11-15 21:43:04 UTC
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 :)
Comment 15 Larry the Git Cow gentoo-dev 2022-11-16 18:05:29 UTC
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(+)