Build:
  1. 0
2025-06-10 13:09.23: New job: Build using linux-x86_64 in
                                []
2025-06-10 13:09.23: 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 autoconf
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:09.23: Using cache hint "5.2.0+flambda2-amd64-ocurrent/opam-staging@sha256:550fd477639cbb64525500a7f42c6c0797c6924d24e0a0e7bfd8a24d4b33c20b"
2025-06-10 13:09.23: Waiting for confirm-threshold > above-average
2025-06-10 13:11.22: Confirm-threshold now > above-average
2025-06-10 13:11.22: Connecting to build cluster…
2025-06-10 13:11.22: Waiting for resource in pool OCluster
2025-06-10 13:11.23: Waiting for worker…
2025-06-10 13:11.23: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
#2 [internal] load .dockerignore
#2 sha256:3822443b0a2df7e1e24ac2022532c40234fd347053274bba70fbdcc30651adc8
#2 transferring context: 2B done
#2 DONE 0.2s

#1 [internal] load build definition from Dockerfile
#1 sha256:33d0c66cebb89a689cec3307ed1912c41bc964fbdf7fd87afdc34f1dda50b2c8
#1 transferring dockerfile: 784B done
#1 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:e3cb4277f53fd59ae8b4ebcb01b499cbef87dc9288e7267d0c8f422fac9beb6a
#5 DONE 0.0s

#6 [internal] load metadata for docker.io/ocurrent/opam-staging@sha256:550fd477639cbb64525500a7f42c6c0797c6924d24e0a0e7bfd8a24d4b33c20b
#6 sha256:18774bdaf9250788e0c45d2da856004bdb23b3e6f6f5f4cb5d873e3d9bf31ea1
#6 DONE 0.9s

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

#8 [1/9] FROM docker.io/ocurrent/opam-staging@sha256:550fd477639cbb64525500a7f42c6c0797c6924d24e0a0e7bfd8a24d4b33c20b
#8 sha256:d79eb427a1934767ac3c0f1e3c7037ac2a5e5602c3199376e1ea3f8f66a2fbc7
#8 resolve docker.io/ocurrent/opam-staging@sha256:550fd477639cbb64525500a7f42c6c0797c6924d24e0a0e7bfd8a24d4b33c20b done
#8 sha256:550fd477639cbb64525500a7f42c6c0797c6924d24e0a0e7bfd8a24d4b33c20b 530B / 530B done
#8 sha256:7d876efb31316863e7e0eb4c7d7bca5cb5a9f73b06c584d17fac9adb63929a6f 9.42kB / 9.42kB done
#8 DONE 0.1s

#16 [internal] load build context
#16 sha256:5fed4a5c04d757020561408e1776e224d346ae09efa059e67d4dfb70b9679060
#16 transferring context: 784B done
#16 DONE 0.2s

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

#10 [3/9] RUN zypper repos repo-openh264 && zypper removerepo repo-openh264 || true
#10 sha256:bb2ef969a7e7d6af23e084684fd5bbbe817a655f8d7cfd774cad1023de05d83a
#10 0.720 Use 'zypper repos' to get the list of defined repositories.
#10 0.720 Repository 'repo-openh264' not found by its alias, number, or URI.
#10 DONE 0.8s

#11 [4/9] RUN zypper update -y
#11 sha256:8b9ad32519d5cfd1509cd73065dd872acbc91b447f78f5fca7e0145c41e8ebd7
#11 0.762 Retrieving repository 'Update repository of openSUSE Backports' metadata [.................................................done]
#11 9.237 Building repository 'Update repository of openSUSE Backports' cache [....done]
#11 14.99 Retrieving repository 'Update repository with updates from SUSE Linux Enterprise 15' metadata [...................................done]
#11 25.02 Building repository 'Update repository with updates from SUSE Linux Enterprise 15' cache [....done]
#11 36.79 Loading repository data...
#11 37.61 Reading installed packages...
#11 39.62 Nothing to do.
#11 DONE 39.7s

#12 [5/9] RUN zypper install --force-resolution -y zstd autoconf
#12 sha256:c11c3374e21e15584f8c4e4ad18b846ff1cf83ca63de5eab718586cc0b23388f
#12 0.515 Loading repository data...
#12 1.282 Reading installed packages...
#12 3.120 'autoconf' is already installed.
#12 3.120 No update candidate for 'autoconf-2.69-1.445.noarch'. The highest available version is already installed.
#12 3.120 Resolving package dependencies...
#12 3.220 
#12 3.220 The following NEW package is going to be installed:
#12 3.220   zstd
#12 3.220 
#12 3.220 1 new package to install.
#12 3.220 
#12 3.220 Package download size:   433.8 KiB
#12 3.220 
#12 3.220 Package install size change:
#12 3.220               |       1.7 MiB  required by packages that will be installed
#12 3.220      1.7 MiB  |  -      0 B    released by packages that will be removed
#12 3.220 
#12 3.220 Backend:  classic_rpmtrans
#12 3.220 Continue? [y/n/v/...? shows all options] (y): y
#12 3.321 Retrieving: zstd-1.5.5-150600.1.3.x86_64 (Main Repository) (1/1), 433.8 KiB    
#12 3.332 Retrieving: zstd-1.5.5-150600.1.3.x86_64.rpm [..done (1.3 MiB/s)]
#12 3.509 
#12 3.509 Checking for file conflicts: [..done]
#12 3.553 (1/1) Installing: zstd-1.5.5-150600.1.3.x86_64 [..done]
#12 DONE 3.8s

#13 [6/9] RUN opam switch create 5.2 --packages=ocaml-variants.5.2.0+flambda2
#13 sha256:f71aa3cc35e61cbfb34195428ab99f7b0589338e50432ea93cb9eb3d397fb045
#13 4.891 
#13 4.891 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#13 5.071 [ocaml-config.3/gen_ocaml_config.ml.in] downloaded from https://opam.ocaml.org/cache
#13 5.208 [ocaml-config.3/ocaml-config.install] downloaded from https://opam.ocaml.org/cache
#13 5.923 [ocaml-variants.5.2.0+flambda2] downloaded from https://github.com/oxcaml/oxcaml/archive/refs/tags/5.2.0minus-10.tar.gz
#13 7.621 [ocaml-variants.5.2.0+flambda2/init-compiler.tar.gz] downloaded from https://opam.ocaml.org/cache
#13 7.856 [ocaml-variants.5.2.0+flambda2/init-dune.tbz] downloaded from https://opam.ocaml.org/cache
#13 8.245 [ocaml-variants.5.2.0+flambda2/init-menhir.tar.gz] downloaded from https://opam.ocaml.org/cache
#13 8.245 
#13 8.245 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#13 8.999 -> installed base-bigarray.base
#13 9.001 -> installed base-threads.base
#13 9.003 -> installed base-unix.base
#13 9.005 -> installed ocaml-options-vanilla.1
#13 154.5 [ERROR] The compilation of ocaml-variants failed at "/usr/bin/sh -exc autoconf || autoconf27".
#13 154.5 
#13 154.5 #=== ERROR while compiling ocaml-variants.5.2.0+flambda2 ======================#
#13 154.5 # context              2.0.10 | linux/x86_64 |  | git+https://github.com/janestreet/opam-repository#with-extensions
#13 154.5 # path                 ~/.opam/5.2/.opam-switch/build/ocaml-variants.5.2.0+flambda2
#13 154.5 # command              /usr/bin/sh -exc autoconf || autoconf27
#13 154.5 # exit-code            127
#13 154.5 # env-file             ~/.opam/log/ocaml-variants-1-910341.env
#13 154.5 # output-file          ~/.opam/log/ocaml-variants-1-910341.out
#13 154.5 ### output ###
#13 154.5 # + autoconf
#13 154.5 # configure.ac:19: error: Autoconf version 2.71 or higher is required
#13 154.5 # configure.ac:19: the top level
#13 154.5 # autom4te: /usr/bin/m4 failed with exit status: 63
#13 154.5 # + autoconf27
#13 154.5 # /usr/bin/sh: autoconf27: command not found
#13 154.5 
#13 154.5 
#13 154.5 
#13 154.5 <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#13 154.5 +- The following actions failed
#13 154.5 | - build ocaml-variants 5.2.0+flambda2
#13 154.5 +- 
#13 154.5 +- The following changes have been performed (the rest was aborted)
#13 154.5 | - install base-bigarray         base
#13 154.5 | - install base-threads          base
#13 154.5 | - install base-unix             base
#13 154.5 | - install ocaml-options-vanilla 1
#13 154.5 +- 
#13 154.5 # Run eval $(opam env) to update the current shell environment
#13 154.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 13:15.06: Job failed: Failed: Build failed
2025-06-10 13:15.06: Log analysis:
2025-06-10 13:15.06: >>> : error: Autoconf version 2.71 or higher is required (score = 35)
2025-06-10 13:15.06: Autoconf version 2.71 or higher is required