Build:
  1. 0
2024-06-10 17:41.05: New job: Build using linux-ppc64 in
                                [https://github.com/ocaml/opam-repository#master (402ab79d081f2057b91cdaefd2c4729219f1a307)]
2024-06-10 17:41.05: Will push staging image to ocurrent/opam-staging:debian-10-opam-ppc64le

Dockerfile:

# syntax=docker/dockerfile:1

# Autogenerated by OCaml-Dockerfile scripts
FROM ppc64le/debian:10
LABEL distro_style="apt"
RUN apt-get -y update
RUN DEBIAN_FRONTEND=noninteractive apt-get -y upgrade
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential curl git libcap-dev sudo
RUN git config --global user.email "docker@example.com"
RUN git config --global user.name "Docker"
RUN curl -fOL https://github.com/containers/bubblewrap/releases/download/v0.8.0/bubblewrap-0.8.0.tar.xz
RUN tar xf bubblewrap-0.8.0.tar.xz
RUN cd bubblewrap-0.8.0 && ./configure --prefix=/usr/local && make && sudo make install
RUN rm -rf bubblewrap-0.8.0.tar.xz bubblewrap-0.8.0
RUN git clone https://github.com/ocaml/opam /tmp/opam && cd /tmp/opam && cp -P -R -p . ../opam-sources && git checkout cdd59ee5d4b07b2173d2bbdc57a0ddecd153dd4e && 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.0 && cd ../opam-build-2.0 && git checkout 7d4a0f2e0fefe748efbd7358775b1a0bd8267544 && ln -s ../opam/src_ext/archives src_ext/archives && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" ./configure --enable-cold-check && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" make lib-ext all && mkdir -p /usr/local/bin && cp /tmp/opam-build-2.0/opam /usr/local/bin/opam-2.0 && chmod a+x /usr/local/bin/opam-2.0 && rm -rf /tmp/opam-build-2.0
RUN cd /tmp/opam-sources && cp -P -R -p . ../opam-build-2.1 && cd ../opam-build-2.1 && git checkout dfbe6a0b3a386376780bf68d35e4ce107072079d && 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/local/bin && cp /tmp/opam-build-2.1/opam /usr/local/bin/opam-2.1 && chmod a+x /usr/local/bin/opam-2.1 && rm -rf /tmp/opam-build-2.1
RUN cd /tmp/opam-sources && cp -P -R -p . ../opam-build-master && cd ../opam-build-master && git checkout cdd59ee5d4b07b2173d2bbdc57a0ddecd153dd4e && 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/local/bin && cp /tmp/opam-build-master/opam /usr/local/bin/opam-master && chmod a+x /usr/local/bin/opam-master && rm -rf /tmp/opam-build-master

FROM ppc64le/debian:10
RUN ln -fs /usr/share/zoneinfo/Europe/London /etc/localtime
COPY --from=0 [ "/usr/local/bin/bwrap", "/usr/bin/bwrap" ]
COPY <<-EOF /etc/apt/apt.conf.d/mirror-retry
	Acquire::Retries "5";
EOF
RUN apt-get -y update
RUN DEBIAN_FRONTEND=noninteractive apt-get -y upgrade
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential curl git rsync sudo unzip nano libcap-dev libx11-dev
COPY --from=0 [ "/usr/local/bin/opam-2.0", "/usr/bin/opam-2.0" ]
RUN ln /usr/bin/opam-2.0 /usr/bin/opam
COPY --from=0 [ "/usr/local/bin/opam-2.1", "/usr/bin/opam-2.1" ]
COPY --from=0 [ "/usr/local/bin/opam-master", "/usr/bin/opam-dev" ]
RUN ln /usr/bin/opam-dev /usr/bin/opam-2.2
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
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 if getent passwd 1000; then userdel -r $(id -nu 1000); fi
RUN adduser --uid 1000 --disabled-password --gecos '' 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"
COPY --link --chown=opam:opam [ ".", "/home/opam/opam-repository" ]
RUN opam-sandbox-disable
RUN opam init -k local -a /home/opam/opam-repository --bare
RUN rm -rf .opam/repo/default/.git
COPY --link [ "Dockerfile", "/Dockerfile.opam" ]


2024-06-10 17:41.05: Using cache hint "opam-debian-10"
2024-06-10 17:41.05: Waiting for resource in pool OCluster
2024-06-10 17:41.05: Waiting for worker…
2024-06-10 17:41.06: Got resource from pool OCluster
Building on orithia.caelum.ci.dev
All commits already cached
Updating files:  29% (9399/31480)
Updating files:  30% (9444/31480)
Updating files:  31% (9759/31480)
Updating files:  32% (10074/31480)
Updating files:  33% (10389/31480)
Updating files:  34% (10704/31480)
Updating files:  35% (11018/31480)
Updating files:  36% (11333/31480)
Updating files:  37% (11648/31480)
Updating files:  38% (11963/31480)
Updating files:  39% (12278/31480)
Updating files:  40% (12592/31480)
Updating files:  41% (12907/31480)
Updating files:  42% (13222/31480)
Updating files:  43% (13537/31480)
Updating files:  44% (13852/31480)
Updating files:  45% (14166/31480)
Updating files:  46% (14481/31480)
Updating files:  47% (14796/31480)
Updating files:  48% (15111/31480)
Updating files:  49% (15426/31480)
Updating files:  50% (15740/31480)
Updating files:  51% (16055/31480)
Updating files:  52% (16370/31480)
Updating files:  53% (16685/31480)
Updating files:  54% (17000/31480)
Updating files:  55% (17314/31480)
Updating files:  56% (17629/31480)
Updating files:  57% (17944/31480)
Updating files:  58% (18259/31480)
Updating files:  59% (18574/31480)
Updating files:  60% (18888/31480)
Updating files:  61% (19203/31480)
Updating files:  61% (19494/31480)
Updating files:  62% (19518/31480)
Updating files:  63% (19833/31480)
Updating files:  64% (20148/31480)
Updating files:  65% (20462/31480)
Updating files:  66% (20777/31480)
Updating files:  67% (21092/31480)
Updating files:  68% (21407/31480)
Updating files:  69% (21722/31480)
Updating files:  70% (22036/31480)
Updating files:  71% (22351/31480)
Updating files:  72% (22666/31480)
Updating files:  73% (22981/31480)
Updating files:  74% (23296/31480)
Updating files:  75% (23610/31480)
Updating files:  76% (23925/31480)
Updating files:  77% (24240/31480)
Updating files:  78% (24555/31480)
Updating files:  79% (24870/31480)
Updating files:  80% (25184/31480)
Updating files:  81% (25499/31480)
Updating files:  82% (25814/31480)
Updating files:  83% (26129/31480)
Updating files:  84% (26444/31480)
Updating files:  85% (26758/31480)
Updating files:  86% (27073/31480)
Updating files:  87% (27388/31480)
Updating files:  88% (27703/31480)
Updating files:  89% (28018/31480)
Updating files:  90% (28332/31480)
Updating files:  91% (28647/31480)
Updating files:  91% (28660/31480)
Updating files:  92% (28962/31480)
Updating files:  93% (29277/31480)
Updating files:  94% (29592/31480)
Updating files:  95% (29906/31480)
Updating files:  96% (30221/31480)
Updating files:  97% (30536/31480)
Updating files:  98% (30851/31480)
Updating files:  99% (31166/31480)
Updating files: 100% (31480/31480)
Updating files: 100% (31480/31480), done.
HEAD is now at 402ab79d08 Merge pull request #26038 from smuenzel/z3.4.13.0-2
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: 4.92kB done
#1 DONE 0.0s

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

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

#4 [internal] load metadata for docker.io/ppc64le/debian:10
#4 DONE 3.5s

#5 [internal] load .dockerignore
#5 transferring context:
#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 [internal] preparing inline document
#11 CACHED

#12 [stage-1  2/38] RUN ln -fs /usr/share/zoneinfo/Europe/London /etc/localtime
#12 CACHED

#13 [stage-0  1/14] FROM docker.io/ppc64le/debian:10@sha256:30d3c94222d7917092a7bd0c3d5eb6006fed2d99dca5aa171b4300120fd13c8b
#13 CACHED

#14 [internal] load build context
#14 transferring context: 10.16MB 1.8s done
#14 CANCELED

#15 [stage-0  2/14] RUN apt-get -y update
#15 0.923 Get:1 http://deb.debian.org/debian buster InRelease [122 kB]
#15 1.005 Get:2 http://deb.debian.org/debian-security buster/updates InRelease [34.8 kB]
#15 1.016 Get:3 http://deb.debian.org/debian buster-updates InRelease [56.6 kB]
#15 1.225 Ign:4 http://deb.debian.org/debian buster/main ppc64el Packages
#15 1.244 Ign:4 http://deb.debian.org/debian buster/main ppc64el Packages
#15 1.265 Ign:4 http://deb.debian.org/debian buster/main ppc64el Packages
#15 1.284 Ign:4 http://deb.debian.org/debian buster/main ppc64el Packages
#15 1.304 Ign:4 http://deb.debian.org/debian buster/main ppc64el Packages
#15 1.325 Err:4 http://deb.debian.org/debian buster/main ppc64el Packages
#15 1.325   404  Not Found [IP: 146.75.74.132 80]
#15 1.457 Ign:5 http://deb.debian.org/debian buster-updates/main ppc64el Packages
#15 1.472 Ign:5 http://deb.debian.org/debian buster-updates/main ppc64el Packages
#15 1.492 Ign:5 http://deb.debian.org/debian buster-updates/main ppc64el Packages
#15 1.512 Ign:5 http://deb.debian.org/debian buster-updates/main ppc64el Packages
#15 1.531 Ign:5 http://deb.debian.org/debian buster-updates/main ppc64el Packages
#15 1.551 Err:5 http://deb.debian.org/debian buster-updates/main ppc64el Packages
#15 1.551   404  Not Found [IP: 146.75.74.132 80]
#15 1.559 Fetched 213 kB in 1s (244 kB/s)
#15 1.559 Reading package lists...
#15 1.568 E: Failed to fetch http://deb.debian.org/debian/dists/buster/main/binary-ppc64el/Packages  404  Not Found [IP: 146.75.74.132 80]
#15 1.568 E: Failed to fetch http://deb.debian.org/debian/dists/buster-updates/main/binary-ppc64el/Packages  404  Not Found [IP: 146.75.74.132 80]
#15 1.568 E: Some index files failed to download. They have been ignored, or old ones used instead.
#15 ERROR: process "/bin/sh -c apt-get -y update" did not complete successfully: exit code: 100
------
 > [stage-0  2/14] RUN apt-get -y update:
1.492 Ign:5 http://deb.debian.org/debian buster-updates/main ppc64el Packages
1.512 Ign:5 http://deb.debian.org/debian buster-updates/main ppc64el Packages
1.531 Ign:5 http://deb.debian.org/debian buster-updates/main ppc64el Packages
1.551 Err:5 http://deb.debian.org/debian buster-updates/main ppc64el Packages
1.551   404  Not Found [IP: 146.75.74.132 80]
1.559 Fetched 213 kB in 1s (244 kB/s)
1.559 Reading package lists...
1.568 E: Failed to fetch http://deb.debian.org/debian/dists/buster/main/binary-ppc64el/Packages  404  Not Found [IP: 146.75.74.132 80]
1.568 E: Failed to fetch http://deb.debian.org/debian/dists/buster-updates/main/binary-ppc64el/Packages  404  Not Found [IP: 146.75.74.132 80]
1.568 E: Some index files failed to download. They have been ignored, or old ones used instead.
------
Dockerfile:6
--------------------
   4 |     FROM ppc64le/debian:10
   5 |     LABEL distro_style="apt"
   6 | >>> RUN apt-get -y update
   7 |     RUN DEBIAN_FRONTEND=noninteractive apt-get -y upgrade
   8 |     RUN DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential curl git libcap-dev sudo
--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get -y update" did not complete successfully: exit code: 100
docker-build failed with exit-code 1
2024-06-10 17:43.50: Job failed: Failed: Build failed