Building on eumache
(from ocaml/opam:debian-12)
Unable to find image 'ocaml/opam:debian-12' locally
debian-12: Pulling from ocaml/opam
4cb8b0429960: Already exists
7e0fde4a312f: Already exists
bd5aa16dffaf: Already exists
d3eaabf485cb: Already exists
4731a788ca46: Already exists
1a0e3fbb079f: Already exists
cc0a51588fd0: Already exists
64063bd4ca16: Already exists
Digest: sha256:2c522bba435007ee57603a129ba191bd3a153391f2426add01a61e20a2e406b4
Status: Downloaded newer image for ocaml/opam:debian-12
2025-10-21 04:39.37 ---> using "3551d9ed2d69f19aec1e4e931b1f046c3436a7d1cffba906f040bcef59cc3f6d" 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"))
2025-10-21 04:39.37 ---> using "ee98a3b74cf685b158a24abe5d8f69cc8831775c32f916dac90643d1e3693e5c" 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 5bf570252bd9fee71938b828ca0b86573c1e3355"))
2025-10-21 04:39.37 ---> using "434b1b669376d3b88174e87d32f1bdcd7c0791cd426e88f697a526998f081125" 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.
2025-10-21 04:39.37 ---> using "b8b19d77cfcfbeb85030778b327c4efa12ef84543ed5f1b93d7194796b4e5913" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam switch create --repositories=default '5.3' '5.3.0'"))
<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-base-compiler" {= "5.3.0"}]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.3 (cached)
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> installed ocaml-options-vanilla.1
-> retrieved ocaml-compiler.5.3.0 (cached)
-> installed ocaml-compiler.5.3.0
-> installed ocaml-base-compiler.5.3.0
-> installed ocaml-config.3
-> installed ocaml.5.3.0
-> installed base-domains.base
-> installed base-effects.base
-> installed base-nnp.base
Done.
# To update the current shell environment, run: eval $(opam env --switch=5.3)
2025-10-21 04:39.37 ---> using "6da3ca6194d5a5db68842e27c889714570fe95f2c98eaa9abfe275496e2b8811" from cache
/: (run (network host)
(shell "opam update --depexts"))
+ /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]
- Fetched 103 kB in 0s (450 kB/s)
- Reading package lists...
2025-10-21 04:39.37 ---> using "a69c8e9ff432f290af75f74e1792764185b4154c2732a11ed86f06c5ea280fe0" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam remove -y conf-cuda-config.1\
\nopam install -vy conf-cuda-config.1\
\nres=$?\
\nif [ $res = 31 ]; then\
\n if opam show -f x-ci-accept-failures: conf-cuda-config.1 | grep -q 'debian-12'; 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] conf-cuda-config.1 is not installed.
Nothing to do.
The following actions will be performed:
=== install 1 package
- install conf-cuda-config 1
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/3: [conf-cuda-config: sh]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "sh" "-exc" "\n if [ -z \"$CUDA_PATH\" ]; then\n if [ -d \"/usr/local/cuda\" ]; then\n CUDA_PATH=\"/usr/local/cuda\"\n CUDA_PREINSTALLED=\"true\"\n elif [ -d \"/opt/cuda\" ]; then\n CUDA_PATH=\"/opt/cuda\"\n CUDA_PREINSTALLED=\"true\"\n elif [ -d \"/usr/cuda\" ]; then\n CUDA_PATH=\"/usr/cuda\"\n CUDA_PREINSTALLED=\"true\"\n elif [ \"arch\" = debian ]; then\n CUDA_PATH=\"/opt/cuda\"\n CUDA_PREINSTALLED=\"false\"\n else\n CUDA_PATH=\"/usr/local/cuda\"\n CUDA_PREINSTALLED=\"false\"\n fi\n else\n if [ -d \"$CUDA_PATH\" ]; then\n CUDA_PREINSTALLED=\"true\"\n else\n CUDA_PREINSTALLED=\"false\"\n fi\n fi\n if [ -z \"$WSL_DISTRO_NAME\" ]; then\n IS_WSL=\"false\"\n else\n IS_WSL=\"true\"\n fi\n cat <<EOF > conf-cuda-config.config\nopam-version: \"2.0\"\nvariables {\n cuda_preinstalled: \"$CUDA_PREINSTALLED\"\n cuda_path: \"$CUDA_PATH\"\n is_wsl: \"$IS_WSL\"\n wsl_distro_name: \"$WSL_DISTRO_NAME\"\n}\nEOF\n " (CWD=/home/opam/.opam/5.3/.opam-switch/build/conf-cuda-config.1)
- + [ -z ]
- + [ -d /usr/local/cuda ]
- + [ -d /opt/cuda ]
- + [ -d /usr/cuda ]
- + [ arch = debian ]
- + CUDA_PATH=/usr/local/cuda
- + CUDA_PREINSTALLED=false
- + [ -z ]
- + IS_WSL=false
- + cat
-> compiled conf-cuda-config.1
-> installed conf-cuda-config.1
Done.
<><> conf-cuda-config.1 installed successfully ><><><><><><><><><><><><><><><><>
=> NOTE: assuming CUDA will be installed under /usr/local/cuda
# To update the current shell environment, run: eval $(opam env)
2025-10-21 04:39.41 ---> saved as "23a105ef09ec06375d72cb005deca365c37b8d380d607fd93f193e0038e00270"
Job succeeded