- github
- ocaml
- opam-repository
- d8fbb2
- compilers,4.06,libnlopt.2.7.1,lower-bounds
(not at the head of any monitored branch or PR)
2025-03-10 08:46.37: New job: build libnlopt.2.7.1, lower-bounds, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27538/head (d8fbb239a635515d67f19c0a86446bb677c6f391)
on debian-12-ocaml-4.06/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:debian-12-ocaml-4.06@sha256:e071728c39c8bd243394170e66479abb43b8f077c02b25855f586f034478ed8c
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 "\"debian-12\""; 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
ENV OPAMCRITERIA="+removed,+count[version-lag,solution]"
ENV OPAMFIXUPCRITERIA="+removed,+count[version-lag,solution]"
ENV OPAMUPGRADECRITERIA="+removed,+count[version-lag,solution]"
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 "\"debian-12\""; 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:debian-12-ocaml-4.06@sha256:e071728c39c8bd243394170e66479abb43b8f077c02b25855f586f034478ed8c-libnlopt.2.7.1-d8fbb239a635515d67f19c0a86446bb677c6f391"
2025-03-10 08:46.37: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.06@sha256:e071728c39c8bd243394170e66479abb43b8f077c02b25855f586f034478ed8c)
(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 \"\\\"debian-12\\\"\"; 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"))
(env OPAMCRITERIA +removed,+count[version-lag,solution])
(env OPAMFIXUPCRITERIA +removed,+count[version-lag,solution])
(env OPAMUPGRADECRITERIA +removed,+count[version-lag,solution])
(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 \"\\\"debian-12\\\"\"; 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 x86-bm-c4.sw.ocaml.org
All commits already cached
Updating files: 75% (17052/22614)
Updating files: 76% (17187/22614)
Updating files: 77% (17413/22614)
Updating files: 78% (17639/22614)
Updating files: 79% (17866/22614)
Updating files: 80% (18092/22614)
Updating files: 81% (18318/22614)
Updating files: 82% (18544/22614)
Updating files: 83% (18770/22614)
Updating files: 84% (18996/22614)
Updating files: 85% (19222/22614)
Updating files: 86% (19449/22614)
Updating files: 87% (19675/22614)
Updating files: 88% (19901/22614)
Updating files: 89% (20127/22614)
Updating files: 90% (20353/22614)
Updating files: 91% (20579/22614)
Updating files: 92% (20805/22614)
Updating files: 93% (21032/22614)
Updating files: 94% (21258/22614)
Updating files: 95% (21484/22614)
Updating files: 96% (21710/22614)
Updating files: 97% (21936/22614)
Updating files: 98% (22162/22614)
Updating files: 99% (22388/22614)
Updating files: 100% (22614/22614)
Updating files: 100% (22614/22614), done.
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:debian-12-ocaml-4.06@sha256:e071728c39c8bd243394170e66479abb43b8f077c02b25855f586f034478ed8c)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.06@sha256:e071728c39c8bd243394170e66479abb43b8f077c02b25855f586f034478ed8c' locally
docker.io/ocaml/opam@sha256:e071728c39c8bd243394170e66479abb43b8f077c02b25855f586f034478ed8c: Pulling from ocaml/opam
154e7b9dff8e: Pulling fs layer
154e7b9dff8e: Verifying Checksum
154e7b9dff8e: Download complete
154e7b9dff8e: Pull complete
Digest: sha256:e071728c39c8bd243394170e66479abb43b8f077c02b25855f586f034478ed8c
Status: Downloaded newer image for ocaml/opam@sha256:e071728c39c8bd243394170e66479abb43b8f077c02b25855f586f034478ed8c
2025-03-10 08:49.29 ---> saved as "e16235432a393cb8b3650124dbb472a11c33d0e095b9aafcf44c92e09e0d8e1b"
/: (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:49.29 ---> saved as "ce3b325e5e04debedcd0b9db9f28bc94721d04c5fbeed0d1bddd53ee1db96ef1"
/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 39 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=39 --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-03-10 08:50.32 ---> saved as "aeb26ba77cb0d5c5258b30f86fe961994da7f02fc269f65e611173f1947e28c7"
/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=debian os-version=12
# 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.06
# invariant ["ocaml-base-compiler" {= "4.06.1"}]
# compiler-packages ocaml-base-compiler.4.06.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.06/lib/ocaml/stublibs:/home/opam/.opam/4.06/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.06.1
2025-03-10 08:50.33 ---> saved as "9cc31aebf9588c58de0bbcf3ac37b1fb0d577e7b422bff4442c78de68769a380"
/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:50.43 ---> saved as "361c43ef8afd4fa5292cb0d0d908b3b709287cf37610d477137cb4a7029089ee"
/home/opam: (copy (src .) (dst opam-repository/))
2025-03-10 08:50.54 ---> saved as "543d56b1aa187225451289c5e053fc082dc1232e5008f454b6dd107c4cf8765e"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-03-10 08:51.34 ---> saved as "86bcd0a7d22b381d7137e55c8f220d65a423f8f8231f71bc00e13ad3c16ec670"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [246 kB]
- Fetched 349 kB in 0s (1289 kB/s)
- Reading package lists...
2025-03-10 08:51.35 ---> saved as "6731117b1f39c4d21c934264ff2a80fd89c9dba6937bade4a667ee7048923a53"
/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:51.36 ---> saved as "d617db8984cfe0f7023fb8b03fa3d17a427aaac2ce3fae780eee58b12cf85efe"
/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 \"\\\"debian-12\\\"\"; 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 apt-get to install them (may need root/sudo access)
2. Display the recommended apt-get 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 "apt-get" "install" "-qq" "-yy" "cmake"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libicu72:amd64.
- (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18745 files and directories currently installed.)
- Preparing to unpack .../0-libicu72_72.1-3_amd64.deb ...
- Unpacking libicu72:amd64 (72.1-3) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../1-libxml2_2.9.14+dfsg-1.3~deb12u1_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.14+dfsg-1.3~deb12u1) ...
- Selecting previously unselected package libarchive13:amd64.
- Preparing to unpack .../2-libarchive13_3.6.2-1+deb12u2_amd64.deb ...
- Unpacking libarchive13:amd64 (3.6.2-1+deb12u2) ...
- Selecting previously unselected package libjsoncpp25:amd64.
- Preparing to unpack .../3-libjsoncpp25_1.9.5-4_amd64.deb ...
- Unpacking libjsoncpp25:amd64 (1.9.5-4) ...
- Selecting previously unselected package librhash0:amd64.
- Preparing to unpack .../4-librhash0_1.4.3-3_amd64.deb ...
- Unpacking librhash0:amd64 (1.4.3-3) ...
- Selecting previously unselected package libuv1:amd64.
- Preparing to unpack .../5-libuv1_1.44.2-1+deb12u1_amd64.deb ...
- Unpacking libuv1:amd64 (1.44.2-1+deb12u1) ...
- Selecting previously unselected package cmake-data.
- Preparing to unpack .../6-cmake-data_3.25.1-1_all.deb ...
- Unpacking cmake-data (3.25.1-1) ...
- Selecting previously unselected package cmake.
- Preparing to unpack .../7-cmake_3.25.1-1_amd64.deb ...
- Unpacking cmake (3.25.1-1) ...
- Setting up libicu72:amd64 (72.1-3) ...
- Setting up libuv1:amd64 (1.44.2-1+deb12u1) ...
- Setting up libjsoncpp25:amd64 (1.9.5-4) ...
- Setting up librhash0:amd64 (1.4.3-3) ...
- Setting up cmake-data (3.25.1-1) ...
- Setting up libxml2:amd64 (2.9.14+dfsg-1.3~deb12u1) ...
- Setting up libarchive13:amd64 (3.6.2-1+deb12u2) ...
- Setting up cmake (3.25.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u9) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-cmake.1 (cached)
-> retrieved libnlopt.2.7.1 (cached)
-> installed conf-cmake.1
-> installed libnlopt.2.7.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-10 08:52.00 ---> saved as "651512952517504f7549222d5fdd8ef2a9bc45137cba05744f3a02d0d8f72960"
/home/opam: (env OPAMCRITERIA +removed,+count[version-lag,solution])
/home/opam: (env OPAMFIXUPCRITERIA +removed,+count[version-lag,solution])
/home/opam: (env OPAMUPGRADECRITERIA +removed,+count[version-lag,solution])
/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 \"\\\"debian-12\\\"\"; 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"))
The following actions will be performed:
=== recompile 1 package
- recompile libnlopt 2.7.1 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved libnlopt.2.7.1 (cached)
-> removed libnlopt.2.7.1
-> installed libnlopt.2.7.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-10 08:52.27 ---> saved as "ee201ba23aec884f117b914faa4b9d17d0dd90ba9ad8041e68492b25ea596043"
Job succeeded
2025-03-10 08:52.36: Job succeeded