2025-06-12 14:21.48: New job: test ocaml-multicore/effects-examples https://github.com/ocaml-multicore/effects-examples.git#refs/heads/master (8a7e80dd29e68e2d05fe4b0399c8535a51f36395) (linux-ppc64:debian-12-5.3_ppc64_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.3@sha256:ee1370892e35a7707afd41501039a3c90e173dd9ce9096b12b0e38a805d568f8
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-multicore/effects-examples.git" -b "master" && cd "effects-examples" && git reset --hard 8a7e80dd
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:ee1370892e35a7707afd41501039a3c90e173dd9ce9096b12b0e38a805d568f8
# debian-12-5.3_ppc64_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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 effects-examples.opam ./
RUN opam pin add -yn effects-examples.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 lwt.5.9.1 multicont.1.0.3 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.8 ocplib-endian.1.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y effects-examples.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-06-12 14:21.48: Using cache hint "ocaml-multicore/effects-examples-ocaml/opam:debian-12-ocaml-5.3@sha256:ee1370892e35a7707afd41501039a3c90e173dd9ce9096b12b0e38a805d568f8-debian-12-5.3_ppc64_opam-2.3-c285cb14f48fc223a50ac39ac4fafe96"
2025-06-12 14:21.48: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:ee1370892e35a7707afd41501039a3c90e173dd9ce9096b12b0e38a805d568f8)
(comment debian-12-5.3_ppc64_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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src effects-examples.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn effects-examples.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 lwt.5.9.1 multicont.1.0.3 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.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.3 --depext-only -y effects-examples.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-06-12 14:21.48: Waiting for resource in pool OCluster
2025-06-12 14:59.19: Waiting for worker…
2025-06-12 15:11.09: Got resource from pool OCluster
Building on orithia.caelum.ci.dev
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /var/cache/obuilder/ocluster/git/effects-examples.git-a1bacf9d4bce447b5edfecd0b50085fe4d7672d3/.git/
HEAD is now at 8a7e80d Merge pull request #44 from ocaml-multicore/multicont-1.0.3
(from ocaml/opam:debian-12-ocaml-5.3@sha256:ee1370892e35a7707afd41501039a3c90e173dd9ce9096b12b0e38a805d568f8)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:ee1370892e35a7707afd41501039a3c90e173dd9ce9096b12b0e38a805d568f8' locally
docker.io/ocaml/opam@sha256:ee1370892e35a7707afd41501039a3c90e173dd9ce9096b12b0e38a805d568f8: Pulling from ocaml/opam
Digest: sha256:ee1370892e35a7707afd41501039a3c90e173dd9ce9096b12b0e38a805d568f8
Status: Downloaded newer image for ocaml/opam@sha256:ee1370892e35a7707afd41501039a3c90e173dd9ce9096b12b0e38a805d568f8
2025-06-12 15:11.12 ---> using "d2f18e339fc62b9487ec937ac3577309d7eb0a63dee3b97d34f0497b3005480e" from cache
/: (comment debian-12-5.3_ppc64_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-06-12 15:11.12 ---> using "e6b136681c35276cbef6d851cd2eb0b40e774f7ba585d83c9c254f621efae77f" 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] Initialised
2025-06-12 15:11.12 ---> using "b9ebd07ba793e5cd7420df0a641bc46cc71fe76c38ff48e146dbbf954ba22e36" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-60-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-06-12 15:11.12 ---> using "97db4f2a7237e5b447638da04bf25fbec5db867405f5cfea6eed36787b7afbab" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-06-12 15:11.12 ---> using "217228fd459dffef0016164a6fa8e4db6ca9da8012f8f36b9d10355e7658d75c" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
bc726805e3..a28eb8a148 master -> origin/master
a28eb8a148 Merge pull request #28017 from maiste/release-dune-3.19.1
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised 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, 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-06-12 15:11.12 ---> using "1c0e044e1c2d398be8125a2bf09b094e6b1f1ff7da8edb38859f18555b28a03b" from cache
/src: (copy (src effects-examples.opam) (dst ./))
2025-06-12 15:11.12 ---> saved as "53f72e924fa730cdd796d425a843c3380036de7725e36353e1b995c9defc7958"
/src: (run (network host)
(shell "opam pin add -yn effects-examples.dev './'"))
Package effects-examples does not exist, create as a NEW package? [y/n] y
[effects-examples.dev] synchronised (file:///src)
[WARNING] Failed checks on effects-examples package definition from source at file:///src:
warning 68: Missing field 'license'
effects-examples is now pinned to file:///src (version dev)
2025-06-12 15:11.15 ---> saved as "a3a90307c30a999a5401be8a0938362d30a972dff35c599c5b5bd1a276257a82"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-12 15:11.15 ---> saved as "f7d6052d0415c8dcaf74a4d2f2ff29fdc9342a53d7d22a882dbddc62cfe03d45"
/src: (env DEPS "base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 lwt.5.9.1 multicont.1.0.3 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.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.3 --depext-only -y effects-examples.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main ppc64el Packages [253 kB]
- Fetched 356 kB in 0s (774 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[effects-examples.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 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).
2025-06-12 15:11.34 ---> saved as "615dad3fb73a8b63fa25d1bd50449d14b3247c2f98e23f7a424c4c6ac8d695d9"
/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 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).
The following actions will be performed:
=== install 9 packages
- install base-bytes base
- install cppo 1.8.0
- install csexp 1.5.2
- install dune 3.19.1
- install dune-configurator 3.19.1
- install lwt 5.9.1
- install multicont 1.0.3
- install ocamlfind 1.9.8
- install ocplib-endian 1.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved lwt.5.9.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved multicont.1.0.3 (https://opam.ocaml.org/cache)
-> retrieved dune.3.19.1, dune-configurator.3.19.1 (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.19.1
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.19.1
[ERROR] The compilation of multicont.1.0.3 failed at "dune build -p multicont -j 175 @install".
-> installed lwt.5.9.1
#=== ERROR while compiling multicont.1.0.3 ====================================#
# context 2.3.0 | linux/ppc64 | ocaml-base-compiler.5.3.0 | git+file:///home/opam/opam-repository
# path ~/.opam/5.3/.opam-switch/build/multicont.1.0.3
# command ~/.opam/5.3/bin/dune build -p multicont -j 175 @install
# exit-code 1
# env-file ~/.opam/log/multicont-1-36d72e.env
# output-file ~/.opam/log/multicont-1-36d72e.out
### output ###
# File "lib/dune", lines 1-14, characters 0-317:
# 1 | (library
# 2 | (name multicont)
# 3 | (public_name multicont)
# ....
# 12 | (mode native)
# 13 | (flags :standard (:include c_native_flags.sexp))
# 14 | (names multicont_stubs)))
# (cd _build/default && /home/opam/.opam/5.3/bin/ocamlopt.opt -w -40 -g -shared -linkall -I lib -o lib/multicont.cmxs lib/multicont.cmxa)
# /usr/bin/ld: cannot find -lmulticont_stubs_native: No such file or directory
# collect2: error: ld returned 1 exit status
# File "caml_startup", line 1:
# Error: Error during linking (exit code 1)
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build multicont 1.0.3
+-
+- The following changes have been performed
| - install base-bytes base
| - install cppo 1.8.0
| - install csexp 1.5.2
| - install dune 3.19.1
| - install dune-configurator 3.19.1
| - install lwt 5.9.1
| - install ocamlfind 1.9.8
| - install ocplib-endian 1.2
+-
# To update the current shell environment, run: eval $(opam env)
The former state can be restored with:
/usr/bin/opam switch import "/home/opam/.opam/5.3/.opam-switch/backup/state-20250612151134.export"
"/usr/bin/env" "bash" "-c" "opam install $DEPS" failed with exit status 31
2025-06-12 15:12.53: Job failed: Failed: Build failed