- github
- ocaml
- opam-repository
- 769cad
- freebsd,freebsd-ocaml-4.14-amd64,starred_ml.0.0.6
(not at the head of any monitored branch or PR)
2025-01-06 12:57.38: New job: build starred_ml.0.0.6, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27218/head (769cad3b416aaa2c44bf59fec140089db575abc1)
on freebsd-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/27218/head" && git reset --hard 769cad3b
git fetch origin master
git merge --no-edit cd5853b9a4dc5dfdb5f53cee126a86701c2b2d12
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-ocaml-4.14
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 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 starred_ml.0.0.6 0.0.6
RUN opam reinstall starred_ml.0.0.6; \
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" != 'starred_ml.0.0.6' && 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-01-06 12:57.38: Using cache hint "freebsd-ocaml-4.14-starred_ml.0.0.6-769cad3b416aaa2c44bf59fec140089db575abc1"
2025-01-06 12:57.38: Using OBuilder spec:
((from freebsd-ocaml-4.14)
(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 "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 starred_ml.0.0.6 0.0.6"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall starred_ml.0.0.6;\
\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\" != 'starred_ml.0.0.6' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-01-06 12:57.38: Waiting for resource in pool OCluster
2025-01-06 12:57.39: Waiting for worker…
2025-01-06 12:57.39: Got resource from pool OCluster
Building on spring
Updating files: 100% (28878/28878), done.
HEAD is now at 933184de16 Merge commit 'fe5c0f2bbe35387da60cfef4ed1e5676847e83d0'
HEAD is now at cd5853b9a4 Merge pull request #27203 from lukstafi/master
Updating cd5853b9a4..769cad3b41
Fast-forward
packages/starred_ml/starred_ml.0.0.6/opam | 52 +++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
create mode 100644 packages/starred_ml/starred_ml.0.0.6/opam
(from freebsd-ocaml-4.14)
2025-01-06 12:45.43 ---> using "57eeeabfec88366322a66f228a693df277d348dc99f1cc2a63749102c5e1e405" 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"))
2025-01-06 12:45.43 ---> using "85d5eb985f2262919a26a9cdcf048ce0967ef341a4c5d41a4d1a47b077ffa8eb" 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
2025-01-06 12:45.44 ---> using "08e4174ad8cc33ff0dffef40dd5755acd4c7df1ee65b0d98f918f8851b0422be" from cache
/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.3.0~rc1
# self-upgrade no
# system arch=x86_64 os=freebsd os-distribution=freebsd os-version=1401000
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 7
# repositories 1 (version-controlled)
# pinned 0
# current-switch 4.14.2
# invariant ["ocaml-base-compiler" {= "4.14.2"} | "ocaml-system" {= "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.2/lib/ocaml/stublibs:/home/opam/.opam/4.14.2/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.2
2025-01-06 12:45.44 ---> using "91b37850ea1aaec7d4742f3d5e09647a43ee6b832f4672fc6798b692692a1c71" from cache
/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-01-06 12:45.44 ---> using "4e30c92f8a165426520a5ce8d18a55ff2f71cc0fa86fffe8200d9ee972303f27" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-01-06 12:45.58 ---> saved as "f0a05daa1c2bc7cee28e5d5c94a1a2b86632247f07460d0114f89c1016219088"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository):
[WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)
2025-01-06 12:46.22 ---> saved as "c647523af76c92e3f0645eb8aba97d4801273ed954df7c851a965315ea1063af"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
[WARNING] Unknown update command for bsd, skipping system update
2025-01-06 12:46.22 ---> saved as "8faad2ea598d1574e7506a6a8afa59d0eb3fe73e6af219449841ef375b1d9f86"
/home/opam: (run (shell "opam pin add -k version -yn starred_ml.0.0.6 0.0.6"))
starred_ml is now pinned to version 0.0.6
2025-01-06 12:46.24 ---> saved as "e09dd00e21dcd5f4e69a7ca50e7347c164077650d76f5664d6241e276097dd9f"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall starred_ml.0.0.6;\
\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\" != 'starred_ml.0.0.6' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
starred_ml.0.0.6 is not installed. Install it? [y/n] y
* No agreement on the version of ocaml:
- (invariant) → ocaml-base-compiler = 4.14.2 → ocaml = 4.14.2
- starred_ml >= 0.0.6 → eio >= 1.2 → ocaml >= 5.1.0
You can temporarily relax the switch invariant with `--update-invariant'
No solution found, exiting
jail: /usr/bin/su -l opam -c cd '/home/opam' && env OPAM_REPO_CI='true' CI='true' OPAMPRECISETRACKING='1' OPAMERRLOGLEN='0' OPAMDOWNLOADJOBS='1' '/usr/bin/env' 'bash' '-c' 'opam reinstall starred_ml.0.0.6;
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" != '\''starred_ml.0.0.6'\'' && partial_fails="$partial_fails $pkg";
done;
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
exit 1': failed
"jail" "-c" "name=obuilder_48244_49945" "mount.fstab=/tmp/obuilder-jail-9915a7/fstab" "mount.devfs" "path=/obuilder/result/c2a79c72f4258fdcfa14ab7c39785b888fb717a753f7b529c2ca05b88c7f81b2/rootfs" "host=inherit" "ip6=inherit" "ip4=inherit" "command=/usr/bin/su" "-l" "opam" "-c" "cd '/home/opam' && env OPAM_REPO_CI='true' CI='true' OPAMPRECISETRACKING='1' OPAMERRLOGLEN='0' OPAMDOWNLOADJOBS='1' '/usr/bin/env' 'bash' '-c' 'opam reinstall starred_ml.0.0.6;
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" != '\''starred_ml.0.0.6'\'' && partial_fails="$partial_fails $pkg";
done;
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
exit 1'" failed with exit status 1
2025-01-06 12:58.50: Job failed: Failed: Build failed
2025-01-06 12:58.50: Log analysis:
2025-01-06 12:58.50: >>>
No solution found, exiting
(score = 100)
2025-01-06 12:58.50: [SKIP] Package not available