Build:
- 0
2025-06-10 14:15.28: New job: Build using linux-x86_64 in
[]
2025-06-10 14:15.28: Will push staging image to ocurrent/opam-staging:opensuse-15.6-ocaml-5.2-flambda2-amd64
Dockerfile:
# syntax=docker/dockerfile:1
FROM ocurrent/opam-staging@sha256:550fd477639cbb64525500a7f42c6c0797c6924d24e0a0e7bfd8a24d4b33c20b
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 zypper repos repo-openh264 && zypper removerepo repo-openh264 || true
RUN zypper update -y
RUN zypper install --force-resolution -y zstd
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 14:15.28: Using cache hint "5.2.0+flambda2-amd64-ocurrent/opam-staging@sha256:550fd477639cbb64525500a7f42c6c0797c6924d24e0a0e7bfd8a24d4b33c20b"
2025-06-10 14:15.28: Waiting for confirm-threshold > above-average
2025-06-10 14:17.28: Confirm-threshold now > above-average
2025-06-10 14:17.28: Waiting for resource in pool OCluster
2025-06-10 14:17.28: Waiting for worker…
2025-06-10 14:17.28: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
#1 [internal] load build definition from Dockerfile
#1 sha256:aaf3f342a264d18a2583c270e7141957fae692009ec4df4a3265de5bc7981897
#1 transferring dockerfile: 775B done
#1 DONE 0.1s
#2 [internal] load .dockerignore
#2 sha256:65547b6dd2bcded434e55a1eec2756ea06321c4c29a76e075729fe9816566c0d
#2 transferring context: 2B done
#2 DONE 0.2s
#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:cd2632092f06852cab2e65e0fa0fb870b8a73d78ca28535f616726a038686e2a
#5 DONE 0.0s
#6 [internal] load metadata for docker.io/ocurrent/opam-staging@sha256:550fd477639cbb64525500a7f42c6c0797c6924d24e0a0e7bfd8a24d4b33c20b
#6 sha256:18774bdaf9250788e0c45d2da856004bdb23b3e6f6f5f4cb5d873e3d9bf31ea1
#6 DONE 0.7s
#7 [internal] load .dockerignore
#7 sha256:939ec6ccdc63ea54a8243228d9d14b1248043a62ba877da37e5dcfbe7f8d4522
#7 DONE 0.0s
#8 [1/9] FROM docker.io/ocurrent/opam-staging@sha256:550fd477639cbb64525500a7f42c6c0797c6924d24e0a0e7bfd8a24d4b33c20b
#8 sha256:d79eb427a1934767ac3c0f1e3c7037ac2a5e5602c3199376e1ea3f8f66a2fbc7
#8 DONE 0.0s
#9 [2/9] RUN opam repo add oxcaml git+https://github.com/janestreet/opam-repository#with-extensions --set-default
#9 sha256:7fa063ab4100e3e6f9a69a76d9991afe69fd985bdcc87986f9af5ea1f46d46b2
#9 CACHED
#10 [3/9] RUN zypper repos repo-openh264 && zypper removerepo repo-openh264 || true
#10 sha256:bb2ef969a7e7d6af23e084684fd5bbbe817a655f8d7cfd774cad1023de05d83a
#10 CACHED
#11 [4/9] RUN zypper update -y
#11 sha256:8b9ad32519d5cfd1509cd73065dd872acbc91b447f78f5fca7e0145c41e8ebd7
#11 CACHED
#16 [internal] load build context
#16 sha256:e056e6270c5453a4a857783ab918411ee96f1303bf010dd526feaaf79e4276cb
#16 transferring context: 775B done
#16 DONE 0.1s
#12 [5/9] RUN zypper install --force-resolution -y zstd
#12 sha256:10cec325ee13a0e903eaed1c4b4869e93b22dc5d3395a080a1f8523967fcedfd
#12 1.911 Loading repository data...
#12 2.755 Reading installed packages...
#12 4.728 Resolving package dependencies...
#12 4.831
#12 4.831 The following NEW package is going to be installed:
#12 4.831 zstd
#12 4.831
#12 4.831 1 new package to install.
#12 4.831
#12 4.831 Package download size: 433.8 KiB
#12 4.831
#12 4.831 Package install size change:
#12 4.831 | 1.7 MiB required by packages that will be installed
#12 4.831 1.7 MiB | - 0 B released by packages that will be removed
#12 4.831
#12 4.831 Backend: classic_rpmtrans
#12 4.831 Continue? [y/n/v/...? shows all options] (y): y
#12 4.935 Retrieving: zstd-1.5.5-150600.1.3.x86_64 (Main Repository) (1/1), 433.8 KiB
#12 4.945 Retrieving: zstd-1.5.5-150600.1.3.x86_64.rpm [..done (159.0 KiB/s)]
#12 5.133
#12 5.133 Checking for file conflicts: [..done]
#12 5.157 (1/1) Installing: zstd-1.5.5-150600.1.3.x86_64 [..done]
#12 DONE 5.5s
#13 [6/9] RUN opam switch create 5.2 --packages=ocaml-variants.5.2.0+flambda2
#13 sha256:a259557535f55fb031f129c50ce80eec52303de4da9511378ad4cab948b633fe
#13 4.822
#13 4.822 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#13 4.915 [ocaml-config.3/gen_ocaml_config.ml.in] downloaded from https://opam.ocaml.org/cache
#13 5.059 [ocaml-config.3/ocaml-config.install] downloaded from https://opam.ocaml.org/cache
#13 6.782 [ocaml-variants.5.2.0+flambda2] downloaded from https://github.com/oxcaml/oxcaml/archive/refs/tags/5.2.0minus-10.tar.gz
#13 8.377 [ocaml-variants.5.2.0+flambda2/init-compiler.tar.gz] downloaded from https://opam.ocaml.org/cache
#13 8.588 [ocaml-variants.5.2.0+flambda2/init-dune.tbz] downloaded from https://opam.ocaml.org/cache
#13 8.786 [ocaml-variants.5.2.0+flambda2/init-menhir.tar.gz] downloaded from https://opam.ocaml.org/cache
#13 8.786
#13 8.786 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#13 9.544 -> installed base-bigarray.base
#13 9.546 -> installed base-threads.base
#13 9.548 -> installed base-unix.base
#13 9.550 -> installed ocaml-options-vanilla.1
#13 157.5 [ERROR] The compilation of ocaml-variants failed at "/usr/bin/sh -exc autoconf || autoconf27".
#13 157.5
#13 157.5 #=== ERROR while compiling ocaml-variants.5.2.0+flambda2 ======================#
#13 157.5 # context 2.0.10 | linux/x86_64 | | git+https://github.com/janestreet/opam-repository#with-extensions
#13 157.5 # path ~/.opam/5.2/.opam-switch/build/ocaml-variants.5.2.0+flambda2
#13 157.5 # command /usr/bin/sh -exc autoconf || autoconf27
#13 157.5 # exit-code 127
#13 157.5 # env-file ~/.opam/log/ocaml-variants-1-910341.env
#13 157.5 # output-file ~/.opam/log/ocaml-variants-1-910341.out
#13 157.5 ### output ###
#13 157.5 # + autoconf
#13 157.5 # configure.ac:19: error: Autoconf version 2.71 or higher is required
#13 157.5 # configure.ac:19: the top level
#13 157.5 # autom4te: /usr/bin/m4 failed with exit status: 63
#13 157.5 # + autoconf27
#13 157.5 # /usr/bin/sh: autoconf27: command not found
#13 157.5
#13 157.5
#13 157.5
#13 157.5 <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#13 157.5 +- The following actions failed
#13 157.5 | - build ocaml-variants 5.2.0+flambda2
#13 157.5 +-
#13 157.5 +- The following changes have been performed (the rest was aborted)
#13 157.5 | - install base-bigarray base
#13 157.5 | - install base-threads base
#13 157.5 | - install base-unix base
#13 157.5 | - install ocaml-options-vanilla 1
#13 157.5 +-
#13 157.5 # Run eval $(opam env) to update the current shell environment
#13 157.5 Switch initialisation failed: clean up? ('n' will leave the switch partially installed) [Y/n] y
#13 ERROR: executor failed running [/bin/sh -c opam switch create 5.2 --packages=ocaml-variants.5.2.0+flambda2]: exit code: 31
------
> [6/9] 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 14:20.14: Job failed: Failed: Build failed
2025-06-10 14:20.14: Log analysis:
2025-06-10 14:20.14: >>> : error: Autoconf version 2.71 or higher is required (score = 35)
2025-06-10 14:20.14: Autoconf version 2.71 or higher is required