Organisationstomjridgekv-hash0b5349 (master)(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2024-05-14 12:40.00: New job: test tomjridge/kv-hash https://github.com/tomjridge/kv-hash.git#refs/heads/master (0b5349dd27ed9a14dc7c1f166afd1ad691bcd9dc) (linux-x86_64:(lower-bound))
Base: ocaml/opam@sha256:35b5e3747440ffe0a1073d1f79222ce868497a689785b29ea7725612647c9c14
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/tomjridge/kv-hash.git" -b "master" && cd "kv-hash" && git reset --hard 0b5349dd
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:35b5e3747440ffe0a1073d1f79222ce868497a689785b29ea7725612647c9c14
# debian-12-4.02_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e 2275b400535e884d216047a092e70705139c9e41 || git fetch origin master) && git reset -q --hard 2275b400535e884d216047a092e70705139c9e41 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 kv_hash.opam ./
RUN opam pin add -yn kv_hash.dev './'
ENV DEPS="base-bigarray.base base-bytes.base base-ocamlbuild.base base-threads.base base-unix.base bin_prot.111.03.00 camlp4.4.02+1 comparelib.109.60.00 conf-m4.1 conf-pkg-config.1.0 conf-which.1 conf-xxhash.1 core.111.25.00 core_kernel.111.25.00 ctypes.0.6.0 custom_printf.111.25.00 dune.2.7.0 enumerate.111.08.00 extunix.0.1.1 fieldslib.109.20.03 fileutils.0.4.4 herelib.109.35.00 logs.0.4.2 lru.0.1.0 oasis.0.4.7 ocaml.4.02.3 ocaml-base-compiler.4.02.3 ocaml-config.1 ocaml-secondary-compiler.4.08.1 ocamlbuild.0 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 ocamlify.0.0.1 ocamlmod.0.0.3 ounit.1.1.2 pa_bench.109.55.02 pa_ounit.109.53.02 pa_test.111.08.00 pipebang.110.01.00 psq.0.1.0 result.1.0 sexplib.111.25.00 topkg.0.7.5 type_conv.111.13.00 typerep.111.17.00 variantslib.109.15.03 xxhash.0.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y kv_hash.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2024-05-14 12:40.00: Using cache hint "tomjridge/kv-hash-ocaml/opam@sha256:35b5e3747440ffe0a1073d1f79222ce868497a689785b29ea7725612647c9c14-debian-12-4.02_opam-2.1-c6254d43c0cd96f9e82798666c9b7fb8"
2024-05-14 12:40.00: Using OBuilder spec:
((from ocaml/opam@sha256:35b5e3747440ffe0a1073d1f79222ce868497a689785b29ea7725612647c9c14)
 (comment debian-12-4.02_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
 (run (shell "opam init --reinit -ni"))
 (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
 (workdir /src)
 (run (shell "sudo chown opam /src"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "cd ~/opam-repository && (git cat-file -e 2275b400535e884d216047a092e70705139c9e41 || git fetch origin master) && git reset -q --hard 2275b400535e884d216047a092e70705139c9e41 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src kv_hash.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn kv_hash.dev './'"))
 (env DEPS "base-bigarray.base base-bytes.base base-ocamlbuild.base base-threads.base base-unix.base bin_prot.111.03.00 camlp4.4.02+1 comparelib.109.60.00 conf-m4.1 conf-pkg-config.1.0 conf-which.1 conf-xxhash.1 core.111.25.00 core_kernel.111.25.00 ctypes.0.6.0 custom_printf.111.25.00 dune.2.7.0 enumerate.111.08.00 extunix.0.1.1 fieldslib.109.20.03 fileutils.0.4.4 herelib.109.35.00 logs.0.4.2 lru.0.1.0 oasis.0.4.7 ocaml.4.02.3 ocaml-base-compiler.4.02.3 ocaml-config.1 ocaml-secondary-compiler.4.08.1 ocamlbuild.0 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 ocamlify.0.0.1 ocamlmod.0.0.3 ounit.1.1.2 pa_bench.109.55.02 pa_ounit.109.53.02 pa_test.111.08.00 pipebang.110.01.00 psq.0.1.0 result.1.0 sexplib.111.25.00 topkg.0.7.5 type_conv.111.13.00 typerep.111.17.00 variantslib.109.15.03 xxhash.0.1")
 (env CI true)
 (env OCAMLCI true)
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam update --depexts && opam install --cli=2.1 --depext-only -y kv_hash.dev $DEPS"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam install $DEPS"))
 (copy (src .) (dst /src))
 (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2024-05-14 12:40.00: Waiting for resource in pool OCluster
2024-05-14 12:40.04: Waiting for worker…
2024-05-14 12:40.04: Got resource from pool OCluster
Building on x86-bm-c14.sw.ocaml.org
All commits already cached
HEAD is now at 0b5349d Rewrite doc; add an "optimistic" log file


(from ocaml/opam@sha256:35b5e3747440ffe0a1073d1f79222ce868497a689785b29ea7725612647c9c14)
Unable to find image 'ocaml/opam@sha256:35b5e3747440ffe0a1073d1f79222ce868497a689785b29ea7725612647c9c14' locally
docker.io/ocaml/opam@sha256:35b5e3747440ffe0a1073d1f79222ce868497a689785b29ea7725612647c9c14: Pulling from ocaml/opam
5c0ba4786982: Pulling fs layer
5c0ba4786982: Download complete
5c0ba4786982: Pull complete
Digest: sha256:35b5e3747440ffe0a1073d1f79222ce868497a689785b29ea7725612647c9c14
Status: Downloaded newer image for ocaml/opam@sha256:35b5e3747440ffe0a1073d1f79222ce868497a689785b29ea7725612647c9c14
2024-05-14 12:41.56 ---> saved as "b6dffe1cb2dc211fda01c1cd73a3d5db708702d4c8b2db8c126627d44ab1e60d"


/: (comment debian-12-4.02_opam-2.1)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-05-14 12:41.56 ---> saved as "9a452941799c622b15528ee7d1d1e16357d59ae5f0b17315ce12b21df449d5d8"


/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from built-in defaults.
Checking for available remotes: rsync and local, git.
  - you won't be able to use mercurial repositories unless you install the hg command on your system.
  - you won't be able to use darcs repositories unless you install the darcs command on your system.


This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, which can't be reverted.
You may want to back it up before going further.


Continue? [Y/n] y
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-05-14 12:43.24 ---> saved as "717cf69f99a63acea8dbfcd7c3d9e8a9118482335247b96af9fab3d00fb86cd4"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.02.3
2.1.5
2024-05-14 12:43.24 ---> saved as "3f061a224fe8929c5ae9851fa3906aa433cef92fbe5109c50f2e63ac47c34a15"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-05-14 12:43.24 ---> saved as "513f4c319d309af7cd8980cb72d82648d7695750a908b72412f455135790947a"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 2275b400535e884d216047a092e70705139c9e41 || git fetch origin master) && git reset -q --hard 2275b400535e884d216047a092e70705139c9e41 && git log --no-decorate -n1 --oneline && opam update -u"))
2275b40053 @dra27 maintains ocaml-secondary-compiler


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository


Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2024-05-14 12:44.48 ---> saved as "b6425a60ee2ca7985fafb6f13ffb38f718548ab6bec76d6fe8b653f299212de5"


/src: (copy (src kv_hash.opam) (dst ./))
2024-05-14 12:44.48 ---> saved as "ba6ba8afe6fca299da41c091bbba5e9b5dd0191109cc174c464c04cb65519425"


/src: (run (network host)
           (shell "opam pin add -yn kv_hash.dev './'"))
Package kv_hash does not exist, create as a NEW package? [Y/n] y
[kv_hash.dev] synchronised (file:///src)
kv_hash is now pinned to file:///src (version dev)
2024-05-14 12:44.50 ---> saved as "3b93d1bdf49fd84ed113d3c3e0f197d620e10c9c3c6bb26d7ad3e6841c22f933"


/src: (env DEPS "base-bigarray.base base-bytes.base base-ocamlbuild.base base-threads.base base-unix.base bin_prot.111.03.00 camlp4.4.02+1 comparelib.109.60.00 conf-m4.1 conf-pkg-config.1.0 conf-which.1 conf-xxhash.1 core.111.25.00 core_kernel.111.25.00 ctypes.0.6.0 custom_printf.111.25.00 dune.2.7.0 enumerate.111.08.00 extunix.0.1.1 fieldslib.109.20.03 fileutils.0.4.4 herelib.109.35.00 logs.0.4.2 lru.0.1.0 oasis.0.4.7 ocaml.4.02.3 ocaml-base-compiler.4.02.3 ocaml-config.1 ocaml-secondary-compiler.4.08.1 ocamlbuild.0 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 ocamlify.0.0.1 ocamlmod.0.0.3 ounit.1.1.2 pa_bench.109.55.02 pa_ounit.109.53.02 pa_test.111.08.00 pipebang.110.01.00 psq.0.1.0 result.1.0 sexplib.111.25.00 topkg.0.7.5 type_conv.111.13.00 typerep.111.17.00 variantslib.109.15.03 xxhash.0.1")


/src: (env CI true)


/src: (env OCAMLCI true)


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam update --depexts && opam install --cli=2.1 --depext-only -y kv_hash.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Fetched 103 kB in 0s (519 kB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[kv_hash.dev] synchronised (no changes)


[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.02.3).
[NOTE] Package ocaml is already installed (current version is 4.02.3).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-ocamlbuild is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).


The following system packages will first need to be installed:
    libxxhash-dev m4 pkg-config


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libxxhash-dev" "m4" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed


2024-05-14 12:45.17 ---> saved as "5cf551f4016d4e3eddee2bdda2b83b6ebb5ce52b8cf259644f66d4f1e6b2a07e"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.02.3).
[NOTE] Package ocaml is already installed (current version is 4.02.3).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-ocamlbuild is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
  - install   conf-m4                  1
  - install   result                   1.0
  - install   ocamlbuild               0
  - install   conf-pkg-config          1.0
  - install   conf-which               1
  - downgrade ocaml-secondary-compiler 4.08.1-1 to 4.08.1
  - install   ocamlfind                1.8.1
  - install   conf-xxhash              1
  - install   topkg                    0.7.5
  - install   ocamlify                 0.0.1
  - install   ocamlfind-secondary      1.8.1
  - install   logs                     0.4.2
  - install   camlp4                   4.02+1
  - install   base-bytes               base
  - install   psq                      0.1.0
  - install   dune                     2.7.0
  - install   type_conv                111.13.00
  - install   pipebang                 110.01.00
  - install   ounit                    1.1.2
  - install   herelib                  109.35.00
  - install   extunix                  0.1.1
  - install   ctypes                   0.6.0
  - install   lru                      0.1.0
  - install   variantslib              109.15.03
  - install   sexplib                  111.25.00
  - install   fieldslib                109.20.03
  - install   enumerate                111.08.00
  - install   comparelib               109.60.00
  - install   bin_prot                 111.03.00
  - install   pa_ounit                 109.53.02
  - install   fileutils                0.4.4
  - install   pa_test                  111.08.00
  - install   typerep                  111.17.00
  - install   pa_bench                 109.55.02
  - install   custom_printf            111.25.00
  - install   ocamlmod                 0.0.3
  - install   core_kernel              111.25.00
  - install   oasis                    0.4.7
  - install   core                     111.25.00
  - install   xxhash                   0.1
===== 39 to install | 1 to downgrade =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlp4.4.02+1  (cached)
-> installed conf-m4.1
-> installed conf-pkg-config.1.0
-> installed conf-which.1
-> retrieved bin_prot.111.03.00  (https://ocaml.janestreet.com/ocaml-core/111.03.00/individual/bin_prot-111.03.00.tar.gz)
-> retrieved comparelib.109.60.00  (https://ocaml.janestreet.com/ocaml-core/109.60.00/individual/comparelib-109.60.00.tar.gz)
-> retrieved core.111.25.00  (https://ocaml.janestreet.com/ocaml-core/111.25.00/individual/core-111.25.00.tar.gz)
-> installed conf-xxhash.1
-> retrieved custom_printf.111.25.00  (https://ocaml.janestreet.com/ocaml-core/111.25.00/individual/custom_printf-111.25.00.tar.gz)
-> retrieved ctypes.0.6.0  (https://github.com/yallop/ocaml-ctypes/archive/0.6.0.tar.gz)
-> retrieved core_kernel.111.25.00  (https://ocaml.janestreet.com/ocaml-core/111.25.00/individual/core_kernel-111.25.00.tar.gz)
-> retrieved dune.2.7.0  (cached)
-> retrieved enumerate.111.08.00  (https://ocaml.janestreet.com/ocaml-core/111.08.00/individual/enumerate-111.08.00.tar.gz)
-> retrieved extunix.0.1.1  (https://download.ocamlcore.org/extunix/ocaml-extunix/0.1.1/ocaml-extunix-0.1.1.tar.gz)
-> retrieved fieldslib.109.20.03  (https://ocaml.janestreet.com/ocaml-core/109.20.00/individual/fieldslib-109.20.03.tar.gz)
-> retrieved herelib.109.35.00  (https://ocaml.janestreet.com/ocaml-core/109.35.00/individual/herelib-109.35.00.tar.gz)
-> retrieved lru.0.1.0  (cached)
-> retrieved oasis.0.4.7  (cached)
-> retrieved logs.0.4.2  (http://erratique.ch/software/logs/releases/logs-0.4.2.tbz)
-> installed ocamlbuild.0
-> retrieved ocamlfind.1.8.1  (cached)
-> retrieved ocamlfind-secondary.1.8.1  (cached)
-> retrieved ocamlify.0.0.1  (cached)
-> retrieved ocaml-secondary-compiler.4.08.1  (cached)
-> retrieved ounit.1.1.2  (cached)
-> retrieved ocamlmod.0.0.3  (https://download.ocamlcore.org/ocamlmod/ocamlmod/0.0.3/ocamlmod-0.0.3.tar.gz)
-> retrieved pa_bench.109.55.02  (https://ocaml.janestreet.com/ocaml-core/109.55.00/individual/pa_bench-109.55.02.tar.gz)
-> retrieved pa_ounit.109.53.02  (https://ocaml.janestreet.com/ocaml-core/109.53.00/individual/pa_ounit-109.53.02.tar.gz)
-> retrieved fileutils.0.4.4  (https://download.ocamlcore.org/ocaml-fileutils/ocaml-fileutils/0.4.4/ocaml-fileutils-0.4.4.tar.gz)
-> retrieved psq.0.1.0  (cached)
-> retrieved result.1.0  (cached)
-> installed result.1.0
-> retrieved pa_test.111.08.00  (https://ocaml.janestreet.com/ocaml-core/111.08.00/individual/pa_test-111.08.00.tar.gz)
-> retrieved pipebang.110.01.00  (https://ocaml.janestreet.com/ocaml-core/110.01.00/individual/pipebang-110.01.00.tar.gz)
-> retrieved topkg.0.7.5  (cached)
-> retrieved sexplib.111.25.00  (https://ocaml.janestreet.com/ocaml-core/111.25.00/individual/sexplib-111.25.00.tar.gz)
-> retrieved type_conv.111.13.00  (https://ocaml.janestreet.com/ocaml-core/111.13.00/individual/type_conv-111.13.00.tar.gz)
-> retrieved xxhash.0.1  (cached)
-> retrieved typerep.111.17.00  (https://ocaml.janestreet.com/ocaml-core/111.17.00/individual/typerep-111.17.00.tar.gz)
-> retrieved variantslib.109.15.03  (https://ocaml.janestreet.com/ocaml-core/109.15.00/individual/variantslib-109.15.03.tar.gz)
-> installed ocamlfind.1.8.1
-> installed base-bytes.base
-> installed logs.0.4.2
-> installed ocamlify.0.0.1
-> installed topkg.0.7.5
-> installed psq.0.1.0
-> installed lru.0.1.0
-> installed ctypes.0.6.0
-> installed camlp4.4.02+1
-> installed pipebang.110.01.00
-> installed herelib.109.35.00
-> installed type_conv.111.13.00
-> installed ounit.1.1.2
-> installed comparelib.109.60.00
-> installed variantslib.109.15.03
-> installed fieldslib.109.20.03
-> installed pa_ounit.109.53.02
-> installed enumerate.111.08.00
-> installed bin_prot.111.03.00
-> installed pa_bench.109.55.02
-> installed fileutils.0.4.4
-> installed extunix.0.1.1
-> installed sexplib.111.25.00
-> installed ocamlmod.0.0.3
-> installed pa_test.111.08.00
-> installed custom_printf.111.25.00
-> installed typerep.111.17.00
-> installed oasis.0.4.7
-> installed xxhash.0.1
-> removed   ocaml-secondary-compiler.4.08.1-1
-> installed ocaml-secondary-compiler.4.08.1
-> installed ocamlfind-secondary.1.8.1
-> installed dune.2.7.0
-> installed core_kernel.111.25.00
[ERROR] The compilation of core.111.25.00 failed at "make".


#=== ERROR while compiling core.111.25.00 =====================================#
# context     2.1.5 | linux/x86_64 | ocaml-base-compiler.4.02.3 | file:///home/opam/opam-repository
# path        ~/.opam/4.02/.opam-switch/build/core.111.25.00
# command     /usr/bin/make
# exit-code   2
# env-file    ~/.opam/log/core-1-e4fd53.env
# output-file ~/.opam/log/core-1-e4fd53.out
### output ###
# ocamlopt.opt -o setup.exe setup.ml || ocamlopt -o setup.exe setup.ml || ocamlc -o setup.exe setup.ml
# File "setup.ml", line 245, characters 8-26:
# Warning 3: deprecated: String.set
# Use Bytes.set instead.
# File "setup.ml", line 2500, characters 6-24:
# Warning 3: deprecated: Lazy.lazy_from_fun
# Use Lazy.from_fun instead.
# rm -f setup.cmx setup.cmi setup.o setup.obj setup.cmo
# ./setup.exe -configure 
# 
# Configuration: 
# ocamlfind: ........................................... /home/opam/.opam/4.02/bin/ocamlfind
# ocamlc: .............................................. /home/opam/.opam/4.02/bin/ocamlc.opt
# ocamlopt: ............................................ /home/opam/.opam/4.02/bin/ocamlopt.opt
# ocamlbuild: .......................................... /home/opam/.opam/4.02/bin/ocamlbuild
# Package name: ........................................ core
# Package version: ..................................... 111.25.00
# os_type: ............................................. Unix
# system: .............................................. linux
# architecture: ........................................ amd64
# ccomp_type: .......................................... cc
# ocaml_version: ....................................... 4.02.3
# standard_library_default: ............................ /home/opam/.opam/4.02/lib/ocaml
# standard_library: .................................... /home/opam/.opam/4.02/lib/ocaml
# standard_runtime: .................................... /home/opam/.opam/4.02/bin/ocamlrun
# bytecomp_c_compiler: ................................. gcc -O -fcommon -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O -fPIC
# native_c_compiler: ................................... gcc -O -fcommon -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT
# model: ............................................... default
# ext_obj: ............................................. .o
# ext_asm: ............................................. .s
# ext_lib: ............................................. .a
# ext_dll: ............................................. .so
# default_executable_name: ............................. a.out
# systhread_supported: ................................. true
# Install architecture-independent files dir: .......... /home/opam/.opam/4.02
# Install architecture-dependent files in dir: ......... $prefix
# User executables: .................................... $exec_prefix/bin
# System admin executables: ............................ $exec_prefix/sbin
# Program executables: ................................. $exec_prefix/libexec
# Read-only single-machine data: ....................... $prefix/etc
# Modifiable architecture-independent data: ............ $prefix/com
# Modifiable single-machine data: ...................... $prefix/var
# Object code libraries: ............................... $exec_prefix/lib
# Read-only arch-independent data root: ................ $prefix/share
# Read-only architecture-independent data: ............. $datarootdir
# Info documentation: .................................. $datarootdir/info
# Locale-dependent data: ............................... $datarootdir/locale
# Man documentation: ................................... $datarootdir/man
# Documentation root: .................................. $datarootdir/doc/$pkg_name
# HTML documentation: .................................. $docdir
# DVI documentation: ................................... $docdir
# PDF documentation: ................................... $docdir
# PS documentation: .................................... $docdir
# findlib_version: ..................................... 1.8.1
# is_native: ........................................... true
# suffix_program: ...................................... 
# Remove a file.: ...................................... rm -f
# Remove a directory.: ................................. rm -rf
# Turn ocaml debug flag on: ............................ true
# Turn ocaml profile flag on: .......................... false
# Compiler support generation of .cmxs.: ............... true
# OCamlbuild additional flags: ......................... 
# Enable linux specific extensions: .................... true
# Enable POSIX timers: ................................. true
# Linux RT Library: .................................... true
# Create documentations: ............................... true
# Compile tests executable and library and run them: ... false
# camlp4o: ............................................. /home/opam/.opam/4.02/bin/camlp4o
# pkg_bigarray: ........................................ /home/opam/.opam/4.02/lib/ocaml
# pkg_bin_prot: ........................................ /home/opam/.opam/4.02/lib/bin_prot
# pkg_bin_prot_syntax: ................................. /home/opam/.opam/4.02/lib/bin_prot
# pkg_comparelib_syntax: ............................... /home/opam/.opam/4.02/lib/comparelib
# pkg_core_kernel: ..................................... /home/opam/.opam/4.02/lib/core_kernel
# pkg_enumerate_syntax: ................................ /home/opam/.opam/4.02/lib/enumerate
# pkg_fieldslib: ....................................... /home/opam/.opam/4.02/lib/fieldslib
# pkg_fieldslib_syntax: ................................ /home/opam/.opam/4.02/lib/fieldslib
# pkg_herelib: ......................................... /home/opam/.opam/4.02/lib/herelib
# pkg_herelib_syntax: .................................. /home/opam/.opam/4.02/lib/herelib
# pkg_pa_bench: ........................................ /home/opam/.opam/4.02/lib/pa_bench
# pkg_pa_bench_syntax: ................................. /home/opam/.opam/4.02/lib/pa_bench
# pkg_pa_ounit: ........................................ /home/opam/.opam/4.02/lib/pa_ounit
# pkg_pa_ounit_syntax: ................................. /home/opam/.opam/4.02/lib/pa_ounit
# pkg_pa_pipebang: ..................................... /home/opam/.opam/4.02/lib/pa_pipebang
# pkg_pa_test: ......................................... /home/opam/.opam/4.02/lib/pa_test
# pkg_pa_test_syntax: .................................. /home/opam/.opam/4.02/lib/pa_test
# pkg_sexplib: ......................................... /home/opam/.opam/4.02/lib/sexplib
# pkg_sexplib_syntax: .................................. /home/opam/.opam/4.02/lib/sexplib
# pkg_sexplib_unix: .................................... /home/opam/.opam/4.02/lib/sexplib_unix
# pkg_unix: ............................................ /home/opam/.opam/4.02/lib/ocaml
# pkg_variantslib: ..................................... /home/opam/.opam/4.02/lib/variantslib
# pkg_variantslib_syntax: .............................. /home/opam/.opam/4.02/lib/variantslib
# pkg_threads: ......................................... /home/opam/.opam/4.02/lib/ocaml
# pkg_compiler_libs: ................................... /home/opam/.opam/4.02/lib/ocaml/compiler-libs
# 
# ./setup.exe -build 
# W: Cannot find source file matching module 'core' in library core
# ocamlfind ocamlopt unix.cmxa -I /home/opam/.opam/4.02/lib/ocaml/ocamlbuild /home/opam/.opam/4.02/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa -linkpkg myocamlbuild.ml /home/opam/.opam/4.02/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
# /home/opam/.opam/4.02/bin/ocamlfind ocamlc -g -I lib -package core_kernel -c lib/backtrace_stubs.c
# mv backtrace_stubs.o lib/backtrace_stubs.o
# /home/opam/.opam/4.02/bin/ocamlfind ocamlc -g -I lib -package core_kernel -c lib/bigstring_stubs.c
# mv bigstring_stubs.o lib/bigstring_stubs.o
# /home/opam/.opam/4.02/bin/ocamlfind ocamlc -g -I lib -package core_kernel -c lib/crc_stubs.c
# mv crc_stubs.o lib/crc_stubs.o
# /home/opam/.opam/4.02/bin/ocamlfind ocamlc -g -I lib -package core_kernel -c lib/iobuf_stubs.c
# mv iobuf_stubs.o lib/iobuf_stubs.o
# /home/opam/.opam/4.02/bin/ocamlfind ocamlc -g -I lib -package core_kernel -c lib/linux_ext_stubs.c
# mv linux_ext_stubs.o lib/linux_ext_stubs.o
# /home/opam/.opam/4.02/bin/ocamlfind ocamlc -g -I lib -package core_kernel -c lib/ocaml_utils_stubs.c
# mv ocaml_utils_stubs.o lib/ocaml_utils_stubs.o
# /home/opam/.opam/4.02/bin/ocamlfind ocamlc -g -I lib -package core_kernel -c lib/recvmmsg.c
# mv recvmmsg.o lib/recvmmsg.o
# /home/opam/.opam/4.02/bin/ocamlfind ocamlc -g -I lib -package core_kernel -c lib/signal_stubs.c
# mv signal_stubs.o lib/signal_stubs.o
# /home/opam/.opam/4.02/bin/ocamlfind ocamlc -g -I lib -package core_kernel -c lib/syslog_stubs.c
# mv syslog_stubs.o lib/syslog_stubs.o
# /home/opam/.opam/4.02/bin/ocamlfind ocamlc -g -I lib -package core_kernel -c lib/timespec.c
# mv timespec.o lib/timespec.o
# /home/opam/.opam/4.02/bin/ocamlfind ocamlc -g -I lib -package core_kernel -c lib/time_stubs.c
# mv time_stubs.o lib/time_stubs.o
# /home/opam/.opam/4.02/bin/ocamlfind ocamlc -g -I lib -package core_kernel -c lib/time_stamp_counter_stubs.c
# mv time_stamp_counter_stubs.o lib/time_stamp_counter_stubs.o
# /home/opam/.opam/4.02/bin/ocamlfind ocamlc -g -I lib -package core_kernel -c lib/unix_stubs.c
# + /home/opam/.opam/4.02/bin/ocamlfind ocamlc -g -I lib -package core_kernel -c lib/unix_stubs.c
# lib/unix_stubs.c: In function 'ml_create_process':
# lib/unix_stubs.c:223:48: warning: typedef 'pipe_end_t' locally defined but not used [-Wunused-local-typedefs]
#   223 |   typedef enum { READ_END = 0, WRITE_END = 1 } pipe_end_t;
#       |                                                ^~~~~~~~~~
# lib/unix_stubs.c: In function 'core_stat_aux_64':
# lib/unix_stubs.c:446:59: error: 'struct stat64' has no member named 'st_atimensec'
#   446 |     atime = caml_copy_double((double) buf->st_atime + (buf->st_atimensec / 1000000000.0f));
#       |                                                           ^~
# lib/unix_stubs.c:447:59: error: 'struct stat64' has no member named 'st_mtimensec'
#   447 |     mtime = caml_copy_double((double) buf->st_mtime + (buf->st_mtimensec / 1000000000.0f));
#       |                                                           ^~
# lib/unix_stubs.c:448:59: error: 'struct stat64' has no member named 'st_ctimensec'
#   448 |     ctime = caml_copy_double((double) buf->st_ctime + (buf->st_ctimensec / 1000000000.0f));
#       |                                                           ^~
# lib/unix_stubs.c: In function 'unix_mknod_stub':
# lib/unix_stubs.c:627:13: warning: implicit declaration of function 'makedev' [-Wimplicit-function-declaration]
#   627 |       dev = makedev(Int_val(v_major), Int_val(v_minor));
#       |             ^~~~~~~
# Command exited with code 2.
# E: Failure("Command ''/home/opam/.opam/4.02/bin/ocamlbuild' lib/libcore_stubs.a lib/dllcore_stubs.so lib/core.cma lib/core.cmxa lib/core.a lib/core.cmxs top/core_top.cma top/core_top.cmxa top/core_top.a top/core_top.cmxs -use-ocamlfind -tag debug' terminated with error code 10")
# make: *** [Makefile:21: build] Error 1


<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build core 111.25.00
+- 
+- The following changes have been performed
| - downgrade ocaml-secondary-compiler 4.08.1-1 to 4.08.1
| - install   base-bytes               base
| - install   bin_prot                 111.03.00
| - install   camlp4                   4.02+1
| - install   comparelib               109.60.00
| - install   conf-m4                  1
| - install   conf-pkg-config          1.0
| - install   conf-which               1
| - install   conf-xxhash              1
| - install   core_kernel              111.25.00
| - install   ctypes                   0.6.0
| - install   custom_printf            111.25.00
| - install   dune                     2.7.0
| - install   enumerate                111.08.00
| - install   extunix                  0.1.1
| - install   fieldslib                109.20.03
| - install   fileutils                0.4.4
| - install   herelib                  109.35.00
| - install   logs                     0.4.2
| - install   lru                      0.1.0
| - install   oasis                    0.4.7
| - install   ocamlbuild               0
| - install   ocamlfind                1.8.1
| - install   ocamlfind-secondary      1.8.1
| - install   ocamlify                 0.0.1
| - install   ocamlmod                 0.0.3
| - install   ounit                    1.1.2
| - install   pa_bench                 109.55.02
| - install   pa_ounit                 109.53.02
| - install   pa_test                  111.08.00
| - install   pipebang                 110.01.00
| - install   psq                      0.1.0
| - install   result                   1.0
| - install   sexplib                  111.25.00
| - install   topkg                    0.7.5
| - install   type_conv                111.13.00
| - install   typerep                  111.17.00
| - install   variantslib              109.15.03
| - install   xxhash                   0.1
+- 
# Run eval $(opam env) to update the current shell environment


The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.02/.opam-switch/backup/state-20240514124518.export"
"/usr/bin/env" "bash" "-c" "opam install $DEPS" failed with exit status 31
2024-05-14 12:51.29: Job failed: Failed: Build failed