- github
- ocaml
- opam-repository
- d8fbb2
- distributions,opensuse-15.6-ocaml-5.3,libnlopt.2.7.1
(not at the head of any monitored branch or PR)
2025-03-10 08:46.37: New job: build libnlopt.2.7.1, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27538/head (d8fbb239a635515d67f19c0a86446bb677c6f391)
on opensuse-15.6-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/27538/head" && git reset --hard d8fbb239
git fetch origin master
git merge --no-edit da95151acd79a0b76540d95c5b52ea2b2b7f1fe4
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:opensuse-15.6-ocaml-5.3@sha256:7a3e0be623c3e2189e9500c6e983fc9c6f08bdbf7931af004c0c13c85f5ae3ef
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 libnlopt.2.7.1 2.7.1
RUN opam reinstall libnlopt.2.7.1; \
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" != 'libnlopt.2.7.1' && 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-03-10 08:46.37: Using cache hint "ocaml/opam:opensuse-15.6-ocaml-5.3@sha256:7a3e0be623c3e2189e9500c6e983fc9c6f08bdbf7931af004c0c13c85f5ae3ef-libnlopt.2.7.1-d8fbb239a635515d67f19c0a86446bb677c6f391"
2025-03-10 08:46.37: Using OBuilder spec:
((from ocaml/opam:opensuse-15.6-ocaml-5.3@sha256:7a3e0be623c3e2189e9500c6e983fc9c6f08bdbf7931af004c0c13c85f5ae3ef)
(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 libnlopt.2.7.1 2.7.1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall libnlopt.2.7.1;\
\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\" != 'libnlopt.2.7.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-03-10 08:46.37: Waiting for resource in pool OCluster
2025-03-10 08:46.38: Waiting for worker…
2025-03-10 08:46.38: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at da95151acd Merge pull request #27581 from esope/release-ez_dune_describe-0.1
Merge made by the 'ort' strategy.
packages/libnlopt/libnlopt.2.7.1/opam | 36 +++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
create mode 100644 packages/libnlopt/libnlopt.2.7.1/opam
(from ocaml/opam:opensuse-15.6-ocaml-5.3@sha256:7a3e0be623c3e2189e9500c6e983fc9c6f08bdbf7931af004c0c13c85f5ae3ef)
Unable to find image 'ocaml/opam:opensuse-15.6-ocaml-5.3@sha256:7a3e0be623c3e2189e9500c6e983fc9c6f08bdbf7931af004c0c13c85f5ae3ef' locally
docker.io/ocaml/opam@sha256:7a3e0be623c3e2189e9500c6e983fc9c6f08bdbf7931af004c0c13c85f5ae3ef: Pulling from ocaml/opam
4907c0be1f72: Pulling fs layer
4907c0be1f72: Verifying Checksum
4907c0be1f72: Download complete
4907c0be1f72: Pull complete
Digest: sha256:7a3e0be623c3e2189e9500c6e983fc9c6f08bdbf7931af004c0c13c85f5ae3ef
Status: Downloaded newer image for ocaml/opam@sha256:7a3e0be623c3e2189e9500c6e983fc9c6f08bdbf7931af004c0c13c85f5ae3ef
2025-03-10 08:46.46 ---> using "97f6a7891d0df3532e086f61df63515bf754a689b25914b180e70840eafe10b0" 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-03-10 08:46.46 ---> using "04fba85a1d2256a8e61994dd8d63f80f18698f998e90f2fc4a166efddc57b5c1" 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] no changes from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
2025-03-10 08:46.46 ---> using "3741536436c3b4219a70e23e0b89fb08c1152ea825200640584d9ebdc9406f99" 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 (892e12616f8e383e79c0e370c6f17f9d52aa8fa1)
# 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 5.3
# invariant ["ocaml-base-compiler" {>= "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/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.3.0
2025-03-10 08:46.46 ---> using "98c3b8c0f93195ef1b38e936c09806e34b7a3d4e1229ae5ff1592b8251eb08d7" 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-03-10 08:46.46 ---> using "948f4b8ad4cccd40ba41f9aa5cf434cd07758f96859dc4cbaa6f1c458b0d5bc5" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-03-10 08:46.54 ---> saved as "bb24809fd51a3e513ec36b86d7ce3407c677d0193b418ce54df00c8213bd018c"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-03-10 08:47.33 ---> saved as "45a0c4113675cd260925906b5f18b6faf2cdf38304b89a5bd128604f24c0058e"
/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-03-10 08:47.49 ---> saved as "ed81b1ee5bfdeaa18ac5df87427ae095dc7e436cb17b9acf44e60ee78aeb464a"
/home/opam: (run (shell "opam pin add -k version -yn libnlopt.2.7.1 2.7.1"))
libnlopt is now pinned to version 2.7.1
2025-03-10 08:47.50 ---> saved as "11b2b3d31ddd6a00aa66f8442bc5aed970912bcf03eb4703503535e7944fa52b"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall libnlopt.2.7.1;\
\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\" != 'libnlopt.2.7.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
libnlopt.2.7.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 2 packages
- install conf-cmake 1 [required by libnlopt]
- install libnlopt 2.7.1 (pinned)
The following system packages will first need to be installed:
cmake
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run zypper to install them (may need root/sudo access)
2. Display the recommended zypper command and wait while you run it manually (e.g. in another terminal)
3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
4. Abort the installation
[1/2/3/4] 1
+ /usr/bin/sudo "zypper" "--non-interactive" "install" "cmake"
- Loading repository data...
- Reading installed packages...
- Resolving package dependencies...
-
- The following 8 NEW packages are going to be installed:
- cmake cmake-full libarchive13 libjsoncpp19 libopenssl1_1 libpython3_6m1_0 librhash0 python3-base
-
- 8 new packages to install.
-
- Package download size: 24.9 MiB
-
- Package install size change:
- | 89.4 MiB required by packages that will be installed
- 89.4 MiB | - 0 B released by packages that will be removed
-
- Backend: classic_rpmtrans
- Continue? [y/n/v/...? shows all options] (y): y
- Retrieving: libjsoncpp19-1.8.4-1.17.x86_64 (Main Repository) (1/8), 77.1 KiB
- Retrieving: libjsoncpp19-1.8.4-1.17.x86_64.rpm [..done (16.4 KiB/s)]
- Retrieving: librhash0-1.3.5-1.25.x86_64 (Main Repository) (2/8), 84.7 KiB
- Retrieving: librhash0-1.3.5-1.25.x86_64.rpm [..done (30.4 KiB/s)]
- Retrieving: libarchive13-3.7.2-150600.3.9.1.x86_64 (Update repository with updates from SUSE Linux Enterprise 15) (3/8), 340.2 KiB
- Retrieving: libarchive13-3.7.2-150600.3.9.1.x86_64.rpm [..
- done]
- Retrieving: libopenssl1_1-1.1.1w-150600.5.12.2.x86_64 (Update repository with updates from SUSE Linux Enterprise 15) (4/8), 1.4 MiB
- Retrieving: libopenssl1_1-1.1.1w-150600.5.12.2.x86_64.rpm [...done (5.3 MiB/s)]
- Retrieving: python3-base-3.6.15-150300.10.81.1.x86_64 (Update repository with updates from SUSE Linux Enterprise 15) (5/8), 7.8 MiB
- Retrieving: python3-base-3.6.15-150300.10.81.1.x86_64.rpm [......
- done (16.3 MiB/s)]
- Retrieving: libpython3_6m1_0-3.6.15-150300.10.81.1.x86_64 (Update repository with updates from SUSE Linux Enterprise 15) (6/8), 1.2 MiB
- Retrieving: libpython3_6m1_0-3.6.15-150300.10.81.1.x86_64.rpm [...done (6.6 MiB/s)]
- Retrieving: cmake-full-3.28.3-150600.1.2.x86_64 (Main Repository) (7/8), 13.9 MiB
- Retrieving: cmake-full-3.28.3-150600.1.2.x86_64.rpm [.......
- ..done (18.8 MiB/s)]
- Retrieving: cmake-3.28.3-150600.1.1.x86_64 (Main Repository) (8/8), 105.4 KiB
- Retrieving: cmake-3.28.3-150600.1.1.x86_64.rpm [..done]
-
- Checking for file conflicts: [..done]
- (1/8) Installing: libjsoncpp19-1.8.4-1.17.x86_64 [..done]
- (2/8) Installing: librhash0-1.3.5-1.25.x86_64 [..done]
- (3/8) Installing: libarchive13-3.7.2-150600.3.9.1.x86_64 [..done]
- (4/8) Installing: libopenssl1_1-1.1.1w-150600.5.12.2.x86_64 [...done]
- (5/8) Installing: python3-base-3.6.15-150300.10.81.1.x86_64 [..
- .......done]
- (6/8) Installing: libpython3_6m1_0-3.6.15-150300.10.81.1.x86_64 [..done]
- (7/8) Installing: cmake-full-3.28.3-150600.1.2.x86_64 [..
- ..........
- ...done]
- (8/8) Installing: cmake-3.28.3-150600.1.1.x86_64 [..done]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-cmake.1 (https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-cmake/configure.sh)
-> installed conf-cmake.1
-> retrieved libnlopt.2.7.1 (https://github.com/stevengj/nlopt/archive/refs/tags/v2.7.1.tar.gz)
-> installed libnlopt.2.7.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-10 08:48.17 ---> saved as "c542c1f21176e11be82f587b00fa996839fc8a0645f0d3d9b60fa9e7fdf1a3ee"
Job succeeded
2025-03-10 08:48.25: Job succeeded