- github
- ocaml
- opam-repository
- 4b172f
- extras,s390x-ocaml-4.14,curses.1.0.12,tests
(not at the head of any monitored branch or PR)
2026-04-02 22:05.53: New job: test curses.1.0.12, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29634/head (4b172f8fb04e73775fb03ade1369a3fe5802d19c)
on debian-13-ocaml-4.14/s390x
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29634/head" && git reset --hard 4b172f8f
git fetch origin master
git merge --no-edit c0deda526f99d43a05c065e9218404492897c64b
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:7bfb61a531647bfab027a09eb85e98dfd7433f96d02a26c4f0abc4cd11705dc4
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn curses.1.0.12 1.0.12
RUN opam reinstall curses.1.0.12; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'curses.1.0.12' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN (opam reinstall --with-test curses.1.0.12) || true
RUN opam reinstall --with-test --verbose curses.1.0.12; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'curses.1.0.12' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
END-OF-DOCKERFILE
docker build -f ../Dockerfile .
2026-04-02 22:05.53: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:7bfb61a531647bfab027a09eb85e98dfd7433f96d02a26c4f0abc4cd11705dc4-curses.1.0.12-4b172f8fb04e73775fb03ade1369a3fe5802d19c"
2026-04-02 22:05.53: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:7bfb61a531647bfab027a09eb85e98dfd7433f96d02a26c4f0abc4cd11705dc4)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "opam option solver=builtin-0install && opam config report"))
(env OPAMDOWNLOADJOBS 1)
(env OPAMERRLOGLEN 0)
(env OPAMPRECISETRACKING 1)
(env CI true)
(env OPAM_REPO_CI true)
(run (shell "rm -rf opam-repository/"))
(copy (src .) (dst opam-repository/))
(run (shell "opam repository set-url --strict default opam-repository/"))
(run (network host)
(shell "opam update --depexts || true"))
(run (shell "opam pin add -k version -yn curses.1.0.12 1.0.12"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall curses.1.0.12;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'curses.1.0.12' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (network host)
(shell "(opam reinstall --with-test curses.1.0.12) || true"))
(run (shell "opam reinstall --with-test --verbose curses.1.0.12;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'curses.1.0.12' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-04-02 22:05.53: Waiting for resource in pool OCluster
2026-04-02 22:05.54: Waiting for worker…
2026-04-02 22:14.22: Got resource from pool OCluster
Building on s390x-worker-01.marist.ci.dev
All commits already cached
Updating files: 75% (14095/18592)
Updating files: 76% (14130/18592)
Updating files: 77% (14316/18592)
Updating files: 78% (14502/18592)
Updating files: 79% (14688/18592)
Updating files: 80% (14874/18592)
Updating files: 81% (15060/18592)
Updating files: 82% (15246/18592)
Updating files: 83% (15432/18592)
Updating files: 84% (15618/18592)
Updating files: 85% (15804/18592)
Updating files: 86% (15990/18592)
Updating files: 87% (16176/18592)
Updating files: 88% (16361/18592)
Updating files: 89% (16547/18592)
Updating files: 90% (16733/18592)
Updating files: 91% (16919/18592)
Updating files: 92% (17105/18592)
Updating files: 93% (17291/18592)
Updating files: 94% (17477/18592)
Updating files: 95% (17663/18592)
Updating files: 96% (17849/18592)
Updating files: 97% (18035/18592)
Updating files: 98% (18221/18592)
Updating files: 99% (18407/18592)
Updating files: 100% (18592/18592)
Updating files: 100% (18592/18592), done.
HEAD is now at c0deda526f Merge pull request #29625 from xvw/release-lunar-v1.0.0
Merge made by the 'ort' strategy.
packages/curses/curses.1.0.12/opam | 40 ++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
create mode 100644 packages/curses/curses.1.0.12/opam
(from ocaml/opam:debian-13-ocaml-4.14@sha256:7bfb61a531647bfab027a09eb85e98dfd7433f96d02a26c4f0abc4cd11705dc4)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14@sha256:7bfb61a531647bfab027a09eb85e98dfd7433f96d02a26c4f0abc4cd11705dc4' locally
docker.io/ocaml/opam@sha256:7bfb61a531647bfab027a09eb85e98dfd7433f96d02a26c4f0abc4cd11705dc4: Pulling from ocaml/opam
Digest: sha256:7bfb61a531647bfab027a09eb85e98dfd7433f96d02a26c4f0abc4cd11705dc4
Status: Downloaded newer image for ocaml/opam@sha256:7bfb61a531647bfab027a09eb85e98dfd7433f96d02a26c4f0abc4cd11705dc4
2026-04-02 22:14.26 ---> using "76cb4b904aa9b142fe98e236497a19c967dc6906b776c66da6eb214b61655493" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-04-02 22:14.26 ---> using "7886f6437dbe44b213ecb2220fc3de79f991056bd4dfeb2ca60af51ac8a630be" from cache
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally 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
Format upgrade done.
This 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.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-04-02 22:14.26 ---> using "4186a6e00ec6b70f415d2b58a21a85e42c5da4759deb4ab600f2d89792101c92" from cache
/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version 2.5.0
# self-upgrade no
# system arch=s390x os=linux os-distribution=debian os-version=13
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 3
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
# invariant ["ocaml-base-compiler" {= "4.14.3"}]
# compiler-packages ocaml-base-compiler.4.14.3, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.3
2026-04-02 22:14.26 ---> using "0afe1ef42f36f003ac9db8667e04fc68bb73b39faeab1ddc4b06cdeecba7f51a" from cache
/home/opam: (env OPAMDOWNLOADJOBS 1)
/home/opam: (env OPAMERRLOGLEN 0)
/home/opam: (env OPAMPRECISETRACKING 1)
/home/opam: (env CI true)
/home/opam: (env OPAM_REPO_CI true)
/home/opam: (run (shell "rm -rf opam-repository/"))
2026-04-02 22:14.26 ---> using "44bd9edda4560c0ba66eb23ed9e2fee75600f360f8204ffed4b774d25754f75b" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-04-02 22:14.44 ---> saved as "3b15e80cb4cebdd1d8b22608e2dfa20889a8a3d8305ebdda118da520b0e9f719"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-02 22:16.24 ---> saved as "2cb96c8bf61199fc1ee625b8cc96b75f39162da7bb3bf10a821ec1558ae1289a"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main s390x Packages [111 kB]
- Fetched 202 kB in 1s (274 kB/s)
- Reading package lists...
-
2026-04-02 22:16.36 ---> saved as "d24a9ab49cdff2e590a09503cff2c1a34059ff8ed1cf8ebee24f6c83b5cf7c92"
/home/opam: (run (shell "opam pin add -k version -yn curses.1.0.12 1.0.12"))
curses is now pinned to version 1.0.12
2026-04-02 22:16.47 ---> saved as "d9116f456be5cf4d464d0e804b0de70e3b06b64a5efbdbd7a50b180c41576a8c"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall curses.1.0.12;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'curses.1.0.12' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
curses.1.0.12 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 6 packages
- install conf-ncurses 1 [required by curses]
- install conf-pkg-config 4 [required by curses]
- install csexp 1.5.2 [required by dune-configurator]
- install curses 1.0.12 (pinned)
- install dune 3.22.0 [required by curses]
- install dune-configurator 3.22.0 [required by curses]
The following system packages will first need to be installed:
ncurses-dev pkg-config
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
4. Abort the installation
[1/2/3/4] 1
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "ncurses-dev" "pkg-config"
- Selecting previously unselected package libncurses6: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 ... 20382 files and directories currently installed.)
- Preparing to unpack .../0-libncurses6_6.5+20250216-2_s390x.deb ...
- Unpacking libncurses6:s390x (6.5+20250216-2) ...
- Selecting previously unselected package libncurses-dev:s390x.
- Preparing to unpack .../1-libncurses-dev_6.5+20250216-2_s390x.deb ...
- Unpacking libncurses-dev:s390x (6.5+20250216-2) ...
- Selecting previously unselected package libpkgconf3:s390x.
- Preparing to unpack .../2-libpkgconf3_1.8.1-4_s390x.deb ...
- Unpacking libpkgconf3:s390x (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-4_s390x.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:s390x.
- Preparing to unpack .../4-pkgconf_1.8.1-4_s390x.deb ...
- Unpacking pkgconf:s390x (1.8.1-4) ...
- Selecting previously unselected package pkg-config:s390x.
- Preparing to unpack .../5-pkg-config_1.8.1-4_s390x.deb ...
- Unpacking pkg-config:s390x (1.8.1-4) ...
- Setting up libpkgconf3:s390x (1.8.1-4) ...
- Setting up libncurses6:s390x (6.5+20250216-2) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up libncurses-dev:s390x (6.5+20250216-2) ...
- Setting up pkgconf:s390x (1.8.1-4) ...
- Setting up pkg-config:s390x (1.8.1-4) ...
- Processing triggers for libc-bin (2.41-12+deb13u2) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2 (cached)
-> installed conf-pkg-config.4
-> retrieved curses.1.0.12 (cached)
-> installed conf-ncurses.1
-> retrieved dune.3.22.0, dune-configurator.3.22.0 (cached)
-> installed dune.3.22.0
-> installed csexp.1.5.2
-> installed dune-configurator.3.22.0
-> installed curses.1.0.12
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-02 22:19.18 ---> saved as "11e444c38b8a90a46e34e8e5ef6467d4b31818502aa0f94c341c3baa0d464200"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test curses.1.0.12) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile curses 1.0.12 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed curses.1.0.12
-> installed curses.1.0.12
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-02 22:19.44 ---> saved as "6bdf628fa9beeafcd7099eb3436d72e22f5d360a7eb9a3671c76ce1cfcdb8241"
/home/opam: (run (shell "opam reinstall --with-test --verbose curses.1.0.12;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'curses.1.0.12' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
The following actions will be performed:
=== recompile 1 package
- recompile curses 1.0.12 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [curses: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "curses" "-j" "3" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/curses.1.0.12)
-> compiled curses.1.0.12
-> removed curses.1.0.12
-> installed curses.1.0.12
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-02 22:20.08 ---> saved as "cae6f47b6138233d660105b357a41c559e077287a2e8f7a89f9ee59882666291"
Job succeeded
2026-04-02 22:20.42: Job succeeded