- github
- ocaml
- opam-repository
- 302e72
- compilers,4.10,conf-g++.1.0,lower-bounds
(not at the head of any monitored branch or PR)
2025-03-05 15:51.03: New job: build conf-g++.1.0, lower-bounds, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27550/head (302e72c0f765d8ebdb2009e1f31f6a5bf3bcef7d)
on debian-12-ocaml-4.10/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/27550/head" && git reset --hard 302e72c0
git fetch origin master
git merge --no-edit 94a68d7e968e714ae17a21d84962e93eadbb0ffb
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.10@sha256:87bd425c45d35d14fc1af87c98e503e42a74d1f16acafe190a62a37c78168e12
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 conf-g++.1.0 1.0
RUN opam reinstall conf-g++.1.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 "\"debian-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'conf-g++.1.0' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
ENV OPAMCRITERIA="+removed,+count[version-lag,solution]"
ENV OPAMFIXUPCRITERIA="+removed,+count[version-lag,solution]"
ENV OPAMUPGRADECRITERIA="+removed,+count[version-lag,solution]"
RUN opam reinstall conf-g++.1.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 "\"debian-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'conf-g++.1.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-03-05 15:51.03: Using cache hint "ocaml/opam:debian-12-ocaml-4.10@sha256:87bd425c45d35d14fc1af87c98e503e42a74d1f16acafe190a62a37c78168e12-conf-g++.1.0-302e72c0f765d8ebdb2009e1f31f6a5bf3bcef7d"
2025-03-05 15:51.03: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.10@sha256:87bd425c45d35d14fc1af87c98e503e42a74d1f16acafe190a62a37c78168e12)
(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 conf-g++.1.0 1.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall conf-g++.1.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 \"\\\"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\" != 'conf-g++.1.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(env OPAMCRITERIA +removed,+count[version-lag,solution])
(env OPAMFIXUPCRITERIA +removed,+count[version-lag,solution])
(env OPAMUPGRADECRITERIA +removed,+count[version-lag,solution])
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall conf-g++.1.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 \"\\\"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\" != 'conf-g++.1.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-03-05 15:51.03: Waiting for resource in pool OCluster
2025-03-05 15:51.04: Waiting for worker…
2025-03-05 15:51.04: Got resource from pool OCluster
Building on x86-bm-c3.sw.ocaml.org
All commits already cached
Updating files: 69% (15619/22585)
Updating files: 70% (15810/22585)
Updating files: 71% (16036/22585)
Updating files: 72% (16262/22585)
Updating files: 73% (16488/22585)
Updating files: 74% (16713/22585)
Updating files: 75% (16939/22585)
Updating files: 76% (17165/22585)
Updating files: 77% (17391/22585)
Updating files: 78% (17617/22585)
Updating files: 79% (17843/22585)
Updating files: 80% (18068/22585)
Updating files: 81% (18294/22585)
Updating files: 82% (18520/22585)
Updating files: 83% (18746/22585)
Updating files: 84% (18972/22585)
Updating files: 85% (19198/22585)
Updating files: 86% (19424/22585)
Updating files: 87% (19649/22585)
Updating files: 88% (19875/22585)
Updating files: 89% (20101/22585)
Updating files: 90% (20327/22585)
Updating files: 91% (20553/22585)
Updating files: 92% (20779/22585)
Updating files: 93% (21005/22585)
Updating files: 94% (21230/22585)
Updating files: 95% (21456/22585)
Updating files: 96% (21682/22585)
Updating files: 97% (21908/22585)
Updating files: 98% (22134/22585)
Updating files: 99% (22360/22585)
Updating files: 100% (22585/22585)
Updating files: 100% (22585/22585), done.
HEAD is now at 94a68d7e96 Merge pull request #27554 from jmid/conf-diffutils-openbsd
Merge made by the 'ort' strategy.
packages/conf-g++/conf-g++.1.0/opam | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(from ocaml/opam:debian-12-ocaml-4.10@sha256:87bd425c45d35d14fc1af87c98e503e42a74d1f16acafe190a62a37c78168e12)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.10@sha256:87bd425c45d35d14fc1af87c98e503e42a74d1f16acafe190a62a37c78168e12' locally
docker.io/ocaml/opam@sha256:87bd425c45d35d14fc1af87c98e503e42a74d1f16acafe190a62a37c78168e12: Pulling from ocaml/opam
4151ef0b2629: Pulling fs layer
4151ef0b2629: Verifying Checksum
4151ef0b2629: Download complete
4151ef0b2629: Pull complete
Digest: sha256:87bd425c45d35d14fc1af87c98e503e42a74d1f16acafe190a62a37c78168e12
Status: Downloaded newer image for ocaml/opam@sha256:87bd425c45d35d14fc1af87c98e503e42a74d1f16acafe190a62a37c78168e12
2025-03-05 15:53.37 ---> saved as "016595a1a37d3b2733af89ede9df3c3f91526ef1701826fddf0b584f85f08a74"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-03-05 15:53.37 ---> saved as "058d27daa0f1992408ef1bd77ec2f7aeae414215646f716cc2af81bf51251528"
/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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
2025-03-05 15:54.40 ---> saved as "4378fb71afedc591b5a01167c86f56e93aef25c1f1d7da2a1171b95c2611b81e"
/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.4.0~alpha1~dev (34b7b4ec4af0ebd3c8fc4aee8088471be2ad48c7)
# 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 39
# repositories 1 (local), 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.10
# invariant ["ocaml-base-compiler" {= "4.10.2"}]
# compiler-packages ocaml-base-compiler.4.10.2
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.10/lib/ocaml/stublibs:/home/opam/.opam/4.10/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.10.2
2025-03-05 15:54.41 ---> saved as "a50ebaab10dbb57e4877b160e41fd9a54ec4d449b2a9b217d93bf672dc0b5e17"
/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-03-05 15:54.50 ---> saved as "74ba04b28b87f9251642cbe7fad6b8d00f8c04142da2928bc51715548826c061"
/home/opam: (copy (src .) (dst opam-repository/))
2025-03-05 15:55.02 ---> saved as "bce95f301e4f6de012865a05f1366dcc312854ade2653edd9c4928d7b8d5bbde"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-03-05 15:55.43 ---> saved as "46aadbb5603945140fc7194bc4acb3eec4fcc011bc867c4a37635a05450154bb"
/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]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [246 kB]
- Fetched 349 kB in 0s (1321 kB/s)
- Reading package lists...
-
2025-03-05 15:55.44 ---> saved as "71fb32d987930af53650f7345baaaf9e2446793174456c9a0e58b919cda9ccf7"
/home/opam: (run (shell "opam pin add -k version -yn conf-g++.1.0 1.0"))
conf-g++ is now pinned to version 1.0
2025-03-05 15:55.45 ---> saved as "00328671aa75844182ce975af7d0367ef300b11632556ed57e9d4d08fef8c2d0"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall conf-g++.1.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 \"\\\"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\" != 'conf-g++.1.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
conf-g++.1.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
- install conf-g++ 1.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-g++.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-05 15:55.52 ---> saved as "d3cb9c8a41a80a62a2abb37ee21e0f37e9e559f2f1f29d49553a9cc8a231c3dd"
/home/opam: (env OPAMCRITERIA +removed,+count[version-lag,solution])
/home/opam: (env OPAMFIXUPCRITERIA +removed,+count[version-lag,solution])
/home/opam: (env OPAMUPGRADECRITERIA +removed,+count[version-lag,solution])
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall conf-g++.1.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 \"\\\"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\" != 'conf-g++.1.0' && 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 conf-g++ 1.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed conf-g++.1.0
-> installed conf-g++.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-05 15:55.59 ---> saved as "ed7b9dbaf44045a6598186b4763d0d62c894d3b68574366970b41d2ee29d863b"
Job succeeded
2025-03-05 15:56.04: Job succeeded