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

Bug 822318

Summary: dev-ml/gsl-ocaml-1.24.3-r1 - Fatal error: exception Sys_error(gsl_include.sexp: No such file or directory)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: CONFIRMED ---    
Severity: normal CC: proteuss, tacvbo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-ml:gsl-ocaml-1.24.3-r1:20211107-173649.log
emerge-history.txt
environment
etc.portage.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-11-07 18:00:48 UTC
       do_sf src/sf.{ml,mli} (exit 2)
(cd _build/default/src && config/do_sf.exe)
Fatal error: exception Sys_error("gsl_include.sexp: No such file or directory")
 * ERROR: dev-ml/gsl-ocaml-1.24.3-r1::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20211102-040008

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 13.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.8
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.56.1
  [2]   rust-1.56.1 *
The following VMs are available for generation-2:
The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit 8a467ca1126a26432862a400ad2b1143e1a78786
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Nov 7 17:06:34 2021 +0000

    2021-11-07 17:06:33 UTC

emerge -qpvO dev-ml/gsl-ocaml
[ebuild  N    ] dev-ml/gsl-ocaml-1.24.3-r1  USE="-ocamlopt"
Comment 1 Toralf Förster gentoo-dev 2021-11-07 18:00:49 UTC
Created attachment 749355 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-11-07 18:00:50 UTC
Created attachment 749358 [details]
dev-ml:gsl-ocaml-1.24.3-r1:20211107-173649.log
Comment 3 Toralf Förster gentoo-dev 2021-11-07 18:00:51 UTC
Created attachment 749361 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-11-07 18:00:53 UTC
Created attachment 749364 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-11-07 18:00:54 UTC
Created attachment 749367 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-11-07 18:00:55 UTC
Created attachment 749370 [details]
temp.tar.bz2
Comment 7 Octavio Ruiz (Ta^3) 2022-01-27 06:07:10 UTC
Same problem here, can't tell why but running twice

dune build @install --profile release

inside dune_src_compile() at dune.eclass

makes the error disappear hence able to install.
Comment 8 Octavio Ruiz (Ta^3) 2022-12-15 03:21:07 UTC
Hi! Is there any update on this? I just hit the bug again and and I discovered that I had already posted a comment with a not-proper-but-functional workaround.
Comment 9 gertoe 2023-03-24 00:24:59 UTC
The issue should be fixed by the already merged PR #31 ("Fix dune rules") https://github.com/mmottl/gsl-ocaml/pull/31 from March 30th 2021. However, there is still no tag/release for the updated source.