OrganisationsMisterDAwindows-version1994f5 (main)fedora-42-5.4_opam-2.4

fedora-42-5.4_opam-2.4

Link Copied
Code Copied

Logs

2025-11-21 08:53.19: New job: test MisterDA/windows-version https://github.com/MisterDA/windows-version.git#refs/heads/main (1994f53476c9203ee587ea28e421dc8d1cde74bf) (linux-x86_64:fedora-42-5.4_opam-2.4)
Base: ocaml/opam:fedora-42-ocaml-5.4@sha256:f49bef803714d93fa07ceba2146de61d915921b91acaf477152a8b7d199120a6
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/MisterDA/windows-version.git" -b "main" && cd "windows-version" && git reset --hard 1994f534
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-42-ocaml-5.4@sha256:f49bef803714d93fa07ceba2146de61d915921b91acaf477152a8b7d199120a6
# 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 1ec0eeb78dfedb9d754ae7abb8baed71c715f786 || git fetch origin master) && git reset -q --hard 1ec0eeb78dfedb9d754ae7abb8baed71c715f786 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 windows-version.opam ./
RUN opam pin add -yn windows-version.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="astring.0.8.5 base.v0.17.3 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_sexp_conv.v0.17.1 ppxlib.0.37.0 ppxlib_jane.v0.17.4 sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y windows-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


2025-11-21 08:53.19: Using cache hint "MisterDA/windows-version-ocaml/opam:fedora-42-ocaml-5.4@sha256:f49bef803714d93fa07ceba2146de61d915921b91acaf477152a8b7d199120a6-fedora-42-5.4_opam-2.4-973f9ddfb093b64fc2ade2e2ddadeac5"
2025-11-21 08:53.19: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-5.4@sha256:f49bef803714d93fa07ceba2146de61d915921b91acaf477152a8b7d199120a6)
(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 1ec0eeb78dfedb9d754ae7abb8baed71c715f786 || git fetch origin master) && git reset -q --hard 1ec0eeb78dfedb9d754ae7abb8baed71c715f786 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src windows-version.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn windows-version.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "astring.0.8.5 base.v0.17.3 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_sexp_conv.v0.17.1 ppxlib.0.37.0 ppxlib_jane.v0.17.4 sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.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 windows-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"))
)


2025-11-21 08:53.19: Waiting for resource in pool OCluster
2025-11-21 10:10.20: Waiting for worker…
2025-11-21 10:14.08: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at 1994f53 Initial import from ocaml-dockerfile


(from ocaml/opam:fedora-42-ocaml-5.4@sha256:f49bef803714d93fa07ceba2146de61d915921b91acaf477152a8b7d199120a6)
2025-11-21 10:14.09 ---> using "2a9cc73d8fa625428a41b3e2995ed89b8f4dbf344a4fde8dde60a4e56679d9f2" 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% |  84.8 KiB/s |  20.8 KiB |  00m00s
Repositories loaded.
Package "findutils-1:4.10.0-5.fc42.x86_64" is already installed.


Nothing to do.
2025-11-21 10:14.09 ---> using "11c382b31feb1b4c64d5302c1dbafb569ebb2cad0b98687edb79c81ce454aeb6" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-11-21 10:14.09 ---> using "4155f31149ae7e901238bc3fefd8d7c0945ebdaefaff6db918a584a3fd578ae3" 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-11-21 10:14.09 ---> using "293424d85cf04a00a6cd2a43c6544d2839130cc339d2666e197977d6a5876af3" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-85-generic
The OCaml toplevel, version 5.4.0
2.4.1
2025-11-21 10:14.09 ---> using "ef63d34ad14a8a52224bf42cec656c6562e76bed056ba35a7f4033d6cd5b655c" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-11-21 10:14.09 ---> using "33c7f68fcc42b544cec67267e660e477931eb570d2188bdbcc1e8c54e53c824b" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 1ec0eeb78dfedb9d754ae7abb8baed71c715f786 || git fetch origin master) && git reset -q --hard 1ec0eeb78dfedb9d754ae7abb8baed71c715f786 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
2ec6d6cc92..ee3428377a  master     -> origin/master
1ec0eeb78d Merge pull request #28897 from dra27/ocamlfind-msys2-cygwin


<><> 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-11-21 10:14.09 ---> using "ca175312245abf5f368a22e85a7f8a5e3c1822ad8d2f89654ec379e10d3d04b0" from cache


/src: (copy (src windows-version.opam) (dst ./))
2025-11-21 10:14.09 ---> saved as "7b5d4367e12b2895ffadd00ac46a8f3e2a748a64d17b239c5de7bee2106a8319"


/src: (run (network host)
(shell "opam pin add -yn windows-version.dev './'"))
[NOTE] Package windows-version does not exist in opam repositories registered in the current switch.
[windows-version.dev] synchronised (file:///src)
windows-version is now pinned to file:///src (version dev)
2025-11-21 10:14.12 ---> saved as "d285a43fa8b2357b67ca6c5c2cdc56841074431903c9cf55fd791ff1d955bc7a"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-11-21 10:14.12 ---> saved as "d37b7c2af7fc92b0434b142e4cbdf75a1805183033d37799d5a24d9d66eff553"


/src: (env DEPS "astring.0.8.5 base.v0.17.3 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_sexp_conv.v0.17.1 ppxlib.0.37.0 ppxlib_jane.v0.17.4 sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.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 windows-version.dev $DEPS"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Repositories loaded.
- Metadata cache created.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[windows-version.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-11-21 10:14.32 ---> saved as "3e134c4de693f7c6e8c6146a213d2df33af567dd2a481b00e7750e4917e06458"


/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 19 packages
- install astring                 0.8.5
- install base                    v0.17.3
- install cppo                    1.8.0
- install csexp                   1.5.2
- install dune                    3.20.2
- install dune-configurator       3.20.2
- install fmt                     0.11.0
- install ocaml-compiler-libs     v0.17.0
- install ocaml_intrinsics_kernel v0.17.1
- install ocamlbuild              0.16.1
- install ocamlfind               1.9.8
- install ppx_derivers            1.2.1
- install ppx_deriving            6.1.1
- install ppx_sexp_conv           v0.17.1
- install ppxlib                  0.37.0
- install ppxlib_jane             v0.17.4
- install sexplib0                v0.17.0
- install stdlib-shims            0.3.0
- install topkg                   1.1.1


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved base.v0.17.3  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_deriving.6.1.1  (cached)
-> retrieved ppx_sexp_conv.v0.17.1  (cached)
-> retrieved ppxlib_jane.v0.17.4  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved ppxlib.0.37.0  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed topkg.1.1.1
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed dune.3.20.2
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed sexplib0.v0.17.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed dune-configurator.3.20.2
-> installed base.v0.17.3
-> installed ppxlib.0.37.0
-> installed ppxlib_jane.v0.17.4
-> installed ppx_deriving.6.1.1
-> installed ppx_sexp_conv.v0.17.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-21 10:18.01 ---> saved as "7bf2002b4584131cabfbe841539526a0d945e3ee4bd79d31babd17fabff6d83f"


/src: (copy (src .) (dst /src))
2025-11-21 10:18.02 ---> saved as "8bf99aae5bd75e6e812eed927e2f87b56b00ca00aa4141f15eec411100121ca2"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-11-21 10:18.06 ---> saved as "421a8fc67dee8826b5fb079d47e4e98aa92226d34a001e25878b0f75d68d7d14"
Job succeeded
2025-11-21 10:18.06: Job succeeded