Organisationsbacktrackingocamlgraphe250d4 ()debian-12-4.13_opam-2.3

debian-12-4.13_opam-2.3

Logs

Show full logs
2025-04-11 06:20.30: New job: test backtracking/ocamlgraph https://github.com/backtracking/ocamlgraph.git#refs/heads/master (e250d4b2967ef7854f97f44b357f418ec7b81417) (linux-x86_64:debian-12-4.13_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.13@sha256:e0d8c80a3d05139965f0003792761d3564511228635126bb2382666c6dac03e0
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/backtracking/ocamlgraph.git" -b "master" && cd "ocamlgraph" && git reset --hard e250d4b2
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.13@sha256:e0d8c80a3d05139965f0003792761d3564511228635126bb2382666c6dac03e0
# debian-12-4.13_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ocamlgraph_gtk.opam ocamlgraph.opam ./
RUN opam pin add -yn ocamlgraph_gtk.dev './' && \
    opam pin add -yn ocamlgraph.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 conf-gnomecanvas.2 conf-gtk2.1 conf-libX11.1 conf-pkg-config.4 csexp.1.5.2 dune.3.18.0 dune-configurator.3.18.0 graphics.5.1.2 lablgtk.2.18.14 ocaml.4.13.1 ocaml-base-compiler.4.13.1 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y ocamlgraph_gtk.dev ocamlgraph.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-04-11 06:20.30: Using cache hint "backtracking/ocamlgraph-ocaml/opam:debian-12-ocaml-4.13@sha256:e0d8c80a3d05139965f0003792761d3564511228635126bb2382666c6dac03e0-debian-12-4.13_opam-2.3-7ca47d8f9f6246f241ed2b5fb20b5cab"
2025-04-11 06:20.30: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.13@sha256:e0d8c80a3d05139965f0003792761d3564511228635126bb2382666c6dac03e0)
 (comment debian-12-4.13_opam-2.3)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.3 /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 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src ocamlgraph_gtk.opam ocamlgraph.opam) (dst ./))
 (run (network host)
      (shell  "opam pin add -yn ocamlgraph_gtk.dev './' && \
             \nopam pin add -yn ocamlgraph.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 conf-gnomecanvas.2 conf-gtk2.1 conf-libX11.1 conf-pkg-config.4 csexp.1.5.2 dune.3.18.0 dune-configurator.3.18.0 graphics.5.1.2 lablgtk.2.18.14 ocaml.4.13.1 ocaml-base-compiler.4.13.1 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8")
 (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.3 --depext-only -y ocamlgraph_gtk.dev ocamlgraph.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-04-11 06:20.30: Waiting for resource in pool OCluster
2025-04-11 06:20.30: Waiting for worker…
2025-04-11 06:20.30: Got resource from pool OCluster
Building on x86-bm-c1.sw.ocaml.org
HEAD is now at 37cda77 0-1 BFS
HEAD is now at e250d4b Merge pull request #150 from maximebuyse/fix-stable-topological-sort

(from ocaml/opam:debian-12-ocaml-4.13@sha256:e0d8c80a3d05139965f0003792761d3564511228635126bb2382666c6dac03e0)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.13@sha256:e0d8c80a3d05139965f0003792761d3564511228635126bb2382666c6dac03e0' locally
docker.io/ocaml/opam@sha256:e0d8c80a3d05139965f0003792761d3564511228635126bb2382666c6dac03e0: Pulling from ocaml/opam
f85371bb2214: Pulling fs layer
f85371bb2214: Verifying Checksum
f85371bb2214: Download complete
f85371bb2214: Pull complete
Digest: sha256:e0d8c80a3d05139965f0003792761d3564511228635126bb2382666c6dac03e0
Status: Downloaded newer image for ocaml/opam@sha256:e0d8c80a3d05139965f0003792761d3564511228635126bb2382666c6dac03e0
2025-04-11 06:22.30 ---> saved as "bc7e70fe2f4e209c389e823cf314129bf937fa34663c198287707d3090531d0b"

/: (comment debian-12-4.13_opam-2.3)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-04-11 06:22.30 ---> saved as "c0d3a4ef39c8c0f5c81a0ef20168591f2ca73cebcc2425b677e471f1693c4605"

/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 development 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 "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-04-11 06:23.53: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled