- github
- ocaml
- opam-repository
- 87ab89
- distributions,opensuse-tumbleweed-ocaml-5.2,liblinear.2.47
(not at the head of any monitored branch or PR)
2024-10-28 10:01.27: New job: build liblinear.2.47, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/26781/head (87ab89c57d368167fc234d78ec4ed1103393d714)
on opensuse-tumbleweed-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/26781/head" && git reset --hard 87ab89c5
git fetch origin master
git merge --no-edit 6383bc5431ca714c10b4e29dbf7eda9572a4ac07
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:opensuse-tumbleweed-ocaml-5.2@sha256:1e9c4977daa1771de95bfd7f94d1ae717a575243c5c8c1e1cac7036443e831a5
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/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 liblinear.2.47 2.47
RUN opam reinstall liblinear.2.47; \
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" != 'liblinear.2.47' && 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-28 10:01.27: Using cache hint "ocaml/opam:opensuse-tumbleweed-ocaml-5.2@sha256:1e9c4977daa1771de95bfd7f94d1ae717a575243c5c8c1e1cac7036443e831a5-liblinear.2.47-87ab89c57d368167fc234d78ec4ed1103393d714"
2024-10-28 10:01.27: Using OBuilder spec:
((from ocaml/opam:opensuse-tumbleweed-ocaml-5.2@sha256:1e9c4977daa1771de95bfd7f94d1ae717a575243c5c8c1e1cac7036443e831a5)
(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 "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 liblinear.2.47 2.47"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall liblinear.2.47;\
\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\" != 'liblinear.2.47' && 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-28 10:01.27: Waiting for resource in pool OCluster
2024-10-28 10:01.28: Waiting for worker…
2024-10-28 10:01.28: Got resource from pool OCluster
Building on x86-bm-c19.sw.ocaml.org
All commits already cached
Updating files: 92% (30102/32537)
Updating files: 93% (30260/32537)
Updating files: 94% (30585/32537)
Updating files: 95% (30911/32537)
Updating files: 96% (31236/32537)
Updating files: 97% (31561/32537)
Updating files: 98% (31887/32537)
Updating files: 99% (32212/32537)
Updating files: 100% (32537/32537)
Updating files: 100% (32537/32537), done.
HEAD is now at 6383bc5431 Merge pull request #26792 from dx3mod/opam-publish-rpmfile-eio.0.5.0
Merge made by the 'ort' strategy.
packages/liblinear/liblinear.2.47/opam | 35 ++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
create mode 100644 packages/liblinear/liblinear.2.47/opam
(from ocaml/opam:opensuse-tumbleweed-ocaml-5.2@sha256:1e9c4977daa1771de95bfd7f94d1ae717a575243c5c8c1e1cac7036443e831a5)
Unable to find image 'ocaml/opam:opensuse-tumbleweed-ocaml-5.2@sha256:1e9c4977daa1771de95bfd7f94d1ae717a575243c5c8c1e1cac7036443e831a5' locally
docker.io/ocaml/opam@sha256:1e9c4977daa1771de95bfd7f94d1ae717a575243c5c8c1e1cac7036443e831a5: Pulling from ocaml/opam
c6711ff73d83: Pulling fs layer
c6711ff73d83: Verifying Checksum
c6711ff73d83: Download complete
c6711ff73d83: Pull complete
Digest: sha256:1e9c4977daa1771de95bfd7f94d1ae717a575243c5c8c1e1cac7036443e831a5
Status: Downloaded newer image for ocaml/opam@sha256:1e9c4977daa1771de95bfd7f94d1ae717a575243c5c8c1e1cac7036443e831a5
2024-10-28 10:03.54 ---> saved as "f3a401b2d3f8bb34190381f1062ee3cf7a5e6b4ddd37cd2146b7f845ea9cb6c3"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-10-28 10:03.55 ---> saved as "ec06241a04e9b782e3609840c0fae94822ecdda2364fe97655f1da815b81f4dc"
/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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-10-28 10:05.24 ---> saved as "1ac37369b5e97d4c9647c0fa7fbc43d13bcb60866a90a5fa8df8a938786c04c7"
/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 5.2.0
2.4.0~alpha1~dev
2024-10-28 10:05.24 ---> saved as "87a50f516b89869932783e3358a4d57e8fb8a89fde0bf75eec05838933438c63"
/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-28 10:05.29 ---> saved as "9d018411f1012e3d24dd7f24254d9b0257cef07a22a1adc38f87f742faad8c60"
/home/opam: (copy (src .) (dst opam-repository/))
2024-10-28 10:05.45 ---> saved as "892934f9f4032927c4b2c1d30985327e077215315b39e9ae3b70ff46c0725dc3"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-10-28 10:07.03 ---> saved as "c2645b063076bbc5f57433807f8fc7e8e5778c32d096378f179475dbfce68a24"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- 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]
- Repository 'openSUSE-Tumbleweed-Update' is up to date.
- All repositories have been refreshed.
2024-10-28 10:07.18 ---> saved as "69a44e6e29ff953e86c88f09d17558eab03633d79275a4ff1977a6a253dc075e"
/home/opam: (run (shell "opam pin add -k version -yn liblinear.2.47 2.47"))
liblinear is now pinned to version 2.47
2024-10-28 10:07.19 ---> saved as "e35888095bfbd26ce6106e54527d64464667c2b437d57c89f6974b2f5936c89e"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall liblinear.2.47;\
\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\" != 'liblinear.2.47' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
liblinear.2.47 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 3 packages
- install conf-g++ 1.0 [required by liblinear]
- install conf-gcc 1.0 [required by liblinear]
- install liblinear 2.47 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved liblinear.2.47 (cached)
-> installed conf-g++.1.0
-> installed conf-gcc.1.0
[ERROR] The compilation of liblinear.2.47 failed at "sh -c make -C liblinear-247".
#=== ERROR while compiling liblinear.2.47 =====================================#
# context 2.4.0~alpha1~dev | linux/x86_64 | ocaml-base-compiler.5.2.0 | pinned(https://github.com/cjlin1/liblinear/archive/refs/tags/v247.tar.gz)
# path ~/.opam/5.2/.opam-switch/build/liblinear.2.47
# command ~/.opam/opam-init/hooks/sandbox.sh build sh -c make -C liblinear-247
# exit-code 2
# env-file ~/.opam/log/liblinear-7-a3bfdd.env
# output-file ~/.opam/log/liblinear-7-a3bfdd.out
### output ###
# make: Entering directory '/home/opam/.opam/5.2/.opam-switch/build/liblinear.2.47'
# make: *** liblinear-247: No such file or directory. Stop.
# make: Leaving directory '/home/opam/.opam/5.2/.opam-switch/build/liblinear.2.47'
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build liblinear 2.47
+-
+- The following changes have been performed
| - install conf-g++ 1.0
| - install conf-gcc 1.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/5.2/.opam-switch/backup/state-20241028100720.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 liblinear.2.47;
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" != 'liblinear.2.47' && 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
2024-10-28 10:07.50: Job failed: Failed: Build failed
2024-10-28 10:07.50: Log analysis:
2024-10-28 10:07.50: >>>
[ERROR] The compilation of liblinear.2.47 failed at "sh -c make -C liblinear-247".
(score = 20)
2024-10-28 10:07.50: The compilation of liblinear.2.47 failed at "sh -c make -C liblinear-247".