- github
- ocaml
- opam-repository
- 427bb6
- distributions,opensuse-15.6-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-15.6-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-15.6-ocaml-4.14@sha256:66e7ed52710af411e71c0ce6e7c509549dc5b6cd41f37600816900bc3567cb10
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-15.6\""; 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-15.6-ocaml-4.14@sha256:66e7ed52710af411e71c0ce6e7c509549dc5b6cd41f37600816900bc3567cb10-brisk-reconciler.1.0.0~alpha1-427bb6bf853c975cc0e7ff067c8b3df240b9a745"
2025-02-27 18:32.01: Using OBuilder spec:
((from ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:66e7ed52710af411e71c0ce6e7c509549dc5b6cd41f37600816900bc3567cb10)
(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-15.6\\\"\"; 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 asteria.caelum.ci.dev
All commits already cached
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-15.6-ocaml-4.14@sha256:66e7ed52710af411e71c0ce6e7c509549dc5b6cd41f37600816900bc3567cb10)
2025-02-27 18:33.46 ---> using "87f7bc07b20f91c26c029f0f897ab0d4c22b4ce49ab7016da6ba9e3a36938bd4" from cache
/: (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:33.46 ---> using "00d37a87732c686f05cc14896c3099b1884afb20d375bc23346db305e209ed0f" from cache
/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
[NOTE] The 'jobs' option was reset, its value was 71 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=71 --global
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:33.46 ---> using "b2302994f21ca295e429cc6ba80350d96919be909838f217930e3a3cf1b44759" 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.4.0~alpha1~dev (34b7b4ec4af0ebd3c8fc4aee8088471be2ad48c7)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=opensuse-leap os-version=15.6
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 255
# 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:33.46 ---> using "2539a3173408bfad5c6a092a3c386a8dfbfbd72f14174b5da908817b705440de" 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-02-27 18:33.46 ---> using "741c44e5e551be11e1ffc6b56ddf2e730beabe58765134bd62034ebc868b8304" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-02-27 18:33.57 ---> saved as "9e05036f9ce3f71ca77915590b1c04b735a94823aa93db29afd673dd3146c729"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-02-27 18:34.45 ---> saved as "d5c79bc75391b8b1fafa662d5c69d116c25c86ce4549ac72768e66d2de1979ff"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Retrieving repository 'Update repository of openSUSE Backports' metadata [.....
- .........done]
- Building repository 'Update repository of openSUSE Backports' cache [..
- ..done]
- Retrieving repository 'Update repository with updates from SUSE Linux Enterprise 15' metadata [....
- ........
- ..........
- ..........
- ..........
- ..........
- .........
- ..........
- ..........
- .........
- ........done]
- Building repository 'Update repository with updates from SUSE Linux Enterprise 15' cache [..
- ..done]
- Retrieving repository 'Main Update Repository' metadata [.......
- .....done]
- Building repository 'Main Update Repository' cache [....done]
- Repository 'Update Repository (Non-Oss)' is up to date.
- Repository 'Non-OSS Repository' is up to date.
- Repository 'Main Repository' is up to date.
- All repositories have been refreshed.
2025-02-27 18:35.07 ---> saved as "ea8efbafb93c6ea499ed73b0390c6948118f3820b2f233d8f81b5231026cc91c"
/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:35.08 ---> saved as "a4bf00ccda33b3de0be80c3df362f6115add56536a75233124c940798d4f502e"
/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-15.6\\\"\"; 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 (https://github.com/briskml/brisk-reconciler/archive/refs/tags/v1.0.0-alpha1.tar.gz)
-> 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 255 @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 255 @install
# exit-code 1
# env-file ~/.opam/log/brisk-reconciler-7-0b8dab.env
# output-file ~/.opam/log/brisk-reconciler-7-0b8dab.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-20250227183509.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-15.6\""; 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:36.01: Job failed: Failed: Build failed
2025-02-27 18:36.01: Log analysis:
2025-02-27 18:36.01: >>>
[ERROR] The compilation of brisk-reconciler.1.0.0~alpha1 failed at "dune build -p brisk-reconciler -j 255 @install".
(score = 20)
2025-02-27 18:36.01: >>>
# Error: Library "core_unix" not found.
(score = 48)
2025-02-27 18:36.01: Library "core_unix" not found.