Organisationsocaml-ppxppx_deriving_yojsondb2292 ()debian-12-4.14_s390x_opam-2.3

debian-12-4.14_s390x_opam-2.3

Link Copied
Code Copied

Logs

2025-03-21 15:49.55: New job: test ocaml-ppx/ppx_deriving_yojson https://github.com/ocaml-ppx/ppx_deriving_yojson.git#refs/heads/master (db2292ec44646fcb822fa11ac42d0bc5c914a0df) (linux-s390x:debian-12-4.14_s390x_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:624fc0c2d0d64b33970afcd3591205b95a516cd39626fa6ef6d57f25abfb1525
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-ppx/ppx_deriving_yojson.git" -b "master" && cd "ppx_deriving_yojson" && git reset --hard db2292ec
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:624fc0c2d0d64b33970afcd3591205b95a516cd39626fa6ef6d57f25abfb1525
# 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 8d19977bcd20607919a25e688e963280f2746425 || git fetch origin master) && git reset -q --hard 8d19977bcd20607919a25e688e963280f2746425 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ppx_deriving_yojson.opam ./
RUN opam pin add -yn ppx_deriving_yojson.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.3.17.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.0 ppxlib.0.36.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y ppx_deriving_yojson.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-21 15:49.55: Using cache hint "ocaml-ppx/ppx_deriving_yojson-ocaml/opam:debian-12-ocaml-4.14@sha256:624fc0c2d0d64b33970afcd3591205b95a516cd39626fa6ef6d57f25abfb1525-debian-12-4.14_s390x_opam-2.3-39ba17401e76f4fa51ac2d65b6d73808"
2025-03-21 15:49.55: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:624fc0c2d0d64b33970afcd3591205b95a516cd39626fa6ef6d57f25abfb1525)
(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 8d19977bcd20607919a25e688e963280f2746425 || git fetch origin master) && git reset -q --hard 8d19977bcd20607919a25e688e963280f2746425 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ppx_deriving_yojson.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn ppx_deriving_yojson.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.3.17.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.0 ppxlib.0.36.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 yojson.2.2.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 ppx_deriving_yojson.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-21 15:49.55: Waiting for resource in pool OCluster
2025-03-21 15:49.55: Waiting for worker…
2025-03-21 15:49.59: Got resource from pool OCluster
Building on s390x-worker-02.marist.ci.dev
All commits already cached
HEAD is now at db2292e Update ppx_deriving lower bound


(from ocaml/opam:debian-12-ocaml-4.14@sha256:624fc0c2d0d64b33970afcd3591205b95a516cd39626fa6ef6d57f25abfb1525)
2025-03-21 15:49.59 ---> using "a620d62a2d42ef76287132002ad720c1406ae16aa16a6bc86e25cbd67a9adf5b" 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-21 15:49.59 ---> using "3e3e6deb08c832bb00a9b5be41d0b54ed7b0ad8e0bcc1f6e0cad409bc3ef697e" 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.


Continue? [y/n] y
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.


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-21 15:49.59 ---> using "a03dff5005045c0bedc46067d5f246731772b2a62c1c1829aef25757b362699c" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-55-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-03-21 15:49.59 ---> using "b4fae3104fb1817529be9d6357c4b96d24f16b72ac2c87a589dceac128c755ad" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-03-21 15:49.59 ---> using "f5b034cfffd437fbe4b5db9c71a8546b1a0d70cbe98fc4bd512aef4094cb3410" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 8d19977bcd20607919a25e688e963280f2746425 || git fetch origin master) && git reset -q --hard 8d19977bcd20607919a25e688e963280f2746425 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
a8ed476033..6cf83229dd  master     -> origin/master
8d19977bcd Release ppx_deriving.6.1.0 (#27621)


<><> 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-21 15:49.59 ---> using "914b4eb557528baa1b2ad2b662ed0de3552c9cc48444c7575e8273a061b1f085" from cache


/src: (copy (src ppx_deriving_yojson.opam) (dst ./))
2025-03-21 15:50.04 ---> saved as "3bcc40c53d6ff3096716b8088658315ea274240b3be459ef3cf6268ea5ff8605"


/src: (run (network host)
(shell "opam pin add -yn ppx_deriving_yojson.dev './'"))
2025-03-21 15:50.15: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled