Build:
  1. 0
2025-06-10 13:51.02: New job: Build using linux-x86_64 in
                                []
2025-06-10 13:51.02: Will push staging image to ocurrent/opam-staging:oraclelinux-9-ocaml-5.2-flambda2-amd64

Dockerfile:

# syntax=docker/dockerfile:1

FROM ocurrent/opam-staging@sha256:97338b02489187f1040bc019145add14f5f45c3c6374001926a8c94181172dae
RUN opam repo add oxcaml git+https://github.com/janestreet/opam-repository#with-extensions --set-default
ENV OPAMYES="1" OPAMCONFIRMLEVEL="unsafe-yes" OPAMERRLOGLEN="0" OPAMPRECISETRACKING="1"
USER root
RUN yum install -y zstd autoconf && yum clean packages
USER opam
RUN opam switch create 5.2 --packages=ocaml-variants.5.2.0+flambda2
RUN opam pin add -k version ocaml-variants 5.2.0+flambda2
RUN opam install -y opam-depext
ENTRYPOINT [ "opam", "exec", "--" ]
CMD bash
COPY --link [ "Dockerfile", "/Dockerfile.ocaml" ]


2025-06-10 13:51.02: Using cache hint "5.2.0+flambda2-amd64-ocurrent/opam-staging@sha256:97338b02489187f1040bc019145add14f5f45c3c6374001926a8c94181172dae"
2025-06-10 13:51.02: Waiting for confirm-threshold > above-average
2025-06-10 13:53.02: Confirm-threshold now > above-average
2025-06-10 13:53.02: Connecting to build cluster…
2025-06-10 13:53.02: Waiting for resource in pool OCluster
2025-06-10 13:53.02: Waiting for worker…
2025-06-10 13:53.02: Got resource from pool OCluster
Building on doris.caelum.ci.dev
#1 [internal] load build definition from Dockerfile
#1 sha256:098ae71643962d1c02020f4d27f21eb959795700d883a89f4c3256261676f388
#1 transferring dockerfile: 689B done
#1 DONE 0.3s

#2 [internal] load .dockerignore
#2 sha256:27d6dfe1ce3cfc7f8ac7f4988e42f9641abf3d325a4daa07cfa0859803838989
#2 transferring context: 2B done
#2 DONE 0.5s

#3 resolve image config for docker.io/docker/dockerfile:1
#3 sha256:ac072d521901222eeef550f52282877f196e16b0247844be9ceb1ccc1eac391d
#3 DONE 0.7s

#4 docker-image://docker.io/docker/dockerfile:1@sha256:9857836c9ee4268391bb5b09f9f157f3c91bb15821bb77969642813b0d00518d
#4 sha256:d95c0f0e2674ec5312c08d32b53352282bfb47bb937e59be1811918de553c0e8
#4 CACHED

#5 [internal] load build definition from Dockerfile
#5 sha256:5d4bbe383d878e0fad8c138f9a06dd828ea6316a08666bf82315051d77c660c1
#5 DONE 0.0s

#6 [internal] load metadata for docker.io/ocurrent/opam-staging@sha256:97338b02489187f1040bc019145add14f5f45c3c6374001926a8c94181172dae
#6 sha256:1960b125580c534355a5b5f68154fbefc46d2243cbaba24d711288ed47f256ce
#6 DONE 0.9s

#7 [internal] load .dockerignore
#7 sha256:fdbab66b40cf8f333fa544d56ae71dd913a5e466c42283fdfda1c0707aedf5f8
#7 DONE 0.0s

#14 [internal] load build context
#14 sha256:3407365e8d0aad5ac70f472d4734d347956c678bd565f1985fe1850b56923539
#14 transferring context: 689B done
#14 DONE 0.1s

#8 [1/7] FROM docker.io/ocurrent/opam-staging@sha256:97338b02489187f1040bc019145add14f5f45c3c6374001926a8c94181172dae
#8 sha256:d6789042f1eb39937baa6af3e44edcf76fbf9ae58d330b8591a9a3b4c4015f60
#8 resolve docker.io/ocurrent/opam-staging@sha256:97338b02489187f1040bc019145add14f5f45c3c6374001926a8c94181172dae done
#8 sha256:97338b02489187f1040bc019145add14f5f45c3c6374001926a8c94181172dae 531B / 531B done
#8 sha256:1cd251ed40b92ebeec34b0d4f0e6f203843dc87fc03124e39a056c929fd8564b 8.31kB / 8.31kB done
#8 sha256:fee0a88b3d4d26614b7be7e7b9d508bfd92680146a3e153cb4796a139cbae113 0B / 1.02GB 0.1s
#8 sha256:fee0a88b3d4d26614b7be7e7b9d508bfd92680146a3e153cb4796a139cbae113 55.57MB / 1.02GB 1.0s
#8 sha256:fee0a88b3d4d26614b7be7e7b9d508bfd92680146a3e153cb4796a139cbae113 106.95MB / 1.02GB 1.8s
#8 sha256:fee0a88b3d4d26614b7be7e7b9d508bfd92680146a3e153cb4796a139cbae113 161.48MB / 1.02GB 2.7s
#8 sha256:fee0a88b3d4d26614b7be7e7b9d508bfd92680146a3e153cb4796a139cbae113 212.86MB / 1.02GB 3.6s
#8 sha256:fee0a88b3d4d26614b7be7e7b9d508bfd92680146a3e153cb4796a139cbae113 269.48MB / 1.02GB 4.7s
#8 sha256:fee0a88b3d4d26614b7be7e7b9d508bfd92680146a3e153cb4796a139cbae113 333.45MB / 1.02GB 5.6s
#8 sha256:fee0a88b3d4d26614b7be7e7b9d508bfd92680146a3e153cb4796a139cbae113 384.83MB / 1.02GB 6.4s
#8 sha256:fee0a88b3d4d26614b7be7e7b9d508bfd92680146a3e153cb4796a139cbae113 440.40MB / 1.02GB 7.2s
#8 sha256:fee0a88b3d4d26614b7be7e7b9d508bfd92680146a3e153cb4796a139cbae113 492.83MB / 1.02GB 8.0s
#8 sha256:fee0a88b3d4d26614b7be7e7b9d508bfd92680146a3e153cb4796a139cbae113 544.21MB / 1.02GB 8.8s
#8 sha256:fee0a88b3d4d26614b7be7e7b9d508bfd92680146a3e153cb4796a139cbae113 597.69MB / 1.02GB 9.6s
#8 sha256:fee0a88b3d4d26614b7be7e7b9d508bfd92680146a3e153cb4796a139cbae113 649.07MB / 1.02GB 11.0s
#8 sha256:fee0a88b3d4d26614b7be7e7b9d508bfd92680146a3e153cb4796a139cbae113 701.50MB / 1.02GB 11.8s
#8 sha256:fee0a88b3d4d26614b7be7e7b9d508bfd92680146a3e153cb4796a139cbae113 752.88MB / 1.02GB 12.6s
#8 sha256:fee0a88b3d4d26614b7be7e7b9d508bfd92680146a3e153cb4796a139cbae113 811.60MB / 1.02GB 13.4s
#8 sha256:fee0a88b3d4d26614b7be7e7b9d508bfd92680146a3e153cb4796a139cbae113 865.08MB / 1.02GB 14.1s
#8 sha256:fee0a88b3d4d26614b7be7e7b9d508bfd92680146a3e153cb4796a139cbae113 916.46MB / 1.02GB 14.8s
#8 sha256:fee0a88b3d4d26614b7be7e7b9d508bfd92680146a3e153cb4796a139cbae113 970.98MB / 1.02GB 15.6s
#8 sha256:fee0a88b3d4d26614b7be7e7b9d508bfd92680146a3e153cb4796a139cbae113 1.02GB / 1.02GB 16.9s done
#8 extracting sha256:fee0a88b3d4d26614b7be7e7b9d508bfd92680146a3e153cb4796a139cbae113
#8 extracting sha256:fee0a88b3d4d26614b7be7e7b9d508bfd92680146a3e153cb4796a139cbae113 6.1s
#8 extracting sha256:fee0a88b3d4d26614b7be7e7b9d508bfd92680146a3e153cb4796a139cbae113 11.1s
#8 extracting sha256:fee0a88b3d4d26614b7be7e7b9d508bfd92680146a3e153cb4796a139cbae113 16.3s
#8 extracting sha256:fee0a88b3d4d26614b7be7e7b9d508bfd92680146a3e153cb4796a139cbae113 21.3s
#8 extracting sha256:fee0a88b3d4d26614b7be7e7b9d508bfd92680146a3e153cb4796a139cbae113 26.6s
#8 extracting sha256:fee0a88b3d4d26614b7be7e7b9d508bfd92680146a3e153cb4796a139cbae113 31.6s
#8 extracting sha256:fee0a88b3d4d26614b7be7e7b9d508bfd92680146a3e153cb4796a139cbae113 36.7s
#8 extracting sha256:fee0a88b3d4d26614b7be7e7b9d508bfd92680146a3e153cb4796a139cbae113 41.9s
#8 extracting sha256:fee0a88b3d4d26614b7be7e7b9d508bfd92680146a3e153cb4796a139cbae113 47.0s
#8 extracting sha256:fee0a88b3d4d26614b7be7e7b9d508bfd92680146a3e153cb4796a139cbae113 52.0s
#8 extracting sha256:fee0a88b3d4d26614b7be7e7b9d508bfd92680146a3e153cb4796a139cbae113 57.1s
#8 extracting sha256:fee0a88b3d4d26614b7be7e7b9d508bfd92680146a3e153cb4796a139cbae113 62.2s
#8 extracting sha256:fee0a88b3d4d26614b7be7e7b9d508bfd92680146a3e153cb4796a139cbae113 65.2s done
#8 DONE 86.7s

#9 [2/7] RUN opam repo add oxcaml git+https://github.com/janestreet/opam-repository#with-extensions --set-default
#9 sha256:2b69bc7da607b8d799e50ae1c23d9003abdc44017eafcb0a93d6d9ea60c5fb33
#9 3.613 [oxcaml] Initialised
#9 DONE 5.3s

#10 [3/7] RUN yum install -y zstd autoconf && yum clean packages
#10 sha256:4f7d1fb997a55132513c96f42f9dd1ea8d0c2840aaef1b05ea5c2446dff4ef20
#10 1.219 Oracle Linux 9 BaseOS Latest (x86_64)            88 kB/s | 4.2 kB     00:00    
#10 2.241 Oracle Linux 9 BaseOS Latest (x86_64)            64 MB/s |  66 MB     00:01    
#10 10.20 Oracle Linux 9 Application Stream Packages (x86 140 kB/s | 4.5 kB     00:00    
#10 11.14 Oracle Linux 9 Application Stream Packages (x86  64 MB/s |  61 MB     00:00    
#10 24.16 Last metadata expiration check: 0:00:08 ago on Tue Jun 10 13:54:47 2025.
#10 25.97 Package zstd-1.5.5-1.el9.x86_64 is already installed.
#10 25.97 Package autoconf-2.69-39.el9.noarch is already installed.
#10 26.08 Dependencies resolved.
#10 26.08 Nothing to do.
#10 26.08 Complete!
#10 26.35 0 files removed
#10 DONE 26.5s

#11 [4/7] RUN opam switch create 5.2 --packages=ocaml-variants.5.2.0+flambda2
#11 sha256:7c9d8f1383735a3e627204e57e23e468ec5d433c129891696893387ff6999512
#11 4.505 
#11 4.505 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#11 4.604 [ocaml-config.3/gen_ocaml_config.ml.in] downloaded from https://opam.ocaml.org/cache
#11 4.699 [ocaml-config.3/ocaml-config.install] downloaded from https://opam.ocaml.org/cache
#11 6.537 [ocaml-variants.5.2.0+flambda2] downloaded from https://github.com/oxcaml/oxcaml/archive/refs/tags/5.2.0minus-10.tar.gz
#11 8.443 [ocaml-variants.5.2.0+flambda2/init-compiler.tar.gz] downloaded from https://opam.ocaml.org/cache
#11 8.676 [ocaml-variants.5.2.0+flambda2/init-dune.tbz] downloaded from https://opam.ocaml.org/cache
#11 9.168 [ocaml-variants.5.2.0+flambda2/init-menhir.tar.gz] downloaded from https://opam.ocaml.org/cache
#11 9.168 
#11 9.168 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#11 10.13 -> installed base-bigarray.base
#11 10.14 -> installed base-threads.base
#11 10.14 -> installed base-unix.base
#11 10.14 -> installed ocaml-options-vanilla.1
#11 120.1 [ERROR] The compilation of ocaml-variants failed at "/usr/bin/sh -exc autoconf || autoconf27".
#11 120.1 
#11 120.1 #=== ERROR while compiling ocaml-variants.5.2.0+flambda2 ======================#
#11 120.1 # context              2.0.10 | linux/x86_64 |  | git+https://github.com/janestreet/opam-repository#with-extensions
#11 120.1 # path                 ~/.opam/5.2/.opam-switch/build/ocaml-variants.5.2.0+flambda2
#11 120.1 # command              /usr/bin/sh -exc autoconf || autoconf27
#11 120.1 # exit-code            127
#11 120.1 # env-file             ~/.opam/log/ocaml-variants-1-910341.env
#11 120.1 # output-file          ~/.opam/log/ocaml-variants-1-910341.out
#11 120.1 ### output ###
#11 120.1 # + autoconf
#11 120.1 # configure.ac:19: error: Autoconf version 2.71 or higher is required
#11 120.1 # configure.ac:19: the top level
#11 120.1 # autom4te: /usr/bin/m4 failed with exit status: 63
#11 120.1 # + autoconf27
#11 120.1 # /usr/bin/sh: line 1: autoconf27: command not found
#11 120.1 
#11 120.1 
#11 120.1 
#11 120.1 <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#11 120.1 +- The following actions failed
#11 120.1 | - build ocaml-variants 5.2.0+flambda2
#11 120.1 +- 
#11 120.1 +- The following changes have been performed (the rest was aborted)
#11 120.1 | - install base-bigarray         base
#11 120.1 | - install base-threads          base
#11 120.1 | - install base-unix             base
#11 120.1 | - install ocaml-options-vanilla 1
#11 120.1 +- 
#11 120.1 # Run eval $(opam env) to update the current shell environment
#11 120.1 Switch initialisation failed: clean up? ('n' will leave the switch partially installed) [Y/n] y
#11 ERROR: executor failed running [/bin/sh -c opam switch create 5.2 --packages=ocaml-variants.5.2.0+flambda2]: exit code: 31
------
 > [4/7] RUN opam switch create 5.2 --packages=ocaml-variants.5.2.0+flambda2:
------
executor failed running [/bin/sh -c opam switch create 5.2 --packages=ocaml-variants.5.2.0+flambda2]: exit code: 31
docker-build failed with exit-code 1
2025-06-10 13:57.06: Job failed: Failed: Build failed
2025-06-10 13:57.06: Log analysis:
2025-06-10 13:57.06: >>> : error: Autoconf version 2.71 or higher is required (score = 35)
2025-06-10 13:57.06: Autoconf version 2.71 or higher is required