ocamlc lock_file_blocking/src/lock_file_blocking.cma ocamlc time_ns_unix/src/.time_ns_unix.objs/byte/time_ns_unix.{cmo,cmt} ocamlc time_ns_unix/src/time_ns_unix.cma ocamlc linux_ext/src/.linux_ext.objs/byte/linux_ext.{cmo,cmt} ocamlc linux_ext/src/linux_ext.cma * ERROR: dev-ml/core_unix-0.16.0-r1::gentoo failed (compile phase): * Failed to run command: dune build @install --display=short --profile release -j 5 * * Call stack: ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome_systemd_merged_usr-20230909-201520 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 16.0.6 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/16/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/16 16.0.6 Python 3.11.5 Available Rust versions: [1] rust-1.72.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17] *) Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm [2] openjdk-bin-17 php cli (if any): go version go1.21.1 linux/amd64 HEAD of ::gentoo commit ae8bc071433b2c133087099d96e4ed0d53f5dcc3 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Tue Sep 12 10:31:39 2023 +0000 2023-09-12 10:31:38 UTC emerge -qpvO dev-ml/core_unix [ebuild N ] dev-ml/core_unix-0.16.0-r1 USE="-ocamlopt"
Created attachment 870404 [details] emerge-info.txt
Created attachment 870405 [details] dev-ml:core_unix-0.16.0-r1:20230912-122054.log
Created attachment 870406 [details] emerge-history.txt
Created attachment 870407 [details] environment
Created attachment 870408 [details] etc.clang.tar.xz
Created attachment 870409 [details] etc.portage.tar.xz
Created attachment 870410 [details] temp.tar.xz
Hi Toralf, I ran into this bug today too. The error a little further up in the scrollback shows: File "command_test_helpers/test/src/.command_test_helpers_test.objs/native/_unknown_", line 1, characters 0-0: ocamlopt command_test_helpers/test/src/.command_test_helpers_test.objs/native/command_test_helpers_test__Test_command_test_helpers.{cmx,o} (exit 2) >> Fatal error: Compilation unit = Sexp_pretty Cannot find symbol camlSexp_pretty__pretty_string_10394_closure Fatal error: exception Misc.Fatal_error There aren't any packages depending on this package here that I actually need today. ## equery depends dev-ml/core_unix * These packages depend on dev-ml/core_unix: dev-ml/async-0.16.0 (dev-ml/core_unix:0/0.16) dev-ml/async_unix-0.16.0 (dev-ml/core_unix:0/0.16) dev-ml/core_bench-0.16.0 (dev-ml/core_unix:0/0.16) dev-ml/textutils-0.16.0 (dev-ml/core_unix:0/0.16) ## equery depends dev-ml/textutils * These packages depend on dev-ml/textutils: dev-ml/async-0.16.0 (dev-ml/textutils:0/0.16) dev-ml/core_bench-0.16.0 (dev-ml/textutils:0/0.16) My solution was to do this: emerge --unmerge dev-ml/core_bench dev-ml/textutils dev-ml/async dev-ml/async_unix dev-ml/core_unix Also, I did not find any open or closed bugs upstream, https://github.com/janestreet/core_unix/issues and the same error happened whether I built with the java-vm system-vm set to openjdk-21 (initially, I'd attempted to build with openjdk-17). After unmerging the above, there are a plethora of dev-ml/ packages which can also be purged by depclean. -goodluck
It is a SEGV from the gcc compiler. Try a better one
(In reply to Tupone Alfredo from comment #9) > It is a SEGV from the gcc compiler. Try a better one Isn't it then better a bug for toolchain than closing it?
(In reply to Toralf Förster from comment #10) > (In reply to Tupone Alfredo from comment #9) > > It is a SEGV from the gcc compiler. Try a better one > > Isn't it then better a bug for toolchain than closing it? Well, that compiler is no more available. Maybe I should have closed with OBSOLETE If you find again with the newer gcc reopen and assign to toolchain