Build:
- 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:debian-11-ocaml-5.2-flambda2-amd64
Dockerfile:
# syntax=docker/dockerfile:1
FROM ocurrent/opam-staging@sha256:5c3839cefe514f839155d8b51c8a680982eeb70e2db8981e5ef1af7049ae380c
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 apt-get -y update
RUN DEBIAN_FRONTEND=noninteractive apt-get -y upgrade
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install libzstd-dev 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:5c3839cefe514f839155d8b51c8a680982eeb70e2db8981e5ef1af7049ae380c"
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 clete.caelum.ci.dev
#1 [internal] load build definition from Dockerfile
#1 sha256:0211403153b9a1de7e24d7b44e64a2fbdbea05aa0c5b473870f1fe99de58bd57
#1 transferring dockerfile: 785B done
#1 DONE 0.0s
#2 [internal] load .dockerignore
#2 sha256:df7a3b272733b114a46cf5649073491f15233c1c74cb1900978a1f8a8f474e7a
#2 transferring context: 2B done
#2 DONE 0.0s
#3 resolve image config for docker.io/docker/dockerfile:1
#3 sha256:ac072d521901222eeef550f52282877f196e16b0247844be9ceb1ccc1eac391d
#3 DONE 1.3s
#4 docker-image://docker.io/docker/dockerfile:1@sha256:9857836c9ee4268391bb5b09f9f157f3c91bb15821bb77969642813b0d00518d
#4 sha256:d95c0f0e2674ec5312c08d32b53352282bfb47bb937e59be1811918de553c0e8
#4 resolve docker.io/docker/dockerfile:1@sha256:9857836c9ee4268391bb5b09f9f157f3c91bb15821bb77969642813b0d00518d done
#4 sha256:9857836c9ee4268391bb5b09f9f157f3c91bb15821bb77969642813b0d00518d 8.40kB / 8.40kB done
#4 sha256:176b5004df55ffa561c121dd12c0fad3ffe3c014318721c3c3d566008ce2627a 850B / 850B done
#4 sha256:a7a871c4f80fb0fd80a56efe8fc598eefc7be2ff7d36af617a31da498c779c68 1.26kB / 1.26kB done
#4 sha256:724f0f61ffc85cf6ad0032c9063f7a74cd6d3590fd1138154820556e0a92073b 1.05MB / 13.16MB 0.2s
#4 sha256:724f0f61ffc85cf6ad0032c9063f7a74cd6d3590fd1138154820556e0a92073b 7.34MB / 13.16MB 0.3s
#4 sha256:724f0f61ffc85cf6ad0032c9063f7a74cd6d3590fd1138154820556e0a92073b 12.66MB / 13.16MB 0.4s
#4 sha256:724f0f61ffc85cf6ad0032c9063f7a74cd6d3590fd1138154820556e0a92073b 13.16MB / 13.16MB 0.4s done
#4 extracting sha256:724f0f61ffc85cf6ad0032c9063f7a74cd6d3590fd1138154820556e0a92073b 0.1s
#4 extracting sha256:724f0f61ffc85cf6ad0032c9063f7a74cd6d3590fd1138154820556e0a92073b 0.7s done
#4 DONE 1.3s
#5 [internal] load build definition from Dockerfile
#5 sha256:cd9746ea3e1c299373a5b0d5a467929ab6f1067454475e656ae383e031bab0dd
#5 DONE 0.0s
#6 [internal] load metadata for docker.io/ocurrent/opam-staging@sha256:5c3839cefe514f839155d8b51c8a680982eeb70e2db8981e5ef1af7049ae380c
#6 sha256:9b6cf5f76ba54ce109ef25faa2d1c315d39dd9111bb4a19c7e78706a16792dbb
#6 DONE 1.8s
#7 [internal] load .dockerignore
#7 sha256:1072740f381317208a05ca252ccd6db6394c926c026994e6eafc6e287781aefa
#7 DONE 0.0s
#8 [1/9] FROM docker.io/ocurrent/opam-staging@sha256:5c3839cefe514f839155d8b51c8a680982eeb70e2db8981e5ef1af7049ae380c
#8 sha256:1d5c4c9a32aa8b2203d356b43b596bcf0335dbdfd9fe1c8c3cda694c535eaf74
#8 resolve docker.io/ocurrent/opam-staging@sha256:5c3839cefe514f839155d8b51c8a680982eeb70e2db8981e5ef1af7049ae380c 0.0s done
#8 sha256:5c3839cefe514f839155d8b51c8a680982eeb70e2db8981e5ef1af7049ae380c 530B / 530B done
#8 sha256:f39ed21204e9e811f6880e0975564aac023d169b3fba35da3cd03a051498a722 8.33kB / 8.33kB done
#8 DONE 0.0s
#16 [internal] load build context
#16 sha256:de99ab1c00b9200fef56cf6dbeeb8da96f792af6c9c2e50b3d9ee1b2a07a9c5f
#16 transferring context: 785B done
#16 DONE 0.0s
#9 [2/9] RUN opam repo add oxcaml git+https://github.com/janestreet/opam-repository#with-extensions --set-default
#9 sha256:3738f0fbd8647ad0628f3904fe6e69be791e8578f4acb0802cac29dac81306a9
#9 34.10 [oxcaml] Initialised
#9 DONE 34.7s
#10 [3/9] RUN apt-get -y update
#10 sha256:f41ee6155d2a822b273265949cd7414a20df994bafa4022bad723595edd65567
#10 0.602 Hit:1 http://deb.debian.org/debian bullseye InRelease
#10 0.602 Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [27.2 kB]
#10 0.611 Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
#10 1.073 Get:4 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [380 kB]
#10 1.269 Fetched 452 kB in 1s (640 kB/s)
#10 1.269 Reading package lists...
#10 DONE 2.1s
#11 [4/9] RUN DEBIAN_FRONTEND=noninteractive apt-get -y upgrade
#11 sha256:2ef4bbd21a86e39d13c2f12f2bfaf90ae5e434ef98b89821d4d7340a687991bc
#11 0.587 Reading package lists...
#11 1.290 Building dependency tree...
#11 1.375 Reading state information...
#11 1.391 Calculating upgrade...
#11 1.512 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
#11 DONE 1.5s
#12 [5/9] RUN DEBIAN_FRONTEND=noninteractive apt-get -y install libzstd-dev autoconf
#12 sha256:60d00e9dfbe12ebb996df5ce4f4d792187571db12a43857c641fe1acdaa7d69f
#12 0.571 Reading package lists...
#12 1.307 Building dependency tree...
#12 1.400 Reading state information...
#12 1.525 The following additional packages will be installed:
#12 1.525 automake autotools-dev libsigsegv2 m4
#12 1.526 Suggested packages:
#12 1.526 autoconf-archive gnu-standards autoconf-doc libtool gettext m4-doc
#12 1.573 The following NEW packages will be installed:
#12 1.574 autoconf automake autotools-dev libsigsegv2 libzstd-dev m4
#12 1.610 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
#12 1.610 Need to get 1825 kB of archives.
#12 1.610 After this operation, 5718 kB of additional disk space will be used.
#12 1.610 Get:1 http://deb.debian.org/debian bullseye/main amd64 libsigsegv2 amd64 2.13-1 [34.8 kB]
#12 1.621 Get:2 http://deb.debian.org/debian bullseye/main amd64 m4 amd64 1.4.18-5 [204 kB]
#12 1.644 Get:3 http://deb.debian.org/debian bullseye/main amd64 autoconf all 2.69-14 [313 kB]
#12 1.658 Get:4 http://deb.debian.org/debian bullseye/main amd64 autotools-dev all 20180224.1+nmu1 [77.1 kB]
#12 1.660 Get:5 http://deb.debian.org/debian bullseye/main amd64 automake all 1:1.16.3-2 [814 kB]
#12 1.678 Get:6 http://deb.debian.org/debian bullseye/main amd64 libzstd-dev amd64 1.4.8+dfsg-2.1 [382 kB]
#12 1.912 debconf: delaying package configuration, since apt-utils is not installed
#12 1.962 Fetched 1825 kB in 0s (17.0 MB/s)
#12 1.989 Selecting previously unselected package libsigsegv2:amd64.
#12 1.989 (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18342 files and directories currently installed.)
#12 2.035 Preparing to unpack .../0-libsigsegv2_2.13-1_amd64.deb ...
#12 2.037 Unpacking libsigsegv2:amd64 (2.13-1) ...
#12 2.059 Selecting previously unselected package m4.
#12 2.061 Preparing to unpack .../1-m4_1.4.18-5_amd64.deb ...
#12 2.062 Unpacking m4 (1.4.18-5) ...
#12 2.116 Selecting previously unselected package autoconf.
#12 2.119 Preparing to unpack .../2-autoconf_2.69-14_all.deb ...
#12 2.120 Unpacking autoconf (2.69-14) ...
#12 2.203 Selecting previously unselected package autotools-dev.
#12 2.206 Preparing to unpack .../3-autotools-dev_20180224.1+nmu1_all.deb ...
#12 2.207 Unpacking autotools-dev (20180224.1+nmu1) ...
#12 2.241 Selecting previously unselected package automake.
#12 2.244 Preparing to unpack .../4-automake_1%3a1.16.3-2_all.deb ...
#12 2.247 Unpacking automake (1:1.16.3-2) ...
#12 2.383 Selecting previously unselected package libzstd-dev:amd64.
#12 2.387 Preparing to unpack .../5-libzstd-dev_1.4.8+dfsg-2.1_amd64.deb ...
#12 2.388 Unpacking libzstd-dev:amd64 (1.4.8+dfsg-2.1) ...
#12 2.503 Setting up libzstd-dev:amd64 (1.4.8+dfsg-2.1) ...
#12 2.506 Setting up autotools-dev (20180224.1+nmu1) ...
#12 2.507 Setting up libsigsegv2:amd64 (2.13-1) ...
#12 2.509 Setting up m4 (1.4.18-5) ...
#12 2.511 Setting up autoconf (2.69-14) ...
#12 2.513 Setting up automake (1:1.16.3-2) ...
#12 2.523 update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
#12 2.526 Processing triggers for libc-bin (2.31-13+deb11u13) ...
#12 DONE 2.6s
#13 [6/9] RUN opam switch create 5.2 --packages=ocaml-variants.5.2.0+flambda2
#13 sha256:9d6e127091c858dc1a9f3cb0de1268d00c360a23d186d9047c008fea9cef87b8
#13 5.232
#13 5.232 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#13 5.341 [ocaml-config.3/gen_ocaml_config.ml.in] downloaded from https://opam.ocaml.org/cache
#13 5.508 [ocaml-config.3/ocaml-config.install] downloaded from https://opam.ocaml.org/cache
#13 6.728 [ocaml-variants.5.2.0+flambda2] downloaded from https://github.com/oxcaml/oxcaml/archive/refs/tags/5.2.0minus-10.tar.gz
#13 8.922 [ocaml-variants.5.2.0+flambda2/init-compiler.tar.gz] downloaded from https://opam.ocaml.org/cache
#13 9.473 [ocaml-variants.5.2.0+flambda2/init-dune.tbz] downloaded from https://opam.ocaml.org/cache
#13 9.973 [ocaml-variants.5.2.0+flambda2/init-menhir.tar.gz] downloaded from https://opam.ocaml.org/cache
#13 9.974
#13 9.974 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#13 10.93 -> installed base-bigarray.base
#13 10.97 -> installed base-threads.base
#13 10.97 -> installed base-unix.base
#13 10.98 -> installed ocaml-options-vanilla.1
#13 197.8 [ERROR] The compilation of ocaml-variants failed at "/bin/sh -exc autoconf || autoconf27".
#13 197.8
#13 197.8 #=== ERROR while compiling ocaml-variants.5.2.0+flambda2 ======================#
#13 197.8 # context 2.0.10 | linux/x86_64 | | git+https://github.com/janestreet/opam-repository#with-extensions
#13 197.8 # path ~/.opam/5.2/.opam-switch/build/ocaml-variants.5.2.0+flambda2
#13 197.8 # command /bin/sh -exc autoconf || autoconf27
#13 197.8 # exit-code 127
#13 197.8 # env-file ~/.opam/log/ocaml-variants-7-910341.env
#13 197.8 # output-file ~/.opam/log/ocaml-variants-7-910341.out
#13 197.8 ### output ###
#13 197.8 # + autoconf
#13 197.8 # configure.ac:19: error: Autoconf version 2.71 or higher is required
#13 197.8 # configure.ac:19: the top level
#13 197.8 # autom4te: /usr/bin/m4 failed with exit status: 63
#13 197.8 # + autoconf27
#13 197.8 # /bin/sh: 1: autoconf27: not found
#13 197.8
#13 197.8
#13 197.8
#13 197.8 <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#13 197.8 +- The following actions failed
#13 197.8 | - build ocaml-variants 5.2.0+flambda2
#13 197.8 +-
#13 197.8 +- The following changes have been performed (the rest was aborted)
#13 197.8 | - install base-bigarray base
#13 197.8 | - install base-threads base
#13 197.8 | - install base-unix base
#13 197.8 | - install ocaml-options-vanilla 1
#13 197.8 +-
#13 197.8 # Run eval $(opam env) to update the current shell environment
#13 197.8 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.28: Job failed: Failed: Build failed
2025-06-10 13:15.28: Log analysis:
2025-06-10 13:15.28: >>> : error: Autoconf version 2.71 or higher is required (score = 35)
2025-06-10 13:15.28: Autoconf version 2.71 or higher is required