(for PR #28777)
2025-11-10 16:53.37: New job: build otp.0.2, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/28777/head (d2eb184985510985f5dcca90f4246ce82b21b3cc)
on opensuse-15.6-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/28777/head" && git reset --hard d2eb1849
git fetch origin master
git merge --no-edit b6a264c784afa1e19f7a926fc10d49010ad12be4
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:4a53462701960ab90f41049f17bd6efdaf5816c66fbd446c53e37f4e87632e10
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 otp.0.2 0.2
RUN opam reinstall otp.0.2; \
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 "\"opensuse-15.6\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'otp.0.2' && 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 .
2025-11-10 16:53.37: Using cache hint "ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:4a53462701960ab90f41049f17bd6efdaf5816c66fbd446c53e37f4e87632e10-otp.0.2-d2eb184985510985f5dcca90f4246ce82b21b3cc"
2025-11-10 16:53.37: Using OBuilder spec:
((from ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:4a53462701960ab90f41049f17bd6efdaf5816c66fbd446c53e37f4e87632e10)
(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 otp.0.2 0.2"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall otp.0.2;\
\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 \"\\\"opensuse-15.6\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'otp.0.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-11-10 16:53.37: Waiting for resource in pool OCluster
2025-11-10 20:11.58: Waiting for worker…
2025-11-10 20:15.41: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files: 69% (13069/18705)
Updating files: 70% (13094/18705)
Updating files: 71% (13281/18705)
Updating files: 72% (13468/18705)
Updating files: 73% (13655/18705)
Updating files: 74% (13842/18705)
Updating files: 75% (14029/18705)
Updating files: 76% (14216/18705)
Updating files: 77% (14403/18705)
Updating files: 78% (14590/18705)
Updating files: 79% (14777/18705)
Updating files: 80% (14964/18705)
Updating files: 81% (15152/18705)
Updating files: 82% (15339/18705)
Updating files: 83% (15526/18705)
Updating files: 84% (15713/18705)
Updating files: 85% (15900/18705)
Updating files: 86% (16087/18705)
Updating files: 87% (16274/18705)
Updating files: 88% (16461/18705)
Updating files: 89% (16648/18705)
Updating files: 90% (16835/18705)
Updating files: 91% (17022/18705)
Updating files: 92% (17209/18705)
Updating files: 93% (17396/18705)
Updating files: 94% (17583/18705)
Updating files: 95% (17770/18705)
Updating files: 96% (17957/18705)
Updating files: 97% (18144/18705)
Updating files: 98% (18331/18705)
Updating files: 99% (18518/18705)
Updating files: 100% (18705/18705)
Updating files: 100% (18705/18705), done.
HEAD is now at b6a264c784 Merge pull request #28853 from AltGr/catala100
Merge made by the 'ort' strategy.
packages/otp/otp.0.2/opam | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(from ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:4a53462701960ab90f41049f17bd6efdaf5816c66fbd446c53e37f4e87632e10)
Unable to find image 'ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:4a53462701960ab90f41049f17bd6efdaf5816c66fbd446c53e37f4e87632e10' locally
docker.io/ocaml/opam@sha256:4a53462701960ab90f41049f17bd6efdaf5816c66fbd446c53e37f4e87632e10: Pulling from ocaml/opam
497180e6135e: Already exists
9c7f95b1c623: Pulling fs layer
b5f38fbdeb80: Pulling fs layer
c80062d0ebe3: Pulling fs layer
3e1c0405a468: Pulling fs layer
b5f38fbdeb80: Waiting
c80062d0ebe3: Waiting
3e1c0405a468: Waiting
9c7f95b1c623: Waiting
9c7f95b1c623: Verifying Checksum
9c7f95b1c623: Download complete
b5f38fbdeb80: Download complete
c80062d0ebe3: Verifying Checksum
c80062d0ebe3: Download complete
3e1c0405a468: Verifying Checksum
3e1c0405a468: Download complete
9c7f95b1c623: Pull complete
b5f38fbdeb80: Pull complete
c80062d0ebe3: Pull complete
3e1c0405a468: Pull complete
Digest: sha256:4a53462701960ab90f41049f17bd6efdaf5816c66fbd446c53e37f4e87632e10
Status: Downloaded newer image for ocaml/opam@sha256:4a53462701960ab90f41049f17bd6efdaf5816c66fbd446c53e37f4e87632e10
2025-11-10 20:24.50 ---> saved as "8ad05b2e4bfe1b7dc86f7359c2406acd8999468c259c6759a0738b1062a492db"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-11-10 20:24.50 ---> saved as "74550bf928a606d043f0e3bb1df9a9d9c13678d3d5b4f409edfd8955d1025ccd"
/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
[NOTE] The 'jobs' option was reset, its value was 255 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=255 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-11-10 20:25.16 ---> saved as "81921f58df9cca72323976b12f8cf98a23d2ea1b466d3a55dcd882c810e8c5e2"
/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~alpha1
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=opensuse-leap os-version=15.6
# 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.2"}]
# compiler-packages ocaml-base-compiler.4.14.2, 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.2
2025-11-10 20:25.17 ---> saved as "2cb5155856a618f5744acbed31c75d6a8444ccaca3b56b80e26f1177dada9593"
/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/"))
2025-11-10 20:25.25 ---> saved as "0b4ba0bae74198f201316bbe28f8232549f1ce7e1109e58c0105e4d0d6e6cb3c"
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-10 20:25.34 ---> saved as "448cc073ef81bb253c4130c6ff84a5c66bd1d6284a5f0af1108cc375e682c31c"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-10 20:25.57 ---> saved as "0ef1d5ce5fcf70bd7797c1b923d104a2de902c0a6b36b11658c2d39dd83e76d5"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Retrieving repository 'Update repository of openSUSE Backports' metadata [..
- Looking for gpg keys in repository Update repository of openSUSE Backports.
- gpgkey=http://download.opensuse.org/update/leap/15.6/backports/repodata/repomd.xml.key
- ...
- .....
- ....
- ....
- ....
- ....
- .............
- .............
- .......done]
- Building repository 'Update repository of openSUSE Backports' cache [..
- ..done]
- Retrieving repository 'Update repository with updates from SUSE Linux Enterprise 15' metadata [..
- Looking for gpg keys in repository Update repository with updates from SUSE Linux Enterprise 15.
- gpgkey=http://download.opensuse.org/update/leap/15.6/sle/repodata/repomd.xml.key
- .
- ......
- ....
- ....
- ....
- ....
- ....
- ..
- .............
- .........
- .......
- .......
- .......
- ........
- .........
- ........
- ........
- ..........
- .........
- .....
- .......
- .........
- ........
- .........
- .....
- .........
- ......
- .........
- ..........
- ..........
- ..........
- .........
- ..........
- ..........
- ..........
- .........
- ..........
- .........
- .........
- ..........
- .........
- ..........
- .........
- .........
- ..........
- ..........
- .........
- ..........
- ..........
- ..........
- .........
- .........
- ..........
- ..........
- ..........
- .........
- ..........
- .........
- ..........
- .........
- ..........
- ..........
- ........
- .........
- .........
- ..........
- .........
- .........
- ......
- .....
- ....
- ....
- ....
- ....
- ........
- ........
- .........
- ............
- ........
- ........
- ........
- .........
- ..........
- ..done]
- Building repository 'Update repository with updates from SUSE Linux Enterprise 15' cache [..
- ..done]
- Retrieving repository 'Main Update Repository' metadata [..
- Looking for gpg keys in repository Main Update Repository.
- gpgkey=http://download.opensuse.org/update/leap/15.6/oss/repodata/repomd.xml.key
- .....
- ....
- ....
- ....
- ....
- ....
- ............
- ......done]
- Building repository 'Main Update Repository' cache [....done]
- Repository 'Update Repository (Non-Oss)' is up to date.
- Repository 'Non-OSS Repository' is up to date.
- Repository 'Main Repository' is up to date.
- All repositories have been refreshed.
2025-11-10 20:28.00 ---> saved as "0a37b4ca3b8d86b4460455ae6d6a47bce97e9d39d45af5321ce69a4b9539e6da"
/home/opam: (run (shell "opam pin add -k version -yn otp.0.2 0.2"))
otp is now pinned to version 0.2
2025-11-10 20:28.02 ---> saved as "67adef0bff8ab6815b322c1649856ad62670888a0947d02613ac1bb9e8dcc4de"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall otp.0.2;\
\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 \"\\\"opensuse-15.6\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'otp.0.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
otp.0.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 22 packages
- install base32 1.0.0 [required by otp]
- install conf-gmp 5 [required by otp]
- install conf-gmp-powm-sec 4 [required by otp]
- install conf-pkg-config 4 [required by conf-zlib, zarith]
- install conf-zlib 1 [required by cryptokit]
- install cryptokit 1.20 [required by otp]
- install csexp 1.5.2 [required by dune-configurator]
- install cstruct 6.2.0 [required by hex]
- install dune 3.20.2 [required by otp]
- install dune-configurator 3.20.2 [required by cryptokit]
- install fmt 0.11.0 [required by cstruct]
- install hex 1.5.0 [required by otp]
- install ocamlbuild 0.16.1 [required by qrc]
- install ocamlfind 1.9.8 [required by otp]
- install otp 0.2 (pinned)
- install ounit2 2.2.7 [required by otp]
- install qrc 0.2.0 [required by otp]
- install seq base [required by ounit2]
- install stdint 0.7.2 [required by otp]
- install stdlib-shims 0.3.0 [required by ounit2]
- install topkg 1.1.1 [required by qrc]
- install zarith 1.14 [required by cryptokit]
The following system packages will first need to be installed:
gmp-devel
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run zypper to install them (may need root/sudo access)
2. Display the recommended zypper 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 "zypper" "--non-interactive" "install" "gmp-devel"
- Loading repository data...
- Reading installed packages...
- Resolving package dependencies...
-
- The following 2 NEW packages are going to be installed:
- gmp-devel libgmpxx4
-
- 2 new packages to install.
-
- Package download size: 2.2 MiB
-
- Package install size change:
- | 6.7 MiB required by packages that will be installed
- 6.7 MiB | - 0 B released by packages that will be removed
-
- Backend: classic_rpmtrans
- Continue? [y/n/v/...? shows all options] (y): y
- Retrieving: libgmpxx4-6.1.2-4.9.1.x86_64 (Main Repository) (1/2), 17.1 KiB
- Retrieving: libgmpxx4-6.1.2-4.9.1.x86_64.rpm [....
- ....
- ....
- ....
- ....
- .....
- done]
- Retrieving: gmp-devel-6.1.2-4.9.1.x86_64 (Main Repository) (2/2), 2.2 MiB
- Retrieving: gmp-devel-6.1.2-4.9.1.x86_64.rpm [.....done (1.4 MiB/s)]
-
- Checking for file conflicts: [..done]
- (1/2) Installing: libgmpxx4-6.1.2-4.9.1.x86_64 [..done]
- (2/2) Installing: gmp-devel-6.1.2-4.9.1.x86_64 [....
- .done]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base32.1.0.0 (cached)
-> retrieved conf-gmp.5 (cached)
-> retrieved conf-gmp-powm-sec.4 (cached)
-> retrieved cryptokit.1.20 (cached)
-> retrieved csexp.1.5.2 (cached)
-> installed conf-pkg-config.4
-> installed conf-gmp.5
-> retrieved cstruct.6.2.0 (cached)
-> installed conf-zlib.1
-> installed conf-gmp-powm-sec.4
-> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached)
-> retrieved fmt.0.11.0 (cached)
-> retrieved hex.1.5.0 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved otp.0.2 (cached)
-> retrieved ounit2.2.2.7 (cached)
-> retrieved qrc.0.2.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved stdint.0.7.2 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.1.1 (cached)
-> retrieved zarith.1.14 (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed zarith.1.14
-> installed topkg.1.1.1
-> installed qrc.0.2.0
-> installed fmt.0.11.0
-> installed dune.3.20.2
-> installed stdlib-shims.0.3.0
-> installed base32.1.0.0
-> installed csexp.1.5.2
-> installed cstruct.6.2.0
-> installed stdint.0.7.2
-> installed ounit2.2.2.7
-> installed hex.1.5.0
-> installed dune-configurator.3.20.2
-> installed cryptokit.1.20
-> installed otp.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-10 20:29.09 ---> saved as "f7417fa228aec53814c2916b36a84c85deffd98d7c5edfcd23fc12f9d348b07b"
Job succeeded
2025-11-10 20:29.16: Job succeeded