- github
- ocaml
- opam-repository
- 82718a
- distributions,centos-9-ocaml-5.4,mazeppa.0.7.0
(not at the head of any monitored branch or PR)
2025-11-22 12:50.33: New job: build mazeppa.0.7.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/28949/head (82718aa4d0314edf474f766eab06cd08356de60a)
on centos-9-ocaml-5.4/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/28949/head" && git reset --hard 82718aa4
git fetch origin master
git merge --no-edit ee3428377a13c3c9716b6f791c33441cfb542498
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:centos-9-ocaml-5.4@sha256:b062c9d7f6c767b2ae3427db539b7b8be422f82b98a02ef58a11792ec618de79
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 mazeppa.0.7.0 0.7.0
RUN opam reinstall mazeppa.0.7.0; \
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-9\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'mazeppa.0.7.0' && 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-22 12:50.33: Using cache hint "ocaml/opam:centos-9-ocaml-5.4@sha256:b062c9d7f6c767b2ae3427db539b7b8be422f82b98a02ef58a11792ec618de79-mazeppa.0.7.0-82718aa4d0314edf474f766eab06cd08356de60a"
2025-11-22 12:50.33: Using OBuilder spec:
((from ocaml/opam:centos-9-ocaml-5.4@sha256:b062c9d7f6c767b2ae3427db539b7b8be422f82b98a02ef58a11792ec618de79)
(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 mazeppa.0.7.0 0.7.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall mazeppa.0.7.0;\
\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-9\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'mazeppa.0.7.0' && 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-22 12:50.33: Waiting for resource in pool OCluster
2025-11-22 12:50.34: Waiting for worker…
2025-11-22 12:50.35: Got resource from pool OCluster
Building on clete
All commits already cached
HEAD is now at ee3428377a Merge pull request #28925 from edwintorok/rocky
Updating ee3428377a..82718aa4d0
Fast-forward
packages/mazeppa/mazeppa.0.7.0/opam | 48 +++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
create mode 100644 packages/mazeppa/mazeppa.0.7.0/opam
(from ocaml/opam:centos-9-ocaml-5.4@sha256:b062c9d7f6c767b2ae3427db539b7b8be422f82b98a02ef58a11792ec618de79)
2025-11-22 12:51.01 ---> using "a3aca29ffef21c49f3a7ab11619e553fed2e41b80ca36a084324cb4bbcc79bea" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-11-22 12:51.01 ---> using "d02acc3ae8d5e2220d689a1cf7ebc2bb1e35c594c2cd69b97e52cd42d877d82a" 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
2025-11-22 12:51.01 ---> using "3b3060bf3fe60605d1a1742074a75ed5a3f3dd3c8b96c91b6b6d2496dddf4943" 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~beta1
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=centos os-version=9
# 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 5.4
# invariant ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.0
2025-11-22 12:51.01 ---> using "c3edcf993d6b4c726f736a788c21d4bbd0e5052a0a3d5a6f1f717446740281ba" 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/"))
2025-11-22 12:51.01 ---> using "08b725c09850fa742733bbc2fbb6a9449e36a971649fceba843528ecf8f49398" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-22 12:51.11 ---> saved as "48fdee1999418b2e3510847c5fb9c20436eb3a8b2700243a0027530d81a89fbc"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-22 12:51.31 ---> saved as "c87ee9fe66852a97549b4f6d20348b742ff1985c9bbae212979e7126c4206807"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 9 - BaseOS 44 kB/s | 14 kB 00:00
- CentOS Stream 9 - BaseOS 808 kB/s | 8.8 MB 00:11
- CentOS Stream 9 - AppStream 128 kB/s | 15 kB 00:00
- CentOS Stream 9 - AppStream 7.5 MB/s | 25 MB 00:03
- CentOS Stream 9 - CRB 119 kB/s | 14 kB 00:00
- CentOS Stream 9 - CRB 1.1 MB/s | 7.3 MB 00:06
- CentOS Stream 9 - Extras packages 42 kB/s | 16 kB 00:00
- Metadata cache created.
2025-11-22 12:52.07 ---> saved as "a58823ca3e4d0da242eeada10f2d647e0267020311baac132689bd342220d444"
/home/opam: (run (shell "opam pin add -k version -yn mazeppa.0.7.0 0.7.0"))
mazeppa is now pinned to version 0.7.0
2025-11-22 12:52.08 ---> saved as "33e47af762813174c559ecd51fc0e85c9c6682894bf69587cdd9524128188486"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall mazeppa.0.7.0;\
\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-9\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'mazeppa.0.7.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
mazeppa.0.7.0 is not installed. Install it? [Y/n] y
* Incompatible packages:
- (invariant) -> ocaml-base-compiler >= 5.4.0
- mazeppa >= 0.7.0 -> bisect_ppx -> ocaml-migrate-parsetree -> ocaml < 4.13 -> dkml-base-compiler
You can temporarily relax the switch invariant with `--update-invariant'
* Incompatible packages:
- (invariant) -> ocaml-base-compiler >= 5.4.0
- mazeppa >= 0.7.0 -> bisect_ppx -> ocaml-migrate-parsetree -> ocaml < 4.09.0 -> ocaml-variants
* Missing dependency:
- mazeppa >= 0.7.0 -> bisect_ppx -> ocaml < 5.0 -> ocaml-base-compiler (<= 3.07+1 | = 3.07+2 | = 3.08.0 | = 3.08.1 | = 3.08.2 | = 3.08.3 | = 3.08.4 | = 3.09.0) | ocaml-system (<= 3.07+1 | = 3.07+2 | >= 3.08.0) | ocaml-variants < 3.09.1~
not available because the package is pinned to version 5.4.0
unmet availability conditions, e.g. 'sys-ocaml-version = "5.4.0" & (os != "win32" | sys-ocaml-libc = "msvc")'
no matching version
* Missing dependency:
- mazeppa >= 0.7.0 -> bisect_ppx -> ocaml-migrate-parsetree -> ocaml-variants (= 4.08.0+beta2 | = 4.08.0+beta3)
no matching version
* Missing dependency:
- mazeppa >= 0.7.0 -> bisect_ppx -> ocaml-migrate-parsetree -> ocaml < 4.09.0 -> ocaml-variants -> ocaml-beta
unmet availability conditions: 'enable-ocaml-beta-repository'
* Missing dependency:
- mazeppa >= 0.7.0 -> bisect_ppx -> ocaml-migrate-parsetree -> ocaml < 4.09.0 -> ocaml-variants -> system-msvc
unmet availability conditions: 'os = "win32"'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall mazeppa.0.7.0;
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-9\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'mazeppa.0.7.0' && partial_fails="$partial_fails $pkg";
done;
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
exit 1" failed with exit status 20
2025-11-22 12:52.27: Job failed: Failed: Build failed
2025-11-22 12:52.27: Log analysis:
2025-11-22 12:52.27: >>>
No solution found, exiting
(score = 100)
2025-11-22 12:52.27: [SKIP] Package not available