Organisationsygrekocurlfb8bbb ()debian-12-5.3_s390x_opam-2.3

debian-12-5.3_s390x_opam-2.3

Link Copied
Code Copied

Logs

2025-01-10 13:19.50: New job: test ygrek/ocurl https://github.com/ygrek/ocurl.git#refs/heads/master (fb8bbb57667a16573446a17c2379ee8dbffb1b6d) (linux-s390x:debian-12-5.3_s390x_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.3@sha256:f96ce259b68eff1da0ee87b30d22abf9d2ac29047674a126b2ccc371b6e23604
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ygrek/ocurl.git" -b "master" && cd "ocurl" && git reset --hard fb8bbb57
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:f96ce259b68eff1da0ee87b30d22abf9d2ac29047674a126b2ccc371b6e23604
# debian-12-5.3_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 a78e724dc54989d1f496005039fd06298c63484a || git fetch origin master) && git reset -q --hard a78e724dc54989d1f496005039fd06298c63484a && 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 './'
ENV DEPS="base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.17.1 dune-configurator.3.17.1 lwt.5.9.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 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-01-10 13:19.50: Using cache hint "ygrek/ocurl-ocaml/opam:debian-12-ocaml-5.3@sha256:f96ce259b68eff1da0ee87b30d22abf9d2ac29047674a126b2ccc371b6e23604-debian-12-5.3_s390x_opam-2.3-fba195880e992fad4d205aee7a6dd11d"
2025-01-10 13:19.50: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:f96ce259b68eff1da0ee87b30d22abf9d2ac29047674a126b2ccc371b6e23604)
(comment debian-12-5.3_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 a78e724dc54989d1f496005039fd06298c63484a || git fetch origin master) && git reset -q --hard a78e724dc54989d1f496005039fd06298c63484a && 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 './'"))
(env DEPS "base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.17.1 dune-configurator.3.17.1 lwt.5.9.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 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-01-10 13:19.50: Waiting for resource in pool OCluster
2025-01-10 13:19.50: Waiting for worker…
2025-01-10 14:43.30: Got resource from pool OCluster
Building on s390x-worker-02.marist.ci.dev
All commits already cached
HEAD is now at fb8bbb5 undef more TCP_ symbols


(from ocaml/opam:debian-12-ocaml-5.3@sha256:f96ce259b68eff1da0ee87b30d22abf9d2ac29047674a126b2ccc371b6e23604)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:f96ce259b68eff1da0ee87b30d22abf9d2ac29047674a126b2ccc371b6e23604' locally
docker.io/ocaml/opam@sha256:f96ce259b68eff1da0ee87b30d22abf9d2ac29047674a126b2ccc371b6e23604: Pulling from ocaml/opam
Digest: sha256:f96ce259b68eff1da0ee87b30d22abf9d2ac29047674a126b2ccc371b6e23604
Status: Downloaded newer image for ocaml/opam@sha256:f96ce259b68eff1da0ee87b30d22abf9d2ac29047674a126b2ccc371b6e23604
2025-01-10 14:43.30 ---> using "d41608b07e332ff05e41947566ea3f8d86d2bc21c0be4236e4fd5d30028f14f7" from cache


/: (comment debian-12-5.3_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-01-10 14:43.30 ---> using "74d18eebe572f8bb13e57bd1f98024ddbb7bc6e466ab941d0c6d979f4249e53b" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2025-01-10 14:43.30 ---> using "bd7e458a0cc440e72cf912df06efa69c885169f9102413c12e80e9d538584536" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-51-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-01-10 14:43.30 ---> using "eda356e31b43d0841bca5302eb2ef7e8e0e38fe78629959abb21b56dcb6d5e34" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-01-10 14:43.30 ---> using "b80c1bf34c314d4b56679fc1ce6d4a2cd3b1977ff501c0b876ff8399d8fd76ec" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a78e724dc54989d1f496005039fd06298c63484a || git fetch origin master) && git reset -q --hard a78e724dc54989d1f496005039fd06298c63484a && git log --no-decorate -n1 --oneline && opam update -u"))
a78e724dc5 Merge pull request #27231 from Octachron/OCaml_5.3.0


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[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-01-10 14:43.30 ---> using "093ea8d8f084903b8077c1b065dcbf9e1fd6dc54740b399bbef25d31c996c69f" from cache


/src: (copy (src ocurl.opam curl_lwt.opam curl.opam) (dst ./))
2025-01-10 14:43.30 ---> using "d21aff87345ca37de7316078148bb0235f4e49ab5067803ef3f2f3097681b2f8" from cache


/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-01-10 14:43.30 ---> using "fc7987143533ac2bcafaf13787b6848156b625015360c9dbbcba135c05143bb4" from cache


/src: (env DEPS "base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.17.1 dune-configurator.3.17.1 lwt.5.9.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 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]
- Fetched 103 kB in 0s (207 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[curl.dev] synchronised (no changes)
[curl_lwt.dev] synchronised (no changes)
[ocurl.dev] synchronised (no changes)


[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains 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 ... 18549 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-01-10 14:43.30 ---> using "daa9222198dd8c72df4d8e4e53f08b7f333d606ab552cab66ee729b9f2a0e2b4" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 9 packages
- install base-bytes        base
- install conf-libcurl      2
- install cppo              1.8.0
- install csexp             1.5.2
- install dune              3.17.1
- install dune-configurator 3.17.1
- install lwt               5.9.0
- install ocamlfind         1.9.6
- install ocplib-endian     1.2


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-libcurl.2
-> retrieved lwt.5.9.0  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved dune.3.17.1, dune-configurator.3.17.1  (cached)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed dune.3.17.1
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.17.1
-> installed lwt.5.9.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-01-10 14:43.30 ---> using "34ff783b82426188f8baa1f65a786d04ce3c345bd018f7d353d8215ddd74cce0" from cache


/src: (copy (src .) (dst /src))
2025-01-10 14:43.32 ---> saved as "37b77916117476d3daad4f0fbe2b8cbe5367d9c8403fcd6e5f9308d67f574d4c"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
Error: I cannot find the root of the current workspace/project.
If you would like to create a new dune project, you can type:


dune init project NAME


Otherwise, please make sure to run dune inside an existing project or
workspace. For more information about how dune identifies the root of the
current workspace/project, please refer to
https://dune.readthedocs.io/en/stable/usage.html#finding-the-root
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-01-10 14:43.34: Job failed: Failed: Build failed