Build:
  1. 2
  2. 1
  3. 0
2026-09-19 14:09.28: New job: Build using linux-arm64 in
                                [https://github.com/ocaml/opam-repository#master (8cdfa3296d9bc7d93273f46eb2438757e4fd5cf0)]
2026-09-19 14:09.28: Will push staging image to ocurrent/opam-staging:fedora-43-opam-arm64

Dockerfile:

# syntax=docker/dockerfile:1

# Autogenerated by OCaml-Dockerfile scripts
FROM fedora:43
LABEL distro_style="rpm"
RUN yum --version || dnf install -y yum
RUN yum update -y
RUN yum group install -y "c-development" && yum clean packages
RUN yum install -y git patch unzip which tar xz libcap-devel openssl sudo bzip2 gawk && yum clean packages
RUN git config --global user.email "docker@example.com"
RUN git config --global user.name "Docker"
RUN git config --global gc.autoDetach false
RUN git clone https://github.com/ocaml/opam /tmp/opam && cd /tmp/opam && cp -P -R -p . ../opam-sources && git checkout a310b2ef12f9f62f7cdefdcda5a00c379654477e && env MAKE='make -j' shell/bootstrap-ocaml.sh && make -C src_ext cache-archives
RUN cd /tmp/opam-sources && cp -P -R -p . ../opam-build-2.1 && cd ../opam-build-2.1 && git fetch -q && git checkout 263921263e1f745613e2882745114b7b08f3608b && ln -s ../opam/src_ext/archives src_ext/archives && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" ./configure --enable-cold-check --with-0install-solver && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" make lib-ext all && mkdir -p /usr/bin && cp /tmp/opam-build-2.1/opam /usr/bin/opam-2.1 && chmod a+x /usr/bin/opam-2.1 && rm -rf /tmp/opam-build-2.1
RUN cd /tmp/opam-sources && cp -P -R -p . ../opam-build-2.2 && cd ../opam-build-2.2 && git fetch -q && git checkout 01e9a24a61e23e42d513b4b775d8c30c807439b2 && ln -s ../opam/src_ext/archives src_ext/archives && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" ./configure --enable-cold-check --with-0install-solver --with-vendored-deps && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" make lib-ext all && mkdir -p /usr/bin && cp /tmp/opam-build-2.2/opam /usr/bin/opam-2.2 && chmod a+x /usr/bin/opam-2.2 && rm -rf /tmp/opam-build-2.2
RUN cd /tmp/opam-sources && cp -P -R -p . ../opam-build-2.3 && cd ../opam-build-2.3 && git fetch -q && git checkout 35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724 && ln -s ../opam/src_ext/archives src_ext/archives && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" ./configure --enable-cold-check --with-0install-solver --with-vendored-deps && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" make lib-ext all && mkdir -p /usr/bin && cp /tmp/opam-build-2.3/opam /usr/bin/opam-2.3 && chmod a+x /usr/bin/opam-2.3 && rm -rf /tmp/opam-build-2.3
RUN cd /tmp/opam-sources && cp -P -R -p . ../opam-build-2.4 && cd ../opam-build-2.4 && git fetch -q && git checkout 7c92631391984f698f31ee24f3ae4dc1cd3698ff && ln -s ../opam/src_ext/archives src_ext/archives && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" ./configure --enable-cold-check --with-0install-solver --with-vendored-deps && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" make lib-ext all && mkdir -p /usr/bin && cp /tmp/opam-build-2.4/opam /usr/bin/opam-2.4 && chmod a+x /usr/bin/opam-2.4 && rm -rf /tmp/opam-build-2.4
RUN cd /tmp/opam-sources && cp -P -R -p . ../opam-build-2.5 && cd ../opam-build-2.5 && git fetch -q && git checkout ad0564f20c6306bc83085fe663cab903fe887208 && ln -s ../opam/src_ext/archives src_ext/archives && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" ./configure --enable-cold-check --with-0install-solver --with-vendored-deps && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" make lib-ext all && mkdir -p /usr/bin && cp /tmp/opam-build-2.5/opam /usr/bin/opam-2.5 && chmod a+x /usr/bin/opam-2.5 && rm -rf /tmp/opam-build-2.5
RUN cd /tmp/opam-sources && cp -P -R -p . ../opam-build-2.6 && cd ../opam-build-2.6 && git fetch -q && git checkout 0f9c3b385769323c4af68798b2d2c7bf62a70daf && ln -s ../opam/src_ext/archives src_ext/archives && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" ./configure --enable-cold-check --with-0install-solver --with-vendored-deps && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" make lib-ext all && mkdir -p /usr/bin && cp /tmp/opam-build-2.6/opam /usr/bin/opam-2.6 && chmod a+x /usr/bin/opam-2.6 && rm -rf /tmp/opam-build-2.6
RUN cd /tmp/opam-sources && cp -P -R -p . ../opam-build-master && cd ../opam-build-master && git fetch -q && git checkout a310b2ef12f9f62f7cdefdcda5a00c379654477e && ln -s ../opam/src_ext/archives src_ext/archives && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" ./configure --enable-cold-check --with-0install-solver --with-vendored-deps && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" make lib-ext all && mkdir -p /usr/bin && cp /tmp/opam-build-master/opam /usr/bin/opam-master && chmod a+x /usr/bin/opam-master && rm -rf /tmp/opam-build-master

FROM fedora:43
RUN yum --version || dnf install -y yum
RUN yum update -y
RUN yum group install -y "c-development" && yum clean packages
RUN yum install -y sudo passwd bzip2 unzip patch rsync nano gcc-c++ git tar xz libX11-devel which m4 gawk diffutils findutils bubblewrap && yum clean packages
COPY --from=0 [ "/usr/bin/opam-2.1", "/usr/bin/opam-2.1" ]
RUN ln /usr/bin/opam-2.1 /usr/bin/opam
COPY --from=0 [ "/usr/bin/opam-2.2", "/usr/bin/opam-2.2" ]
COPY --from=0 [ "/usr/bin/opam-2.3", "/usr/bin/opam-2.3" ]
COPY --from=0 [ "/usr/bin/opam-2.4", "/usr/bin/opam-2.4" ]
COPY --from=0 [ "/usr/bin/opam-2.5", "/usr/bin/opam-2.5" ]
COPY --from=0 [ "/usr/bin/opam-2.6", "/usr/bin/opam-2.6" ]
COPY --from=0 [ "/usr/bin/opam-master", "/usr/bin/opam-dev" ]
RUN sed -i.bak '/LC_TIME LC_ALL LANGUAGE/aDefaults    env_keep += "OPAMYES OPAMJOBS OPAMVERBOSE"' /etc/sudoers
COPY <<-EOF /etc/sudoers.d/opam
	opam ALL=(ALL:ALL) NOPASSWD:ALL
EOF
RUN chmod 440 /etc/sudoers.d/opam
RUN chown root:root /etc/sudoers.d/opam
RUN sed -i.bak 's/^Defaults.*requiretty//g' /etc/sudoers
RUN useradd -d /home/opam -u 1000 -m -s /bin/bash opam
RUN passwd -l opam
RUN chown -R opam:opam /home/opam
USER opam
ENV HOME="/home/opam"
WORKDIR /home/opam
RUN mkdir .ssh
RUN chmod 700 .ssh
COPY --chown=opam <<-EOF /home/opam/.opamrc-nosandbox
	wrap-build-commands: []
	wrap-install-commands: []
	wrap-remove-commands: []
	required-tools: []
EOF
COPY --chown=opam <<-EOF /home/opam/opam-sandbox-disable
	#!/bin/sh
	cp ~/.opamrc-nosandbox ~/.opamrc
	echo --- opam sandboxing disabled
EOF
RUN chmod a+x /home/opam/opam-sandbox-disable
RUN sudo mv /home/opam/opam-sandbox-disable /usr/bin/opam-sandbox-disable
COPY --chown=opam <<-EOF /home/opam/.opamrc-sandbox
	wrap-build-commands: ["%{hooks}%/sandbox.sh" "build"]
	wrap-install-commands: ["%{hooks}%/sandbox.sh" "install"]
	wrap-remove-commands: ["%{hooks}%/sandbox.sh" "remove"]
EOF
COPY --chown=opam <<-EOF /home/opam/opam-sandbox-enable
	#!/bin/sh
	cp ~/.opamrc-sandbox ~/.opamrc
	echo --- opam sandboxing enabled
EOF
RUN chmod a+x /home/opam/opam-sandbox-enable
RUN sudo mv /home/opam/opam-sandbox-enable /usr/bin/opam-sandbox-enable
RUN git config --global user.email "docker@example.com"
RUN git config --global user.name "Docker"
RUN git config --global gc.autoDetach false
COPY --link --chown=1000:1000 [ ".", "/home/opam/opam-repository" ]
RUN opam-sandbox-disable
RUN opam init -k git -a /home/opam/opam-repository --bare
RUN echo 'archive-mirrors: "https://opam.ocaml.org/cache"' >> ~/.opam/config
RUN rm -rf .opam/repo/default/.git
COPY --link [ "Dockerfile", "/Dockerfile.opam" ]


2026-09-19 14:09.28: Using cache hint "opam-fedora-43"
2026-09-19 14:09.28: Waiting for resource in pool OCluster
2026-09-19 14:09.28: Waiting for worker…
2026-09-19 14:13.23: Got resource from pool OCluster
Building on molpadia.caelum.ci.dev
All commits already cached
Updating files:  58% (11117/19137)
Updating files:  59% (11291/19137)
Updating files:  60% (11483/19137)
Updating files:  61% (11674/19137)
Updating files:  62% (11865/19137)
Updating files:  63% (12057/19137)
Updating files:  64% (12248/19137)
Updating files:  65% (12440/19137)
Updating files:  66% (12631/19137)
Updating files:  67% (12822/19137)
Updating files:  68% (13014/19137)
Updating files:  69% (13205/19137)
Updating files:  70% (13396/19137)
Updating files:  71% (13588/19137)
Updating files:  72% (13779/19137)
Updating files:  73% (13971/19137)
Updating files:  74% (14162/19137)
Updating files:  75% (14353/19137)
Updating files:  76% (14545/19137)
Updating files:  77% (14736/19137)
Updating files:  78% (14927/19137)
Updating files:  79% (15119/19137)
Updating files:  80% (15310/19137)
Updating files:  81% (15501/19137)
Updating files:  82% (15693/19137)
Updating files:  83% (15884/19137)
Updating files:  84% (16076/19137)
Updating files:  85% (16267/19137)
Updating files:  86% (16458/19137)
Updating files:  87% (16650/19137)
Updating files:  88% (16841/19137)
Updating files:  89% (17032/19137)
Updating files:  90% (17224/19137)
Updating files:  91% (17415/19137)
Updating files:  92% (17607/19137)
Updating files:  93% (17798/19137)
Updating files:  94% (17989/19137)
Updating files:  95% (18181/19137)
Updating files:  96% (18372/19137)
Updating files:  97% (18563/19137)
Updating files:  98% (18755/19137)
Updating files:  99% (18946/19137)
Updating files: 100% (19137/19137)
Updating files: 100% (19137/19137), done.
HEAD is now at 8cdfa3296d Merge pull request #30765 from ab-tools/keynub-licdongle-1.1.1
WARNING: experimental flag squash is removed with BuildKit. You should squash inside build using a multi-stage Dockerfile for efficiency.
#0 building with "default" instance using docker driver

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 7.09kB done
#1 DONE 0.0s

#2 resolve image config for docker-image://docker.io/docker/dockerfile:1
#2 DONE 4.9s

#3 docker-image://docker.io/docker/dockerfile:1@sha256:ecfaec9ed6d810b56388c508f4121597bfbba70d41a6dfeee4d8cad5f295fc32
#3 CACHED

#4 [internal] load metadata for docker.io/library/fedora:43
#4 DONE 0.8s

#5 [internal] load .dockerignore
#5 transferring context: 2B done
#5 DONE 0.0s

#6 [internal] preparing inline document
#6 DONE 0.0s

#7 [internal] preparing inline document
#7 DONE 0.0s

#8 [internal] preparing inline document
#8 DONE 0.0s

#9 [internal] preparing inline document
#9 DONE 0.0s

#10 [internal] preparing inline document
#10 DONE 0.0s

#11 [stage-0  1/16] FROM docker.io/library/fedora:43@sha256:a651ddf48ea28a06ed4e1e6519f51c9f47e7a5a138722ade87369b8fbb7e5b42
#11 DONE 0.0s

#12 [stage-0  7/16] RUN git config --global user.name "Docker"
#12 CACHED

#13 [stage-0  4/16] RUN yum group install -y "c-development" && yum clean packages
#13 CACHED

#14 [stage-0  6/16] RUN git config --global user.email "docker@example.com"
#14 CACHED

#15 [stage-0  2/16] RUN yum --version || dnf install -y yum
#15 CACHED

#16 [stage-0  3/16] RUN yum update -y
#16 CACHED

#17 [stage-0  5/16] RUN yum install -y git patch unzip which tar xz libcap-devel openssl sudo bzip2 gawk && yum clean packages
#17 CACHED

#18 [stage-0  8/16] RUN git config --global gc.autoDetach false
#18 CACHED

#19 [internal] load build context
#19 transferring context: 12.84MB 5.0s
#19 transferring context: 278.57MB 10.1s
#19 ...

#20 [stage-0  9/16] RUN git clone https://github.com/ocaml/opam /tmp/opam && cd /tmp/opam && cp -P -R -p . ../opam-sources && git checkout a310b2ef12f9f62f7cdefdcda5a00c379654477e && env MAKE='make -j' shell/bootstrap-ocaml.sh && make -C src_ext cache-archives
#20 0.229 Cloning into '/tmp/opam'...
#20 ...

#19 [internal] load build context
#19 transferring context: 295.38MB 13.2s done
#19 DONE 13.9s

#20 [stage-0  9/16] RUN git clone https://github.com/ocaml/opam /tmp/opam && cd /tmp/opam && cp -P -R -p . ../opam-sources && git checkout a310b2ef12f9f62f7cdefdcda5a00c379654477e && env MAKE='make -j' shell/bootstrap-ocaml.sh && make -C src_ext cache-archives
#20 621.1 error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
#20 621.1 error: 3365 bytes of body are still expected
#20 621.1 fetch-pack: unexpected disconnect while reading sideband packet
#20 621.1 fatal: early EOF
#20 621.1 fatal: fetch-pack: invalid index-pack output
#20 ERROR: process "/bin/sh -c git clone https://github.com/ocaml/opam /tmp/opam && cd /tmp/opam && cp -P -R -p . ../opam-sources && git checkout a310b2ef12f9f62f7cdefdcda5a00c379654477e && env MAKE='make -j' shell/bootstrap-ocaml.sh && make -C src_ext cache-archives" did not complete successfully: exit code: 128
------
 > [stage-0  9/16] RUN git clone https://github.com/ocaml/opam /tmp/opam && cd /tmp/opam && cp -P -R -p . ../opam-sources && git checkout a310b2ef12f9f62f7cdefdcda5a00c379654477e && env MAKE='make -j' shell/bootstrap-ocaml.sh && make -C src_ext cache-archives:
0.229 Cloning into '/tmp/opam'...
621.1 error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
621.1 error: 3365 bytes of body are still expected
621.1 fetch-pack: unexpected disconnect while reading sideband packet
621.1 fatal: early EOF
621.1 fatal: fetch-pack: invalid index-pack output
------
Dockerfile:13
--------------------
  11 |     RUN git config --global user.name "Docker"
  12 |     RUN git config --global gc.autoDetach false
  13 | >>> RUN git clone https://github.com/ocaml/opam /tmp/opam && cd /tmp/opam && cp -P -R -p . ../opam-sources && git checkout a310b2ef12f9f62f7cdefdcda5a00c379654477e && env MAKE='make -j' shell/bootstrap-ocaml.sh && make -C src_ext cache-archives
  14 |     RUN cd /tmp/opam-sources && cp -P -R -p . ../opam-build-2.1 && cd ../opam-build-2.1 && git fetch -q && git checkout 263921263e1f745613e2882745114b7b08f3608b && ln -s ../opam/src_ext/archives src_ext/archives && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" ./configure --enable-cold-check --with-0install-solver && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" make lib-ext all && mkdir -p /usr/bin && cp /tmp/opam-build-2.1/opam /usr/bin/opam-2.1 && chmod a+x /usr/bin/opam-2.1 && rm -rf /tmp/opam-build-2.1
  15 |     RUN cd /tmp/opam-sources && cp -P -R -p . ../opam-build-2.2 && cd ../opam-build-2.2 && git fetch -q && git checkout 01e9a24a61e23e42d513b4b775d8c30c807439b2 && ln -s ../opam/src_ext/archives src_ext/archives && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" ./configure --enable-cold-check --with-0install-solver --with-vendored-deps && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" make lib-ext all && mkdir -p /usr/bin && cp /tmp/opam-build-2.2/opam /usr/bin/opam-2.2 && chmod a+x /usr/bin/opam-2.2 && rm -rf /tmp/opam-build-2.2
--------------------
ERROR: failed to build: failed to solve: process "/bin/sh -c git clone https://github.com/ocaml/opam /tmp/opam && cd /tmp/opam && cp -P -R -p . ../opam-sources && git checkout a310b2ef12f9f62f7cdefdcda5a00c379654477e && env MAKE='make -j' shell/bootstrap-ocaml.sh && make -C src_ext cache-archives" did not complete successfully: exit code: 128
docker-build failed with exit-code 1
2026-09-19 14:24.31: Job failed: Failed: Build failed