- github
- ocaml
- opam-repository
- 949372
- compilers,5.1,cpdf.2.8.1,lower-bounds
(not at the head of any monitored branch or PR)
2025-03-28 20:32.27: New job: build cpdf.2.8.1, lower-bounds, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27690/head (949372a2aaf454eeefb1ede863f15c513989b7e5)
on debian-12-ocaml-5.1/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/27690/head" && git reset --hard 949372a2
git fetch origin master
git merge --no-edit a8a89f62d8abd2a9f0cbb04826bfec1ef6b563e7
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.1@sha256:1e6b2fc630d012647501adcaf03c4313808bc5adfbd8a6d3b80347d0822c9d48
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 cpdf.2.8.1 2.8.1
RUN opam reinstall cpdf.2.8.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" != 'cpdf.2.8.1' && 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 cpdf.2.8.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" != 'cpdf.2.8.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-03-28 20:32.27: Using cache hint "ocaml/opam:debian-12-ocaml-5.1@sha256:1e6b2fc630d012647501adcaf03c4313808bc5adfbd8a6d3b80347d0822c9d48-cpdf.2.8.1-949372a2aaf454eeefb1ede863f15c513989b7e5"
2025-03-28 20:32.27: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.1@sha256:1e6b2fc630d012647501adcaf03c4313808bc5adfbd8a6d3b80347d0822c9d48)
(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 cpdf.2.8.1 2.8.1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall cpdf.2.8.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\" != 'cpdf.2.8.1' && 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 cpdf.2.8.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\" != 'cpdf.2.8.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-03-28 20:32.27: Waiting for resource in pool OCluster
2025-03-28 20:32.29: Waiting for worker…
2025-03-28 20:32.29: Got resource from pool OCluster
Building on x86-bm-c1.sw.ocaml.org
All commits already cached
Updating files: 54% (12507/22765)
Updating files: 55% (12521/22765)
Updating files: 56% (12749/22765)
Updating files: 57% (12977/22765)
Updating files: 58% (13204/22765)
Updating files: 59% (13432/22765)
Updating files: 60% (13659/22765)
Updating files: 61% (13887/22765)
Updating files: 62% (14115/22765)
Updating files: 63% (14342/22765)
Updating files: 64% (14570/22765)
Updating files: 65% (14798/22765)
Updating files: 66% (15025/22765)
Updating files: 67% (15253/22765)
Updating files: 68% (15481/22765)
Updating files: 69% (15708/22765)
Updating files: 70% (15936/22765)
Updating files: 71% (16164/22765)
Updating files: 72% (16391/22765)
Updating files: 73% (16619/22765)
Updating files: 74% (16847/22765)
Updating files: 75% (17074/22765)
Updating files: 76% (17302/22765)
Updating files: 77% (17530/22765)
Updating files: 78% (17757/22765)
Updating files: 79% (17985/22765)
Updating files: 80% (18212/22765)
Updating files: 81% (18440/22765)
Updating files: 82% (18668/22765)
Updating files: 83% (18895/22765)
Updating files: 84% (19123/22765)
Updating files: 85% (19351/22765)
Updating files: 86% (19578/22765)
Updating files: 87% (19806/22765)
Updating files: 88% (20034/22765)
Updating files: 89% (20261/22765)
Updating files: 90% (20489/22765)
Updating files: 91% (20717/22765)
Updating files: 92% (20944/22765)
Updating files: 93% (21172/22765)
Updating files: 94% (21400/22765)
Updating files: 95% (21627/22765)
Updating files: 96% (21855/22765)
Updating files: 97% (22083/22765)
Updating files: 98% (22310/22765)
Updating files: 99% (22538/22765)
Updating files: 100% (22765/22765)
Updating files: 100% (22765/22765), done.
HEAD is now at a8a89f62d8 Merge pull request #27687 from codinuum/diffast-20250328
Updating a8a89f62d8..949372a2aa
Fast-forward
packages/cpdf/cpdf.2.8.1/opam | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 packages/cpdf/cpdf.2.8.1/opam
(from ocaml/opam:debian-12-ocaml-5.1@sha256:1e6b2fc630d012647501adcaf03c4313808bc5adfbd8a6d3b80347d0822c9d48)
2025-03-28 20:33.27 ---> saved as "7768b95966a1acedd2afeade0f8974748a9dd266f36c2ca3c0aebea76dfda770"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-03-28 20:33.27 ---> saved as "9eaffd3d1e12cf043e928fa58c044aaa4870ce2f83c184dc63997ac4b233182b"
/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-28 20:34.42 ---> saved as "b7e9d2fe67c270c99abdd5d01d3bff427dbafd4433414f1a0d6dc08670074ac6"
/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 (fcce0c8d871702aabac0a216e45212ff004cfe79)
# 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 5.1
# invariant ["ocaml-base-compiler" {= "5.1.1"}]
# compiler-packages ocaml-base-compiler.5.1.1, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.1/lib/ocaml/stublibs:/home/opam/.opam/5.1/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.1.1
2025-03-28 20:34.43 ---> saved as "1aa991a23bddff151122643a3ee772769cf4eb8645553d5014dd02f344767345"
/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-28 20:34.52 ---> saved as "c796474fef82c6f27caf923a402f773478af1c9ed82c2e6c092db1198c486c12"
/home/opam: (copy (src .) (dst opam-repository/))
2025-03-28 20:35.04 ---> saved as "6e5694fa7cdc6f1da0d5c63548787ac9290178c339b9dc56784c20e8cc206fd4"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-03-28 20:35.51 ---> saved as "fb2f2dc17adfdb64ac2a0438ffb14d7032cc8016f7b4370b9c1b03fce242651a"
/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 bookworm-updates/main amd64 Packages.diff/Index [16.2 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2025-03-27-1414.15-F-2025-03-27-1414.15.pdiff [187 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2025-03-27-1414.15-F-2025-03-27-1414.15.pdiff [187 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [250 kB]
- Fetched 370 kB in 0s (1384 kB/s)
- Reading package lists...
-
2025-03-28 20:35.52 ---> saved as "194855a596600885dab623636499c35a33735127c88271b5cb20f40634fdbed0"
/home/opam: (run (shell "opam pin add -k version -yn cpdf.2.8.1 2.8.1"))
cpdf is now pinned to version 2.8.1
2025-03-28 20:35.53 ---> saved as "50d34ec1d0bb76a65c401850c1a2cf2a24d060c03048aa308209f1e5613459ca"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall cpdf.2.8.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\" != 'cpdf.2.8.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
cpdf.2.8.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 3 packages
- install camlpdf 2.8.1 [required by cpdf]
- install cpdf 2.8.1 (pinned)
- install ocamlfind 1.9.8 [required by cpdf]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlpdf.2.8.1 (https://github.com/johnwhitington/camlpdf/archive/refs/tags/v2.8.1.tar.gz)
-> retrieved cpdf.2.8.1 (https://github.com/johnwhitington/cpdf-source/archive/refs/tags/v2.8.1.tar.gz)
-> retrieved ocamlfind.1.9.8 (cached)
-> installed ocamlfind.1.9.8
-> installed camlpdf.2.8.1
-> installed cpdf.2.8.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-28 20:36.50 ---> saved as "9bde3c7d581e58935666bab1995a67aaefeef62dde6151b5e8029749eb6d33a8"
/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 cpdf.2.8.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\" != 'cpdf.2.8.1' && 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:
=== downgrade 1 package
- downgrade ocamlfind 1.9.8 to 1.9.6 [required by cpdf]
=== recompile 1 package
- recompile cpdf 2.8.1 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocamlfind.1.9.6 (cached)
-> removed cpdf.2.8.1
-> removed ocamlfind.1.9.8
-> installed ocamlfind.1.9.6
-> installed cpdf.2.8.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-28 20:37.28 ---> saved as "384dfecfce8eb5933b765b6f63c956c355bfa78f45bb57daba335fddfbdcd24c"
Job succeeded
2025-03-28 20:37.36: Job succeeded