Organisationsedwintorokdune-compiledbf04417 (main)fedora-42-5.4_opam-2.4

fedora-42-5.4_opam-2.4

Link Copied
Code Copied

Logs

2025-10-18 16:34.40: New job: test edwintorok/dune-compiledb https://github.com/edwintorok/dune-compiledb.git#refs/heads/main (f0441721de9b4d1c8418a41ff6fc3f715505e7f0) (linux-x86_64:fedora-42-5.4_opam-2.4)
Base: ocaml/opam:fedora-42-ocaml-5.4@sha256:5d13b29f948738fd07b3ff626fe4931a21664d7bf5d5febc791ef21437b7071f
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/edwintorok/dune-compiledb.git" -b "main" && cd "dune-compiledb" && git reset --hard f0441721
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-42-ocaml-5.4@sha256:5d13b29f948738fd07b3ff626fe4931a21664d7bf5d5febc791ef21437b7071f
# fedora-42-5.4_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
RUN sudo ln -f /usr/bin/opam-2.4 /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 c603e596bfaf195a5c1a3baf992b11c1de5ad35b || git fetch origin master) && git reset -q --hard c603e596bfaf195a5c1a3baf992b11c1de5ad35b && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 dune-compiledb.opam ./
RUN opam pin add -yn dune-compiledb.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cstruct.6.2.0 dune.3.20.2 ezjsonm.1.3.0 fmt.0.11.0 fpath.0.7.3 hex.1.5.0 jsonm.1.0.2 num.1.6 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 parsexp.v0.17.0 sexplib.v0.17.0 sexplib0.v0.17.0 topkg.1.1.0 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y dune-compiledb.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


2025-10-18 16:34.40: Using cache hint "edwintorok/dune-compiledb-ocaml/opam:fedora-42-ocaml-5.4@sha256:5d13b29f948738fd07b3ff626fe4931a21664d7bf5d5febc791ef21437b7071f-fedora-42-5.4_opam-2.4-72ef61d4e0d672fce598ef2c3e2b60b5"
2025-10-18 16:34.40: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-5.4@sha256:5d13b29f948738fd07b3ff626fe4931a21664d7bf5d5febc791ef21437b7071f)
(comment fedora-42-5.4_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (network host)
(shell "sudo dnf install -y findutils"))
(run (shell "sudo ln -f /usr/bin/opam-2.4 /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 c603e596bfaf195a5c1a3baf992b11c1de5ad35b || git fetch origin master) && git reset -q --hard c603e596bfaf195a5c1a3baf992b11c1de5ad35b && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src dune-compiledb.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn dune-compiledb.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cstruct.6.2.0 dune.3.20.2 ezjsonm.1.3.0 fmt.0.11.0 fpath.0.7.3 hex.1.5.0 jsonm.1.0.2 num.1.6 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 parsexp.v0.17.0 sexplib.v0.17.0 sexplib0.v0.17.0 topkg.1.1.0 uutf.1.0.4")
(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.4 --depext-only -y dune-compiledb.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"))
)


2025-10-18 16:34.40: Waiting for resource in pool OCluster
2025-10-18 17:03.37: Waiting for worker…
2025-10-18 17:05.27: Got resource from pool OCluster
Building on eumache
All commits already cached
HEAD is now at f044172 fix typo


(from ocaml/opam:fedora-42-ocaml-5.4@sha256:5d13b29f948738fd07b3ff626fe4931a21664d7bf5d5febc791ef21437b7071f)
Unable to find image 'ocaml/opam:fedora-42-ocaml-5.4@sha256:5d13b29f948738fd07b3ff626fe4931a21664d7bf5d5febc791ef21437b7071f' locally
docker.io/ocaml/opam@sha256:5d13b29f948738fd07b3ff626fe4931a21664d7bf5d5febc791ef21437b7071f: Pulling from ocaml/opam
23d67b40c167: Already exists
69510a91bfc8: Already exists
360b948ef8f7: Already exists
b0b7d6fd83cf: Already exists
39a6e4eba3c0: Already exists
a71731946f34: Already exists
Digest: sha256:5d13b29f948738fd07b3ff626fe4931a21664d7bf5d5febc791ef21437b7071f
Status: Downloaded newer image for ocaml/opam@sha256:5d13b29f948738fd07b3ff626fe4931a21664d7bf5d5febc791ef21437b7071f
2025-10-18 17:05.28 ---> using "aae9cfea062639794bebda74c20f122cbfe2b260a1ae6b51750064798a04d0df" from cache


/: (comment fedora-42-5.4_opam-2.4)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (network host)
(shell "sudo dnf install -y findutils"))
Updating and loading repositories:
Fedora 42 - x86_64 - Updates           100% |  51.2 KiB/s |  17.1 KiB |  00m00s
Repositories loaded.
Nothing to do.
Package "findutils-1:4.10.0-5.fc42.x86_64" is already installed.


2025-10-18 17:05.28 ---> using "02dd4d9c19ab680581c8d7cbc01b94987ce9649016e07d72dadf4d94a001d7ef" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-10-18 17:05.28 ---> using "d446a92d02f58e29a07180b9f0cf0b9dff9d7a858fb4418ff090e91d252c3682" from cache


/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.2, 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] Initialised
2025-10-18 17:05.28 ---> using "5adbe08912fbd8109b2c9feb2eafe695e692d6649b33f7f39e3ab9488d96d021" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-131-generic
The OCaml toplevel, version 5.4.0
2.4.1
2025-10-18 17:05.28 ---> using "a3cd804eb52feb269ae3092f6be9254aa521c472788d6d15698015b7a67d5fd3" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-10-18 17:05.28 ---> using "c23a7344128e0b629217f5fffed5949275c120d29d7decaef0428d60db190ca3" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e c603e596bfaf195a5c1a3baf992b11c1de5ad35b || git fetch origin master) && git reset -q --hard c603e596bfaf195a5c1a3baf992b11c1de5ad35b && git log --no-decorate -n1 --oneline && opam update -u"))
c603e596bf Merge pull request #28683 from Octachron/OCaml_5.4.0_release


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


Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-10-18 17:05.28 ---> using "4d37387f749b80748fc63ad7a3c893ba1d3809b768b9d457c972ff04b2edb54f" from cache


/src: (copy (src dune-compiledb.opam) (dst ./))
2025-10-18 17:05.28 ---> saved as "0ec74cd060e5534e6e51f7914e5cc7e4cfb6ce27899b3204093e359e0e82540a"


/src: (run (network host)
(shell "opam pin add -yn dune-compiledb.dev './'"))
[dune-compiledb.dev] synchronised (file:///src)
dune-compiledb is now pinned to file:///src (version dev)
2025-10-18 17:05.29 ---> saved as "bc1087dd70f8fcfa65316346c101afdcca3cc72f3442f3cc84498978666e66c1"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-18 17:05.29 ---> saved as "6d1873d15ffe67ce35c8146aba7a4b1cfb53cfdd53959603e45f2e220c44796a"


/src: (env DEPS "astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cstruct.6.2.0 dune.3.20.2 ezjsonm.1.3.0 fmt.0.11.0 fpath.0.7.3 hex.1.5.0 jsonm.1.0.2 num.1.6 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 parsexp.v0.17.0 sexplib.v0.17.0 sexplib0.v0.17.0 topkg.1.1.0 uutf.1.0.4")


/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.4 --depext-only -y dune-compiledb.dev $DEPS"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Repositories loaded.
- Metadata cache created.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[dune-compiledb.dev] synchronised (file:///src)


[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2025-10-18 17:05.46 ---> saved as "c3532b1b9d297d3cdd47b50c44188959c0b91051f439055415b0fb4d05391d48"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains 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 16 packages
- install astring    0.8.5
- install cstruct    6.2.0
- install dune       3.20.2
- install ezjsonm    1.3.0
- install fmt        0.11.0
- install fpath      0.7.3
- install hex        1.5.0
- install jsonm      1.0.2
- install num        1.6
- install ocamlbuild 0.16.1
- install ocamlfind  1.9.8
- install parsexp    v0.17.0
- install sexplib    v0.17.0
- install sexplib0   v0.17.0
- install topkg      1.1.0
- install uutf       1.0.4


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> retrieved ezjsonm.1.3.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved hex.1.5.0  (cached)
-> retrieved jsonm.1.0.2  (cached)
-> retrieved num.1.6  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved parsexp.v0.17.0  (cached)
-> retrieved sexplib.v0.17.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.1.0  (cached)
-> retrieved dune.3.20.2  (cached)
-> installed num.1.6
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed jsonm.1.0.2
-> installed fpath.0.7.3
-> installed dune.3.20.2
-> installed cstruct.6.2.0
-> installed sexplib0.v0.17.0
-> installed hex.1.5.0
-> installed ezjsonm.1.3.0
-> installed parsexp.v0.17.0
-> installed sexplib.v0.17.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-10-18 17:07.11 ---> saved as "7e8f5a8907cf7b92ea6c616b20e5d2c3741581833cd0c80beb142d6616e38ffd"


/src: (copy (src .) (dst /src))
2025-10-18 17:07.12 ---> saved as "433211868fe54fb6566401afb1e3ec891f4d4f8385bafa59d55bd7af790546b5"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-10-18 17:07.13 ---> saved as "52e1eb953a2b702972af8b031f0ac4ba54bc977249fe1dea46b0781412be4512"
Job succeeded
2025-10-18 17:07.13: Job succeeded