- github
- ocaml
- opam-repository
- d8fbb2
- extras,opam-2.0-ocaml-4.14,libnlopt.2.7.1
(not at the head of any monitored branch or PR)
2025-03-10 08:46.38: New job: build libnlopt.2.7.1, using opam 2.0
from https://github.com/ocaml/opam-repository.git#refs/pull/27538/head (d8fbb239a635515d67f19c0a86446bb677c6f391)
on debian-12-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/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.14@sha256:063c2b32ef761611dbb98f20a0dcb2f06dc59770f34be7739ae58d1639b9418a
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam
RUN opam init --reinit -ni
RUN 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 depext -u || true
RUN opam pin add -k version -yn libnlopt.2.7.1 2.7.1
RUN opam depext libnlopt.2.7.1 && 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.38: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:063c2b32ef761611dbb98f20a0dcb2f06dc59770f34be7739ae58d1639b9418a-libnlopt.2.7.1-d8fbb239a635515d67f19c0a86446bb677c6f391"
2025-03-10 08:46.38: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:063c2b32ef761611dbb98f20a0dcb2f06dc59770f34be7739ae58d1639b9418a)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "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 depext -u || 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 depext libnlopt.2.7.1 && 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.38: Waiting for resource in pool OCluster
2025-03-10 08:46.38: Waiting for worker…
2025-03-10 08:51.58: Got resource from pool OCluster
Building on x86-bm-c7.sw.ocaml.org
All commits already cached
Updating files: 95% (21557/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.14@sha256:063c2b32ef761611dbb98f20a0dcb2f06dc59770f34be7739ae58d1639b9418a)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:063c2b32ef761611dbb98f20a0dcb2f06dc59770f34be7739ae58d1639b9418a' locally
docker.io/ocaml/opam@sha256:063c2b32ef761611dbb98f20a0dcb2f06dc59770f34be7739ae58d1639b9418a: Pulling from ocaml/opam
ac436a6c3d47: Pulling fs layer
ac436a6c3d47: Download complete
ac436a6c3d47: Pull complete
Digest: sha256:063c2b32ef761611dbb98f20a0dcb2f06dc59770f34be7739ae58d1639b9418a
Status: Downloaded newer image for ocaml/opam@sha256:063c2b32ef761611dbb98f20a0dcb2f06dc59770f34be7739ae58d1639b9418a
2025-03-10 08:52.00 ---> using "d2dbd4e2d532e8c62f07aa22d50c50b7ad6c763419419e849ca6f7abbed6a816" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2025-03-10 08:52.00 ---> saved as "e53dbca93340d97f5d9cbc62eb4db848915a0e4115b0b8b56b336a1fb3b37f79"
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.
[WARNING] Recommended dependencies -- most packages rely on these:
- m4
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
default (at file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2025-03-10 08:52.49 ---> saved as "8dd39cef2b93b30a3a10a56ec8b8ae071f2c2c86ccc2881a6034d1569302c116"
/home/opam: (run (shell "opam config report"))
# opam config report
# opam-version 2.0.10 (adc1e1829a2bef5b240746df80341b508290fe3b)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=12
# solver builtin-mccs+glpk
# install-criteria -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria -removed,-count[version-lag,solution],-new
# jobs 39
# repositories 1 (local), 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
2025-03-10 08:53.02 ---> saved as "e8333ac16daf68ef38c9d71648235ffb05c02dae4e4cf51b812b5c1493e1ef05"
/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:53.11 ---> saved as "4f83546062fce41c8c2fcc67830dff6795842f7cc09863e5b7f95011c6186071"
/home/opam: (copy (src .) (dst opam-repository/))
2025-03-10 08:53.16 ---> saved as "fc75a31c873a889a882717bf9fe9d0a071c97904f491b9956b663695d05be924"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2025-03-10 08:53.35 ---> saved as "bc0d2442b996f835a5bd09544ba143c81ae65a6eb5c5771667dba7fb73919089"
/home/opam: (run (network host)
(shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "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 (1304 kB/s)
Reading package lists...
# OS package update successful
2025-03-10 08:53.37 ---> saved as "4c5b5e7045a405951b199114c59fa1881b31f8a239d9b26489cad3e169b524af"
/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:53.39 ---> saved as "fb5bd171144706d97a8563be595abb380c1f430f76ca7679792bc7a9e9d5d9b3"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext libnlopt.2.7.1 && 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"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# The following system packages are needed:
cmake
The following command needs to be run through "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) ...
# OS packages installation successful
libnlopt.2.7.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
- install conf-cmake 1 [required by libnlopt]
- install libnlopt 2.7.1*
===== 2 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[libnlopt.2.7.1] found in cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-cmake.1
-> installed libnlopt.2.7.1
Done.
# Run eval $(opam env) to update the current shell environment
2025-03-10 08:54.11 ---> saved as "f62363258a0c75df0db25fc8173b779f2ac615e38d4aab839e97af1d1b02bf38"
Job succeeded
2025-03-10 08:54.15: Job succeeded