Organisationsmbarbincmdlang37952a ()fedora-42-4.14_opam-2.4

fedora-42-4.14_opam-2.4

Link Copied
Code Copied

Logs

2025-09-16 10:12.05: New job: test mbarbin/cmdlang https://github.com/mbarbin/cmdlang.git#refs/heads/main (37952a1a63a8d56ee283c7bddf9122fd959c7cb9) (linux-x86_64:fedora-42-4.14_opam-2.4)
Base: ocaml/opam:fedora-42-ocaml-4.14@sha256:6cce0d246ebc8da6c5e03254f52b00258b39625608db5ba70e275a51db9a4ef5
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mbarbin/cmdlang.git" -b "main" && cd "cmdlang" && git reset --hard 37952a1a
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-42-ocaml-4.14@sha256:6cce0d246ebc8da6c5e03254f52b00258b39625608db5ba70e275a51db9a4ef5
# fedora-42-4.14_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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 cmdlang.opam cmdlang-to-cmdliner.opam cmdlang-to-climate.opam cmdlang-to-base.opam cmdlang-tests.opam cmdlang-stdlib-runner.opam ./
RUN opam pin add -yn cmdlang.dev './' && \
opam pin add -yn cmdlang-to-cmdliner.dev './' && \
opam pin add -yn cmdlang-to-climate.dev './' && \
opam pin add -yn cmdlang-to-base.dev './' && \
opam pin add -yn cmdlang-tests.dev './' && \
opam pin add -yn cmdlang-stdlib-runner.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base climate.0.8.3 cmdliner.1.3.0 dune.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y cmdlang.dev cmdlang-to-cmdliner.dev cmdlang-to-climate.dev cmdlang-stdlib-runner.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build --only-packages=cmdlang,cmdlang-to-cmdliner,cmdlang-to-climate,cmdlang-stdlib-runner @install @check @runtest && rm -rf _build


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


2025-09-16 10:12.05: Using cache hint "mbarbin/cmdlang-ocaml/opam:fedora-42-ocaml-4.14@sha256:6cce0d246ebc8da6c5e03254f52b00258b39625608db5ba70e275a51db9a4ef5-fedora-42-4.14_opam-2.4-666c13f0263d3e6defc02cd01a587c68"
2025-09-16 10:12.05: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-4.14@sha256:6cce0d246ebc8da6c5e03254f52b00258b39625608db5ba70e275a51db9a4ef5)
(comment fedora-42-4.14_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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src cmdlang.opam cmdlang-to-cmdliner.opam cmdlang-to-climate.opam cmdlang-to-base.opam cmdlang-tests.opam cmdlang-stdlib-runner.opam)
(dst ./))
(run (network host)
(shell  "opam pin add -yn cmdlang.dev './' && \
\nopam pin add -yn cmdlang-to-cmdliner.dev './' && \
\nopam pin add -yn cmdlang-to-climate.dev './' && \
\nopam pin add -yn cmdlang-to-base.dev './' && \
\nopam pin add -yn cmdlang-tests.dev './' && \
\nopam pin add -yn cmdlang-stdlib-runner.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base climate.0.8.3 cmdliner.1.3.0 dune.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.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.4 --depext-only -y cmdlang.dev cmdlang-to-cmdliner.dev cmdlang-to-climate.dev cmdlang-stdlib-runner.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 --only-packages=cmdlang,cmdlang-to-cmdliner,cmdlang-to-climate,cmdlang-stdlib-runner @install @check @runtest && rm -rf _build"))
)


2025-09-16 10:12.05: Waiting for resource in pool OCluster
2025-09-16 12:06.29: Waiting for worker…
2025-09-16 12:11.32: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 37952a1 Apply headache.sh


(from ocaml/opam:fedora-42-ocaml-4.14@sha256:6cce0d246ebc8da6c5e03254f52b00258b39625608db5ba70e275a51db9a4ef5)
2025-09-16 12:11.32 ---> using "41737538456847067d1d37fba8d6ad0b2b0b892b2746c6a95248cca5a2686765" from cache


/: (comment fedora-42-4.14_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                     100% |  39.5 KiB/s |  26.2 KiB |  00m01s
Fedora 42 - x86_64 - Updates           100% |  39.0 KiB/s |   8.1 KiB |  00m00s
Fedora 42 openh264 (From Cisco) - x86_ 100% |   8.0 KiB/s | 986.0   B |  00m00s
Repositories loaded.
Package "findutils-1:4.10.0-5.fc42.x86_64" is already installed.


Nothing to do.
2025-09-16 12:11.32 ---> using "a28b38a0e1fbe62c47fb2eda820c729805e8393ea286ee036b9011c053719220" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-09-16 12:11.32 ---> using "cf3ab9ba5927403959765db623053246df281767595cb3061e28156afe643252" 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
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=71 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-09-16 12:11.32 ---> using "e84a3b5ee7eefa40959681db3923f58d8b9f15496b44c0ceaf2d4975abee0f79" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-60-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-09-16 12:11.32 ---> using "e8694535dad70a6da944de4043ea4d62c9de7016a0c2a9c46d00b452fc864545" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-09-16 12:11.32 ---> using "110037ed78f63dff22b311fea760e755e4902a23efb8071a5ff9d2c7b47731f1" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
ee24528071..7949ff40d8  master     -> origin/master
6ef6813522 Merge pull request #28449 from dra27/ocaml-compiler-msvc


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+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 at these versions (e.g. "opam upgrade ocaml.5.3.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-09-16 12:11.32 ---> using "e3aef7bd0912689e6a7c91c0779c3e35796561327d455b2e72ec1640439a344c" from cache


/src: (copy (src cmdlang.opam cmdlang-to-cmdliner.opam cmdlang-to-climate.opam cmdlang-to-base.opam cmdlang-tests.opam cmdlang-stdlib-runner.opam)
(dst ./))
2025-09-16 12:11.32 ---> using "edea4be5765022d49aa46b30732a31f29a4f4b3e03afc8530684f0856b61e1d9" from cache


/src: (run (network host)
(shell  "opam pin add -yn cmdlang.dev './' && \
\nopam pin add -yn cmdlang-to-cmdliner.dev './' && \
\nopam pin add -yn cmdlang-to-climate.dev './' && \
\nopam pin add -yn cmdlang-to-base.dev './' && \
\nopam pin add -yn cmdlang-tests.dev './' && \
\nopam pin add -yn cmdlang-stdlib-runner.dev './'"))
[cmdlang.dev] synchronised (file:///src)
cmdlang is now pinned to file:///src (version dev)
[cmdlang-to-cmdliner.dev] synchronised (file:///src)
cmdlang-to-cmdliner is now pinned to file:///src (version dev)
[cmdlang-to-climate.dev] synchronised (file:///src)
cmdlang-to-climate is now pinned to file:///src (version dev)
[cmdlang-to-base.dev] synchronised (file:///src)
cmdlang-to-base is now pinned to file:///src (version dev)
[NOTE] Package cmdlang-tests does not exist in opam repositories registered in the current switch.
[cmdlang-tests.dev] synchronised (file:///src)
cmdlang-tests is now pinned to file:///src (version dev)
[cmdlang-stdlib-runner.dev] synchronised (file:///src)
cmdlang-stdlib-runner is now pinned to file:///src (version dev)
2025-09-16 12:11.32 ---> using "519a41289bcf6fe416d5ead973adf70998900f6588db97283362fa88f22a5ea8" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-16 12:11.32 ---> using "f0d8294f430270b95f33b35fc3173e5553aae1329f0156a233762a9dd264e6b3" from cache


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base climate.0.8.3 cmdliner.1.3.0 dune.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.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.4 --depext-only -y cmdlang.dev cmdlang-to-cmdliner.dev cmdlang-to-climate.dev cmdlang-stdlib-runner.dev $DEPS"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Repositories loaded.
- Metadata cache created.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[cmdlang.dev] synchronised (file:///src)
[cmdlang-stdlib-runner.dev] synchronised (file:///src)
[cmdlang-to-climate.dev] synchronised (file:///src)
[cmdlang-to-cmdliner.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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-bigarray is already installed (current version is base).
2025-09-16 12:11.32 ---> using "93a1ad0ce186f2a783794f60013dd82dc086601b21b8a7fa4ec0690ce3db2bab" from cache


/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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 3 packages
- install climate  0.8.3
- install cmdliner 1.3.0
- install dune     3.20.2


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved climate.0.8.3  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved dune.3.20.2  (cached)
-> installed cmdliner.1.3.0
-> installed dune.3.20.2
-> installed climate.0.8.3
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-16 12:11.32 ---> using "fe5621510bda249a7a9698b2dd725fc8646bf0e5dbd9dd206ecc8da409f1eedb" from cache


/src: (copy (src .) (dst /src))
2025-09-16 12:11.32 ---> saved as "28bd1ac21cc12911485496e0d23e717a62fc353e23a3573b6734c729e0ad0960"


/src: (run (shell "opam exec -- dune build --only-packages=cmdlang,cmdlang-to-cmdliner,cmdlang-to-climate,cmdlang-stdlib-runner @install @check @runtest && rm -rf _build"))
File "lib/cmdlang_to_base/test/cram/bin/dune", line 6, characters 2-24:
6 |   core_unix.command_unix
^^^^^^^^^^^^^^^^^^^^^^
Error: Library "core_unix.command_unix" not found.
-> required by
_build/default/lib/cmdlang_to_base/test/cram/bin/.main_base.eobjs/byte/dune__exe__Main_base.cmi
-> required by alias lib/cmdlang_to_base/test/cram/bin/check
File "test/cram/bin/stdlib-runner/dune", line 4, characters 34-51:
4 |  (libraries cmdlang_stdlib_runner cram_test_command)
^^^^^^^^^^^^^^^^^
Error: Library "cram_test_command" not found.
-> required by
_build/default/test/cram/bin/stdlib-runner/.main_stdlib_runner.eobjs/byte/dune__exe__Main_stdlib_runner.cmi
-> required by alias test/cram/bin/stdlib-runner/check
File "test/cram/bin/base/dune", line 4, characters 51-68:
4 |  (libraries cmdlang_to_base core_unix.command_unix cram_test_command)
^^^^^^^^^^^^^^^^^
Error: Library "cram_test_command" not found.
-> required by
_build/default/test/cram/bin/base/.main_base.eobjs/byte/dune__exe__Main_base.cmi
-> required by alias test/cram/bin/base/check
File "test/cram/bin/climate/dune", line 4, characters 39-56:
4 |  (libraries climate cmdlang_to_climate cram_test_command)
^^^^^^^^^^^^^^^^^
Error: Library "cram_test_command" not found.
-> required by
_build/default/test/cram/bin/climate/.main_climate.eobjs/byte/dune__exe__Main_climate.cmi
-> required by alias test/cram/bin/climate/check
File "test/cram/bin/cmdliner/dune", line 4, characters 41-58:
4 |  (libraries cmdlang_to_cmdliner cmdliner cram_test_command)
^^^^^^^^^^^^^^^^^
Error: Library "cram_test_command" not found.
-> required by
_build/default/test/cram/bin/cmdliner/.main_cmdliner.eobjs/byte/dune__exe__Main_cmdliner.cmi
-> required by alias test/cram/bin/cmdliner/check
File "doc/docs/tutorials/getting-started/bin/dune", line 4, characters 41-56:
4 |  (libraries cmdlang-to-cmdliner cmdliner getting_started)
^^^^^^^^^^^^^^^
Error: Library "getting_started" not found.
-> required by
_build/default/doc/docs/tutorials/getting-started/bin/.main.eobjs/byte/dune__exe__Main.cmi
-> required by alias doc/docs/tutorials/getting-started/bin/check
"/usr/bin/env" "bash" "-c" "opam exec -- dune build --only-packages=cmdlang,cmdlang-to-cmdliner,cmdlang-to-climate,cmdlang-stdlib-runner @install @check @runtest && rm -rf _build" failed with exit status 1
2025-09-16 12:11.33: Job failed: Failed: Build failed