- github
- ocaml
- opam-repository
- 949372
- distributions,archlinux-ocaml-4.14,cpdf.2.8.1
(not at the head of any monitored branch or PR)
2025-03-28 20:32.28: New job: build cpdf.2.8.1, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27690/head (949372a2aaf454eeefb1ede863f15c513989b7e5)
on archlinux-ocaml-4.14/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:archlinux-ocaml-4.14@sha256:1c6fda613bf2a577dd156692a13c8860ff7d06e1fda3acd85e03c8d14e4d93d9
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 "\"archlinux\""; 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.28: Using cache hint "ocaml/opam:archlinux-ocaml-4.14@sha256:1c6fda613bf2a577dd156692a13c8860ff7d06e1fda3acd85e03c8d14e4d93d9-cpdf.2.8.1-949372a2aaf454eeefb1ede863f15c513989b7e5"
2025-03-28 20:32.28: Using OBuilder spec:
((from ocaml/opam:archlinux-ocaml-4.14@sha256:1c6fda613bf2a577dd156692a13c8860ff7d06e1fda3acd85e03c8d14e4d93d9)
(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 \"\\\"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\" != '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.28: 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-c4.sw.ocaml.org
All commits already cached
Updating files: 75% (17192/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:archlinux-ocaml-4.14@sha256:1c6fda613bf2a577dd156692a13c8860ff7d06e1fda3acd85e03c8d14e4d93d9)
Unable to find image 'ocaml/opam:archlinux-ocaml-4.14@sha256:1c6fda613bf2a577dd156692a13c8860ff7d06e1fda3acd85e03c8d14e4d93d9' locally
docker.io/ocaml/opam@sha256:1c6fda613bf2a577dd156692a13c8860ff7d06e1fda3acd85e03c8d14e4d93d9: Pulling from ocaml/opam
c9c00cd7462b: Pulling fs layer
c9c00cd7462b: Download complete
c9c00cd7462b: Pull complete
Digest: sha256:1c6fda613bf2a577dd156692a13c8860ff7d06e1fda3acd85e03c8d14e4d93d9
Status: Downloaded newer image for ocaml/opam@sha256:1c6fda613bf2a577dd156692a13c8860ff7d06e1fda3acd85e03c8d14e4d93d9
2025-03-28 20:35.32 ---> saved as "dd84efb93db4c7f64ebb7df19a637b6122ac84c447edfafe5643f0b3719c77de"
/: (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:35.32 ---> saved as "fbe6d1929d1042621c0dfcc4fbf8788d8e28d691b4c6e4bf71b0d767692be15f"
/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:36.32 ---> saved as "3eb7ec2d86ea7185c764346802369db54407fd19b72a593ab3fca09ec55ffb8b"
/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=arch os-version=20250316.0.322463
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 31
# repositories 1 (local), 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
# invariant ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.2
2025-03-28 20:36.34 ---> saved as "6a120551212e8e18938e700927f6f5f95fb02dbf726e336e7ab1184d7c79986b"
/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:36.44 ---> saved as "d77b7be1dc8c349a625ec2f6f996e833d8a198eee853c775991d5ab13bdc3124"
/home/opam: (copy (src .) (dst opam-repository/))
2025-03-28 20:37.03 ---> saved as "457a2ed6f63dfcf14051445ac3a596abb70dce15f223955d2ae560436de92a2e"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-03-28 20:37.47 ---> saved as "ecf5e101a46f7b9fa413cd42040604712c1dec89859472d36965809899503f9f"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/sbin/sudo "pacman" "-Sy"
- :: Synchronizing package databases...
- core downloading...
- extra downloading...
2025-03-28 20:37.48 ---> saved as "91862a6f84251ed4bf3fb0cfaf17aa68fe49eedafd9999592a4d75941ac80fc4"
/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:37.49 ---> saved as "e9087e38a028c0835c1f1ffe5600b398396d8e66bc38cbfa2278dfb8075df49c"
/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 \"\\\"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\" != '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
∗ camlpdf 2.8.1 [required by cpdf]
∗ cpdf 2.8.1 (pinned)
∗ 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:38.45 ---> saved as "6dba41b61986aa65ff92f91ccf368ee3f4f08ea9b4bc36dfc0b10d1c52acaf04"
Job succeeded
2025-03-28 20:38.51: Job succeeded