Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 866965

Summary: dev-lang/elixir-1.13.4:0 - make: [Makefile:<snip>: .../Elixir.Kernel.beam]<snip> Segmentation fault
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Haelwenn (lanodan) Monnier <contact>
Status: RESOLVED OBSOLETE    
Severity: normal CC: contact, proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/28296
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-lang:elixir-1.13.4:20220827-121331.log
emerge-history.txt
environment
etc.portage.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-08-27 12:47:48 UTC
bin/elixirc --ignore-module-conflict  lib/elixir/unicode/tokenizer.ex -o lib/elixir/ebin;
make[1]: Leaving directory '/var/tmp/portage/dev-lang/elixir-1.13.4/work/elixir-1.13.4'
==> elixir (compile)
cd lib/elixir && ../../bin/elixirc --ignore-module-conflict  "lib/**/*.ex" -o ebin;
make: *** [Makefile:94: lib/elixir/ebin/Elixir.Kernel.beam] Segmentation fault
make: *** Deleting file 'lib/elixir/ebin/Elixir.Kernel.beam'
 * ERROR: dev-lang/elixir-1.13.4::gentoo failed (compile phase):

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-j4-20220827-050006

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
/usr/lib/llvm/14
14.0.6
Python 3.10.6
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.62.1 *
The following VMs are available for generation-2:
*)	OpenJDK 17.0.3_p7 [openjdk-17]
Available Java Virtual Machines:
  [1]   openjdk-17  system-vm

php cli:
  [1]   php8.1 *

  HEAD of ::gentoo
commit 69b7e62d95248edd0a610a18e79272781e3ec9b1
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Aug 27 11:31:53 2022 +0000

    2022-08-27 11:31:52 UTC

emerge -qpvO dev-lang/elixir
[ebuild  N    ] dev-lang/elixir-1.13.4  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2022-08-27 12:47:49 UTC
Created attachment 801487 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-08-27 12:47:50 UTC
Created attachment 801490 [details]
dev-lang:elixir-1.13.4:20220827-121331.log
Comment 3 Toralf Förster gentoo-dev 2022-08-27 12:47:51 UTC
Created attachment 801493 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-08-27 12:47:52 UTC
Created attachment 801496 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-08-27 12:47:53 UTC
Created attachment 801499 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-08-27 12:47:55 UTC
Created attachment 801502 [details]
temp.tar.bz2
Comment 7 Matthew Smith gentoo-dev 2022-11-15 21:37:14 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 8 Haelwenn (lanodan) Monnier 2024-06-06 11:00:25 UTC
Version removed since