Build:
- 0
2025-09-18 12:21.54: New job: build jasmin.2025.06.1, using opam dev from https://github.com/ocaml/opam-repository.git#refs/pull/28526/head (cdd77a45b5ee96d9adbefea4b5e5add3fda5a57c) on alpine-3.22-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/28526/head" && git reset --hard cdd77a45 git fetch origin master git merge --no-edit 151ffce963e54519dd5d1280848f631d38db358e cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:alpine-3.22-ocaml-4.14@sha256:e1cb67ff0571dfb179fc3cd9b7f5639658f87d2d7fc9f8a0ba7da3644a9fec12 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 jasmin.2025.06.1 2025.06.1 RUN opam reinstall jasmin.2025.06.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 "\"alpine-3.22\""; then \ echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \ fi; \ test "$pkg" != 'jasmin.2025.06.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 . 2025-09-18 12:21.54: Using cache hint "ocaml/opam:alpine-3.22-ocaml-4.14@sha256:e1cb67ff0571dfb179fc3cd9b7f5639658f87d2d7fc9f8a0ba7da3644a9fec12-jasmin.2025.06.1-cdd77a45b5ee96d9adbefea4b5e5add3fda5a57c" 2025-09-18 12:21.54: Using OBuilder spec: ((from ocaml/opam:alpine-3.22-ocaml-4.14@sha256:e1cb67ff0571dfb179fc3cd9b7f5639658f87d2d7fc9f8a0ba7da3644a9fec12) (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 jasmin.2025.06.1 2025.06.1")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall jasmin.2025.06.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 \"\\\"alpine-3.22\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'jasmin.2025.06.1' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) ) 2025-09-18 12:21.54: Waiting for resource in pool OCluster 2025-09-18 14:50.05: Waiting for worker… 2025-09-18 14:54.20: Got resource from pool OCluster Building on doris.caelum.ci.dev All commits already cached HEAD is now at 151ffce963 Merge pull request #28412 from andersfugmann/release-ocaml-protoc-plugin-6.2.0 Merge made by the 'ort' strategy. packages/jasmin/jasmin.2025.06.1/opam | 44 +++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 packages/jasmin/jasmin.2025.06.1/opam (from ocaml/opam:alpine-3.22-ocaml-4.14@sha256:e1cb67ff0571dfb179fc3cd9b7f5639658f87d2d7fc9f8a0ba7da3644a9fec12) Unable to find image 'ocaml/opam:alpine-3.22-ocaml-4.14@sha256:e1cb67ff0571dfb179fc3cd9b7f5639658f87d2d7fc9f8a0ba7da3644a9fec12' locally docker.io/ocaml/opam@sha256:e1cb67ff0571dfb179fc3cd9b7f5639658f87d2d7fc9f8a0ba7da3644a9fec12: Pulling from ocaml/opam 8c592723c59a: Already exists a783cd037be3: Pulling fs layer 454bb22af03c: Pulling fs layer b46fcd8729b0: Pulling fs layer d538880e5354: Pulling fs layer b46fcd8729b0: Waiting 454bb22af03c: Verifying Checksum 454bb22af03c: Download complete b46fcd8729b0: Download complete d538880e5354: Verifying Checksum d538880e5354: Download complete a783cd037be3: Verifying Checksum a783cd037be3: Download complete a783cd037be3: Pull complete 454bb22af03c: Pull complete b46fcd8729b0: Pull complete d538880e5354: Pull complete Digest: sha256:e1cb67ff0571dfb179fc3cd9b7f5639658f87d2d7fc9f8a0ba7da3644a9fec12 Status: Downloaded newer image for ocaml/opam@sha256:e1cb67ff0571dfb179fc3cd9b7f5639658f87d2d7fc9f8a0ba7da3644a9fec12 2025-09-18 14:57.34 ---> saved as "b004d39c9addeb865f11c6029618ea8df221f8b3190584e8b865e82aabd3dd51" /: (user (uid 1000) (gid 1000)) /: (workdir /home/opam) /home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) 2025-09-18 14:57.34 ---> saved as "fd50e2c39e027c456985b4dcd13dab254afaada09aab245046f91d940b64a5b0" /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 Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] Initialised 2025-09-18 14:58.01 ---> saved as "e704c2d7562dae2e76f441e9ab168adab1b8de2564715e8089f85836baa5f880" /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.4.1 # self-upgrade no # system arch=x86_64 os=linux os-distribution=alpine os-version=3.22.1 # 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 4.14 # invariant ["ocaml-base-compiler" {= "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/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml # ocaml:preinstalled false # ocaml:compiler 4.14.2 2025-09-18 14:58.02 ---> saved as "3fe8cb128b560ff66ffda359065778ce002f2474816f56b512b1869dfdcad32c" /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-09-18 14:58.15 ---> saved as "bc77f03ca196f7eeb0248957591a52b3c8269d03ae03896f5d82b0c6a26193d4" /home/opam: (copy (src .) (dst opam-repository/)) 2025-09-18 14:59.25 ---> saved as "88d08de5779d87446ae9dd5e2b60423a6c643f23cbed43b142c7b4c7adaf96fd" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2025-09-18 14:59.44 ---> saved as "0e2ca0400f9196bbbc9601276f7f567658b36dc3902f106699944ee84e7cf561" /home/opam: (run (network host) (shell "opam update --depexts || true")) + /usr/bin/sudo "apk" "update" - fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz - fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz - fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz - fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz - fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz - v3.22.1-419-g1db804adcdb [https://dl-cdn.alpinelinux.org/alpine/v3.22/main] - v3.22.1-429-g68304d60bce [https://dl-cdn.alpinelinux.org/alpine/v3.22/community] - v3.23.0_alpha20250612-6536-g8cba04c6f82 [https://dl-cdn.alpinelinux.org/alpine/edge/main] - v3.23.0_alpha20250612-6544-gbf417eac26a [https://dl-cdn.alpinelinux.org/alpine/edge/community] - v3.23.0_alpha20250612-6525-g73446491d92 [https://dl-cdn.alpinelinux.org/alpine/edge/testing] - OK: 59148 distinct packages available 2025-09-18 14:59.46 ---> saved as "0fd70de72fa2c2d0e50cb1f284a11c6cc53cd4d4de16b857d8c3d30667f30946" /home/opam: (run (shell "opam pin add -k version -yn jasmin.2025.06.1 2025.06.1")) jasmin is now pinned to version 2025.06.1 2025-09-18 14:59.46 ---> saved as "698d24f4288d8ab7a69e2f449e853af71ee760b2bbf80c713d3e0ac9c77ddf8b" /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall jasmin.2025.06.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 \"\\\"alpine-3.22\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'jasmin.2025.06.1' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) jasmin.2025.06.1 is not installed. Install it? [Y/n] y The following actions will be performed: === install 31 packages - install angstrom 0.16.1 [required by jasmin] - install apron v0.9.15 [required by jasmin] - install batteries 3.9.0 [required by jasmin] - install bigarray-compat 1.1.0 [required by mlgmpidl] - install bigstringaf 0.10.0 [required by angstrom] - install camlidl 1.13 [required by jasmin] - install camlp-streams 5.0.1 [required by batteries] - install cmdliner 1.3.0 [required by jasmin] - install conf-findutils 1 [required by ez-conf-lib] - install conf-gmp 5 [required by zarith] - install conf-gmp-paths 1 [required by mlgmpidl] - install conf-mpfr-paths 1 [required by mlgmpidl] - install conf-perl 2 [required by apron] - install conf-pkg-config 4 [required by zarith] - install conf-ppl 1 [required by jasmin] - install csexp 1.5.2 [required by dune-configurator] - install dune 3.20.2 [required by jasmin] - install dune-configurator 3.20.2 [required by bigstringaf] - install ez-conf-lib 2 [required by conf-gmp-paths, conf-mpfr-paths] - install jasmin 2025.06.1 (pinned) - install menhir 20250912 [required by jasmin] - install menhirCST 20250912 [required by menhir] - install menhirLib 20250912 [required by jasmin] - install menhirSdk 20250912 [required by menhir] - install mlgmpidl 1.3.0 [required by apron] - install num 1.6 [required by batteries] - install ocaml-syntax-shims 1.0.0 [required by angstrom] - install ocamlbuild 0.16.1 [required by apron] - install ocamlfind 1.9.8 [required by jasmin] - install yojson 3.0.0 [required by jasmin] - install zarith 1.14 [required by jasmin] The following system packages will first need to be installed: findutils gmp-dev mpfr-dev perl <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> opam believes some required external dependencies are missing. opam can: > 1. Run apk to install them (may need root/sudo access) 2. Display the recommended apk 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/bin/sudo "apk" "add" "findutils" "gmp-dev" "mpfr-dev" "perl" - (1/8) Installing findutils (4.10.0-r0) - (2/8) Installing libgmpxx (6.3.0-r3) - (3/8) Installing gmp-dev (6.3.0-r3) - (4/8) Installing mpfr-dev (4.2.1_p1-r0) - (5/8) Installing perl (5.40.3-r0) - (6/8) Installing perl-error (0.17030-r0) - (7/8) Installing perl-git (2.49.1-r0) - (8/8) Installing git-perl (2.49.1-r0) - Executing busybox-1.37.0-r19.trigger - OK: 345 MiB in 110 packages <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved angstrom.0.16.1 (cached) -> retrieved apron.v0.9.15 (cached) -> retrieved batteries.3.9.0 (cached) -> retrieved bigarray-compat.1.1.0 (cached) -> retrieved bigstringaf.0.10.0 (cached) -> retrieved camlidl.1.13 (cached) -> retrieved camlp-streams.5.0.1 (cached) -> retrieved cmdliner.1.3.0 (cached) -> retrieved conf-gmp.5 (cached) -> retrieved conf-gmp-paths.1 (cached) -> retrieved conf-mpfr-paths.1 (cached) -> retrieved conf-ppl.1 (cached) -> retrieved csexp.1.5.2 (cached) -> installed conf-perl.2 -> installed conf-pkg-config.4 -> installed conf-findutils.1 -> installed conf-gmp.5 [ERROR] The compilation of conf-ppl.1 failed at "sh -c cc test.c -lppl_c -lppl". -> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached) -> retrieved ez-conf-lib.2 (cached) -> retrieved jasmin.2025.06.1 (cached) -> installed cmdliner.1.3.0 -> installed camlidl.1.13 -> installed ez-conf-lib.2 -> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912 (cached) -> installed conf-gmp-paths.1 -> retrieved mlgmpidl.1.3.0 (cached) -> retrieved num.1.6 (cached) -> retrieved ocaml-syntax-shims.1.0.0 (cached) -> retrieved ocamlbuild.0.16.1 (cached) -> retrieved ocamlfind.1.9.8 (cached) -> retrieved yojson.3.0.0 (cached) -> retrieved zarith.1.14 (cached) -> installed conf-mpfr-paths.1 -> installed num.1.6 -> installed ocamlfind.1.9.8 -> installed ocamlbuild.0.16.1 -> installed zarith.1.14 -> installed dune.3.20.2 -> installed bigarray-compat.1.1.0 -> installed camlp-streams.5.0.1 -> installed csexp.1.5.2 -> installed menhirCST.20250912 -> installed menhirLib.20250912 -> installed menhirSdk.20250912 -> installed ocaml-syntax-shims.1.0.0 -> installed yojson.3.0.0 -> installed dune-configurator.3.20.2 -> installed bigstringaf.0.10.0 -> installed mlgmpidl.1.3.0 -> installed batteries.3.9.0 -> installed angstrom.0.16.1 -> installed menhir.20250912 #=== ERROR while compiling conf-ppl.1 =========================================# # context 2.4.1 | linux/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository # path ~/.opam/4.14/.opam-switch/build/conf-ppl.1 # command ~/.opam/opam-init/hooks/sandbox.sh build sh -c cc test.c -lppl_c -lppl # exit-code 1 # env-file ~/.opam/log/conf-ppl-8-3b8b1e.env # output-file ~/.opam/log/conf-ppl-8-3b8b1e.out ### output ### # test.c:1:10: fatal error: ppl_c.h: No such file or directory # 1 | #include <ppl_c.h> # | ^~~~~~~~~ # compilation terminated. <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build conf-ppl 1 +- +- The following changes have been performed (the rest was aborted) | - install angstrom 0.16.1 | - install batteries 3.9.0 | - install bigarray-compat 1.1.0 | - install bigstringaf 0.10.0 | - install camlidl 1.13 | - install camlp-streams 5.0.1 | - install cmdliner 1.3.0 | - install conf-findutils 1 | - install conf-gmp 5 | - install conf-gmp-paths 1 | - install conf-mpfr-paths 1 | - install conf-perl 2 | - install conf-pkg-config 4 | - install csexp 1.5.2 | - install dune 3.20.2 | - install dune-configurator 3.20.2 | - install ez-conf-lib 2 | - install menhir 20250912 | - install menhirCST 20250912 | - install menhirLib 20250912 | - install menhirSdk 20250912 | - install mlgmpidl 1.3.0 | - install num 1.6 | - install ocaml-syntax-shims 1.0.0 | - install ocamlbuild 0.16.1 | - install ocamlfind 1.9.8 | - install yojson 3.0.0 | - install zarith 1.14 +- <><> conf-mpfr-paths.1 installed successfully <><><><><><><><><><><><><><><><><> => header file found in /usr/include => library file found in /usr/lib <><> conf-gmp-paths.1 installed successfully ><><><><><><><><><><><><><><><><><> => header file found in /usr/include => library file found in /usr/lib # 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/4.14/.opam-switch/backup/state-20250918145947.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-ppl.1 "/usr/bin/env" "bash" "-c" "opam reinstall jasmin.2025.06.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 "\"alpine-3.22\""; then echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; fi; test "$pkg" != 'jasmin.2025.06.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 2025-09-18 15:01.49: Job failed: Failed: Build failed 2025-09-18 15:01.49: Log analysis: 2025-09-18 15:01.49: >>> [ERROR] The compilation of conf-ppl.1 failed at "sh -c cc test.c -lppl_c -lppl". (score = 20) 2025-09-18 15:01.49: >>> opam-repo-ci detected dependencies failing: conf-ppl.1 (score = 75) 2025-09-18 15:01.49: conf-ppl.1 failed to build