(for PR #28280)
2025-08-06 12:34.10: New job: build catala.1.0.0~alpha, using opam 2.3 from https://github.com/ocaml/opam-repository.git#refs/pull/28280/head (a3fb7d5115c38737333aefba40ef93af88394551) on freebsd-14.2-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/28280/head" && git reset --hard a3fb7d51 git fetch origin master git merge --no-edit 06a1064b82e87c7ef006235ec98f1c89487892c9 cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM freebsd-14.2-ocaml-4.14 USER 1000:1000 WORKDIR /home/opam RUN sudo ln -f /usr/local/bin/opam-2.3 /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 catala.1.0.0~alpha 1.0.0~alpha RUN opam reinstall catala.1.0.0~alpha; \ 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.2\""; then \ echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \ fi; \ test "$pkg" != 'catala.1.0.0~alpha' && 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 . 2025-08-06 12:34.10: Using cache hint "freebsd-14.2-ocaml-4.14-catala.1.0.0~alpha-a3fb7d5115c38737333aefba40ef93af88394551" 2025-08-06 12:34.10: Using OBuilder spec: ((from freebsd-14.2-ocaml-4.14) (user (uid 1000) (gid 1000)) (workdir /home/opam) (run (shell "sudo ln -f /usr/local/bin/opam-2.3 /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 catala.1.0.0~alpha 1.0.0~alpha")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall catala.1.0.0~alpha;\ \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.2\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'catala.1.0.0~alpha' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) ) 2025-08-06 12:34.10: Waiting for resource in pool OCluster 2025-08-06 12:34.10: Waiting for worker… 2025-08-06 12:45.47: Got resource from pool OCluster Building on rosemary All commits already cached Updating files: 100% (17983/17983), done. HEAD is now at 06a1064b82 Merge pull request #28287 from anmonteiro/release-reason-3.17.0 Merge made by the 'ort' strategy. packages/catala/catala.1.0.0~alpha/opam | 87 +++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 packages/catala/catala.1.0.0~alpha/opam (from freebsd-14.2-ocaml-4.14) 2025-08-06 13:56.35 ---> using "e232d73c9161ea3ff94ff4ae2b5a6983da9a9ca98d5185b2db1dbadeae5228e2" from cache /: (user (uid 1000) (gid 1000)) /: (workdir /home/opam) /home/opam: (run (shell "sudo ln -f /usr/local/bin/opam-2.3 /usr/local/bin/opam")) 2025-08-06 13:56.36 ---> using "698738b249126649bc97df7d564b453315c0207de5ea5929e2120f75e5155303" 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 2025-08-06 13:56.37 ---> using "f9daa6feb9014dd38c98bfbbdfe2c1fc64372cc0719557828cdfcdc28fe3d73d" 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.3.0 # self-upgrade no # system arch=x86_64 os=freebsd os-distribution=freebsd os-version=1402000 # 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 2025-08-06 13:56.38 ---> using "5de1f2e08491d62d453d16f15b85de34586171b254a1978fb7ec5420310b83bd" 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/")) 2025-08-06 13:56.38 ---> using "fc318c3f78668584159074c0031bc8d75918816c5708e7f589955a28f4423032" from cache /home/opam: (copy (src .) (dst opam-repository/)) 2025-08-06 14:00.47 ---> saved as "36b09b3ec36c407a92553f37a49c60ed5dd098088f2bfc05b1c53636b1666f33" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2025-08-06 14:36.12 ---> saved as "5a1ada09b0ec8d140fca688dc48d4a2d281c719615675367e7d5616e9daaeda2" /home/opam: (run (network host) (shell "opam update --depexts || true")) [WARNING] Unknown update command for bsd, skipping system update 2025-08-06 14:36.14 ---> saved as "ac4bde39017fe1421bfd59220481a9696ce28543124b3c443f98724ac7b9a7ac" /home/opam: (run (shell "opam pin add -k version -yn catala.1.0.0~alpha 1.0.0~alpha")) catala is now pinned to version 1.0.0~alpha 2025-08-06 14:36.16 ---> saved as "093baed9ef3c8fcedfc099b262b0e5a27f6620606d6f818c88693040677fb5a2" /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall catala.1.0.0~alpha;\ \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.2\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'catala.1.0.0~alpha' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) catala.1.0.0~alpha is not installed. Install it? [y/n] y The following actions will be performed: === install 45 packages ∗ alcotest 1.7.0 [required by catala] ∗ astring 0.8.5 [required by alcotest] ∗ bindlib 6.0.0 [required by catala] ∗ catala 1.0.0~alpha (pinned) ∗ cmdliner 1.3.0 [required by catala] ∗ conf-gmp 5 [required by zarith] ∗ conf-ninja 1 [required by catala] ∗ conf-openjdk 1 [required by catala] ∗ conf-pkg-config 4 [required by zarith] ∗ cppo 1.8.0 [required by catala] ∗ crunch 4.0.0 [required by catala] ∗ dates_calc 0.0.10 [required by catala] ∗ dune 3.19.1 [required by catala] ∗ fmt 0.11.0 [required by alcotest] ∗ gen 1.1 [required by sedlex] ∗ js_of_ocaml 4.1.0 [required by js_of_ocaml-ppx] ∗ js_of_ocaml-compiler 4.1.0 [required by js_of_ocaml] ∗ js_of_ocaml-ppx 4.1.0 [required by catala] ∗ menhir 20240715 [required by catala] ∗ menhirCST 20240715 [required by menhir] ∗ menhirLib 20240715 [required by catala] ∗ menhirSdk 20240715 [required by js_of_ocaml-compiler] ∗ ninja_utils 0.9.0 [required by catala] ∗ ocaml-compiler-libs v0.12.4 [required by ppxlib] ∗ ocaml-syntax-shims 1.0.0 [required by alcotest] ∗ ocamlbuild 0.16.1 [required by uucp] ∗ ocamlfind 1.9.8 [required by catala] ∗ ocamlgraph 2.2.0 [required by catala] ∗ ocolor 1.3.1 [required by catala] ∗ otoml 1.0.5 [required by catala] ∗ ppx_derivers 1.2.1 [required by ppxlib] ∗ ppxlib 0.35.0 [required by js_of_ocaml-ppx, sedlex] ∗ ptime 1.2.0 [required by crunch] ∗ re 1.13.2 [required by catala] ∗ sedlex 3.6 [required by catala] ∗ seq base [required by re, gen] ∗ sexplib0 v0.17.0 [required by ppxlib] ∗ stdlib-shims 0.3.0 [required by alcotest] ∗ topkg 1.1.0 [required by uucp] ∗ ubase 0.20 [required by catala] ∗ uucp 16.0.0 [required by catala] ∗ uutf 1.0.4 [required by alcotest, otoml] ∗ yojson 3.0.0 [required by catala] ∗ zarith 1.14 [required by catala] ∗ zarith_stubs_js v0.16.1 [required by catala] The following system packages will first need to be installed: gmp ninja <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> opam believes some required external dependencies are missing. opam can: > 1. Run pkg to install them (may need root/sudo access) 2. Display the recommended pkg command and wait while you run it manually (e.g. in another terminal) 3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable 4. Abort the installation [1/2/3/4] 1 + /usr/local/bin/sudo "pkg" "install" "-y" "gmp" "ninja" - Updating FreeBSD repository catalogue... - [rosemary] Fetching data.pkg: - . - . - . - . - . - .. - . - . - . done - Processing entries: - .. - .. - ... - . - .. done - FreeBSD repository update completed. 35653 packages processed. - All repositories are up to date. - The following 2 package(s) will be affected (of 0 checked): - - New packages to be INSTALLED: - gmp: 6.3.0 - ninja: 1.11.1,4 - - Number of packages to be installed: 2 - - The process will require 3 MiB more space. - 622 KiB to be downloaded. - [rosemary] [1/2] Fetching ninja-1.11.1,4.pkg: ........ done - [rosemary] [2/2] Fetching gmp-6.3.0.pkg: .......... done - Checking integrity... done (0 conflicting) - [rosemary] [1/2] Installing gmp-6.3.0... - [rosemary] [1/2] Extracting gmp-6.3.0: .......... done - [rosemary] [2/2] Installing ninja-1.11.1,4... - [rosemary] [2/2] Extracting ninja-1.11.1,4: ........ done <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> ⬇ retrieved alcotest.1.7.0 (https://github.com/mirage/alcotest/releases/download/1.7.0/alcotest-1.7.0.tbz) ⬇ retrieved astring.0.8.5 (cached) ⬇ retrieved bindlib.6.0.0 (cached) ⬇ retrieved catala.1.0.0~alpha (https://github.com/CatalaLang/catala/archive/refs/tags/v1.0.0-alpha.tar.gz) ⬇ retrieved cmdliner.1.3.0 (cached) ⬇ retrieved conf-gmp.5 (cached) ⬇ retrieved cppo.1.8.0 (cached) #=== ERROR while compiling conf-openjdk.1 =====================================# "javac": command not found. <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> ┌─ The following actions failed │ λ build cmdliner 1.3.0 │ λ build conf-openjdk 1 └─ ╶─ No changes have been performed <><> conf-openjdk.1 troubleshooting <><><><><><><><><><><><><><><><><><><><><><> => Please ensure that the javac binary is installed and is available in PATH => You may need to first install a version of openjdk, e.g., openjdk19 [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. [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. [WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1. opam-repo-ci detected dependencies failing: cmdliner.1.3.0 conf-gmp.5 conf-ninja.1 conf-openjdk.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 catala.1.0.0~alpha; 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.2\""; then echo "A package failed and has been disabled for CI using the '\''x-ci-accept-failures'\'' field."; fi; test "$pkg" != '\''catala.1.0.0~alpha'\'' && 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_61147_14808" "mount.fstab=/tmp/obuilder-jail-839d41/fstab" "mount.devfs" "path=/obuilder/result/096ce718005c107469dde15c2a5ba287578d6f70ebb53453f5b805e4754326f5/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 catala.1.0.0~alpha; 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.2\""; then echo "A package failed and has been disabled for CI using the '\''x-ci-accept-failures'\'' field."; fi; test "$pkg" != '\''catala.1.0.0~alpha'\'' && 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 2025-08-06 14:43.09: Job failed: Failed: Build failed 2025-08-06 14:43.09: Log analysis: 2025-08-06 14:43.09: >>> opam-repo-ci detected dependencies failing: cmdliner.1.3.0 conf-gmp.5 conf-ninja.1 conf-openjdk.1 (score = 75) 2025-08-06 14:43.09: cmdliner.1.3.0 conf-gmp.5 conf-ninja.1 conf-openjdk.1 failed to build