Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914063 - dev-ml/core_unix-0.16.0-r1 - Failed to run command: dune build @install --display=short --profile release -j 5
Summary: dev-ml/core_unix-0.16.0-r1 - Failed to run command: dune build @install --dis...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-12 19:59 UTC by Toralf Förster
Modified: 2024-06-08 10:04 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.65 KB, text/plain)
2023-09-12 19:59 UTC, Toralf Förster
Details
dev-ml:core_unix-0.16.0-r1:20230912-122054.log (dev-ml:core_unix-0.16.0-r1:20230912-122054.log,27.83 KB, text/plain)
2023-09-12 19:59 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,144.72 KB, text/plain)
2023-09-12 19:59 UTC, Toralf Förster
Details
environment (environment,61.96 KB, text/plain)
2023-09-12 19:59 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,788 bytes, application/x-xz)
2023-09-12 19:59 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,19.08 KB, application/x-xz)
2023-09-12 19:59 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,17.92 KB, application/x-xz)
2023-09-12 19:59 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 2023-09-12 19:59:34 UTC
      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"
Comment 1 Toralf Förster gentoo-dev 2023-09-12 19:59:35 UTC
Created attachment 870404 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-09-12 19:59:36 UTC
Created attachment 870405 [details]
dev-ml:core_unix-0.16.0-r1:20230912-122054.log
Comment 3 Toralf Förster gentoo-dev 2023-09-12 19:59:37 UTC
Created attachment 870406 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-09-12 19:59:38 UTC
Created attachment 870407 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-09-12 19:59:39 UTC
Created attachment 870408 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-09-12 19:59:40 UTC
Created attachment 870409 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-09-12 19:59:41 UTC
Created attachment 870410 [details]
temp.tar.xz
Comment 8 Chicago 2024-02-15 23:46:25 UTC
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
Comment 9 Tupone Alfredo gentoo-dev 2024-06-07 21:00:06 UTC
It is a SEGV from the gcc compiler. Try a better one
Comment 10 Toralf Förster gentoo-dev 2024-06-07 21:19:51 UTC
(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?
Comment 11 Tupone Alfredo gentoo-dev 2024-06-08 10:04:31 UTC
(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