Organisationsmbarbincmdlang9c0893 ()fedora-41-4.14_opam-2.4

fedora-41-4.14_opam-2.4

Link Copied
Code Copied

Logs

2025-09-10 00:37.24: New job: test mbarbin/cmdlang https://github.com/mbarbin/cmdlang.git#refs/heads/main (9c08934f0da7be3d5b18fc590aef4e778919acae) (linux-x86_64:fedora-41-4.14_opam-2.4)
Base: ocaml/opam:fedora-41-ocaml-4.14@sha256:4f9df9250fac02cf5af6a01abc888e82e1fe046d02e830646bc7d896664dee4e
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mbarbin/cmdlang.git" -b "main" && cd "cmdlang" && git reset --hard 9c08934f
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-41-ocaml-4.14@sha256:4f9df9250fac02cf5af6a01abc888e82e1fe046d02e830646bc7d896664dee4e
# fedora-41-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 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && 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-10 00:37.24: Using cache hint "mbarbin/cmdlang-ocaml/opam:fedora-41-ocaml-4.14@sha256:4f9df9250fac02cf5af6a01abc888e82e1fe046d02e830646bc7d896664dee4e-fedora-41-4.14_opam-2.4-666c13f0263d3e6defc02cd01a587c68"
2025-09-10 00:37.24: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-4.14@sha256:4f9df9250fac02cf5af6a01abc888e82e1fe046d02e830646bc7d896664dee4e)
(comment fedora-41-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 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && 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-10 00:37.24: Waiting for resource in pool OCluster
2025-09-10 01:02.43: Waiting for worker…
2025-09-10 01:07.17: Got resource from pool OCluster
Building on eumache
All commits already cached
HEAD is now at 9c08934 Merge pull request #29 from mbarbin/upgrade-docusaurus


(from ocaml/opam:fedora-41-ocaml-4.14@sha256:4f9df9250fac02cf5af6a01abc888e82e1fe046d02e830646bc7d896664dee4e)
2025-09-10 01:07.30 ---> saved as "b9924c044203762b86b9766d6c96fe26a9f85b813cb7fc4f9261da43d5659348"


/: (comment fedora-41-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 41 - x86_64                     100% |  56.3 KiB/s |  25.0 KiB |  00m00s
Fedora 41 - x86_64 - Updates           100% |  64.5 KiB/s |  17.6 KiB |  00m00s
Fedora 41 openh264 (From Cisco) - x86_ 100% |   7.6 KiB/s | 986.0   B |  00m00s
Repositories loaded.
Package "findutils-1:4.10.0-4.fc41.x86_64" is already installed.


Nothing to do.
2025-09-10 01:07.39 ---> saved as "98851a22e1b18f653c1f652f7b67ca88393410072a06e616a731a1f0b5f6675a"


/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-09-10 01:07.40 ---> saved as "57309c72f8d24d47b7f08f7b05781f1b485118335e3ace5251828dfc1c87bf0d"


/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 255 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=255 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-09-10 01:08.15 ---> saved as "8ee7203b7e8621b4b1917c031c7680bd1411f275fe3ad19a7bdf095c1019fa99"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-131-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-09-10 01:08.16 ---> saved as "ded5be49b72d72a638c9d770e7ec89fd7f08d4bd92c4dbcd1405f2924383ca15"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-09-10 01:08.17 ---> saved as "ac0324736c8b3d14da4081b450177aa822436fbdfd981d02f84b7c5884d8cf48"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
b3b872a94f..ea994caae6  master     -> origin/master
109398e2fd Merge pull request #28437 from maiste/release-dune-3.20.2


<><> 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-10 01:08.58 ---> saved as "eef5f39158927fc0696ed3f96f04c1e086613ca7f3a7e7b2a013fce1cc6899a8"


/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-10 01:08.59 ---> saved as "4c653e24b524955a1260137e2ab8e4268a9b80a2ec0ff20193b5bd0d2552d9f7"


/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-10 01:09.08 ---> saved as "435f02acd6f0c1669a4db39c537e520b106d12d186c5d767ec45c1d8cb977f65"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-10 01:09.09 ---> saved as "cb2e5bbfd066e6c5c1248e91f808ef27f4d0927a1059e4630f7089224ffe406a"


/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/bin/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-10 01:09.27 ---> saved as "d588538f978f9791e4599e90a2648817e0f583ca2f1f1d9ff0830f37e71dbca2"


/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-10 01:10.41 ---> saved as "7b36b036e3650e1eae1d01cea38713b373ee8272661468dfa56b4ccade303fc3"


/src: (copy (src .) (dst /src))
2025-09-10 01:10.41 ---> saved as "5b36b90c2c4fea547294805cbe964cdc99b4eaf9c00b200126eae879f63ce2df"


/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-10 01:10.42: Job failed: Failed: Build failed