- github
- ocaml
- opam-repository
- d8fbb2
- distributions,archlinux-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 archlinux-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:archlinux-ocaml-5.3@sha256:2c3ef0a20d65d3a52f7dd39b0188085f054d5f0cecefe788a8087984a80e2e7b
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 "\"archlinux\""; 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:archlinux-ocaml-5.3@sha256:2c3ef0a20d65d3a52f7dd39b0188085f054d5f0cecefe788a8087984a80e2e7b-libnlopt.2.7.1-d8fbb239a635515d67f19c0a86446bb677c6f391"
2025-03-10 08:46.37: Using OBuilder spec:
((from ocaml/opam:archlinux-ocaml-5.3@sha256:2c3ef0a20d65d3a52f7dd39b0188085f054d5f0cecefe788a8087984a80e2e7b)
(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 \"\\\"archlinux\\\"\"; 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-c5.sw.ocaml.org
All commits already cached
Updating files: 96% (21803/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:archlinux-ocaml-5.3@sha256:2c3ef0a20d65d3a52f7dd39b0188085f054d5f0cecefe788a8087984a80e2e7b)
Unable to find image 'ocaml/opam:archlinux-ocaml-5.3@sha256:2c3ef0a20d65d3a52f7dd39b0188085f054d5f0cecefe788a8087984a80e2e7b' locally
docker.io/ocaml/opam@sha256:2c3ef0a20d65d3a52f7dd39b0188085f054d5f0cecefe788a8087984a80e2e7b: Pulling from ocaml/opam
5dfc23e2271e: Pulling fs layer
5dfc23e2271e: Download complete
5dfc23e2271e: Pull complete
Digest: sha256:2c3ef0a20d65d3a52f7dd39b0188085f054d5f0cecefe788a8087984a80e2e7b
Status: Downloaded newer image for ocaml/opam@sha256:2c3ef0a20d65d3a52f7dd39b0188085f054d5f0cecefe788a8087984a80e2e7b
2025-03-10 08:46.59 ---> using "cd28f7cc5ce517a0d43aff69bfb4e4c9b7ced0f5e85a965a244aa8d24b2ddfeb" 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.59 ---> using "39f82f4745bb01bc6f0e8d391eb29cb3a245cad8b7ef7b3c8a5f703e345cb049" 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
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.59 ---> using "9b482c4b7024ab771566b169dbf1e92b8eebbc163c6b1e454cde4ede031b6000" 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=arch os-version=20250223.0.312761
# 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 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.59 ---> using "23429261000a54b5cd74cc8bd0d68d2d474dd8bf0b07f48895b75c03b853b8b6" 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.59 ---> using "8747f840cc54cc0d092e9b479cb2c9a6ba2e19b5739e10c43c9073a22d62b3b9" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-03-10 08:47.08 ---> saved as "68cd7b4ce6e614e39a4d40ae4900863858d1380011741256f25c20484bb039cb"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-03-10 08:47.49 ---> saved as "1021695a3236787f88635385a107f13c0d703d8dfe4f360e0357ec900d757668"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/sbin/sudo "pacman" "-Sy"
- :: Synchronizing package databases...
- core downloading...
- extra downloading...
2025-03-10 08:47.50 ---> saved as "0f18efb9172ba3b4175904890a45b70054e86edf2e141a5bd0705bfb3626dff4"
/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.51 ---> saved as "845ac6a6f01f0d8c11dd4bf165c17f3a4b3516a90ea07dd3338f4cdacceef863"
/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 \"\\\"archlinux\\\"\"; 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
∗ conf-cmake 1 [required by libnlopt]
∗ 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 pacman to install them (may need root/sudo access)
2. Display the recommended pacman 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/sbin/sudo "pacman" "-Su" "--noconfirm" "cmake"
- :: Starting full system upgrade...
- resolving dependencies...
- looking for conflicting packages...
-
- Package (19) Old Version New Version Net Change Download Size
-
- core/ca-certificates-mozilla 3.108-1 3.109-1 0.00 MiB 0.38 MiB
- core/coreutils 9.6-3 9.6-4 0.00 MiB 2.76 MiB
- extra/cppdap 1.58.0-2 1.55 MiB 0.32 MiB
- core/dbus 1.16.0-1 1.16.2-1 0.00 MiB 0.34 MiB
- core/diffutils 3.11-1 3.11-2 0.00 MiB 0.33 MiB
- core/gawk 5.3.1-1 5.3.1-2 0.00 MiB 1.29 MiB
- core/glib2 2.82.5-1 2.84.0-1 0.29 MiB 4.90 MiB
- extra/hicolor-icon-theme 0.18-1 0.05 MiB 0.01 MiB
- core/hwdata 0.392-1 0.393-1 0.02 MiB 1.62 MiB
- extra/jsoncpp 1.9.6-3 0.77 MiB 0.16 MiB
- core/kmod 34-1 34.1-1 0.00 MiB 0.13 MiB
- core/libnghttp2 1.64.0-1 1.65.0-1 -0.02 MiB 0.09 MiB
- extra/libuv 1.50.0-1 0.61 MiB 0.25 MiB
- extra/perl-error 0.17029-7 0.17030-1 0.00 MiB 0.02 MiB
- extra/rhash 1.4.4-1 0.32 MiB 0.17 MiB
- core/systemd 257.3-1 257.4-1 0.00 MiB 8.80 MiB
- core/systemd-libs 257.3-1 257.4-1 0.00 MiB 1.20 MiB
- core/systemd-sysvcompat 257.3-1 257.4-1 0.00 MiB 0.01 MiB
- extra/cmake 3.31.6-1 76.27 MiB 11.87 MiB
-
- Total Download Size: 34.63 MiB
- Total Installed Size: 186.45 MiB
- Net Upgrade Size: 79.86 MiB
-
- :: Proceed with installation? [Y/n]
- :: Retrieving packages...
- cmake-3.31.6-1-x86_64 downloading...
- systemd-257.4-1-x86_64 downloading...
- glib2-2.84.0-1-x86_64 downloading...
- coreutils-9.6-4-x86_64 downloading...
- hwdata-0.393-1-any downloading...
- gawk-5.3.1-2-x86_64 downloading...
- systemd-libs-257.4-1-x86_64 downloading...
- ca-certificates-mozilla-3.109-1-x86_64 downloading...
- dbus-1.16.2-1-x86_64 downloading...
- diffutils-3.11-2-x86_64 downloading...
- cppdap-1.58.0-2-x86_64 downloading...
- libuv-1.50.0-1-x86_64 downloading...
- rhash-1.4.4-1-x86_64 downloading...
- jsoncpp-1.9.6-3-x86_64 downloading...
- kmod-34.1-1-x86_64 downloading...
- libnghttp2-1.65.0-1-x86_64 downloading...
- perl-error-0.17030-1-any downloading...
- hicolor-icon-theme-0.18-1-any downloading...
- systemd-sysvcompat-257.4-1-x86_64 downloading...
- checking keyring...
- checking package integrity...
- loading package files...
- checking for file conflicts...
- :: Processing package changes...
- installing cppdap...
- installing hicolor-icon-theme...
- installing jsoncpp...
- Optional dependencies for jsoncpp
- jsoncpp-doc: documentation
- installing libuv...
- installing rhash...
- upgrading libnghttp2...
- upgrading systemd-libs...
- upgrading coreutils...
- upgrading ca-certificates-mozilla...
- installing cmake...
- Optional dependencies for cmake
- make: for unix Makefile generator [installed]
- ninja: for ninja generator
- qt6-base: cmake-gui
- upgrading dbus...
- upgrading diffutils...
- upgrading gawk...
- upgrading glib2...
- upgrading hwdata...
- upgrading kmod...
- upgrading perl-error...
- upgrading systemd...
- upgrading systemd-sysvcompat...
- :: Running post-transaction hooks...
- ( 1/13) Creating system user accounts...
- ( 2/13) Updating journal message catalog...
- ( 3/13) Reloading system manager configuration...
- Failed to check for chroot() environment: Permission denied
- Skipped: Current root is not booted.
- ( 4/13) Reloading user manager configuration...
- Failed to check for chroot() environment: Permission denied
- Skipped: Current root is not booted.
- ( 5/13) Updating udev hardware database...
- ( 6/13) Restarting marked services...
- Failed to check for chroot() environment: Permission denied
- Skipped: Current root is not booted.
- ( 7/13) Applying kernel sysctl settings...
- Failed to check for chroot() environment: Permission denied
- Skipped: Current root is not booted.
- ( 8/13) Creating temporary files...
- /usr/lib/tmpfiles.d/journal-nocow.conf:26: Failed to resolve specifier: uninitialized /etc/ detected, skipping.
- All rules containing unresolvable specifiers will be skipped.
- ( 9/13) Reloading device manager configuration...
- Failed to check for chroot() environment: Permission denied
- Skipped: Device manager is not running.
- (10/13) Arming ConditionNeedsUpdate...
- (11/13) Rebuilding certificate stores...
- (12/13) Reloading system bus configuration...
- Failed to check for chroot() environment: Permission denied
- Skipped: Current root is not booted.
- (13/13) Checking for old perl modules...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved conf-cmake.1 (cached)
∗ 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.23 ---> saved as "a04ad1feb79bd6b732f4faba5ae6d622d9827020e4e05c4fc0c96ad300532b4f"
Job succeeded
2025-03-10 08:48.28: Job succeeded