Organisationsygrekocurlcd7dec ()alpine-3.23-4.14_opam-2.5

alpine-3.23-4.14_opam-2.5

Logs

Show full logs
2026-05-26 18:40.11: New job: test ygrek/ocurl https://github.com/ygrek/ocurl.git#refs/heads/static (cd7dec87c348654df74e00e9b57b38680b2177fe) (linux-x86_64:alpine-3.23-4.14_opam-2.5)
Base: ocaml/opam:alpine-3.23-ocaml-4.14@sha256:c98c3afc38d39340ca2b1e9c3c1b8c127283806cba433dd4865c01d18c619ef9
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ygrek/ocurl.git" -b "static" && cd "ocurl" && git reset --hard cd7dec87
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.23-ocaml-4.14@sha256:c98c3afc38d39340ca2b1e9c3c1b8c127283806cba433dd4865c01d18c619ef9
# alpine-3.23-4.14_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam
RUN cd ~/opam-repository && (git cat-file -e c180e1630960e0dbb8e30c22b3de89113eb5cc93 || git fetch origin master) && git reset -q --hard c180e1630960e0dbb8e30c22b3de89113eb5cc93 && git log --no-decorate -n1 --oneline
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN opam update -u
COPY --chown=1000:1000 curl_lwt.opam curl.opam ./
RUN opam pin add -yn curl_lwt.dev './' && \
    opam pin add -yn curl.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.23.1 dune-configurator.3.23.1 lwt.6.1.2 ocaml.4.14.3 ocaml-base-compiler.4.14.3 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y curl_lwt.dev curl.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-05-26 18:40.11: Using cache hint "ygrek/ocurl-ocaml/opam:alpine-3.23-ocaml-4.14@sha256:c98c3afc38d39340ca2b1e9c3c1b8c127283806cba433dd4865c01d18c619ef9-alpine-3.23-4.14_opam-2.5-2b0d90cefb4aa046784a563c31e631bd"
2026-05-26 18:40.11: Using OBuilder spec:
((from ocaml/opam:alpine-3.23-ocaml-4.14@sha256:c98c3afc38d39340ca2b1e9c3c1b8c127283806cba433dd4865c01d18c619ef9)
 (comment alpine-3.23-4.14_opam-2.5)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "cd ~/opam-repository && (git cat-file -e c180e1630960e0dbb8e30c22b3de89113eb5cc93 || git fetch origin master) && git reset -q --hard c180e1630960e0dbb8e30c22b3de89113eb5cc93 && git log --no-decorate -n1 --oneline"))
 (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 "opam update -u"))
 (copy (src curl_lwt.opam curl.opam) (dst ./))
 (run (network host)
      (shell  "opam pin add -yn curl_lwt.dev './' && \
             \nopam pin add -yn curl.dev './'"))
 (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.23.1 dune-configurator.3.23.1 lwt.6.1.2 ocaml.4.14.3 ocaml-base-compiler.4.14.3 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2")
 (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 curl_lwt.dev curl.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-05-26 18:40.11: Waiting for resource in pool OCluster
2026-05-26 18:40.12: Waiting for worker…
2026-05-26 18:40.45: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at cd7dec8 discover: use ARGN instead of custom call to pkgconfig

(from ocaml/opam:alpine-3.23-ocaml-4.14@sha256:c98c3afc38d39340ca2b1e9c3c1b8c127283806cba433dd4865c01d18c619ef9)
2026-05-26 18:40.47 ---> using "8e65bc4d84a4bbc3f291f4c89c5f0411ea9740fc4228eddb2c11cbc44748b04d" from cache

/: (comment alpine-3.23-4.14_opam-2.5)

/: (user (uid 1000) (gid 1000))

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-05-26 18:40.47 ---> using "aab497e11bbd2fd71b7803c973cd82c25e2349fb71321f802961e3807e924999" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e c180e1630960e0dbb8e30c22b3de89113eb5cc93 || git fetch origin master) && git reset -q --hard c180e1630960e0dbb8e30c22b3de89113eb5cc93 && git log --no-decorate -n1 --oneline"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   045748b2d8..418d45864d  master     -> origin/master
c180e16309 Merge pull request #29907 from dra27/host-arch-fixes
2026-05-26 18:40.47 ---> using "1fd1cce400470048edff6612fae68226efdbf0c7a70466a9957335ed82b012fc" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "ocaml-patches-overlay": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocurrent/opam-repository/': Could not resolve host: github.com (Could not contact DNS servers)"
[default] Initialised
2026-05-26 18:40.47 ---> using "77a42b68fded5f80ad4c6c7c932e7719b2284a148b8b6881f1bd98cc891d7672" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-111-generic
The OCaml toplevel, version 4.14.3
2.5.1
2026-05-26 18:40.47 ---> using "e4d5e45bedce85fea1087a7b633fde662fd1c9ffae1a5e7877bf7e58ea6ff0ef" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-05-26 18:40.47 ---> using "3a12cf9806e16f5e6c7c9af060a123492c21b419779899b8d2a0ac9abbee9e74" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam update -u"))

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-patches-overlay] no changes from git+https://github.com/ocurrent/opam-repository#patches
[default] no changes 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.5.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)
2026-05-26 18:40.47 ---> using "93b3ef4fcd0d6ac9e897df55b39c392a4aff55535fd008a6830c3f4c618f9a49" from cache

/src: (copy (src curl_lwt.opam curl.opam) (dst ./))
2026-05-26 18:40.49 ---> saved as "2577bbcce52d02a24aedc86f39afca0abe5f0edccc242034694413cf4816e623"

/src: (run (network host)
           (shell  "opam pin add -yn curl_lwt.dev './' && \
                  \nopam pin add -yn curl.dev './'"))
[curl_lwt.dev] synchronised (file:///src)
curl_lwt is now pinned to file:///src (version dev)
[curl.dev] synchronised (file:///src)
curl is now pinned to file:///src (version dev)
2026-05-26 18:40.53 ---> saved as "e880fbc6edd15cd4bc246fa319e35bfd35dc0802b9cd0cd2a83050d9cc37ea95"

/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-05-26 18:40.55 ---> saved as "73492e63416d68eaa2541113cc22851fb956c38023de31bf4d78f324d4887a61"

/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.23.1 dune-configurator.3.23.1 lwt.6.1.2 ocaml.4.14.3 ocaml-base-compiler.4.14.3 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2")

/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.5 --depext-only -y curl_lwt.dev curl.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- v3.23.4-286-g80518573ecc [https://dl-cdn.alpinelinux.org/alpine/v3.23/main]
- v3.23.4-286-g80518573ecc [https://dl-cdn.alpinelinux.org/alpine/v3.23/community]
- v20260127-10362-g5f0761337b0 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20260127-10374-gf795c858cd0 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20260127-10368-g2de55b265ce [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 62336 distinct packages available

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[curl.dev] synchronised (file:///src)
[curl_lwt.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.3).
[NOTE] Package ocaml is already installed (current version is 4.14.3).
[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 system packages will first need to be installed:
    curl-dev

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

+ /usr/bin/sudo "apk" "add" "curl-dev"
- ( 1/16) Upgrading nghttp2-libs (1.68.0-r0 -> 1.69.0-r0)
- ( 2/16) Upgrading libcurl (8.17.0-r1 -> 8.19.0-r0)
- ( 3/16) Upgrading curl (8.17.0-r1 -> 8.19.0-r0)
- ( 4/16) Installing brotli (1.2.0-r0)
- ( 5/16) Installing brotli-dev (1.2.0-r0)
- ( 6/16) Installing c-ares-dev (1.34.6-r0)
- ( 7/16) Installing libidn2-dev (2.3.8-r0)
- ( 8/16) Installing libpsl-utils (0.21.5-r3)
- ( 9/16) Installing libpsl-dev (0.21.5-r3)
- (10/16) Installing nghttp2-dev (1.69.0-r0)
- (11/16) Installing nghttp3-dev (1.13.1-r0)
- (12/16) Installing openssl-dev (3.5.6-r0)
- (13/16) Installing zlib-dev (1.3.2-r0)
- (14/16) Installing zstd (1.5.7-r2)
- (15/16) Installing zstd-dev (1.5.7-r2)
- (16/16) Installing curl-dev (8.19.0-r0)
- Executing busybox-1.37.0-r30.trigger
- OK: 343.9 MiB in 116 packages
# To update the current shell environment, run: eval $(opam env)
2026-05-26 18:41.06 ---> saved as "0c79942fa1b991d0a59400b05988cfd1cf0f7de85ec39a6a5dda40eeb327ed07"

/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.3).
[NOTE] Package ocaml is already installed (current version is 4.14.3).
[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 9 packages
  - install base-bytes        base
  - install conf-libcurl      2
  - install cppo              1.8.0
  - install csexp             1.5.2
  - install dune              3.23.1
  - install dune-configurator 3.23.1
  - install lwt               6.1.2
  - install ocamlfind         1.9.8
  - install ocplib-endian     1.2

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-libcurl.2
-> retrieved lwt.6.1.2  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved dune.3.23.1, dune-configurator.3.23.1  (cached)
2026-05-26 18:41.20: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled