- github
- ocaml
- opam-repository
- 8916fe
- freebsd,freebsd-14.3-ocaml-4.14-amd64,ppx_ezlua.0.1
(not at the head of any monitored branch or PR)
2026-04-08 10:21.12: New job: build ppx_ezlua.0.1, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29655/head (8916fe0c9715b19b8d012c3554597ccc99b3106b)
on freebsd-14.3-ocaml-4.14/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/29655/head" && git reset --hard 8916fe0c
git fetch origin master
git merge --no-edit 6b534cc83dbfe7a87165d088a7003b5a0cd906f1
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-14.3-ocaml-4.14
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 ppx_ezlua.0.1 0.1
RUN opam reinstall ppx_ezlua.0.1; \
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" != 'ppx_ezlua.0.1' && 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-04-08 10:21.12: Using cache hint "freebsd-14.3-ocaml-4.14-ppx_ezlua.0.1-8916fe0c9715b19b8d012c3554597ccc99b3106b"
2026-04-08 10:21.12: Using OBuilder spec:
((from freebsd-14.3-ocaml-4.14)
(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 ppx_ezlua.0.1 0.1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ppx_ezlua.0.1;\
\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\" != 'ppx_ezlua.0.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-04-08 10:21.12: Waiting for resource in pool OCluster
2026-04-08 10:21.13: Waiting for worker…
2026-04-08 11:21.12: Got resource from pool OCluster
Building on rosemary
All commits already cached
Updating files: 100% (18641/18641), done.
HEAD is now at 6b534cc83d Merge pull request #29654 from astrada/gdfuse082
Merge made by the 'ort' strategy.
packages/ezlua/ezlua.0.1/opam | 37 ++++++++++++++++++++++++++++++++
packages/ppx_ezlua/ppx_ezlua.0.1/opam | 40 +++++++++++++++++++++++++++++++++++
2 files changed, 77 insertions(+)
create mode 100644 packages/ezlua/ezlua.0.1/opam
create mode 100644 packages/ppx_ezlua/ppx_ezlua.0.1/opam
(from freebsd-14.3-ocaml-4.14)
2026-04-08 11:17.21 ---> using "7e5247e9853d1c2fb95ef9ffdfdb895ef70516f48155f08a9b10db936cb8c6c6" 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-04-08 11:17.21 ---> using "96677dfb826139d1d475397206e27cf90befca1f152a356651021947800ddc31" from cache
/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-04-08 11:17.22 ---> using "b7155bb4d9f0dfa9c383663e6516f5803e4c2ab438da3ab4eeccd3740ad9833f" 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=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 4.14.2
# invariant ["ocaml-base-compiler" {= "4.14.2"} | "ocaml-system" {= "4.14.2"}]
# compiler-packages ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.14.2/lib/ocaml/stublibs:/home/opam/.opam/4.14.2/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.2
2026-04-08 11:17.22 ---> using "b0effd5cf5c473eb9f84aee26e7221d934f437c21ca61c365f825913ca23d38c" 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-04-08 11:17.22 ---> using "2a5689f2ff4b86af979d0390fa2dfee1e6e92b3f4e476fbe79b59c6ee634de82" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-04-08 11:17.31 ---> saved as "8b0ef98c8ab2e929aa1bb1488d60789b57803015e290dd29f6472758d5ade04e"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-08 11:17.51 ---> saved as "d92ed6a9717128cb64bb3dde41f35837eeb63437bb7c5be73236203e2019882f"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
[WARNING] Unknown update command for bsd, skipping system update
2026-04-08 11:17.52 ---> saved as "2263f748ed5a884b8267215e2568c7b081c3515d2cbea485d41d9f30b5bb16cf"
/home/opam: (run (shell "opam pin add -k version -yn ppx_ezlua.0.1 0.1"))
ppx_ezlua is now pinned to version 0.1
2026-04-08 11:17.53 ---> saved as "bb78b285a2a78eedfed11563f166bed3fc6275af1bbb55b9bf051e09f3fbdea7"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ppx_ezlua.0.1;\
\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\" != 'ppx_ezlua.0.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ppx_ezlua.0.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 9 packages
∗ dune 3.22.1 [required by ppx_ezlua]
∗ ezlua 0.1 [required by ppx_ezlua]
∗ ocaml-compiler-libs v0.12.4 [required by ppxlib]
∗ ocaml-lua 1.8 [required by ezlua]
∗ ppx_derivers 1.2.1 [required by ppxlib]
∗ ppx_ezlua 0.1 (pinned)
∗ ppxlib 0.38.0 [required by ppx_ezlua]
∗ sexplib0 v0.17.0 [required by ppxlib]
∗ stdlib-shims 0.3.0 [required by ppxlib]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved dune.3.22.1 (cached)
⬇ retrieved ezlua.0.1, ppx_ezlua.0.1 (https://github.com/c-cube/ezlua/releases/download/v0.1/ezlua-0.1.tbz)
⬇ retrieved ocaml-compiler-libs.v0.12.4 (cached)
⬇ retrieved ocaml-lua.1.8 (https://github.com/pdonadeo/ocaml-lua/archive/v1.8.tar.gz)
⬇ retrieved ppx_derivers.1.2.1 (cached)
⬇ retrieved ppxlib.0.38.0 (cached)
⬇ retrieved sexplib0.v0.17.0 (cached)
⬇ retrieved stdlib-shims.0.3.0 (cached)
∗ installed dune.3.22.1
∗ installed ppx_derivers.1.2.1
∗ installed stdlib-shims.0.3.0
∗ installed sexplib0.v0.17.0
[ERROR] The compilation of ocaml-lua.1.8 failed at "dune build -p ocaml-lua -j 39 @install".
∗ installed ocaml-compiler-libs.v0.12.4
∗ installed ppxlib.0.38.0
#=== ERROR while compiling ocaml-lua.1.8 ======================================#
# context 2.5.0 | freebsd/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository
# path ~/.opam/4.14.2/.opam-switch/build/ocaml-lua.1.8
# command ~/.opam/4.14.2/bin/dune build -p ocaml-lua -j 39 @install
# exit-code 1
# env-file ~/.opam/log/ocaml-lua-1793-bb7c70.env
# output-file ~/.opam/log/ocaml-lua-1793-bb7c70.out
### output ###
# File "src/lua_c/dune", lines 4-10, characters 0-265:
# 4 | (rule
# 5 | (targets liblua_c_stubs.a dlllua_c_stubs.so)
# 6 | (deps (source_tree lua515))
# 7 | (action (progn
# 8 | (chdir lua515 (run make %{system}))
# 9 | (run cp lua515/src/liblua.a liblua_c_stubs.a)
# 10 | (run cp lua515/src/liblua.so dlllua_c_stubs.so))))
# (cd _build/default/src/lua_c/lua515 && /usr/bin/make freebsd)
# cd src && /usr/bin/make freebsd
# /usr/bin/make all MYCFLAGS="-DLUA_USE_LINUX" MYLIBS="-Wl,-E -lreadline"
# gcc -O2 -Wall -DLUA_USE_LINUX -fPIC -c lapi.c -o lapi.o
# *** Error code 1
#
# Stop.
# make[2]: stopped in /home/opam/.opam/4.14.2/.opam-switch/build/ocaml-lua.1.8/_build/default/src/lua_c/lua515/src
# *** Error code 1
#
# Stop.
# make[1]: stopped in /home/opam/.opam/4.14.2/.opam-switch/build/ocaml-lua.1.8/_build/default/src/lua_c/lua515/src
# *** Error code 1
#
# Stop.
# make: stopped in /home/opam/.opam/4.14.2/.opam-switch/build/ocaml-lua.1.8/_build/default/src/lua_c/lua515
# make[2]: exec(gcc) failed (No such file or directory)
# (cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O3 -Wall -Ilua_c/lua515/src -g -I /home/opam/.opam/4.14.2/lib/ocaml -I /home/opam/.opam/4.14.2/lib/ocaml/threads -I lua_c -o lua_aux_lib_stubs.o -c lua_aux_lib_stubs.c)
# lua_aux_lib_stubs.c:215:12: warning: initializing 'value *' (aka 'long *') with an expression of type 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# 215 | value *default_panic_v = caml_named_value("default_panic");
# | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# lua_aux_lib_stubs.c:275:12: warning: initializing 'value *' (aka 'long *') with an expression of type 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# 275 | value *default_panic_v = caml_named_value("default_panic");
# | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# lua_aux_lib_stubs.c:382:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# 382 | char *retval_str = String_val(ret_val);
# | ^ ~~~~~~~~~~~~~~~~~~~
# lua_aux_lib_stubs.c:411:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# 411 | char *s = String_val(ret_val);
# | ^ ~~~~~~~~~~~~~~~~~~~
# lua_aux_lib_stubs.c:469:15: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# 469 | char *retval_str = String_val(ret_string);
# | ^ ~~~~~~~~~~~~~~~~~~~~~~
# 5 warnings generated.
# (cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O3 -Wall -Ilua_c/lua515/src -g -I /home/opam/.opam/4.14.2/lib/ocaml -I /home/opam/.opam/4.14.2/lib/ocaml/threads -I lua_c -o lua_api_lib_stubs.o -c lua_api_lib_stubs.c)
# lua_api_lib_stubs.c:242:12: warning: passing 'const char *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# 242 | memcpy(String_val(buffer), p, sz);
# | ^~~~~~~~~~~~~~~~~~
# /home/opam/.opam/4.14.2/lib/ocaml/caml/mlvalues.h:290:23: note: expanded from macro 'String_val'
# 290 | #define String_val(x) ((const char *) Bp_val(x))
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/include/string.h:63:31: note: passing argument to parameter here
# 63 | void *memcpy(void * __restrict, const void * __restrict, size_t);
# | ^
# lua_api_lib_stubs.c:683:11: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# 683 | char *s = String_val(ret_val);
# | ^ ~~~~~~~~~~~~~~~~~~~
# 2 warnings generated.
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ λ build ocaml-lua 1.8
└─
┌─ The following changes have been performed (the rest was aborted)
│ ∗ install dune 3.22.1
│ ∗ install ocaml-compiler-libs v0.12.4
│ ∗ install ppx_derivers 1.2.1
│ ∗ install ppxlib 0.38.0
│ ∗ install sexplib0 v0.17.0
│ ∗ install stdlib-shims 0.3.0
└─
The former state can be restored with:
/usr/local/bin/opam switch import "/home/opam/.opam/4.14.2/.opam-switch/backup/state-20260408111755.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: ocaml-lua.1.8
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 ppx_ezlua.0.1;
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" != '\''ppx_ezlua.0.1'\'' && 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_149136" "mount.fstab=/tmp/obuilder-jail-757c17/fstab" "mount.devfs" "path=/obuilder/result/ac8d1f03bd7838a7b66e53493e3277bd84f3a2e7050bfa2a4082791a1c19634f/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 ppx_ezlua.0.1;
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" != '\''ppx_ezlua.0.1'\'' && 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-04-08 11:23.03: Job failed: Failed: Build failed
2026-04-08 11:23.03: Log analysis:
2026-04-08 11:23.03: >>>
[ERROR] The compilation of ocaml-lua.1.8 failed at "dune build -p ocaml-lua -j 39 @install".
(score = 20)
2026-04-08 11:23.03: >>>
opam-repo-ci detected dependencies failing: ocaml-lua.1.8
(score = 75)
2026-04-08 11:23.03: ocaml-lua.1.8 failed to build