2025-10-03 11:10.32: New job: test ocaml-opam/opam-publish https://github.com/ocaml-opam/opam-publish.git#refs/heads/master (bb873b548e15f2936c55546f01ff71e81647c93b) (linux-x86_64:fedora-42-5.3_opam-2.4)
Base: ocaml/opam:fedora-42-ocaml-5.3@sha256:1692973f106bce89bdc8a714ce1cc5a8ade9999a1ca0e0e27ec14024efbe1e05
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-opam/opam-publish.git" -b "master" && cd "opam-publish" && git reset --hard bb873b54
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-42-ocaml-5.3@sha256:1692973f106bce89bdc8a714ce1cc5a8ade9999a1ca0e0e27ec14024efbe1e05
# fedora-42-5.3_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 fd0ab3ebc85bdc68ddb429cb2d63e129000a58e9 || git fetch origin master) && git reset -q --hard fd0ab3ebc85bdc68ddb429cb2d63e129000a58e9 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 opam-publish.opam ./
RUN opam pin add -yn opam-publish.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 atd.2.16.0 atdgen.2.16.0 atdgen-runtime.2.16.0 base.v0.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.2 bigstringaf.0.10.0 biniou.1.2.2 bos.0.2.1 ca-certs.1.0.1 camlp-streams.5.0.1 cmdliner.1.3.0 cohttp.6.1.1 cohttp-lwt.6.1.1 cohttp-lwt-unix.6.1.1 conduit.8.0.0 conduit-lwt.8.0.0 conduit-lwt-unix.8.0.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-libssl.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 digestif.1.3.0 domain-name.0.4.1 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 easy-format.1.3.4 eqaf.0.10 fmt.0.11.0 fpath.0.7.3 github.4.5.0 github-data.4.5.0 github-unix.4.5.0 gmap.0.3.0 http.6.1.1 ipaddr.5.6.1 ipaddr-sexp.5.6.1 jsonm.1.0.2 kdf.1.0.0 logs.0.9.0 lwt.5.9.2 lwt_ssl.1.2.0 macaddr.5.6.1 magic-mime.1.3.1 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 mirage-crypto.2.0.2 mirage-crypto-ec.2.0.2 mirage-crypto-pk.2.0.2 mirage-crypto-rng.2.0.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 ocplib-endian.1.2 ohex.0.2.0 opam-core.2.4.1 opam-file-format.2.2.0 opam-format.2.4.1 opam-repository.2.4.1 opam-state.2.4.1 patch.3.0.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.1 ppxlib.0.36.2 ppxlib_jane.v0.17.4 ptime.1.2.0 re.1.14.0 rresult.0.7.0 seq.base sexplib0.v0.17.0 sha.1.15.4 spdx_licenses.1.4.0 ssl.0.7.0 stdlib-shims.0.3.0 stringext.1.6.0 swhid_core.0.1 topkg.1.1.0 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.4 x509.1.0.6 yojson.2.2.2 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y opam-publish.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-03 11:10.32: Using cache hint "ocaml-opam/opam-publish-ocaml/opam:fedora-42-ocaml-5.3@sha256:1692973f106bce89bdc8a714ce1cc5a8ade9999a1ca0e0e27ec14024efbe1e05-fedora-42-5.3_opam-2.4-d171066af7cec0612d3e3431c0258f1e"
2025-10-03 11:10.32: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-5.3@sha256:1692973f106bce89bdc8a714ce1cc5a8ade9999a1ca0e0e27ec14024efbe1e05)
(comment fedora-42-5.3_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 fd0ab3ebc85bdc68ddb429cb2d63e129000a58e9 || git fetch origin master) && git reset -q --hard fd0ab3ebc85bdc68ddb429cb2d63e129000a58e9 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src opam-publish.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn opam-publish.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 atd.2.16.0 atdgen.2.16.0 atdgen-runtime.2.16.0 base.v0.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.2 bigstringaf.0.10.0 biniou.1.2.2 bos.0.2.1 ca-certs.1.0.1 camlp-streams.5.0.1 cmdliner.1.3.0 cohttp.6.1.1 cohttp-lwt.6.1.1 cohttp-lwt-unix.6.1.1 conduit.8.0.0 conduit-lwt.8.0.0 conduit-lwt-unix.8.0.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-libssl.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 digestif.1.3.0 domain-name.0.4.1 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 easy-format.1.3.4 eqaf.0.10 fmt.0.11.0 fpath.0.7.3 github.4.5.0 github-data.4.5.0 github-unix.4.5.0 gmap.0.3.0 http.6.1.1 ipaddr.5.6.1 ipaddr-sexp.5.6.1 jsonm.1.0.2 kdf.1.0.0 logs.0.9.0 lwt.5.9.2 lwt_ssl.1.2.0 macaddr.5.6.1 magic-mime.1.3.1 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 mirage-crypto.2.0.2 mirage-crypto-ec.2.0.2 mirage-crypto-pk.2.0.2 mirage-crypto-rng.2.0.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 ocplib-endian.1.2 ohex.0.2.0 opam-core.2.4.1 opam-file-format.2.2.0 opam-format.2.4.1 opam-repository.2.4.1 opam-state.2.4.1 patch.3.0.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.1 ppxlib.0.36.2 ppxlib_jane.v0.17.4 ptime.1.2.0 re.1.14.0 rresult.0.7.0 seq.base sexplib0.v0.17.0 sha.1.15.4 spdx_licenses.1.4.0 ssl.0.7.0 stdlib-shims.0.3.0 stringext.1.6.0 swhid_core.0.1 topkg.1.1.0 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.4 x509.1.0.6 yojson.2.2.2 zarith.1.14")
(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 opam-publish.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-03 11:10.32: Waiting for resource in pool OCluster
2025-10-03 11:10.32: Waiting for worker…
2025-10-03 11:10.32: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at bb873b5 Merge pull request #177 from kit-ty-kate/no-cmdliner2
(from ocaml/opam:fedora-42-ocaml-5.3@sha256:1692973f106bce89bdc8a714ce1cc5a8ade9999a1ca0e0e27ec14024efbe1e05)
Unable to find image 'ocaml/opam:fedora-42-ocaml-5.3@sha256:1692973f106bce89bdc8a714ce1cc5a8ade9999a1ca0e0e27ec14024efbe1e05' locally
docker.io/ocaml/opam@sha256:1692973f106bce89bdc8a714ce1cc5a8ade9999a1ca0e0e27ec14024efbe1e05: Pulling from ocaml/opam
e909c7ea073f: Pulling fs layer
e909c7ea073f: Verifying Checksum
e909c7ea073f: Download complete
e909c7ea073f: Pull complete
Digest: sha256:1692973f106bce89bdc8a714ce1cc5a8ade9999a1ca0e0e27ec14024efbe1e05
Status: Downloaded newer image for ocaml/opam@sha256:1692973f106bce89bdc8a714ce1cc5a8ade9999a1ca0e0e27ec14024efbe1e05
2025-10-03 11:10.33 ---> using "35eb8746178ea8e003a48b9dd0b81f90508d2a71d9005f1bcd0e69f5de88cc13" from cache
/: (comment fedora-42-5.3_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% | 73.3 KiB/s | 26.5 KiB | 00m00s
Fedora 42 openh264 (From Cisco) - x86_ 100% | 4.0 KiB/s | 986.0 B | 00m00s
Fedora 42 - x86_64 - Updates 100% | 33.9 KiB/s | 4.7 KiB | 00m00s
Repositories loaded.
Package "findutils-1:4.10.0-5.fc42.x86_64" is already installed.
Nothing to do.
2025-10-03 11:10.33 ---> using "b0e77004ee099bb9fe12e33c2e1ea70482bad9e995ba64ceeb51051dceaa729e" from cache
/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-10-03 11:10.33 ---> using "a44ecb165e5aea81bb94efd3b9b67001d23bd39195970313532e12ea75d44458" 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.
Continue? [Y/n] y
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.
[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-10-03 11:10.33 ---> using "d795850288ae2a4c3da39162feb3921ebb5df1309cb4f2009f41deae01c79353" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-10-03 11:10.33 ---> using "44449ec79e84a37bc3223965c7837e04944ba665fd4314e72e7e2b55ff0479ec" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-10-03 11:10.33 ---> using "8820c8b7c78317a5ebf8828a528cea212ef4052197ce99b09843ce2b8a9c0101" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e fd0ab3ebc85bdc68ddb429cb2d63e129000a58e9 || git fetch origin master) && git reset -q --hard fd0ab3ebc85bdc68ddb429cb2d63e129000a58e9 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
bcac5d1731..4f3dfab98d master -> origin/master
fd0ab3ebc8 Merge pull request #28610 from NathanReb/release-ppxlib-0.36.2
<><> 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-03 11:10.51 ---> saved as "94e820f1d59379a3755e33347eb330696ea7680e4c3e29ec62e49b6f5a9f5b8c"
/src: (copy (src opam-publish.opam) (dst ./))
2025-10-03 11:10.51 ---> saved as "d04f9a13cc33885770947806c924a5e95939975916252eef87243ce69ffccf3d"
/src: (run (network host)
(shell "opam pin add -yn opam-publish.dev './'"))
[opam-publish.dev] synchronised (file:///src)
opam-publish is now pinned to file:///src (version dev)
2025-10-03 11:10.52 ---> saved as "f415cc0fb0d2747607fb7e28946e0f74a3b6de70ec50fe61dd2c357a4b613d68"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-03 11:10.52 ---> saved as "5f0e04bc5182e03fa7ad216e2c0f560a36ed71739e7cc5ecce92da0a4ff987da"
/src: (env DEPS "angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 atd.2.16.0 atdgen.2.16.0 atdgen-runtime.2.16.0 base.v0.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.2 bigstringaf.0.10.0 biniou.1.2.2 bos.0.2.1 ca-certs.1.0.1 camlp-streams.5.0.1 cmdliner.1.3.0 cohttp.6.1.1 cohttp-lwt.6.1.1 cohttp-lwt-unix.6.1.1 conduit.8.0.0 conduit-lwt.8.0.0 conduit-lwt-unix.8.0.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-libssl.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 digestif.1.3.0 domain-name.0.4.1 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 easy-format.1.3.4 eqaf.0.10 fmt.0.11.0 fpath.0.7.3 github.4.5.0 github-data.4.5.0 github-unix.4.5.0 gmap.0.3.0 http.6.1.1 ipaddr.5.6.1 ipaddr-sexp.5.6.1 jsonm.1.0.2 kdf.1.0.0 logs.0.9.0 lwt.5.9.2 lwt_ssl.1.2.0 macaddr.5.6.1 magic-mime.1.3.1 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 mirage-crypto.2.0.2 mirage-crypto-ec.2.0.2 mirage-crypto-pk.2.0.2 mirage-crypto-rng.2.0.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 ocplib-endian.1.2 ohex.0.2.0 opam-core.2.4.1 opam-file-format.2.2.0 opam-format.2.4.1 opam-repository.2.4.1 opam-state.2.4.1 patch.3.0.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.1 ppxlib.0.36.2 ppxlib_jane.v0.17.4 ptime.1.2.0 re.1.14.0 rresult.0.7.0 seq.base sexplib0.v0.17.0 sha.1.15.4 spdx_licenses.1.4.0 ssl.0.7.0 stdlib-shims.0.3.0 stringext.1.6.0 swhid_core.0.1 topkg.1.1.0 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.4 x509.1.0.6 yojson.2.2.2 zarith.1.14")
/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 opam-publish.dev $DEPS"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Repositories loaded.
- Metadata cache created.
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[opam-publish.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.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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 system packages will first need to be installed:
gmp-devel openssl-devel
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/sbin/sudo "yum" "install" "-y" "gmp-devel" "openssl-devel"
- Updating and loading repositories:
- Repositories loaded.
- Package Arch Version Repository Size
- Installing:
- gmp-devel x86_64 1:6.3.0-4.fc42 fedora 352.3 KiB
- openssl-devel x86_64 1:3.2.4-4.fc42 updates 4.3 MiB
- Installing dependencies:
- gmp-c++ x86_64 1:6.3.0-4.fc42 fedora 27.6 KiB
-
- Transaction Summary:
- Installing: 3 packages
-
- Total size of inbound packages is 3 MiB. Need to download 3 MiB.
- After this operation, 5 MiB extra will be used (install 5 MiB, remove 0 B).
- [1/3] gmp-devel-1:6.3.0-4.fc42.x86_64 0% | 0.0 B/s | -1.0 B | ?
- >>> Interrupted
- [2/3] gmp-c++-1:6.3.0-4.fc42.x86_64 0% | 0.0 B/s | -1.0 B | ?
- >>> Interrupted
- [3/3] openssl-devel-1:3.2.4-4.fc42.x86_ 0% | 0.0 B/s | -1.0 B | ?
- >>> Interrupted
- --------------------------------------------------------------------------------
- [3/3] Total ???% | -142.0 B/ | -3.0 B | 00m00s
- Failed to download packages
- Librepo error: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=fedora-42&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]
[ERROR] System package install failed with exit code 1 at command:
sudo yum install -y gmp-devel openssl-devel
[ERROR] These packages are still missing: gmp-devel openssl-devel
[NOTE] You can retry with '--assume-depexts' to skip this check, or run 'opam option depext=false' to permanently disable handling of system packages.
"/usr/bin/env" "bash" "-c" "opam update --depexts && opam install --cli=2.4 --depext-only -y opam-publish.dev $DEPS" failed with exit status 10
2025-10-03 11:11.06: Job failed: Failed: Build failed