- github
- ocaml
- opam-repository
- fd56df
- compilers,4.08,metadata.0.3.1
(not at the head of any monitored branch or PR)
2025-04-01 19:49.17: New job: build metadata.0.3.1, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/27698/head (fd56df80ed95cbe760cf7d92ab5f337d6244e661)
on debian-12-ocaml-4.08/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/27698/head" && git reset --hard fd56df80
git fetch origin master
git merge --no-edit 4d8fa0fb8fce3b6c8b06f29ebcfa844c292d4f3e
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.08@sha256:0cdc638d7b048ff45efdc58d7a967f4494ec4c78e580643741b75b3b18e04a92
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /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 metadata.0.3.1 0.3.1
RUN opam reinstall metadata.0.3.1; \
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-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'metadata.0.3.1' && 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-04-01 19:49.17: Using cache hint "ocaml/opam:debian-12-ocaml-4.08@sha256:0cdc638d7b048ff45efdc58d7a967f4494ec4c78e580643741b75b3b18e04a92-metadata.0.3.1-fd56df80ed95cbe760cf7d92ab5f337d6244e661"
2025-04-01 19:49.17: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.08@sha256:0cdc638d7b048ff45efdc58d7a967f4494ec4c78e580643741b75b3b18e04a92)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 metadata.0.3.1 0.3.1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall metadata.0.3.1;\
\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-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'metadata.0.3.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-04-01 19:49.17: Waiting for resource in pool OCluster
2025-04-02 06:32.03: Waiting for worker…
2025-04-02 06:34.33: Got resource from pool OCluster
Building on x86-bm-c7.sw.ocaml.org
Updating files: 61% (14053/22779)
Updating files: 62% (14123/22779)
Updating files: 63% (14351/22779)
Updating files: 64% (14579/22779)
Updating files: 65% (14807/22779)
Updating files: 66% (15035/22779)
Updating files: 67% (15262/22779)
Updating files: 68% (15490/22779)
Updating files: 69% (15718/22779)
Updating files: 70% (15946/22779)
Updating files: 71% (16174/22779)
Updating files: 72% (16401/22779)
Updating files: 73% (16629/22779)
Updating files: 74% (16857/22779)
Updating files: 75% (17085/22779)
Updating files: 76% (17313/22779)
Updating files: 77% (17540/22779)
Updating files: 78% (17768/22779)
Updating files: 79% (17996/22779)
Updating files: 80% (18224/22779)
Updating files: 81% (18451/22779)
Updating files: 82% (18679/22779)
Updating files: 83% (18907/22779)
Updating files: 84% (19135/22779)
Updating files: 85% (19363/22779)
Updating files: 86% (19590/22779)
Updating files: 87% (19818/22779)
Updating files: 88% (20046/22779)
Updating files: 89% (20274/22779)
Updating files: 90% (20502/22779)
Updating files: 91% (20729/22779)
Updating files: 92% (20957/22779)
Updating files: 93% (21185/22779)
Updating files: 94% (21413/22779)
Updating files: 95% (21641/22779)
Updating files: 96% (21868/22779)
Updating files: 97% (22096/22779)
Updating files: 98% (22324/22779)
Updating files: 99% (22552/22779)
Updating files: 100% (22779/22779)
Updating files: 100% (22779/22779), done.
HEAD is now at a0a0162ee0 Merge commit '46b8cc5aaa7f9f990966725a4e09da708e8b2d50'
HEAD is now at 4d8fa0fb8f Merge pull request #27693 from hhugo/lwt-ppx
Updating 4d8fa0fb8f..fd56df80ed
Fast-forward
packages/metadata/metadata.0.3.1/opam | 37 +++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
create mode 100644 packages/metadata/metadata.0.3.1/opam
(from ocaml/opam:debian-12-ocaml-4.08@sha256:0cdc638d7b048ff45efdc58d7a967f4494ec4c78e580643741b75b3b18e04a92)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.08@sha256:0cdc638d7b048ff45efdc58d7a967f4494ec4c78e580643741b75b3b18e04a92' locally
docker.io/ocaml/opam@sha256:0cdc638d7b048ff45efdc58d7a967f4494ec4c78e580643741b75b3b18e04a92: Pulling from ocaml/opam
926378eb9e6c: Pulling fs layer
926378eb9e6c: Verifying Checksum
926378eb9e6c: Download complete
926378eb9e6c: Pull complete
Digest: sha256:0cdc638d7b048ff45efdc58d7a967f4494ec4c78e580643741b75b3b18e04a92
Status: Downloaded newer image for ocaml/opam@sha256:0cdc638d7b048ff45efdc58d7a967f4494ec4c78e580643741b75b3b18e04a92
2025-04-02 06:36.52 ---> saved as "3c30e199da87c87fa603f19c6de508483cffeb765c96d63c26588380bf60d869"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-04-02 06:36.52 ---> saved as "d1fe636a131b7f42777e6c30bc43de7551a02a51f2f5a19491b94151a9eb6590"
/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 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.
Continue? [y/n] y
[NOTE] The 'jobs' option was reset, its value was 39 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=39 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2025-04-02 06:37.51 ---> saved as "450f25f34fa0bd08e0e9cf720f3f4fb1eb720121c6949edc6bd6b61ea771b982"
/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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=12
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 31
# repositories 1 (local)
# pinned 1 (version)
# current-switch 4.08
# invariant ["ocaml-base-compiler" {= "4.08.1"}]
# compiler-packages ocaml-base-compiler.4.08.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.08/lib/ocaml/stublibs:/home/opam/.opam/4.08/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.08.1
2025-04-02 06:37.52 ---> saved as "6ee4b0f56fadaca087f58d91e36701adca80ed04785119c4be566fae0cd0717d"
/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-04-02 06:38.00 ---> saved as "de2ffa69a43c4532125f50666d95e34a103baecc765d03e144f2cd0d8e6f77d6"
/home/opam: (copy (src .) (dst opam-repository/))
2025-04-02 06:38.14 ---> saved as "de83078ccd52487a4ea8fcc24981b05555c3c9bfa501a17091b9b5a138c6874f"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-04-02 06:38.56 ---> saved as "cc6f03bae9f31f22cb2e7306cfc17dd87da85f5d5676e5d7daecffd2daf69fbe"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Fetched 103 kB in 0s (514 kB/s)
- Reading package lists...
-
2025-04-02 06:38.58 ---> saved as "25da8ae0f2cd9d4d5b80cda2e1e241dc5d26913c4a7e3abf9df349a9252f6a25"
/home/opam: (run (shell "opam pin add -k version -yn metadata.0.3.1 0.3.1"))
metadata is now pinned to version 0.3.1
2025-04-02 06:38.58 ---> saved as "d3da8496b7fce7fe559c72d4624ee7b51038107d2d1869769e9aa344346405ea"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall metadata.0.3.1;\
\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-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'metadata.0.3.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
metadata.0.3.1 is not installed. Install it? [y/n] y
* Incompatible packages:
- (invariant) -> ocaml-base-compiler = 4.08.1
- metadata >= 0.3.1 -> ocaml >= 4.14.0 -> ocaml-variants < 5.4.1~
You can temporarily relax the switch invariant with `--update-invariant'
* Missing dependency:
- metadata >= 0.3.1 -> ocaml >= 4.14.0 -> ocaml-variants < 4.14.1~ -> xenbigarray
unknown package
* Missing dependency:
- metadata >= 0.3.1 -> ocaml >= 4.14.0 -> ocaml-variants < 4.14.1~ -> ocaml-beta
unmet availability conditions: 'enable-ocaml-beta-repository'
* Missing dependency:
- metadata >= 0.3.1 -> ocaml >= 4.14.0 -> ocaml-variants < 5.2.1~ -> system-msvc
unmet availability conditions: 'os = "win32"'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall metadata.0.3.1;
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-12\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'metadata.0.3.1' && 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-04-02 06:39.24: Job failed: Failed: Build failed
2025-04-02 06:39.24: Log analysis:
2025-04-02 06:39.24: >>>
No solution found, exiting
(score = 100)
2025-04-02 06:39.24: [SKIP] Package not available