- github
- ocaml
- opam-repository
- 427bb6
- distributions,opensuse-tumbleweed-ocaml-4.14,brisk-reconciler.1.0.0~alpha1
(not at the head of any monitored branch or PR)
2025-02-27 18:32.01: New job: build brisk-reconciler.1.0.0~alpha1, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27513/head (427bb6bf853c975cc0e7ff067c8b3df240b9a745)
on opensuse-tumbleweed-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/27513/head" && git reset --hard 427bb6bf
git fetch origin master
git merge --no-edit 0cc239352aa24b954c66ef5e9ea0d90ff214183b
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:opensuse-tumbleweed-ocaml-4.14@sha256:1524a4d67ff4922cdd8f3c3660cff87e081586cd624c025bc6824b7ef27fc615
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 brisk-reconciler.1.0.0~alpha1 1.0.0~alpha1
RUN opam reinstall brisk-reconciler.1.0.0~alpha1; \
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 "\"opensuse-tumbleweed\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'brisk-reconciler.1.0.0~alpha1' && 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-02-27 18:32.01: Using cache hint "ocaml/opam:opensuse-tumbleweed-ocaml-4.14@sha256:1524a4d67ff4922cdd8f3c3660cff87e081586cd624c025bc6824b7ef27fc615-brisk-reconciler.1.0.0~alpha1-427bb6bf853c975cc0e7ff067c8b3df240b9a745"
2025-02-27 18:32.01: Using OBuilder spec:
((from ocaml/opam:opensuse-tumbleweed-ocaml-4.14@sha256:1524a4d67ff4922cdd8f3c3660cff87e081586cd624c025bc6824b7ef27fc615)
(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 brisk-reconciler.1.0.0~alpha1 1.0.0~alpha1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall brisk-reconciler.1.0.0~alpha1;\
\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 \"\\\"opensuse-tumbleweed\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'brisk-reconciler.1.0.0~alpha1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-02-27 18:32.01: Waiting for resource in pool OCluster
2025-02-27 18:32.01: Waiting for worker…
2025-02-27 18:33.41: Got resource from pool OCluster
Building on x86-bm-c4.sw.ocaml.org
All commits already cached
Updating files: 86% (19517/22525)
Updating files: 87% (19597/22525)
Updating files: 88% (19822/22525)
Updating files: 89% (20048/22525)
Updating files: 90% (20273/22525)
Updating files: 91% (20498/22525)
Updating files: 92% (20723/22525)
Updating files: 93% (20949/22525)
Updating files: 94% (21174/22525)
Updating files: 95% (21399/22525)
Updating files: 96% (21624/22525)
Updating files: 97% (21850/22525)
Updating files: 98% (22075/22525)
Updating files: 99% (22300/22525)
Updating files: 100% (22525/22525)
Updating files: 100% (22525/22525), done.
HEAD is now at 0cc239352a Merge pull request #27508 from daniel-larraz/opam-publish-kind2.2.3.0
Updating 0cc239352a..427bb6bf85
Fast-forward
.../brisk-reconciler.1.0.0~alpha1/opam | 53 ++++++++++++++++++++++
1 file changed, 53 insertions(+)
create mode 100644 packages/brisk-reconciler/brisk-reconciler.1.0.0~alpha1/opam
(from ocaml/opam:opensuse-tumbleweed-ocaml-4.14@sha256:1524a4d67ff4922cdd8f3c3660cff87e081586cd624c025bc6824b7ef27fc615)
Unable to find image 'ocaml/opam:opensuse-tumbleweed-ocaml-4.14@sha256:1524a4d67ff4922cdd8f3c3660cff87e081586cd624c025bc6824b7ef27fc615' locally
docker.io/ocaml/opam@sha256:1524a4d67ff4922cdd8f3c3660cff87e081586cd624c025bc6824b7ef27fc615: Pulling from ocaml/opam
af1b4b2f54ed: Pulling fs layer
af1b4b2f54ed: Verifying Checksum
af1b4b2f54ed: Download complete
af1b4b2f54ed: Pull complete
Digest: sha256:1524a4d67ff4922cdd8f3c3660cff87e081586cd624c025bc6824b7ef27fc615
Status: Downloaded newer image for ocaml/opam@sha256:1524a4d67ff4922cdd8f3c3660cff87e081586cd624c025bc6824b7ef27fc615
2025-02-27 18:36.06 ---> saved as "fc418d04c8187ad47f875407fb583e84a5da90dc4db3aabe3f0c26203e8aa1e6"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-02-27 18:36.06 ---> saved as "9397fd6fef922890378615743b44316325e2a32c0a1ad53b9d1f548a27b3d036"
/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-02-27 18:37.16 ---> saved as "a867b9a1842f4111bc5b5ae8ebc34b85abed6351bfe2d34bd302e37088f4417b"
/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 (7f62f012239c88b3ce08e800578ca1d88e602f8a)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=opensuse-tumbleweed os-version=20250221
# 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-02-27 18:37.17 ---> saved as "9f16d2b26eb0cd2c5e31b4ba6c45e1bf57bcd6ff6c15994aaa4f11ec8e4b6470"
/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-02-27 18:37.25 ---> saved as "501d33ad26a530d1d42ae64383d33e55ab6518c55458e2fb92661ab937ea1f6d"
/home/opam: (copy (src .) (dst opam-repository/))
2025-02-27 18:37.32 ---> saved as "b4f6910362bec7e26d2ebe2db49132918f28c3c55d66abb0713b15cbc3e7cdbe"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-02-27 18:38.36 ---> saved as "026112a31b0dbffa3bd25a2354f8b6b7e376e05eadc6d260a772b06ba88dfce9"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Repository 'openSUSE-Tumbleweed-Update' is up to date.
- Retrieving repository 'openSUSE-Tumbleweed-Non-Oss' metadata [.....
- ....done]
- Building repository 'openSUSE-Tumbleweed-Non-Oss' cache [....done]
- Retrieving repository 'openSUSE-Tumbleweed-Oss' metadata [........
- .........
- .done]
- Building repository 'openSUSE-Tumbleweed-Oss' cache [..
- ..done]
- All repositories have been refreshed.
2025-02-27 18:38.51 ---> saved as "c92609db349a1b2ee14f9c463b48abd79cd6fc7267fd025180455de3abbaa6ac"
/home/opam: (run (shell "opam pin add -k version -yn brisk-reconciler.1.0.0~alpha1 1.0.0~alpha1"))
brisk-reconciler is now pinned to version 1.0.0~alpha1
2025-02-27 18:38.53 ---> saved as "0f300bcacab018e460b58056d9a29edc73b1ca3da249e7a9bd038b69167c1f3b"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall brisk-reconciler.1.0.0~alpha1;\
\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 \"\\\"opensuse-tumbleweed\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'brisk-reconciler.1.0.0~alpha1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
brisk-reconciler.1.0.0~alpha1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 7 packages
- install brisk-reconciler 1.0.0~alpha1 (pinned)
- install dune 3.17.2 [required by brisk-reconciler]
- install ocaml-compiler-libs v0.12.4 [required by ppxlib]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppxlib 0.35.0 [required by brisk-reconciler]
- install sexplib0 v0.17.0 [required by ppxlib]
- install stdlib-shims 0.3.0 [required by ppxlib]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved brisk-reconciler.1.0.0~alpha1 (cached)
-> retrieved dune.3.17.2 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppxlib.0.35.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> installed dune.3.17.2
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed ppxlib.0.35.0
[ERROR] The compilation of brisk-reconciler.1.0.0~alpha1 failed at "dune build -p brisk-reconciler -j 31 @install".
#=== ERROR while compiling brisk-reconciler.1.0.0~alpha1 ======================#
# context 2.4.0~alpha1~dev | linux/x86_64 | ocaml-base-compiler.4.14.2 | pinned(https://github.com/briskml/brisk-reconciler/archive/refs/tags/v1.0.0-alpha1.tar.gz)
# path ~/.opam/4.14/.opam-switch/build/brisk-reconciler.1.0.0~alpha1
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p brisk-reconciler -j 31 @install
# exit-code 1
# env-file ~/.opam/log/brisk-reconciler-6-fe0c93.env
# output-file ~/.opam/log/brisk-reconciler-6-fe0c93.out
### output ###
# File "bench/dune", line 5, characters 29-38:
# 5 | (libraries core core_bench core_unix brisk-reconciler)
# ^^^^^^^^^
# Error: Library "core_unix" not found.
# -> required by _build/default/bench/benchmark.exe
# -> required by _build/install/default/bin/benchmark
# -> required by _build/default/brisk-reconciler.install
# -> required by alias install
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build brisk-reconciler 1.0.0~alpha1
+-
+- The following changes have been performed
| - install dune 3.17.2
| - install ocaml-compiler-libs v0.12.4
| - install ppx_derivers 1.2.1
| - install ppxlib 0.35.0
| - install sexplib0 v0.17.0
| - install stdlib-shims 0.3.0
+-
# To update the current shell environment, run: eval $(opam env)
The former state can be restored with:
/usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20250227183854.export"
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
"/usr/bin/env" "bash" "-c" "opam reinstall brisk-reconciler.1.0.0~alpha1;
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 "\"opensuse-tumbleweed\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'brisk-reconciler.1.0.0~alpha1' && 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-02-27 18:40.20: Job failed: Failed: Build failed
2025-02-27 18:40.20: Log analysis:
2025-02-27 18:40.20: >>>
[ERROR] The compilation of brisk-reconciler.1.0.0~alpha1 failed at "dune build -p brisk-reconciler -j 31 @install".
(score = 20)
2025-02-27 18:40.20: >>>
# Error: Library "core_unix" not found.
(score = 48)
2025-02-27 18:40.20: Library "core_unix" not found.