Organisationssanettegl-legacy744ef5 ()debian-13-5.1_opam-2.4

debian-13-5.1_opam-2.4

Logs

Show full logs
2025-09-27 09:11.35: New job: test sanette/gl-legacy https://github.com/sanette/gl-legacy.git#refs/heads/main (744ef50dfe13a2c45abb4bf3a7e55a6d0eccaba0) (linux-x86_64:debian-13-5.1_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-5.1@sha256:757c5fc67757b0ed0f2b5b4414304e93e4f0600c89571de735702aef6b5aeb8b
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/sanette/gl-legacy.git" -b "main" && cd "gl-legacy" && git reset --hard 744ef50d
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.1@sha256:757c5fc67757b0ed0f2b5b4414304e93e4f0600c89571de735702aef6b5aeb8b
# debian-13-5.1_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 gl-legacy.opam ./
RUN opam pin add -yn gl-legacy.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-libffi.2.0.0 conf-libgl.1 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 ctypes-foreign.0.23.0 dune.3.20.2 dune-configurator.3.20.2 integers.0.7.0 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y gl-legacy.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-09-27 09:11.35: Using cache hint "sanette/gl-legacy-ocaml/opam:debian-13-ocaml-5.1@sha256:757c5fc67757b0ed0f2b5b4414304e93e4f0600c89571de735702aef6b5aeb8b-debian-13-5.1_opam-2.4-750bd49be77ed94b8fad0bb93a7e35ae"
2025-09-27 09:11.35: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.1@sha256:757c5fc67757b0ed0f2b5b4414304e93e4f0600c89571de735702aef6b5aeb8b)
 (comment debian-13-5.1_opam-2.4)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src gl-legacy.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn gl-legacy.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-libffi.2.0.0 conf-libgl.1 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 ctypes-foreign.0.23.0 dune.3.20.2 dune-configurator.3.20.2 integers.0.7.0 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 stdlib-shims.0.3.0")
 (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 gl-legacy.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-09-27 09:11.35: Waiting for resource in pool OCluster
2025-09-27 09:11.35: Waiting for worker…
2025-09-27 09:24.30: Got resource from pool OCluster
Building on eumache
All commits already cached
HEAD is now at 744ef50 fix image

(from ocaml/opam:debian-13-ocaml-5.1@sha256:757c5fc67757b0ed0f2b5b4414304e93e4f0600c89571de735702aef6b5aeb8b)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.1@sha256:757c5fc67757b0ed0f2b5b4414304e93e4f0600c89571de735702aef6b5aeb8b' locally
docker.io/ocaml/opam@sha256:757c5fc67757b0ed0f2b5b4414304e93e4f0600c89571de735702aef6b5aeb8b: Pulling from ocaml/opam
36e53c434b90: Already exists
Digest: sha256:757c5fc67757b0ed0f2b5b4414304e93e4f0600c89571de735702aef6b5aeb8b
Status: Downloaded newer image for ocaml/opam@sha256:757c5fc67757b0ed0f2b5b4414304e93e4f0600c89571de735702aef6b5aeb8b
2025-09-27 09:25.04 ---> saved as "d36d8eef9b82e0c3cc87084377299111873b438c9c2551fa4004116e26feb223"

/: (comment debian-13-5.1_opam-2.4)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-09-27 09:25.04 ---> saved as "1b0b89aee580f85b2a7b3f689989dbdfd66e20c846f5f49cc9f104d0a19a7cb0"

/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.
2025-09-27 09:25.08: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled