Build:
- 1
- 0
2026-02-15 10:03.44: New job: test wasm_of_ocaml-compiler.6.3.2, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29393/head (d7f2c479cc0b0634a614ca6f6cf1b12a963920d4)
on centos-9-ocaml-5.4/amd64
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29393/head" && git reset --hard d7f2c479
git fetch origin master
git merge --no-edit 66fe1c299d8a0fe922268a88a05ccf4bee097900
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:centos-9-ocaml-5.4@sha256:8bc5ab887c15d30a2305c5660037e2250f192dc7bb30f4e0a1e10f9b71da9c66
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn wasm_of_ocaml-compiler.6.3.2 6.3.2
RUN opam reinstall wasm_of_ocaml-compiler.6.3.2; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"centos-9\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'wasm_of_ocaml-compiler.6.3.2' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN (opam reinstall --with-test wasm_of_ocaml-compiler.6.3.2) || true
RUN opam reinstall --with-test --verbose wasm_of_ocaml-compiler.6.3.2; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"centos-9\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'wasm_of_ocaml-compiler.6.3.2' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
END-OF-DOCKERFILE
docker build -f ../Dockerfile .
2026-02-15 10:03.44: Using cache hint "ocaml/opam:centos-9-ocaml-5.4@sha256:8bc5ab887c15d30a2305c5660037e2250f192dc7bb30f4e0a1e10f9b71da9c66-wasm_of_ocaml-compiler.6.3.2-d7f2c479cc0b0634a614ca6f6cf1b12a963920d4"
2026-02-15 10:03.44: Using OBuilder spec:
((from ocaml/opam:centos-9-ocaml-5.4@sha256:8bc5ab887c15d30a2305c5660037e2250f192dc7bb30f4e0a1e10f9b71da9c66)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "opam option solver=builtin-0install && opam config report"))
(env OPAMDOWNLOADJOBS 1)
(env OPAMERRLOGLEN 0)
(env OPAMPRECISETRACKING 1)
(env CI true)
(env OPAM_REPO_CI true)
(run (shell "rm -rf opam-repository/"))
(copy (src .) (dst opam-repository/))
(run (shell "opam repository set-url --strict default opam-repository/"))
(run (network host)
(shell "opam update --depexts || true"))
(run (shell "opam pin add -k version -yn wasm_of_ocaml-compiler.6.3.2 6.3.2"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall wasm_of_ocaml-compiler.6.3.2;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"centos-9\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'wasm_of_ocaml-compiler.6.3.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (network host)
(shell "(opam reinstall --with-test wasm_of_ocaml-compiler.6.3.2) || true"))
(run (shell "opam reinstall --with-test --verbose wasm_of_ocaml-compiler.6.3.2;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"centos-9\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'wasm_of_ocaml-compiler.6.3.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-02-15 10:03.44: Waiting for resource in pool OCluster
2026-02-15 10:04.52: Waiting for worker…
2026-02-15 10:09.42: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 66fe1c299d Merge pull request #29371 from edwintorok/release-lintcstubs-arity-0.5.0
Updating 66fe1c299d..d7f2c479cc
Fast-forward
.../js_of_ocaml-compiler.6.3.2/opam | 67 ++++++++++++++++++++++
.../js_of_ocaml-lwt/js_of_ocaml-lwt.6.3.2/opam | 47 +++++++++++++++
.../js_of_ocaml-ppx/js_of_ocaml-ppx.6.3.2/opam | 45 +++++++++++++++
.../js_of_ocaml-ppx_deriving_json.6.3.2/opam | 45 +++++++++++++++
.../js_of_ocaml-toplevel.6.3.2/opam | 47 +++++++++++++++
.../js_of_ocaml-tyxml/js_of_ocaml-tyxml.6.3.2/opam | 48 ++++++++++++++++
packages/js_of_ocaml/js_of_ocaml.6.3.2/opam | 45 +++++++++++++++
.../wasm_of_ocaml-compiler.6.3.2/opam | 63 ++++++++++++++++++++
8 files changed, 407 insertions(+)
create mode 100644 packages/js_of_ocaml-compiler/js_of_ocaml-compiler.6.3.2/opam
create mode 100644 packages/js_of_ocaml-lwt/js_of_ocaml-lwt.6.3.2/opam
create mode 100644 packages/js_of_ocaml-ppx/js_of_ocaml-ppx.6.3.2/opam
create mode 100644 packages/js_of_ocaml-ppx_deriving_json/js_of_ocaml-ppx_deriving_json.6.3.2/opam
create mode 100644 packages/js_of_ocaml-toplevel/js_of_ocaml-toplevel.6.3.2/opam
create mode 100644 packages/js_of_ocaml-tyxml/js_of_ocaml-tyxml.6.3.2/opam
create mode 100644 packages/js_of_ocaml/js_of_ocaml.6.3.2/opam
create mode 100644 packages/wasm_of_ocaml-compiler/wasm_of_ocaml-compiler.6.3.2/opam
(from ocaml/opam:centos-9-ocaml-5.4@sha256:8bc5ab887c15d30a2305c5660037e2250f192dc7bb30f4e0a1e10f9b71da9c66)
2026-02-15 10:25.56 ---> using "54b325169a4d8bd172178ba1ba6cb6bb0e8a5c5782aa8daf3b60e0bfad8a3f4c" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-02-15 10:25.56 ---> using "b9386a38efec7d4bc88ce5d535b9418be4874ffd1b34bdda5380cb38aaf7decf" from cache
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally 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
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=71 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-02-15 10:25.56 ---> using "756f34a3873823bc211d94317518ffa070b6180b4d578c10c7b4479bd5f83a78" from cache
/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version 2.5.0
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=centos os-version=9
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 255
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.4
# invariant ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.0
2026-02-15 10:25.56 ---> using "6f6d6e70d867d7e8fdb23097b83f50316e55b6bd369f9126288e4d4340dafe75" from cache
/home/opam: (env OPAMDOWNLOADJOBS 1)
/home/opam: (env OPAMERRLOGLEN 0)
/home/opam: (env OPAMPRECISETRACKING 1)
/home/opam: (env CI true)
/home/opam: (env OPAM_REPO_CI true)
/home/opam: (run (shell "rm -rf opam-repository/"))
2026-02-15 10:25.56 ---> using "7be008e3391f2ed89a6e357022ee1469b76d78bd9acb5160bd3cb9d2b67f5059" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-02-15 10:25.56 ---> using "f2781283741fc3c1e55a135e79fb8f11e157f2e5a78175b5a1dff1816a2a084d" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-02-15 10:25.56 ---> using "38bcd485603cbc24329063762ae61e8cb82b626ceec47fb512925bdc644275c6" from cache
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 9 - BaseOS 35 kB/s | 15 kB 00:00
- CentOS Stream 9 - BaseOS 7.1 MB/s | 8.9 MB 00:01
- CentOS Stream 9 - AppStream 203 kB/s | 15 kB 00:00
- CentOS Stream 9 - AppStream 13 MB/s | 27 MB 00:02
- CentOS Stream 9 - CRB 28 kB/s | 15 kB 00:00
- CentOS Stream 9 - CRB 11 MB/s | 7.8 MB 00:00
- CentOS Stream 9 - Extras packages 165 kB/s | 16 kB 00:00
- CentOS Stream 9 - Extras packages 211 kB/s | 20 kB 00:00
- Metadata cache created.
2026-02-15 10:25.56 ---> using "d1b053b0d5303c8d4dd62fd999fa03c346923d769b31bd8fa8ce72f448d17fcc" from cache
/home/opam: (run (shell "opam pin add -k version -yn wasm_of_ocaml-compiler.6.3.2 6.3.2"))
wasm_of_ocaml-compiler is now pinned to version 6.3.2
2026-02-15 10:25.56 ---> using "f46d22bae6113e5a456952bd2bb2a426ef541a4a69f38bfd960c66aa68f0593d" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall wasm_of_ocaml-compiler.6.3.2;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"centos-9\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'wasm_of_ocaml-compiler.6.3.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
wasm_of_ocaml-compiler.6.3.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 20 packages
- install cmdliner 2.1.0 [required by wasm_of_ocaml-compiler]
- install conf-binaryen 1 [required by wasm_of_ocaml-compiler]
- install dune 3.21.1 [required by wasm_of_ocaml-compiler]
- install gen 1.1 [required by sedlex]
- install js_of_ocaml 6.3.2 [required by wasm_of_ocaml-compiler]
- install js_of_ocaml-compiler 6.3.2 [required by js_of_ocaml]
- install menhir 20260209 [required by wasm_of_ocaml-compiler]
- install menhirCST 20260209 [required by menhir]
- install menhirGLR 20260209 [required by menhir]
- install menhirLib 20260209 [required by wasm_of_ocaml-compiler]
- install menhirSdk 20260209 [required by wasm_of_ocaml-compiler]
- install ocaml-compiler-libs v0.17.0 [required by js_of_ocaml-compiler]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppxlib 0.37.0 [required by wasm_of_ocaml-compiler]
- install sedlex 3.7 [required by wasm_of_ocaml-compiler]
- install seq base [required by gen]
- install sexplib0 v0.17.0 [required by ppxlib]
- install stdlib-shims 0.3.0 [required by ppxlib]
- install wasm_of_ocaml-compiler 6.3.2 (pinned)
- install yojson 3.0.0 [required by wasm_of_ocaml-compiler]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.2.1.0 (cached)
[ERROR] The compilation of conf-binaryen.1 failed at "wasm-opt --version".
-> retrieved dune.3.21.1 (cached)
-> retrieved gen.1.1 (cached)
-> retrieved js_of_ocaml.6.3.2, js_of_ocaml-compiler.6.3.2, wasm_of_ocaml-compiler.6.3.2 (cached)
-> retrieved menhir.20260209, menhirCST.20260209, menhirGLR.20260209, menhirLib.20260209, menhirSdk.20260209 (cached)
-> installed cmdliner.2.1.0
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppxlib.0.37.0 (cached)
-> retrieved sedlex.3.7 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved yojson.3.0.0 (cached)
-> installed dune.3.21.1
-> installed menhirCST.20260209
-> installed ppx_derivers.1.2.1
-> installed gen.1.1
-> installed menhirGLR.20260209
-> installed menhirLib.20260209
-> installed stdlib-shims.0.3.0
-> installed menhirSdk.20260209
-> installed sexplib0.v0.17.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed yojson.3.0.0
-> installed menhir.20260209
-> installed ppxlib.0.37.0
-> installed sedlex.3.7
-> installed js_of_ocaml-compiler.6.3.2
-> installed js_of_ocaml.6.3.2
#=== ERROR while compiling conf-binaryen.1 ====================================#
# context 2.5.0 | linux/x86_64 | ocaml-base-compiler.5.4.0 | file:///home/opam/opam-repository
# path ~/.opam/5.4/.opam-switch/build/conf-binaryen.1
# command ~/.opam/opam-init/hooks/sandbox.sh build wasm-opt --version
# exit-code 10
# env-file ~/.opam/log/conf-binaryen-7-bf66aa.env
# output-file ~/.opam/log/conf-binaryen-7-bf66aa.out
### output ###
# [ERROR] Command not found: wasm-opt
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build conf-binaryen 1
+-
+- The following changes have been performed (the rest was aborted)
| - install cmdliner 2.1.0
| - install dune 3.21.1
| - install gen 1.1
| - install js_of_ocaml 6.3.2
| - install js_of_ocaml-compiler 6.3.2
| - install menhir 20260209
| - install menhirCST 20260209
| - install menhirGLR 20260209
| - install menhirLib 20260209
| - install menhirSdk 20260209
| - install ocaml-compiler-libs v0.17.0
| - install ppx_derivers 1.2.1
| - install ppxlib 0.37.0
| - install sedlex 3.7
| - install seq base
| - install sexplib0 v0.17.0
| - install stdlib-shims 0.3.0
| - install yojson 3.0.0
+-
<><> conf-binaryen.1 troubleshooting ><><><><><><><><><><><><><><><><><><><><><>
=> Please install binaryen manually, as there is no known package
for it for your distribution.
# 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.4/.opam-switch/backup/state-20260215102527.export"
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
opam-repo-ci detected dependencies failing: conf-binaryen.1
"/usr/bin/env" "bash" "-c" "opam reinstall wasm_of_ocaml-compiler.6.3.2;
res=$?;
test "$res" != 31 && exit "$res";
export OPAMCLI=2.0;
build_dir=$(opam var prefix)/.opam-switch/build;
failed=$(ls "$build_dir");
partial_fails="";
for pkg in $failed; do
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"centos-9\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'wasm_of_ocaml-compiler.6.3.2' && partial_fails="$partial_fails $pkg";
done;
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
exit 1" failed with exit status 1
2026-02-15 10:26.32: Job failed: Failed: Build failed
2026-02-15 10:26.32: Log analysis:
2026-02-15 10:26.32: >>>
[ERROR] The compilation of conf-binaryen.1 failed at "wasm-opt --version".
(score = 20)
2026-02-15 10:26.32: >>>
opam-repo-ci detected dependencies failing: conf-binaryen.1
(score = 75)
2026-02-15 10:26.32: conf-binaryen.1 failed to build