Organisationsbacktrackingocamlgraph9e8c1d (master)alpine-3.21-5.3_opam-2.3

alpine-3.21-5.3_opam-2.3

Logs

Show full logs
2025-01-10 13:20.33: New job: test backtracking/ocamlgraph https://github.com/backtracking/ocamlgraph.git#refs/heads/master (9e8c1d7c0ef44845b42e3595ef68abc37f0cbff6) (linux-x86_64:alpine-3.21-5.3_opam-2.3)
Base: ocaml/opam:alpine-3.21-ocaml-5.3@sha256:dd8bd5730daca2f54c2054aa2189a8460a1950b93d82ac0fcbeab44c2e393a43
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/backtracking/ocamlgraph.git" -b "master" && cd "ocamlgraph" && git reset --hard 9e8c1d7c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-5.3@sha256:dd8bd5730daca2f54c2054aa2189a8460a1950b93d82ac0fcbeab44c2e393a43
# alpine-3.21-5.3_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 a78e724dc54989d1f496005039fd06298c63484a || git fetch origin master) && git reset -q --hard a78e724dc54989d1f496005039fd06298c63484a && 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 './'
ENV DEPS="base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 conf-gnomecanvas.2 conf-gtk2.1 conf-libX11.1 conf-pkg-config.3 csexp.1.5.2 dune.3.17.1 dune-configurator.3.17.1 graphics.5.1.2 lablgtk.2.18.13 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 stdlib-shims.0.3.0"
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-01-10 13:20.33: Using cache hint "backtracking/ocamlgraph-ocaml/opam:alpine-3.21-ocaml-5.3@sha256:dd8bd5730daca2f54c2054aa2189a8460a1950b93d82ac0fcbeab44c2e393a43-alpine-3.21-5.3_opam-2.3-bcca185635ed1d91efe04dee3220314a"
2025-01-10 13:20.33: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:dd8bd5730daca2f54c2054aa2189a8460a1950b93d82ac0fcbeab44c2e393a43)
 (comment alpine-3.21-5.3_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 a78e724dc54989d1f496005039fd06298c63484a || git fetch origin master) && git reset -q --hard a78e724dc54989d1f496005039fd06298c63484a && 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 './'"))
 (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 conf-gnomecanvas.2 conf-gtk2.1 conf-libX11.1 conf-pkg-config.3 csexp.1.5.2 dune.3.17.1 dune-configurator.3.17.1 graphics.5.1.2 lablgtk.2.18.13 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 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.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-01-10 13:20.33: Waiting for resource in pool OCluster
2025-01-10 14:07.29: Waiting for worker…
2025-01-10 14:13.25: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 9e8c1d7 fixed test_contraction

(from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:dd8bd5730daca2f54c2054aa2189a8460a1950b93d82ac0fcbeab44c2e393a43)
2025-01-10 14:13.25 ---> using "6a093706e05c0e53555e9244d46f7209a1fc612c26c390c11f484f242340b7cc" from cache

/: (comment alpine-3.21-5.3_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-01-10 14:13.25 ---> using "47e2cd9455944f816144a39e11a1b407a2c678674ac47b3a54baf41d5c87bbb6" 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 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2025-01-10 14:13.25 ---> using "05823c35ec1905ed8e3c1eba252d0c71d26c74dfeaca45ec163adeb413086403" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-01-10 14:13.25 ---> using "be40361a26aa90a3ae3280f9b87ab6ad1b9428a5e8cf8827e8aa63325b49635f" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-01-10 14:13.25 ---> using "15fd2c878f779a79d4269fac9181a0eab2a1cfd97f0dab23438ac7ce787314aa" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e a78e724dc54989d1f496005039fd06298c63484a || git fetch origin master) && git reset -q --hard a78e724dc54989d1f496005039fd06298c63484a && git log --no-decorate -n1 --oneline && opam update -u"))
a78e724dc5 Merge pull request #27231 from Octachron/OCaml_5.3.0

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from 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, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-01-10 14:13.25 ---> using "5f4d1c1d6d6aac1416a58154094b2b85a1a61c3249edbfd72a53f1adb54a6745" from cache

/src: (copy (src ocamlgraph_gtk.opam ocamlgraph.opam) (dst ./))
2025-01-10 14:13.25 ---> saved as "09314e7d2005930bedfc7c798cafb4a4c656958984e17f0453b8f9884dcfbe34"

/src: (run (network host)
           (shell  "opam pin add -yn ocamlgraph_gtk.dev './' && \
                  \nopam pin add -yn ocamlgraph.dev './'"))
[ocamlgraph_gtk.dev] synchronised (file:///src)
ocamlgraph_gtk is now pinned to file:///src (version dev)
[ocamlgraph.dev] synchronised (file:///src)
ocamlgraph is now pinned to file:///src (version dev)
2025-01-10 14:13.30 ---> saved as "9de70fbae41d758bfcb56cbc86968bf0a007b255b696d804f44b173c47cb4626"

/src: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 conf-gnomecanvas.2 conf-gtk2.1 conf-libX11.1 conf-pkg-config.3 csexp.1.5.2 dune.3.17.1 dune-configurator.3.17.1 graphics.5.1.2 lablgtk.2.18.13 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 stdlib-shims.0.3.0")

/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.3 --depext-only -y ocamlgraph_gtk.dev ocamlgraph.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.21.2-31-g863f85b0320 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.2-36-g02c01ec7bc6 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v20250108-103-g0f1ecbb8c97 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20250108-130-g11e35588c91 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20250108-130-g11e35588c91 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 55044 distinct packages available

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ocamlgraph.dev] synchronised (no changes)
[ocamlgraph_gtk.dev] synchronised (no changes)

[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).
[ERROR] Package conf-gnomecanvas.2 depends on the unavailable system package 'libgnomecanvas-dev@testing'. You can use `--no-depexts' to attempt installation anyway.
"/usr/bin/env" "bash" "-c" "opam update --depexts && opam install --cli=2.3 --depext-only -y ocamlgraph_gtk.dev ocamlgraph.dev $DEPS" failed with exit status 5
2025-01-10 14:13.35: Job failed: Failed: Build failed