- github
- ocaml
- opam-repository
- 949372
- compilers,4.08,cpdf.2.8.1
(not at the head of any monitored branch or PR)
2025-03-28 20:32.27: New job: build cpdf.2.8.1, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27690/head (949372a2aaf454eeefb1ede863f15c513989b7e5)
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/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-4.08@sha256:0f6fc6a8b5397d0c6bbef94f0d90b744ff13983104b00dbfc3ed0d2314b593c8
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
END-OF-DOCKERFILE
docker build -f ../Dockerfile .
2025-03-28 20:32.27: Using cache hint "ocaml/opam:debian-12-ocaml-4.08@sha256:0f6fc6a8b5397d0c6bbef94f0d90b744ff13983104b00dbfc3ed0d2314b593c8-cpdf.2.8.1-949372a2aaf454eeefb1ede863f15c513989b7e5"
2025-03-28 20:32.27: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.08@sha256:0f6fc6a8b5397d0c6bbef94f0d90b744ff13983104b00dbfc3ed0d2314b593c8)
(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"))
)
2025-03-28 20:32.27: Waiting for resource in pool OCluster
2025-03-28 20:32.28: Waiting for worker…
2025-03-28 20:32.28: Got resource from pool OCluster
Building on x86-bm-c3.sw.ocaml.org
Updating files: 96% (21912/22758)
Updating files: 97% (22076/22758)
Updating files: 98% (22303/22758)
Updating files: 99% (22531/22758)
Updating files: 100% (22758/22758)
Updating files: 100% (22758/22758), done.
HEAD is now at 76af95378b release 0.06: fixes windows support with lots of tests
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-4.08@sha256:0f6fc6a8b5397d0c6bbef94f0d90b744ff13983104b00dbfc3ed0d2314b593c8)
2025-03-28 20:33.19 ---> saved as "f03370f5fa25bd51e816a0a7a304150e2b3fd1f8f9feff1ca51e658a1f7f9479"
/: (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.19 ---> saved as "ed363dc5ae7fa9860d9438f72f00783dcc4e4f629bd3dd8950fb2e99730df914"
/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.22 ---> saved as "929a4463813c638bed87d780ae1b9615bf643157eb31f843ca70feb9dbf585e5"
/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 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-03-28 20:34.23 ---> saved as "6bc9d3f3ee2127edb351ef5878698f18cb186f226636a83aab62e22297c666da"
/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.30 ---> saved as "e3e73c059d11169c99a0820189c0f8e8aec76f1cace5265c146fc65e4cecea7a"
/home/opam: (copy (src .) (dst opam-repository/))
2025-03-28 20:34.39 ---> saved as "9591177bd3da731389fa1b5f5a21101571877a62ba77eb9619fedb0e43b191d2"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-03-28 20:35.21 ---> saved as "c74aae19021b4408bbc52808d22b33d9c8096367cd373fd04f368b4f95755c29"
/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 (1415 kB/s)
- Reading package lists...
2025-03-28 20:35.22 ---> saved as "e1f85060dd6e61a153b6aac47572ab4a18906774135cfb8c34b7e5078cd17be7"
/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.23 ---> saved as "8cf3f684fdcdc82e0d910213a9d0f047f3bf68ff372e6c6c5986a7dfe5f1b189"
/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
* No agreement on the version of ocaml:
- (invariant) -> ocaml-base-compiler = 4.08.1 -> ocaml = 4.08.1
- cpdf >= 2.8.1 -> ocaml >= 4.10.0
You can temporarily relax the switch invariant with `--update-invariant'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "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" failed with exit status 20
2025-03-28 20:35.39: Job failed: Failed: Build failed
2025-03-28 20:35.39: Log analysis:
2025-03-28 20:35.39: >>>
No solution found, exiting
(score = 100)
2025-03-28 20:35.39: [SKIP] Package not available