- github
- ocaml
- opam-repository
- a8d0d9
- freebsd,freebsd-14.2-ocaml-5.3-amd64,portmidi.0.4
(not at the head of any monitored branch or PR)
2025-09-17 23:54.04: New job: build portmidi.0.4, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/28531/head (a8d0d9a7b31d8081082c166f58dbb8ef221daea4)
on freebsd-14.2-ocaml-5.3/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/28531/head" && git reset --hard a8d0d9a7
git fetch origin master
git merge --no-edit 151ffce963e54519dd5d1280848f631d38db358e
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-14.2-ocaml-5.3
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 portmidi.0.4 0.4
RUN opam reinstall portmidi.0.4; \
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-14.2\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'portmidi.0.4' && 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-09-17 23:54.04: Using cache hint "freebsd-14.2-ocaml-5.3-portmidi.0.4-a8d0d9a7b31d8081082c166f58dbb8ef221daea4"
2025-09-17 23:54.04: Using OBuilder spec:
((from freebsd-14.2-ocaml-5.3)
(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 portmidi.0.4 0.4"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall portmidi.0.4;\
\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-14.2\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'portmidi.0.4' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-09-17 23:54.04: Waiting for resource in pool OCluster
2025-09-17 23:54.04: Waiting for worker…
2025-09-17 23:54.04: Got resource from pool OCluster
Building on summer
Updating files: 100% (18276/18276), done.
HEAD is now at 1d392fc22f [new release] zanuda (2.0.0)
HEAD is now at 151ffce963 Merge pull request #28412 from andersfugmann/release-ocaml-protoc-plugin-6.2.0
Updating 151ffce963..a8d0d9a7b3
Fast-forward
packages/portmidi/portmidi.0.4/opam | 43 +++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
create mode 100644 packages/portmidi/portmidi.0.4/opam
(from freebsd-14.2-ocaml-5.3)
2025-09-17 23:38.19 ---> using "47c9a03b962be450225081ed69acde1f5c6dadb6d1106d9b1a8b4fd61c2defa6" 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-09-17 23:38.19 ---> using "7b24029fbcc6efb52852a00476d6ae3e1638f22729cc54d8bdcb0cd7c773256d" 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-09-17 23:38.19 ---> using "98698f6d610685a43f9f317cbce75aaee821e3598e864f37e08f8fee78e2763a" 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
# self-upgrade no
# system arch=x86_64 os=freebsd os-distribution=freebsd os-version=1402000
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 15
# repositories 1 (version-controlled)
# pinned 0
# current-switch 5.3.0
# invariant ["ocaml-base-compiler" {= "5.3.0"} | "ocaml-system" {= "5.3.0"}]
# compiler-packages ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.3.0/lib/ocaml/stublibs:/home/opam/.opam/5.3.0/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.3.0
2025-09-17 23:38.19 ---> using "c58d35d332d7ebc8b97d181e9eee29c9134ac91d4e8ed71f571ac7cdb6c6ef03" 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-09-17 23:38.20 ---> using "1d42ce616db407e13ba41bac0993529451b94bca76eb8cf56a6ffd92c99ef48c" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-09-17 23:38.28 ---> saved as "2b57a1501d389b17604f76a4d69004efe5f57371c0720cbd90b5e67318522347"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-09-17 23:38.42 ---> saved as "267cf48e4d18455e7052d75d007064bb21c92e7417070057ec880f2d6b914a12"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
[WARNING] Unknown update command for bsd, skipping system update
2025-09-17 23:38.43 ---> saved as "5376e7e64ccdf8acb17a38ba7ddd08d01a6f8ddf85b0d8b7790fa7f8def3909b"
/home/opam: (run (shell "opam pin add -k version -yn portmidi.0.4 0.4"))
portmidi is now pinned to version 0.4
2025-09-17 23:38.44 ---> saved as "6328d4bdc770c494d91edecdf20ea2fc9ccd9074d6c3d099a0c4ea0a189ff724"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall portmidi.0.4;\
\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-14.2\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'portmidi.0.4' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
portmidi.0.4 is not installed. Install it? [y/n] y
* No agreement on the version of ocaml-base-compiler:
- (invariant) → ocaml-base-compiler = 5.3.0
- portmidi >= 0.4 → core_kernel → ocaml < 4.12.0 → ocaml-base-compiler (<= 3.07+1 | = 3.07+2 | = 3.08.0 | = 3.08.1 | = 3.08.2 | = 3.08.3 | = 3.08.4 | = 3.09.0 | = 3.09.1 | = 3.09.2 | = 3.09.3 | = 3.10.0 | = 3.10.1 | = 3.10.2 | = 3.11.0 | = 3.11.1 | = 3.11.2 | = 3.12.0 | = 3.12.1 | = 4.00.0 | = 4.00.1 | = 4.01.0 | = 4.02.0 | = 4.02.1 | = 4.02.2 | = 4.02.3 | = 4.03.0 | = 4.04.0 | = 4.04.1 | = 4.04.2 | = 4.05.0 | = 4.06.0 | = 4.06.1 | = 4.07.0 | = 4.07.1 | = 4.08.0 | = 4.08.1 | = 4.09.0 | = 4.09.1 | = 4.10.0 | = 4.10.1 | = 4.10.2 | = 4.11.0 | = 4.11.1 | = 4.11.2)
You can temporarily relax the switch invariant with `--update-invariant'
* No agreement on the version of ocaml-base-compiler:
- (invariant) → ocaml-base-compiler = 5.3.0
- portmidi >= 0.4 → core_kernel → typerep < v0.15 → ocaml < 5.3 → ocaml-base-compiler < 5.2.2~
* Incompatible packages:
- (invariant) → ocaml-base-compiler = 5.3.0
- portmidi >= 0.4 → core_kernel → ocaml < 4.12.0 → ocaml-variants
* Missing dependency:
- portmidi >= 0.4 → core_kernel → core >= v0.17 → bin_prot >= v0.17
unmet availability conditions, e.g. 'arch != "x86_32" & os != "freebsd"'
* Missing dependency:
- portmidi >= 0.4 → core_kernel → ocaml < 4.12.0 → ocaml-variants → ocaml-beta
unmet availability conditions: 'enable-ocaml-beta-repository'
* Missing dependency:
- portmidi >= 0.4 → core_kernel → ocaml < 4.12.0 → ocaml-variants → system-msvc
unmet availability conditions: 'os = "win32"'
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 portmidi.0.4;
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-14.2\""; then
echo "A package failed and has been disabled for CI using the '\''x-ci-accept-failures'\'' field.";
fi;
test "$pkg" != '\''portmidi.0.4'\'' && 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_3724_47" "mount.fstab=/tmp/obuilder-jail-9525d7/fstab" "mount.devfs" "path=/obuilder/result/8d19ab585b57512b095bcec4730ec72256d09c01d05eaaca73bd76fd49285bf3/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 portmidi.0.4;
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-14.2\""; then
echo "A package failed and has been disabled for CI using the '\''x-ci-accept-failures'\'' field.";
fi;
test "$pkg" != '\''portmidi.0.4'\'' && 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-09-17 23:54.50: Job failed: Failed: Build failed
2025-09-17 23:54.50: Log analysis:
2025-09-17 23:54.50: >>>
No solution found, exiting
(score = 100)
2025-09-17 23:54.50: [SKIP] Package not available