- github
- ocaml
- opam-repository
- e9243d
- freebsd,freebsd-14.3-ocaml-5.4-amd64,tyxml-ppx.4.6.0
(not at the head of any monitored branch or PR)
2026-02-25 07:03.45: New job: build tyxml-ppx.4.6.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29460/head (e9243d54b894f2ff7d6624033a71869eda8f9a19)
on freebsd-14.3-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/29460/head" && git reset --hard e9243d54
git fetch origin master
git merge --no-edit 7f356c7b07fed8e01d4196c9a0a9c5acf6c60b04
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-14.3-ocaml-5.4
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/local/bin/opam-dev /usr/local/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 tyxml-ppx.4.6.0 4.6.0
RUN opam reinstall tyxml-ppx.4.6.0; \
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 "\"freebsd-14.3\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'tyxml-ppx.4.6.0' && 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-25 07:03.45: Using cache hint "freebsd-14.3-ocaml-5.4-tyxml-ppx.4.6.0-e9243d54b894f2ff7d6624033a71869eda8f9a19"
2026-02-25 07:03.45: Using OBuilder spec:
((from freebsd-14.3-ocaml-5.4)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/local/bin/opam-dev /usr/local/bin/opam"))
(run (network host)
(shell "opam init --reinit -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 tyxml-ppx.4.6.0 4.6.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall tyxml-ppx.4.6.0;\
\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 \"\\\"freebsd-14.3\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'tyxml-ppx.4.6.0' && 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-25 07:03.45: Waiting for resource in pool OCluster
2026-02-25 07:03.46: Waiting for worker…
2026-02-25 07:03.46: Got resource from pool OCluster
Building on rosemary
Updating files: 100% (18314/18314), done.
HEAD is now at f96a5f6b55 Add ambient-context upper bounds for opentelemetry.0.6-0.10
HEAD is now at 7f356c7b07 Merge pull request #29452 from Leonidas-from-XIV/inifiles-no-ocamlfind
Auto-merging packages/tyxml-ppx/tyxml-ppx.4.6.0/opam
Merge made by the 'ort' strategy.
packages/tyxml-ppx/tyxml-ppx.4.6.0/opam | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(from freebsd-14.3-ocaml-5.4)
2026-02-25 06:58.23 ---> using "463e9b939b79b2568bf98b05cff00f85b3ec5717170cf88773a44ae3b08f11e7" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/local/bin/opam-dev /usr/local/bin/opam"))
2026-02-25 06:58.23 ---> saved as "0f4f38cca0f09ffdac905c0015fdbe56f9214c89e28a28ae3325cd6eed47fd99"
/home/opam: (run (network host)
(shell "opam init --reinit -ni"))
No configuration file found, using 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.1 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 1 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=1 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2026-02-25 06:58.37 ---> saved as "430d75e95f6be08ef0776e6e6bb864bc698709d5f7d071fd7fbbf37d0a8617d5"
/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=freebsd os-distribution=freebsd os-version=1403000
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 39
# repositories 1 (version-controlled)
# pinned 0
# current-switch 5.4.0
# invariant ["ocaml-base-compiler" {= "5.4.0"} | "ocaml-system" {= "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.0/lib/ocaml/stublibs:/home/opam/.opam/5.4.0/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.0
2026-02-25 06:58.38 ---> saved as "8a5a57fecc1d42886ddc4a5b75b36583eef8196838ccdc1bf870bc7798f6f185"
/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-25 06:58.42 ---> saved as "5d57b5e6a2b42d2aa72fb2cc8558fd5735263edde7f2032c7588b729f1b1565f"
/home/opam: (copy (src .) (dst opam-repository/))
2026-02-25 06:58.47 ---> saved as "cedf03157339ce2e75306da76d025e5beca09f9597e33f4ee76ace28419cf5e4"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-02-25 06:59.03 ---> saved as "5b5998b6ba57e730de7fe02c9e934bf3e1a8d74035e91618813b9e67bb21db18"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
[WARNING] Unknown update command for bsd, skipping system update
2026-02-25 06:59.04 ---> saved as "89423565b91746b3155dee0a1915223c14a05e7142c157d17c1d045e75285fff"
/home/opam: (run (shell "opam pin add -k version -yn tyxml-ppx.4.6.0 4.6.0"))
tyxml-ppx is now pinned to version 4.6.0
2026-02-25 06:59.04 ---> saved as "d6725517eb89a6cd1aef4f06482c8188556f41a7680be3229fc9f2e84475a7d2"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall tyxml-ppx.4.6.0;\
\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 \"\\\"freebsd-14.3\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'tyxml-ppx.4.6.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
tyxml-ppx.4.6.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 17 packages
∗ dune 3.21.1 [required by tyxml-ppx]
∗ markup 1.0.3 [required by tyxml-ppx]
∗ ocaml-compiler-libs v0.17.0 [required by ppxlib]
∗ ocamlbuild 0.16.1 [required by uchar, uutf]
∗ ocamlfind 1.9.8 [required by uutf]
∗ ppx_derivers 1.2.1 [required by ppxlib]
∗ ppxlib 0.37.0 [required by tyxml-ppx]
∗ re 1.14.0 [required by tyxml, tyxml-syntax]
∗ seq base [required by tyxml]
∗ sexplib0 v0.17.0 [required by ppxlib]
∗ stdlib-shims 0.3.0 [required by ppxlib]
∗ topkg 1.1.1 [required by uutf]
∗ tyxml 4.6.0 [required by tyxml-ppx]
∗ tyxml-ppx 4.6.0 (pinned)
∗ tyxml-syntax 4.6.0 [required by tyxml-ppx]
∗ uchar 0.0.2 [required by markup]
∗ uutf 1.0.4 [required by tyxml, markup, tyxml-syntax]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved dune.3.21.1 (cached)
⬇ retrieved markup.1.0.3 (cached)
⬇ retrieved ocaml-compiler-libs.v0.17.0 (cached)
⬇ retrieved ocamlbuild.0.16.1 (cached)
⬇ retrieved ocamlfind.1.9.8 (cached)
⬇ retrieved ppx_derivers.1.2.1 (cached)
⬇ retrieved ppxlib.0.37.0 (cached)
⬇ retrieved re.1.14.0 (cached)
⬇ retrieved seq.base (cached)
∗ installed seq.base
⬇ retrieved sexplib0.v0.17.0 (cached)
⬇ retrieved stdlib-shims.0.3.0 (cached)
⬇ retrieved topkg.1.1.1 (cached)
⬇ retrieved tyxml.4.6.0, tyxml-ppx.4.6.0, tyxml-syntax.4.6.0 (cached)
⬇ retrieved uchar.0.0.2 (cached)
⬇ retrieved uutf.1.0.4 (cached)
∗ installed ocamlfind.1.9.8
∗ installed ocamlbuild.0.16.1
∗ installed uchar.0.0.2
∗ installed topkg.1.1.1
∗ installed uutf.1.0.4
∗ installed dune.3.21.1
∗ installed ppx_derivers.1.2.1
∗ installed stdlib-shims.0.3.0
∗ installed ocaml-compiler-libs.v0.17.0
∗ installed sexplib0.v0.17.0
∗ installed re.1.14.0
∗ installed markup.1.0.3
∗ installed tyxml.4.6.0
∗ installed ppxlib.0.37.0
∗ installed tyxml-syntax.4.6.0
[ERROR] The compilation of tyxml-ppx.4.6.0 failed at "dune build -p tyxml-ppx -j 39 @install".
#=== ERROR while compiling tyxml-ppx.4.6.0 ====================================#
# context 2.5.0 | freebsd/x86_64 | ocaml-base-compiler.5.4.0 | pinned(https://github.com/ocsigen/tyxml/releases/download/4.6.0/tyxml-4.6.0.tbz)
# path ~/.opam/5.4.0/.opam-switch/build/tyxml-ppx.4.6.0
# command ~/.opam/5.4.0/bin/dune build -p tyxml-ppx -j 39 @install
# exit-code 1
# env-file ~/.opam/log/tyxml-ppx-12574-c1fb47.env
# output-file ~/.opam/log/tyxml-ppx-12574-c1fb47.out
### output ###
# (cd _build/default && /home/opam/.opam/5.4.0/bin/ocamlc.opt -w -40 -safe-string -open Ppxlib -w -9 -g -bin-annot -bin-annot-occurrences -I ppx/.tyxml_ppx.objs/byte -I /home/opam/.opam/5.4.0/lib/markup -I /home/opam/.opam/5.4.0/lib/ocaml-compiler-libs/common -I /home/opam/.opam/5.4.0/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/5.4.0/lib/ocaml/compiler-libs -I /home/opam/.opam/5.4.0/lib/ppx_derivers -I /home/opam/.opam/5.4.0/lib/ppxlib -I /home/opam/.opam/5.4.0/lib/ppxlib/ast -I /home/opam/.opam/5.4.0/lib/ppxlib/astlib -I /home/opam/.opam/5.4.0/lib/ppxlib/print_diff -I /home/opam/.opam/5.4.0/lib/ppxlib/stdppx -I /home/opam/.opam/5.4.0/lib/ppxlib/traverse_builtins -I /home/opam/.opam/5.4.0/lib/re -I /home/opam/.opam/5.4.0/lib/re/str -I /home/opam/.opam/5.4.0/lib/sexplib0 -I /home/opam/.opam/5.4.0/lib/stdlib-shims -I /home/opam/.opam/5.4.0/lib/tyxml-syntax -I /home/opam/.opam/5.4.0/lib/uutf -cmi-file ppx/.tyxml_ppx.objs/byte/tyxml_ppx.cmi -no-alias-deps -o ppx/.tyxml_ppx.objs/byte/tyxml_ppx.cmo -c -impl ppx/tyxml_ppx.pp.ml)
# File "ppx/tyxml_ppx.ml", line 381, characters 4-12:
# 381 | | Pexp_fun (label,def,pat,content) ->
# ^^^^^^^^
# Error: This variant pattern is expected to have type
# Ppxlib.Parsetree.expression_desc
# There is no constructor Pexp_fun within type Ppxlib.Parsetree.expression_desc
# Hint: Did you mean Pexp_for?
# (cd _build/default && /home/opam/.opam/5.4.0/bin/ocamlopt.opt -w -40 -safe-string -open Ppxlib -w -9 -g -I ppx/.tyxml_ppx.objs/byte -I ppx/.tyxml_ppx.objs/native -I /home/opam/.opam/5.4.0/lib/markup -I /home/opam/.opam/5.4.0/lib/ocaml-compiler-libs/common -I /home/opam/.opam/5.4.0/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/5.4.0/lib/ocaml/compiler-libs -I /home/opam/.opam/5.4.0/lib/ppx_derivers -I /home/opam/.opam/5.4.0/lib/ppxlib -I /home/opam/.opam/5.4.0/lib/ppxlib/ast -I /home/opam/.opam/5.4.0/lib/ppxlib/astlib -I /home/opam/.opam/5.4.0/lib/ppxlib/print_diff -I /home/opam/.opam/5.4.0/lib/ppxlib/stdppx -I /home/opam/.opam/5.4.0/lib/ppxlib/traverse_builtins -I /home/opam/.opam/5.4.0/lib/re -I /home/opam/.opam/5.4.0/lib/re/str -I /home/opam/.opam/5.4.0/lib/sexplib0 -I /home/opam/.opam/5.4.0/lib/stdlib-shims -I /home/opam/.opam/5.4.0/lib/tyxml-syntax -I /home/opam/.opam/5.4.0/lib/uutf -cmi-file ppx/.tyxml_ppx.objs/byte/tyxml_ppx.cmi -no-alias-deps -o ppx/.tyxml_ppx.objs/native/tyxml_ppx.cmx -c -impl ppx/tyxml_ppx.pp.ml)
# File "ppx/tyxml_ppx.ml", line 381, characters 4-12:
# 381 | | Pexp_fun (label,def,pat,content) ->
# ^^^^^^^^
# Error: This variant pattern is expected to have type
# Ppxlib.Parsetree.expression_desc
# There is no constructor Pexp_fun within type Ppxlib.Parsetree.expression_desc
# Hint: Did you mean Pexp_for?
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ λ build tyxml-ppx 4.6.0
└─
┌─ The following changes have been performed
│ ∗ install dune 3.21.1
│ ∗ install markup 1.0.3
│ ∗ install ocaml-compiler-libs v0.17.0
│ ∗ install ocamlbuild 0.16.1
│ ∗ install ocamlfind 1.9.8
│ ∗ install ppx_derivers 1.2.1
│ ∗ install ppxlib 0.37.0
│ ∗ install re 1.14.0
│ ∗ install seq base
│ ∗ install sexplib0 v0.17.0
│ ∗ install stdlib-shims 0.3.0
│ ∗ install topkg 1.1.1
│ ∗ install tyxml 4.6.0
│ ∗ install tyxml-syntax 4.6.0
│ ∗ install uchar 0.0.2
│ ∗ install uutf 1.0.4
└─
The former state can be restored with:
/usr/local/bin/opam switch import "/home/opam/.opam/5.4.0/.opam-switch/backup/state-20260225065905.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.
jail: /usr/bin/su -l opam -c cd '/home/opam' && env OPAM_REPO_CI='true' CI='true' OPAMPRECISETRACKING='1' OPAMERRLOGLEN='0' OPAMDOWNLOADJOBS='1' '/usr/bin/env' 'bash' '-c' 'opam reinstall tyxml-ppx.4.6.0;
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 "\"freebsd-14.3\""; then
echo "A package failed and has been disabled for CI using the '\''x-ci-accept-failures'\'' field.";
fi;
test "$pkg" != '\''tyxml-ppx.4.6.0'\'' && partial_fails="$partial_fails $pkg";
done;
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
exit 1': failed
"jail" "-c" "name=obuilder_1974_17801" "mount.fstab=/tmp/obuilder-jail-d8bc36/fstab" "mount.devfs" "path=/obuilder/result/6b0020230e341f80ca63e3746642d20f9e8ee810c294901789db634e916a501b/rootfs" "host=inherit" "ip6=inherit" "ip4=inherit" "command=/usr/bin/su" "-l" "opam" "-c" "cd '/home/opam' && env OPAM_REPO_CI='true' CI='true' OPAMPRECISETRACKING='1' OPAMERRLOGLEN='0' OPAMDOWNLOADJOBS='1' '/usr/bin/env' 'bash' '-c' 'opam reinstall tyxml-ppx.4.6.0;
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 "\"freebsd-14.3\""; then
echo "A package failed and has been disabled for CI using the '\''x-ci-accept-failures'\'' field.";
fi;
test "$pkg" != '\''tyxml-ppx.4.6.0'\'' && 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-25 07:05.33: Job failed: Failed: Build failed
2026-02-25 07:05.33: Log analysis:
2026-02-25 07:05.33: >>>
[ERROR] The compilation of tyxml-ppx.4.6.0 failed at "dune build -p tyxml-ppx -j 39 @install".
(score = 20)
2026-02-25 07:05.33: >>>
# Error: This variant pattern is expected to have type
(score = 48)
2026-02-25 07:05.33: >>>
# Error: This variant pattern is expected to have type
(score = 48)
2026-02-25 07:05.33: This variant pattern is expected to have type