- github
- ocaml
- opam-repository
- 4b172f
- distributions,centos-10-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 centos-10-ocaml-4.14/amd64
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:centos-10-ocaml-4.14@sha256:32422050db692ac71f553498139a751b7c5df8376d557ce5b54d88b8d620c228
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 "\"centos-10\""; 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 "\"centos-10\""; 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:centos-10-ocaml-4.14@sha256:32422050db692ac71f553498139a751b7c5df8376d557ce5b54d88b8d620c228-curses.1.0.12-4b172f8fb04e73775fb03ade1369a3fe5802d19c"
2026-04-02 22:05.53: Using OBuilder spec:
((from ocaml/opam:centos-10-ocaml-4.14@sha256:32422050db692ac71f553498139a751b7c5df8376d557ce5b54d88b8d620c228)
(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 \"\\\"centos-10\\\"\"; 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 \"\\\"centos-10\\\"\"; 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:05.54: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
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:centos-10-ocaml-4.14@sha256:32422050db692ac71f553498139a751b7c5df8376d557ce5b54d88b8d620c228)
2026-04-02 22:06.28 ---> using "ad16e668c2ffe629eb6ea704ed29389fb1003e7005f3338f79755e622cb88b34" 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:06.28 ---> using "3f51d1a777e82d6cb79e8421e451c59a85eccc40b3d811a7b95aecf7c7bf06f5" 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.
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.
Continue? [Y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-04-02 22:06.28 ---> using "b17a65944bfd864438a222a5f1c7cdd405dc651f1b66548ca1c953a5f0443c9b" 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=x86_64 os=linux os-distribution=centos os-version=10
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 71
# 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:06.28 ---> using "528670d9dedccc44ff9c9d6593d3c132808a23015ea1d1b1a91f900c66bca9bb" 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:06.28 ---> using "bd0c52de7db744f190256fb776466fcc054ff8c2ce38ab7cb4a20794f1f8a572" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-04-02 22:06.36 ---> saved as "dd00f570e4267cfcb261f488bcec2c7802ea7312afd132c731df9be33f7ea221"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-02 22:06.54 ---> saved as "930d7dc71d4d94de7ca6516078b593695b13136b51bdd1549741cab02546caef"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 10 - BaseOS 107 kB/s | 15 kB 00:00
- CentOS Stream 10 - BaseOS 11 MB/s | 6.9 MB 00:00
- CentOS Stream 10 - AppStream 110 kB/s | 15 kB 00:00
- CentOS Stream 10 - AppStream 5.7 MB/s | 3.6 MB 00:00
- CentOS Stream 10 - CRB 100 kB/s | 15 kB 00:00
- CentOS Stream 10 - CRB 3.1 MB/s | 834 kB 00:00
- CentOS Stream 10 - Extras packages 112 kB/s | 16 kB 00:00
- Metadata cache created.
2026-04-02 22:06.59 ---> saved as "a1b32fe62ba065dead3e20db024c93014d9d637f31943769dce70e5fcddd9627"
/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:07.00 ---> saved as "d29341ff28abebb8bd4892ee6a25ced9f3d4cf44a636ec35dd6ec3e683db71bf"
/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 \"\\\"centos-10\\\"\"; 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-devel
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run yum to install them (may need root/sudo access)
2. Display the recommended yum 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 "yum" "install" "-y" "ncurses-devel"
- Last metadata expiration check: 0:00:05 ago on Thu Apr 2 22:06:58 2026.
- Dependencies resolved.
- ================================================================================
- Package Arch Version Repository Size
- ================================================================================
- Installing:
- ncurses-devel x86_64 6.4-15.20240127.el10 appstream 750 k
- Upgrading:
- ncurses x86_64 6.4-15.20240127.el10 baseos 420 k
- ncurses-base noarch 6.4-15.20240127.el10 baseos 98 k
- ncurses-libs x86_64 6.4-15.20240127.el10 baseos 337 k
- Installing dependencies:
- ncurses-c++-libs x86_64 6.4-15.20240127.el10 appstream 36 k
-
- Transaction Summary
- ================================================================================
- Install 2 Packages
- Upgrade 3 Packages
-
- Total download size: 1.6 M
- Downloading Packages:
- (1/5): ncurses-c++-libs-6.4-15.20240127.el10.x8 1.7 MB/s | 36 kB 00:00
- (2/5): ncurses-base-6.4-15.20240127.el10.noarch 5.8 MB/s | 98 kB 00:00
- (3/5): ncurses-devel-6.4-15.20240127.el10.x86_6 8.9 MB/s | 750 kB 00:00
- (4/5): ncurses-6.4-15.20240127.el10.x86_64.rpm 4.9 MB/s | 420 kB 00:00
- (5/5): ncurses-libs-6.4-15.20240127.el10.x86_64 6.4 MB/s | 337 kB 00:00
- --------------------------------------------------------------------------------
- Total 4.2 MB/s | 1.6 MB 00:00
- Running transaction check
- Transaction check succeeded.
- Running transaction test
- Transaction test succeeded.
- Running transaction
- Preparing : 1/1
- Upgrading : ncurses-base-6.4-15.20240127.el10.noarch 1/8
- Upgrading : ncurses-libs-6.4-15.20240127.el10.x86_64 2/8
- Installing : ncurses-c++-libs-6.4-15.20240127.el10.x86_64 3/8
- Installing : ncurses-devel-6.4-15.20240127.el10.x86_64 4/8
- Upgrading : ncurses-6.4-15.20240127.el10.x86_64 5/8
- Cleanup : ncurses-6.4-14.20240127.el10.x86_64 6/8
- Cleanup : ncurses-libs-6.4-14.20240127.el10.x86_64 7/8
- Cleanup : ncurses-base-6.4-14.20240127.el10.noarch 8/8
- Running scriptlet: ncurses-base-6.4-14.20240127.el10.noarch 8/8
-
-
- Upgraded:
- ncurses-6.4-15.20240127.el10.x86_64
- ncurses-base-6.4-15.20240127.el10.noarch
- ncurses-libs-6.4-15.20240127.el10.x86_64
- Installed:
- ncurses-c++-libs-6.4-15.20240127.el10.x86_64
- ncurses-devel-6.4-15.20240127.el10.x86_64
-
- Complete!
+ /usr/bin/rpm "-q" "--whatprovides" "ncurses-devel"
- ncurses-devel-6.4-15.20240127.el10.x86_64
<><> 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:07.41 ---> saved as "6a99d44d4c666c0a4310e8144e63b080260f7f83d9236856d3c51c579b26df65"
/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:07.47 ---> saved as "729ca9deadacd1dca9c8c87ce782918a56585dd7d6add7924aa65eea48634188"
/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 \"\\\"centos-10\\\"\"; 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" "71" "@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:07.53 ---> saved as "78266b8977afb452b8f38eed9c3fe6c94ec36b9f0e13b30212981ab73aa32d62"
Job succeeded
2026-04-02 22:07.59: Job succeeded