Organisationsbacktrackingocamlgraph1b052f ()debian-12-4.14+flambda_opam-2.3

debian-12-4.14+flambda_opam-2.3

Link Copied
Code Copied

Logs

2025-04-08 08:39.09: New job: test backtracking/ocamlgraph https://github.com/backtracking/ocamlgraph.git#refs/heads/master (1b052ff2a064b852a29b6c7a3788dd23798b27fb) (linux-x86_64:debian-12-4.14+flambda_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.14-flambda@sha256:c3ba2266f0d9f27196abb820e5b90b4e2d85dce6d4cd82d673152e65746601e5
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/backtracking/ocamlgraph.git" -b "master" && cd "ocamlgraph" && git reset --hard 1b052ff2
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14-flambda@sha256:c3ba2266f0d9f27196abb820e5b90b4e2d85dce6d4cd82d673152e65746601e5
# debian-12-4.14+flambda_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.14.2 ocaml-config.2 ocaml-variants.4.14.2+options 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-08 08:39.09: Using cache hint "backtracking/ocamlgraph-ocaml/opam:debian-12-ocaml-4.14-flambda@sha256:c3ba2266f0d9f27196abb820e5b90b4e2d85dce6d4cd82d673152e65746601e5-debian-12-4.14+flambda_opam-2.3-21b8e7d23fca437486c6a9b836624048"
2025-04-08 08:39.09: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14-flambda@sha256:c3ba2266f0d9f27196abb820e5b90b4e2d85dce6d4cd82d673152e65746601e5)
(comment debian-12-4.14+flambda_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.14.2 ocaml-config.2 ocaml-variants.4.14.2+options 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-08 08:39.09: Waiting for resource in pool OCluster
2025-04-08 08:39.10: Waiting for worker…
2025-04-08 08:39.10: Got resource from pool OCluster
Building on x86-bm-c2.sw.ocaml.org
All commits already cached
HEAD is now at 1b052ff Merge pull request #153 from kit-ty-kate/ocaml-4.08


(from ocaml/opam:debian-12-ocaml-4.14-flambda@sha256:c3ba2266f0d9f27196abb820e5b90b4e2d85dce6d4cd82d673152e65746601e5)
2025-04-08 08:39.40 ---> saved as "21c83d050e4c056b4917fb76a73fe1d402fb610c21587dc9f64a344ad1de67fb"


/: (comment debian-12-4.14+flambda_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-08 08:39.40 ---> saved as "8ca81d8d194f89433e40e9265577dc1544fc0784932804a17a5dc623d38f3281"


/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-08 08:41.01: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled