Organisationsocurrentocaml-version2d326e ()fedora-42-4.14_opam-2.5

fedora-42-4.14_opam-2.5

Link Copied
Code Copied

Logs

2026-04-20 20:30.01: New job: test ocurrent/ocaml-version https://github.com/ocurrent/ocaml-version.git#refs/heads/master (2d326ebe1f18aa0010d4662bf80c7abe1ced41d6) (linux-x86_64:fedora-42-4.14_opam-2.5)
Base: ocaml/opam:fedora-42-ocaml-4.14@sha256:2a5f75bfa99b27c5471842ee02ea5537cf23913c53a7171eb6b7daa049b4cf0c
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocurrent/ocaml-version.git" -b "master" && cd "ocaml-version" && git reset --hard 2d326ebe
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-42-ocaml-4.14@sha256:2a5f75bfa99b27c5471842ee02ea5537cf23913c53a7171eb6b7daa049b4cf0c
# fedora-42-4.14_opam-2.5
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.5 /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 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 || git fetch origin master) && git reset -q --hard 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ocaml-version.opam ./
RUN opam pin add -yn ocaml-version.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.2.1.0 dune.3.22.2 fmt.0.11.0 ocaml.4.14.3 ocaml-base-compiler.4.14.3 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y ocaml-version.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


2026-04-20 20:30.01: Using cache hint "ocurrent/ocaml-version-ocaml/opam:fedora-42-ocaml-4.14@sha256:2a5f75bfa99b27c5471842ee02ea5537cf23913c53a7171eb6b7daa049b4cf0c-fedora-42-4.14_opam-2.5-5141ad589a28469554668b92ba63a27e"
2026-04-20 20:30.01: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-4.14@sha256:2a5f75bfa99b27c5471842ee02ea5537cf23913c53a7171eb6b7daa049b4cf0c)
(comment fedora-42-4.14_opam-2.5)
(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.5 /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 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 || git fetch origin master) && git reset -q --hard 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ocaml-version.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn ocaml-version.dev './'"))
(run (shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.2.1.0 dune.3.22.2 fmt.0.11.0 ocaml.4.14.3 ocaml-base-compiler.4.14.3 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 stdlib-shims.0.3.0 topkg.1.1.1 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.5 --depext-only -y ocaml-version.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"))
)


2026-04-20 20:30.01: Waiting for resource in pool OCluster
2026-04-20 20:30.01: Waiting for worker…
2026-04-20 20:30.01: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
HEAD is now at 2cbc755 Add OCaml 5.6 and 5.5.0~beta1
HEAD is now at 2d326eb Merge pull request #88 from kit-ty-kate/ocaml-5.5


(from ocaml/opam:fedora-42-ocaml-4.14@sha256:2a5f75bfa99b27c5471842ee02ea5537cf23913c53a7171eb6b7daa049b4cf0c)
2026-04-20 20:30.07 ---> using "44f1cb10c69e1b35dfc0df6b713e7e500ed17f28146321c7d88e072120c36624" from cache


/: (comment fedora-42-4.14_opam-2.5)


/: (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% |  31.4 KiB/s |  14.9 KiB |  00m00s
Fedora 42 - x86_64                     100% |  73.0 KiB/s |  22.4 KiB |  00m00s
Fedora 42 openh264 (From Cisco) - x86_ 100% |   5.8 KiB/s | 986.0   B |  00m00s
Repositories loaded.
Package "findutils-1:4.10.0-5.fc42.x86_64" is already installed.


Nothing to do.
2026-04-20 20:30.07 ---> using "d744e315ef8eb40b3230f43f701ca8d3d2b41c46e4e03ea91955855077feb6e1" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-04-20 20:30.07 ---> using "dfb864731ec4bbfef0572266c2a6a7218d6a1b23d4e908e66ab342275000b982" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "ocaml-patches-overlay": "/usr/sbin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocurrent/opam-repository/': Could not resolve host: github.com"
[default] Initialised
2026-04-20 20:30.07 ---> using "323893d982682c5b14096989181ce32b8633f77cf28be2ce8539a7e44beadb61" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-107-generic
The OCaml toplevel, version 4.14.3
2.5.0
2026-04-20 20:30.07 ---> using "7675d3f5ac0869676693e80a05873a0684bbfc7e1835169107d2f9451d200446" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-04-20 20:30.07 ---> using "1928b7a86cc24575995ff900edbd943f1723f3be8a844d4150ee1407412415fe" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 || git fetch origin master) && git reset -q --hard 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
76bf2ed944..caab044f22  master     -> origin/master
5f7bb1a6e6 Merge pull request #29704 from shonfeder/release-dune-3.22.2


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-patches-overlay] no changes from git+https://github.com/ocurrent/opam-repository#patches
2026-04-20 20:30.15: Cancelling: Auto-cancelling job because it is no longer needed
[default] synchronised from git+file:///home/opam/opam-repository
Job cancelled