- github
- ocaml
- opam-repository
- f6ea57
- freebsd,freebsd-ocaml-5.2-amd64,dates_calc.0.0.7
(not at the head of any monitored branch or PR)
2024-10-22 08:26.30: New job: build dates_calc.0.0.7, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/26738/head (f6ea578b505d61e1e6d77f06345b4a505d933e6c)
on freebsd-ocaml-5.2/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/26738/head" && git reset --hard f6ea578b
git fetch origin master
git merge --no-edit 1a7dae545ec9b9fb34684697f6619e017c852318
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-ocaml-5.2
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/local/bin/opam-dev /usr/local/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMSOLVERTIMEOUT="1000"
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 dates_calc.0.0.7 0.0.7
RUN opam reinstall dates_calc.0.0.7; \
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 "\"freebsd\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'dates_calc.0.0.7' && 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 .
2024-10-22 08:26.30: Using cache hint "freebsd-ocaml-5.2-dates_calc.0.0.7-f6ea578b505d61e1e6d77f06345b4a505d933e6c"
2024-10-22 08:26.30: Using OBuilder spec:
((from freebsd-ocaml-5.2)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/local/bin/opam-dev /usr/local/bin/opam"))
(run (network host)
(shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(env OPAMDOWNLOADJOBS 1)
(env OPAMERRLOGLEN 0)
(env OPAMSOLVERTIMEOUT 1000)
(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 dates_calc.0.0.7 0.0.7"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dates_calc.0.0.7;\
\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 \"\\\"freebsd\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'dates_calc.0.0.7' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2024-10-22 08:26.30: Waiting for resource in pool OCluster
2024-10-22 08:26.31: Waiting for worker…
2024-10-22 08:26.31: Got resource from pool OCluster
Building on spring
Updating files: 100% (32490/32490), done.
HEAD is now at c7cd940556 Merge commit 'c5e83bd460eb5937b7873b4bd723c9416a637268'
HEAD is now at 1a7dae545e Merge pull request #26772 from jajimajp/release-trs-v1.0.0
Merge made by the 'ort' strategy.
packages/dates_calc/dates_calc.0.0.7/opam | 42 +++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
create mode 100644 packages/dates_calc/dates_calc.0.0.7/opam
(from freebsd-ocaml-5.2)
2024-10-22 08:16.26 ---> using "3515bf58445883216685df527c06fc8b9b7799700694ffa335d1401da4433261" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/local/bin/opam-dev /usr/local/bin/opam"))
2024-10-22 08:16.27 ---> using "48364e1fb8dbbd4caee612726b7c964e49452f03ec1f9b0526466ab1c963a289" from cache
/home/opam: (run (network host)
(shell "opam init --reinit -ni"))
No configuration file found, using 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.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Continue? [y/n] y
[NOTE] The 'jobs' option was reset, its value was 1 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=1 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2024-10-22 08:16.27 ---> using "c9405311363be335bd03604ec044c083a65810c936d9b87d54c115ba23ec633d" from cache
/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.0-RELEASE-p11
The OCaml toplevel, version 5.2.0
2.3.0~alpha1
2024-10-22 08:16.27 ---> using "75c557dc5616766214d486bbd9740aad9cf3f41b1975f9eaa3f67179722364a2" from cache
/home/opam: (env OPAMDOWNLOADJOBS 1)
/home/opam: (env OPAMERRLOGLEN 0)
/home/opam: (env OPAMSOLVERTIMEOUT 1000)
/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/"))
2024-10-22 08:16.27 ---> using "92e493e78a5cd5883fb758a776bfa39b25e6510ac546ef720b01153101f881bc" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2024-10-22 08:16.54 ---> saved as "fa4900e162adf948937088ebe13c44a2c69c068e34f6f7314efe5c0903783a69"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-10-22 08:17.21 ---> saved as "f65f18cf7628c19198ca6871c52a3b77a07b9d459ab9c7caacc80a721e75f143"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
[WARNING] Unknown update command for bsd, skipping system update
2024-10-22 08:17.22 ---> saved as "7ed13b35113731ae206433ac707905909c3c68a0773d2d4d19c1402213ff8b21"
/home/opam: (run (shell "opam pin add -k version -yn dates_calc.0.0.7 0.0.7"))
dates_calc is now pinned to version 0.0.7
2024-10-22 08:17.23 ---> saved as "233535b6a3e57bbe4f0ea0a2e86d4a1696027fd781149b18e92646c943567fdb"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dates_calc.0.0.7;\
\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 \"\\\"freebsd\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'dates_calc.0.0.7' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
dates_calc.0.0.7 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 2 packages
∗ dates_calc 0.0.7 (pinned)
∗ dune 3.16.0 [required by dates_calc]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved dates_calc.0.0.7 (cached)
⬇ retrieved dune.3.16.0 (cached)
∗ installed dune.3.16.0
∗ installed dates_calc.0.0.7
Done.
2024-10-22 08:18.20 ---> saved as "563501f48253dbc7b7d2f5f84975b5a4431a9d31816b0374f73d2ee9af585717"
Job succeeded
2024-10-22 08:28.44: Job succeeded