(for PR #29144)
2025-12-29 13:22.43: New job: build memcpy.0.3.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29144/head (5acd597aa3deb5edacee41733013e0f3f2224a82)
on debian-unstable-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/29144/head" && git reset --hard 5acd597a
git fetch origin master
git merge --no-edit c239a62d58deaede2e5dce17c2715a55397b73f2
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-unstable-ocaml-4.14@sha256:aca2ecb686c5c06a34ddacec15301a77cdd899803914bdfbdb76b12b117eb235
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 memcpy.0.3.0 0.3.0
RUN opam reinstall memcpy.0.3.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-unstable\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'memcpy.0.3.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-12-29 13:22.43: Using cache hint "ocaml/opam:debian-unstable-ocaml-4.14@sha256:aca2ecb686c5c06a34ddacec15301a77cdd899803914bdfbdb76b12b117eb235-memcpy.0.3.0-5acd597aa3deb5edacee41733013e0f3f2224a82"
2025-12-29 13:22.43: Using OBuilder spec:
((from ocaml/opam:debian-unstable-ocaml-4.14@sha256:aca2ecb686c5c06a34ddacec15301a77cdd899803914bdfbdb76b12b117eb235)
(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 memcpy.0.3.0 0.3.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall memcpy.0.3.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-unstable\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'memcpy.0.3.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-12-29 13:22.43: Waiting for resource in pool OCluster
2025-12-29 13:22.44: Waiting for worker…
2025-12-29 13:22.47: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at c239a62d58 Merge pull request #29143 from filipeom/opam-publish-smtml.0.18.0
Updating c239a62d58..5acd597aa3
Fast-forward
packages/memcpy/memcpy.0.3.0/opam | 41 +++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
create mode 100644 packages/memcpy/memcpy.0.3.0/opam
(from ocaml/opam:debian-unstable-ocaml-4.14@sha256:aca2ecb686c5c06a34ddacec15301a77cdd899803914bdfbdb76b12b117eb235)
Unable to find image 'ocaml/opam:debian-unstable-ocaml-4.14@sha256:aca2ecb686c5c06a34ddacec15301a77cdd899803914bdfbdb76b12b117eb235' locally
docker.io/ocaml/opam@sha256:aca2ecb686c5c06a34ddacec15301a77cdd899803914bdfbdb76b12b117eb235: Pulling from ocaml/opam
8d9b0d1957d2: Already exists
77bd5ce6de14: Already exists
59ace7bbb792: Already exists
b44820cf8c7c: Already exists
01779645db39: Already exists
2eff1215ea11: Already exists
cd204a506c17: Already exists
fdbe9d71b607: Already exists
1d1ef689aa4e: Already exists
21d29e096296: Already exists
f3c0f441dc5a: Already exists
24e024f45d9d: Already exists
70f2fc20df5f: Already exists
dc1d3669f80d: Already exists
d1960fd642f1: Already exists
5a522f53743b: Already exists
69c97573612d: Already exists
69c97573612d: Already exists
e309391d441d: Already exists
db1ca6399fa8: Already exists
14889b83b326: Already exists
44e6acdbb29a: Already exists
4f4fb700ef54: Already exists
1976d6d05edb: Already exists
847e4a574c7f: Already exists
6b92941a3055: Already exists
37281440a7ab: Already exists
b771055b6fbe: Already exists
8f4ee55b4bf4: Already exists
d31d3386bb00: Already exists
aa71471fafa8: Already exists
cab8c018bf1d: Already exists
efe6eb884787: Already exists
22ff1b490950: Already exists
08392e8ad44d: Already exists
06179f88ab5e: Already exists
d150b9aac864: Already exists
4b7a641c6ed8: Already exists
853fd7bbd04f: Already exists
2f5aec184633: Already exists
2b5266412aec: Already exists
a6ec80760222: Pulling fs layer
c9f257c7c758: Pulling fs layer
e8bb2587d8c6: Pulling fs layer
a6ec80760222: Waiting
da75a76ef850: Pulling fs layer
c9f257c7c758: Waiting
e8bb2587d8c6: Waiting
da75a76ef850: Waiting
a6ec80760222: Verifying Checksum
a6ec80760222: Download complete
c9f257c7c758: Verifying Checksum
c9f257c7c758: Download complete
da75a76ef850: Verifying Checksum
da75a76ef850: Download complete
e8bb2587d8c6: Verifying Checksum
e8bb2587d8c6: Download complete
a6ec80760222: Pull complete
c9f257c7c758: Pull complete
e8bb2587d8c6: Pull complete
da75a76ef850: Pull complete
Digest: sha256:aca2ecb686c5c06a34ddacec15301a77cdd899803914bdfbdb76b12b117eb235
Status: Downloaded newer image for ocaml/opam@sha256:aca2ecb686c5c06a34ddacec15301a77cdd899803914bdfbdb76b12b117eb235
2025-12-29 13:24.56 ---> saved as "6f2d32328f9adbf8435f91c41c1addc0929ca398366e6aa52c28175e1333d2c2"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-12-29 13:24.57 ---> saved as "e5a817b8e6a8e2676a3e2efc5ccdb9ed63c30f0eb91bf29aa3b060aa088a56e9"
/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 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-12-29 13:25.26 ---> saved as "5822ad48ba479743eba027d0d846106c71d101fdeae65664513ae77d7f44412f"
/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.5.0
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=unknown
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 255
# repositories 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-12-29 13:25.28 ---> saved as "88a4b9c6870dc859e2a140f2d0cb4342c4b2ce805b59aa603e272bb256f85474"
/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-12-29 13:26.02 ---> saved as "d836336173d1712f91b0a47a985dfb0cccc9707f853ddd473cf459b91bf60f65"
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-29 13:26.30 ---> saved as "e3aa65118982d67e1c2176f34d7998549c095bd8f454471bd70a427babe09743"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-29 13:26.52 ---> saved as "a155a91efde583382bbec81de412221f0eb967e716efb83fcc8365e5e462db9a"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [187 kB]
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Err:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index
- Couldn't find the start of the patch series
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Ign:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages [10.2 MB]
- Fetched 10.5 MB in 4s (2877 kB/s)
- Reading package lists...
-
2025-12-29 13:26.57 ---> saved as "b7c82d6f2608c6a7e9de5a159d7f661bebb045c899e160b99c65618633ef2fad"
/home/opam: (run (shell "opam pin add -k version -yn memcpy.0.3.0 0.3.0"))
memcpy is now pinned to version 0.3.0
2025-12-29 13:26.58 ---> saved as "ed9fb9acda84902f492bccf0ac4fdfac572a959a330b9e96929a5d5339987311"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall memcpy.0.3.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-unstable\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'memcpy.0.3.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
memcpy.0.3.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 9 packages
- install csexp 1.5.2 [required by dune-configurator]
- install ctypes 0.24.0 [required by memcpy]
- install dune 3.20.2 [required by ctypes]
- install dune-configurator 3.20.2 [required by ctypes]
- install integers 0.7.0 [required by ctypes]
- install memcpy 0.3.0 (pinned)
- install ocamlbuild 0.16.1 [required by memcpy]
- install ocamlfind 1.9.8 [required by memcpy]
- install stdlib-shims 0.3.0 [required by integers]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2 (cached)
-> retrieved ctypes.0.24.0 (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached)
-> retrieved integers.0.7.0 (cached)
-> retrieved memcpy.0.3.0 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed stdlib-shims.0.3.0
-> installed integers.0.7.0
-> installed dune-configurator.3.20.2
-> installed ctypes.0.24.0
-> installed memcpy.0.3.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-29 13:27.27 ---> saved as "96b80e468164db87efe1ef58611969188d41d6869b29f9b6273e648605149c8a"
Job succeeded
2025-12-29 13:27.34: Job succeeded