- github
- ocaml
- opam-repository
- f44051
- distributions,archlinux-ocaml-5.3,conf-gmp-paths.1
(not at the head of any monitored branch or PR)
2025-04-15 14:39.55: New job: build conf-gmp-paths.1, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/27759/head (f440514054381fd678f9e815efbbfe85985a51eb)
on archlinux-ocaml-5.3/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/27759/head" && git reset --hard f4405140
git fetch origin master
git merge --no-edit 70b82be6e261da74b766f9bb1344a1ecd5b1909d
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:archlinux-ocaml-5.3@sha256:9dfbd86508e49be7f1a0df89a250326ce169b85d903522d2df1e8f84288066ec
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 conf-gmp-paths.1 1
RUN opam reinstall conf-gmp-paths.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 "\"archlinux\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'conf-gmp-paths.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-15 14:39.55: Using cache hint "ocaml/opam:archlinux-ocaml-5.3@sha256:9dfbd86508e49be7f1a0df89a250326ce169b85d903522d2df1e8f84288066ec-conf-gmp-paths.1-f440514054381fd678f9e815efbbfe85985a51eb"
2025-04-15 14:39.55: Using OBuilder spec:
((from ocaml/opam:archlinux-ocaml-5.3@sha256:9dfbd86508e49be7f1a0df89a250326ce169b85d903522d2df1e8f84288066ec)
(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 conf-gmp-paths.1 1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall conf-gmp-paths.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 \"\\\"archlinux\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'conf-gmp-paths.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-15 14:39.55: Waiting for resource in pool OCluster
2025-04-15 14:39.56: Waiting for worker…
2025-04-15 14:39.56: Got resource from pool OCluster
Building on x86-bm-c5.sw.ocaml.org
All commits already cached
Updating files: 83% (19142/22865)
Updating files: 84% (19207/22865)
Updating files: 85% (19436/22865)
Updating files: 86% (19664/22865)
Updating files: 87% (19893/22865)
Updating files: 88% (20122/22865)
Updating files: 89% (20350/22865)
Updating files: 90% (20579/22865)
Updating files: 91% (20808/22865)
Updating files: 92% (21036/22865)
Updating files: 93% (21265/22865)
Updating files: 94% (21494/22865)
Updating files: 95% (21722/22865)
Updating files: 96% (21951/22865)
Updating files: 97% (22180/22865)
Updating files: 98% (22408/22865)
Updating files: 99% (22637/22865)
Updating files: 100% (22865/22865)
Updating files: 100% (22865/22865), done.
HEAD is now at 70b82be6e2 Merge pull request #27756 from chetmurthy/release-camlp5-8.03.04
Merge made by the 'ort' strategy.
packages/conf-gmp-paths/conf-gmp-paths.1/opam | 2 +-
packages/conf-mpfr-paths/conf-mpfr-paths.1/opam | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
(from ocaml/opam:archlinux-ocaml-5.3@sha256:9dfbd86508e49be7f1a0df89a250326ce169b85d903522d2df1e8f84288066ec)
2025-04-15 14:42.00 ---> saved as "c3dbf5f0029c170cbe9ab7a931408e70879747b02311f5efff50c235a468e0fd"
/: (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-15 14:42.00 ---> saved as "127455ff12b3ea476cdd31d4e7264a59767c04c2ccdaf7a83e928f2179e8d309"
/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
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-04-15 14:42.34 ---> saved as "2f9e5d72883341034c7a1c27990155e65ca8a4b813d184f0521fd8562dfe3de6"
/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=arch os-version=20250406.0.331908
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 31
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.3
# invariant ["ocaml-base-compiler" {>= "5.3.0"}]
# compiler-packages ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.3.0
2025-04-15 14:42.34 ---> saved as "55eace002c74b7e55f75251fbd3b9c16056274a814de253c7fe9d519142400e7"
/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-15 14:42.41 ---> saved as "c5cddfaa46b07bc29c706e24e3404d32b4192bb209fbf6feffe331a27d2d8b8f"
/home/opam: (copy (src .) (dst opam-repository/))
2025-04-15 14:42.54 ---> saved as "af86d8015f25f7ae02c6e61ab363f16054f36db23c465941897cee95b973c7be"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-04-15 14:43.17 ---> saved as "22b157a440b913bd73e029947445f8114f6a8e363ede4f658e23c8d5c5e46fc8"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/sbin/sudo "pacman" "-Sy"
- :: Synchronizing package databases...
- core downloading...
- extra downloading...
2025-04-15 14:43.21 ---> saved as "53b9747951badeb6dab3e5e88eead184b58490128ac432b0fb73d79595d5103e"
/home/opam: (run (shell "opam pin add -k version -yn conf-gmp-paths.1 1"))
conf-gmp-paths is now pinned to version 1
2025-04-15 14:43.21 ---> saved as "11be27962a6c8842e8aa1fd7d6cecc332a1446134e9af58844636016e6064809"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall conf-gmp-paths.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 \"\\\"archlinux\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'conf-gmp-paths.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
conf-gmp-paths.1 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 3 packages
∗ conf-findutils 1 [required by ez-conf-lib]
∗ conf-gmp-paths 1 (pinned)
∗ ez-conf-lib 2 [required by conf-gmp-paths]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved conf-gmp-paths.1 (cached)
⬇ retrieved ez-conf-lib.2 (cached)
∗ installed conf-findutils.1
∗ installed ez-conf-lib.2
∗ installed conf-gmp-paths.1
Done.
<><> conf-gmp-paths.1 installed successfully ><><><><><><><><><><><><><><><><><>
=> header file found in /usr/include
=> library file found in /usr/lib
# To update the current shell environment, run: eval $(opam env)
2025-04-15 14:43.29 ---> saved as "986d7ddea4f2c2396df165276aeed1272434cdf5148f72ee67115656827235ca"
Job succeeded
2025-04-15 14:43.34: Job succeeded