Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911531 - dev-ml/ocaml-ctypes-0.20.1 - Error: Unbound module Bigarray_compat
Summary: dev-ml/ocaml-ctypes-0.20.1 - Error: Unbound module Bigarray_compat
Status: RESOLVED FIXED
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-07-31 18:05 UTC by Toralf Förster
Modified: 2024-06-05 18:23 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.72 KB, text/plain)
2023-07-31 18:05 UTC, Toralf Förster
Details
dev-ml:ocaml-ctypes-0.20.1:20230731-180322.log (dev-ml:ocaml-ctypes-0.20.1:20230731-180322.log,5.47 KB, text/plain)
2023-07-31 18:05 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,141.41 KB, text/plain)
2023-07-31 18:05 UTC, Toralf Förster
Details
environment (environment,25.79 KB, text/plain)
2023-07-31 18:05 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,976 bytes, application/x-xz)
2023-07-31 18:05 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,22.27 KB, application/x-xz)
2023-07-31 18:05 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,1.71 KB, application/x-xz)
2023-07-31 18:05 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,9.18 KB, application/x-xz)
2023-07-31 18:05 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-07-31 18:05:05 UTC
too long lines were shrinked:

ocamlfind  opt -bin-annot -c -o _build/src/ctypes/ctypes_primitives.cmx -package str -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/usr/lib64/ocaml/integers"  -package str -package integers    -I _build/src/cstubs  -I _build/src/ctypes src/ctypes/ctypes_primitives.ml
ocamlfind  ocamlc -package str -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/usr/lib64/ocaml/integers"   -c -o _build/src/ctypes/ctypes_ptr.cmo -I _build/src/cstubs  -I _build/src/ctypes src/ctypes/ctypes_ptr.ml
ocamlfind  ocamlopt -bin-annot -c -o _build/src/ctypes/ctypes_bigarray.cmi -package str -package integers    -principal -short-paths -strict-sequence -g -ccopt "-I/usr/lib64/ocaml/integers" -I _build/src/cstubs  -I _build/src/ctypes src/ctypes/ctypes_bigarray.mli
File "src/ctypes/ctypes_bigarray.mli", line 16, characters 37-57:
16 | val bigarray : int array -> ('a, 'b) Bigarray_compat.kind -> 'l Bigarray_compat.layout ->
                                          ^^^^^^^^^^^^^^^^^^^^
Error: Unbound module Bigarray_compat
make: *** [Makefile.rules:126: _build/src/ctypes/ctypes_bigarray.cmi] Error 2 shuffle=3742537351
 * ERROR: dev-ml/ocaml-ctypes-0.20.1::gentoo failed (compile phase):

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd_merged_usr-20230730-023704

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] 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.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
php cli (if any):
go version go1.20.6 linux/amd64

  HEAD of ::gentoo
commit 3692e02273c8aa4d6c9223fdb86f288b5a5be9eb
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Jul 31 16:46:43 2023 +0000

    2023-07-31 16:46:43 UTC

emerge -qpvO dev-ml/ocaml-ctypes
[ebuild  N    ] dev-ml/ocaml-ctypes-0.20.1  USE="ocamlopt -test"
Comment 1 Toralf Förster gentoo-dev 2023-07-31 18:05:06 UTC
Created attachment 866749 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-07-31 18:05:06 UTC
Created attachment 866750 [details]
dev-ml:ocaml-ctypes-0.20.1:20230731-180322.log
Comment 3 Toralf Förster gentoo-dev 2023-07-31 18:05:08 UTC
Created attachment 866751 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-07-31 18:05:09 UTC
Created attachment 866752 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-07-31 18:05:09 UTC
Created attachment 866753 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-07-31 18:05:10 UTC
Created attachment 866754 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-07-31 18:05:11 UTC
Created attachment 866755 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-07-31 18:05:12 UTC
Created attachment 866756 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2024-06-05 18:23:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67597398df2977f42379813d4292dcf6fc7c3c60

commit 67597398df2977f42379813d4292dcf6fc7c3c60
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2024-06-05 18:22:24 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2024-06-05 18:22:45 +0000

    dev-ml/ocaml-ctypes: fix make
    
    Closes: https://bugs.gentoo.org/911531
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 .../files/ocaml-ctypes-0.20.1-shuffle.patch        | 29 ++++++++++++++++++++++
 dev-ml/ocaml-ctypes/ocaml-ctypes-0.20.1.ebuild     |  7 ++++--
 2 files changed, 34 insertions(+), 2 deletions(-)