OCamllabs icon Home|Differences with the last checks|Previous runs


Building on odawa.caelum.ci.dev

(from ocaml/opam:debian-unstable)
Unable to find image 'ocaml/opam:debian-unstable' locally
debian-unstable: Pulling from ocaml/opam
Digest: sha256:75da64e0a79592579a874efe1cabf91a3a62bcde64f7b643dd374f1913e5a96b
Status: Downloaded newer image for ocaml/opam:debian-unstable
2026-04-01 09:58.01 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" from cache

/: (user (uid 1000) (gid 1000))

/: (env OPAMPRECISETRACKING 1)

/: (env OPAMUTF8 never)

/: (env OPAMEXTERNALSOLVER builtin-0install)

/: (env OPAMCRITERIA +removed)

/: (env CI true)

/: (env OPAM_HEALTH_CHECK_CI true)

/: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-04-01 09:58.01 ---> using "40df4fa4cdfc68a5fa7a326047e82a7adc5df52b8059d4a7b745bdd50aad56e7" from cache

/: (run (network host)
        (shell "rm -rf ~/opam-repository && git clone -q 'https://github.com/ocaml/opam-repository' ~/opam-repository && git -C ~/opam-repository checkout -q 4b07b3403ca6031c1a5af00d48d6aa90de102e54"))
2026-04-01 09:58.01 ---> using "a1e7bc0c040cc018de885422d43734657f50491b2b6f19af3c166690126816cd" from cache

/: (run (shell "rm -rf ~/.opam && opam init -ya --bare --config ~/.opamrc-sandbox ~/opam-repository"))
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.


<><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised

User configuration:
  ~/.profile is already up-to-date.
2026-04-01 09:58.01 ---> using "534ec631cbc3e509d0d261c9ef2627ba1ac412d1d106d27dbd9c544d0da8e6ab" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "sudo apt update && sudo apt install autoconf -y"))

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Get:1 http://deb.debian.org/debian unstable InRelease [187 kB]
Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2026-04-01-0800.35-F-2026-03-28-0800.33.pdiff [400 kB]
Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2026-04-01-0800.35-F-2026-03-28-0800.33.pdiff [400 kB]
Fetched 650 kB in 1s (480 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
6 packages can be upgraded. Run 'apt list --upgradable' to see them.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
Solving dependencies...
The following packages were automatically installed and are no longer required:
  libproc2-0  procps  psmisc
Use 'sudo apt autoremove' to remove them.

Installing:
  autoconf

Installing dependencies:
  automake  autotools-dev  m4

Suggested packages:
  autoconf-archive  gnu-standards  autoconf-doc  libtool  gettext  m4-doc

Summary:
  Upgrading: 0, Installing: 4, Removing: 0, Not Upgrading: 6
  Download size: 1763 kB
  Space needed: 5356 kB / 143 GB available

Get:1 http://deb.debian.org/debian unstable/main amd64 m4 amd64 1.4.21-1 [332 kB]
Get:2 http://deb.debian.org/debian unstable/main amd64 autoconf all 2.72-6 [494 kB]
Get:3 http://deb.debian.org/debian unstable/main amd64 autotools-dev all 20240727.1 [60.2 kB]
Get:4 http://deb.debian.org/debian unstable/main amd64 automake all 1:1.18.1-4 [877 kB]
Fetched 1763 kB in 0s (25.9 MB/s)
Selecting previously unselected package m4.
(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 ... 22112 files and directories currently installed.)
Preparing to unpack .../archives/m4_1.4.21-1_amd64.deb ...
Unpacking m4 (1.4.21-1) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../autoconf_2.72-6_all.deb ...
Unpacking autoconf (2.72-6) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../autotools-dev_20240727.1_all.deb ...
Unpacking autotools-dev (20240727.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../automake_1%3a1.18.1-4_all.deb ...
Unpacking automake (1:1.18.1-4) ...
Setting up m4 (1.4.21-1) ...
Setting up autotools-dev (20240727.1) ...
Setting up autoconf (2.72-6) ...
Setting up automake (1:1.18.1-4) ...
update-alternatives: using /usr/bin/automake-1.18 to provide /usr/bin/automake (automake) in auto mode
2026-04-01 09:58.01 ---> using "786b4d20d4e41506c48fdee2d643c656a887d3c15a92e52bdded13e6f8057b48" from cache

/: (run (network host)
        (shell "git clone -q 'https://github.com/oxcaml/opam-repository' ~/'oxcaml' && git -C ~/'oxcaml' checkout -q dde24fbc07390ada8c41508871d4741e06069241"))
2026-04-01 09:58.01 ---> using "c89deb80be9cd21e8794570ebf2bcbbe746333327b90fd6e79241d7cdad9a2ab" from cache

/: (run (shell "opam repository add --dont-select 'oxcaml' ~/'oxcaml'"))
[oxcaml] Initialised
2026-04-01 09:58.01 ---> using "464f4736676353abc80160646c5d6159e0eba9cb3f27c4f3410c312bfd0c87ee" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "opam switch create --repositories=oxcaml,default '5.2.0+flambda2' '5.2.0+ox'"))

<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-variants" {= "5.2.0+ox"}]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.3  (cached)
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> installed ocaml-options-vanilla.1
-> installed conf-autoconf.0.2
-> installed conf-which.1
-> retrieved ocaml-variants.5.2.0+ox  (https://github.com/oxcaml/oxcaml/archive/refs/tags/5.2.0minus-25.tar.gz)
-> installed ocaml-variants.5.2.0+ox
-> installed ocaml-config.3
-> installed ocaml.5.2.0
-> installed base-domains.base
-> installed base-nnp.base
Done.
# To update the current shell environment, run: eval $(opam env --switch=5.2.0+flambda2)
2026-04-01 09:58.01 ---> using "270b00d3b80a3bbafc42a02ec313b62116b195465706442a3e2ff51bce951dc5" from cache

/: (run (network host)
        (shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian unstable InRelease
- Reading package lists...
2026-04-01 09:58.01 ---> using "fba65304007c7ca110b3b0b63f07480abc11c92aa5c8c6998f0e41ecbbdba338" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell  "opam remove -y libnlopt.2.7.1\
               \nopam install -vy libnlopt.2.7.1\
               \nres=$?\
               \nif [ $res = 31 ]; then\
               \n    if opam show -f x-ci-accept-failures: libnlopt.2.7.1 | grep -q 'debian-unstable'; then\
               \n        echo \"This package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\"\
               \n        exit 69\
               \n    fi\
               \nfi \
               \n\
               \n\
               \nexit $res"))
[NOTE] libnlopt.2.7.1 is not installed.

Nothing to do.
The following actions will be performed:
=== install 2 packages
  - install conf-cmake 1     [required by libnlopt]
  - install libnlopt   2.7.1

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"
- Selecting previously unselected package libxml2-16: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 ... 22433 files and directories currently installed.)
- Preparing to unpack .../0-libxml2-16_2.15.2+dfsg-0.1_amd64.deb ...
- Unpacking libxml2-16:amd64 (2.15.2+dfsg-0.1) ...
- Selecting previously unselected package libarchive13t64:amd64.
- Preparing to unpack .../1-libarchive13t64_3.8.5-1_amd64.deb ...
- Unpacking libarchive13t64:amd64 (3.8.5-1) ...
- Selecting previously unselected package libjsoncpp26:amd64.
- Preparing to unpack .../2-libjsoncpp26_1.9.6-5_amd64.deb ...
- Unpacking libjsoncpp26:amd64 (1.9.6-5) ...
- Selecting previously unselected package librhash1:amd64.
- Preparing to unpack .../3-librhash1_1.4.6-1.1_amd64.deb ...
- Unpacking librhash1:amd64 (1.4.6-1.1) ...
- Selecting previously unselected package libuv1t64:amd64.
- Preparing to unpack .../4-libuv1t64_1.51.0-2+b1_amd64.deb ...
- Unpacking libuv1t64:amd64 (1.51.0-2+b1) ...
- Selecting previously unselected package cmake.
- Preparing to unpack .../5-cmake_4.3.1-1_amd64.deb ...
- Unpacking cmake (4.3.1-1) ...
- Setting up libxml2-16:amd64 (2.15.2+dfsg-0.1) ...
- Setting up libuv1t64:amd64 (1.51.0-2+b1) ...
- Setting up libjsoncpp26:amd64 (1.9.6-5) ...
- Setting up librhash1:amd64 (1.4.6-1.1) ...
- Setting up libarchive13t64:amd64 (3.8.5-1) ...
- Setting up cmake (4.3.1-1) ...
- Processing triggers for libc-bin (2.42-14) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-cmake.1  (cached)
Processing  2/6: [libnlopt.2.7.1: http]
Processing  3/6: [libnlopt.2.7.1: http] [conf-cmake: sh configure.sh]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "sh" "-ex" "configure.sh" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/conf-cmake.1)
- + command -v cmake3
- + command -v cmake
- /usr/bin/cmake
- + cmake_cmd=cmake
- + echo cmd: "cmake"
-> compiled  conf-cmake.1
Processing  3/6: [libnlopt.2.7.1: http]
-> installed conf-cmake.1
Processing  4/6: [libnlopt.2.7.1: http]
Processing  4/6: [libnlopt.2.7.1: extract]
-> retrieved libnlopt.2.7.1  (https://github.com/stevengj/nlopt/archive/refs/tags/v2.7.1.tar.gz)
Processing  5/6: [libnlopt: mkdir build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "mkdir" "build" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/libnlopt.2.7.1)
Processing  5/6: [libnlopt: sh]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "sh" "-c" "cd build && cmake -Wno-dev -DCMAKE_INSTALL_PREFIX=/home/opam/.opam/5.2.0+flambda2/lib ../" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/libnlopt.2.7.1)
- CMake Error at CMakeLists.txt:15 (cmake_minimum_required):
-   Compatibility with CMake < 3.5 has been removed from CMake.
- 
-   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
-   to tell CMake that the project requires at least <min> but has been updated
-   to work with policies introduced by <max> or earlier.
- 
-   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
- 
- 
- -- Configuring incomplete, errors occurred!
[ERROR] The compilation of libnlopt.2.7.1 failed at "sh -c cd build && cmake -Wno-dev -DCMAKE_INSTALL_PREFIX=/home/opam/.opam/5.2.0+flambda2/lib ../".

#=== ERROR while compiling libnlopt.2.7.1 =====================================#
# context              2.5.0 | linux/x86_64 | ocaml-variants.5.2.0+ox | file:///home/opam/opam-repository
# path                 ~/.opam/5.2.0+flambda2/.opam-switch/build/libnlopt.2.7.1
# command              ~/.opam/opam-init/hooks/sandbox.sh build sh -c cd build && cmake -Wno-dev -DCMAKE_INSTALL_PREFIX=/home/opam/.opam/5.2.0+flambda2/lib ../
# exit-code            1
# env-file             ~/.opam/log/libnlopt-8-6e0d01.env
# output-file          ~/.opam/log/libnlopt-8-6e0d01.out
### output ###
# CMake Error at CMakeLists.txt:15 (cmake_minimum_required):
#   Compatibility with CMake < 3.5 has been removed from CMake.
# 
#   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
#   to tell CMake that the project requires at least <min> but has been updated
#   to work with policies introduced by <max> or earlier.
# 
#   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
# 
# 
# -- Configuring incomplete, errors occurred!



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build libnlopt 2.7.1
+- 
+- The following changes have been performed
| - install conf-cmake 1
+- 
# 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.0+flambda2/.opam-switch/backup/state-20260401095802.export"
'opam install -vy libnlopt.2.7.1' failed.
"/usr/bin/env" "bash" "-c" "opam remove -y libnlopt.2.7.1
opam install -vy libnlopt.2.7.1
res=$?
if [ $res = 31 ]; then
    if opam show -f x-ci-accept-failures: libnlopt.2.7.1 | grep -q 'debian-unstable'; then
        echo "This package failed and has been disabled for CI using the 'x-ci-accept-failures' field."
        exit 69
    fi
fi 


exit $res" failed with exit status 31
Failed: Build failed