2025-03-10 16:09.26: New job: test ygrek/ocurl https://github.com/ygrek/ocurl.git#refs/heads/master (b6911a293094693aa37e799c52c2de5c99cfe0c1) (linux-s390x:debian-12-4.14_s390x_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:eaf748009a89a3d403c00020f693f0ebeb0722fcc60f2239ac3d6c17ca658486
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ygrek/ocurl.git" -b "master" && cd "ocurl" && git reset --hard b6911a29
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:eaf748009a89a3d403c00020f693f0ebeb0722fcc60f2239ac3d6c17ca658486
# debian-12-4.14_s390x_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e 914c0f050a68b562a16447bff36bf24527c68ef1 || git fetch origin master) && git reset -q --hard 914c0f050a68b562a16447bff36bf24527c68ef1 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ocurl.opam curl_lwt.opam curl.opam ./
RUN opam pin add -yn ocurl.dev './' && \
opam pin add -yn curl_lwt.dev './' && \
opam pin add -yn curl.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 lwt.5.9.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y ocurl.dev curl_lwt.dev curl.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-03-10 16:09.26: Using cache hint "ygrek/ocurl-ocaml/opam:debian-12-ocaml-4.14@sha256:eaf748009a89a3d403c00020f693f0ebeb0722fcc60f2239ac3d6c17ca658486-debian-12-4.14_s390x_opam-2.3-dad572a5d7851bfe3055b7de6706deea"
2025-03-10 16:09.26: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:eaf748009a89a3d403c00020f693f0ebeb0722fcc60f2239ac3d6c17ca658486)
(comment debian-12-4.14_s390x_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 914c0f050a68b562a16447bff36bf24527c68ef1 || git fetch origin master) && git reset -q --hard 914c0f050a68b562a16447bff36bf24527c68ef1 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ocurl.opam curl_lwt.opam curl.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn ocurl.dev './' && \
\nopam pin add -yn curl_lwt.dev './' && \
\nopam pin add -yn curl.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 lwt.5.9.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y ocurl.dev curl_lwt.dev curl.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2025-03-10 16:09.26: Waiting for resource in pool OCluster
2025-03-10 16:09.27: Waiting for worker…
2025-03-10 16:09.37: Got resource from pool OCluster
Building on s390x-worker-01.marist.ci.dev
HEAD is now at 4bd117b Link with bigarray and depend on base-bigarray for OCaml < 4.06
HEAD is now at b6911a2 Remove last remnants of the configure script
(from ocaml/opam:debian-12-ocaml-4.14@sha256:eaf748009a89a3d403c00020f693f0ebeb0722fcc60f2239ac3d6c17ca658486)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:eaf748009a89a3d403c00020f693f0ebeb0722fcc60f2239ac3d6c17ca658486' locally
docker.io/ocaml/opam@sha256:eaf748009a89a3d403c00020f693f0ebeb0722fcc60f2239ac3d6c17ca658486: Pulling from ocaml/opam
92bc3bb38690: Already exists
8ceea505e23e: Already exists
2a468ae4380f: Already exists
aa8529ea5f7b: Already exists
2b524421cb76: Already exists
fdd13dbf1385: Already exists
418bd7fb5220: Already exists
a697c88e27b6: Already exists
29170f2f11a8: Already exists
89631b220465: Already exists
614fe0af4fa9: Already exists
62fdeff9be28: Already exists
44d385b51a2f: Already exists
0d688d5bd50a: Already exists
8a125ef5be23: Already exists
6c5ab01e5a0d: Already exists
6fab5f0bf733: Already exists
180e8911179f: Already exists
4a45c7004a22: Already exists
2b14abf96826: Already exists
4f4fb700ef54: Already exists
447f7be7f978: Already exists
b5ee5e1d61f3: Already exists
417161a572cb: Already exists
0be9056d674d: Already exists
41c69ad1a0ee: Already exists
163d7c2c8e4d: Already exists
4a389bcf29e3: Already exists
e96da4d8a88b: Already exists
877959eb4894: Already exists
b87450fa55e3: Already exists
fc278563bc78: Already exists
f9ab0fcf0a5a: Already exists
46302a739d14: Already exists
d17223feb1b8: Already exists
a83498163f75: Already exists
480cc0d757c1: Already exists
63aa40114802: Already exists
097dd1f6a19a: Already exists
707b17222586: Pulling fs layer
fa9ee5562399: Pulling fs layer
61afff5781c8: Pulling fs layer
33ad073fd216: Pulling fs layer
33ad073fd216: Waiting
61afff5781c8: Verifying Checksum
61afff5781c8: Download complete
fa9ee5562399: Verifying Checksum
fa9ee5562399: Download complete
33ad073fd216: Verifying Checksum
33ad073fd216: Download complete
707b17222586: Verifying Checksum
707b17222586: Download complete
707b17222586: Pull complete
fa9ee5562399: Pull complete
61afff5781c8: Pull complete
33ad073fd216: Pull complete
Digest: sha256:eaf748009a89a3d403c00020f693f0ebeb0722fcc60f2239ac3d6c17ca658486
Status: Downloaded newer image for ocaml/opam@sha256:eaf748009a89a3d403c00020f693f0ebeb0722fcc60f2239ac3d6c17ca658486
2025-03-10 16:09.41 ---> using "d50dd471fbb41d8ca626a6a2873fb75611100b95abf6d9adbc93e54a0ced6cf0" from cache
/: (comment debian-12-4.14_s390x_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-03-10 16:09.41 ---> using "3f3030ca645435d7ed6ae4b0a89db142d229003a7ad870c7672480ce1a408e16" from cache
/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from built-in defaults.
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.
This development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Continue? [y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-03-10 16:09.41 ---> using "f4eb1de23b28fd6f755b42cb4bf9579256a8fb0f42a946c81c240118753be5bd" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-52-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-03-10 16:09.41 ---> using "f9262904c24d76016f318d9efecd2bc853866d4a08b5b9639d7796ec149ef7be" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-03-10 16:09.41 ---> using "af0c15365cc1e9dc4eca424a961725b6c14e4ccf21134b3dc14bdc9014ca739c" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 914c0f050a68b562a16447bff36bf24527c68ef1 || git fetch origin master) && git reset -q --hard 914c0f050a68b562a16447bff36bf24527c68ef1 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
94514fa0d0..8707d628f2 master -> origin/master
914c0f050a Merge pull request #27576 from ocaml/adding-maintenance-intent-to-lwt
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-03-10 16:09.41 ---> using "c884cd421dd867f4f7e97adeab02ff193277efb734164b229e2c671fa62c643c" from cache
/src: (copy (src ocurl.opam curl_lwt.opam curl.opam) (dst ./))
2025-03-10 16:10.19 ---> saved as "060eec9a4a40e47fbe3987fef59116eca36d5c5b9c25296a40cd7bbb134c0eef"
/src: (run (network host)
(shell "opam pin add -yn ocurl.dev './' && \
\nopam pin add -yn curl_lwt.dev './' && \
\nopam pin add -yn curl.dev './'"))
[ocurl.dev] synchronised (file:///src)
ocurl is now pinned to file:///src (version dev)
Package curl_lwt does not exist, create as a NEW package? [y/n] y
[curl_lwt.dev] synchronised (file:///src)
curl_lwt is now pinned to file:///src (version dev)
Package curl does not exist, create as a NEW package? [y/n] y
[curl.dev] synchronised (file:///src)
curl is now pinned to file:///src (version dev)
2025-03-10 16:11.16 ---> saved as "46d8c59e0b20145629a2a5e0a1496312184b8ad5a8bb7f02c3c58a17901706f1"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-10 16:11.27 ---> saved as "9fd01a81f0ec9f828fc35a9c8ce109d151683ad44d2fe8eca180727150dbfbe6"
/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 lwt.5.9.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2")
/src: (env CI true)
/src: (env OCAMLCI true)
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y ocurl.dev curl_lwt.dev curl.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main s390x Packages [212 kB]
- Fetched 316 kB in 3s (96.7 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[curl.dev] synchronised (file:///src)
[curl_lwt.dev] synchronised (file:///src)
[ocurl.dev] synchronised (file:///src)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following system packages will first need to be installed:
libcurl4-gnutls-dev
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libcurl4-gnutls-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libcurl4-gnutls-dev:s390x.
- (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 ... 18518 files and directories currently installed.)
- Preparing to unpack .../libcurl4-gnutls-dev_7.88.1-10+deb12u8_s390x.deb ...
- Unpacking libcurl4-gnutls-dev:s390x (7.88.1-10+deb12u8) ...
- Setting up libcurl4-gnutls-dev:s390x (7.88.1-10+deb12u8) ...
2025-03-10 16:14.13: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled