- github
- ocaml
- opam-repository
- 45a900
- compilers,4.14,dune-configurator.3.18.1,revdeps,cudajit.0.7.0
(not at the head of any monitored branch or PR)
2025-04-15 16:17.06: New job: test cudajit.0.7.0 with dune-configurator.3.18.1, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/27761/head (45a9003972a4bc10898d8844bef612e0e0029914)
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/27761/head" && git reset --hard 45a90039
git fetch origin master
git merge --no-edit 70b82be6e261da74b766f9bb1344a1ecd5b1909d
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:ec682473bce2c2c47749ae1025968d0b585bdde0fcd2b8e7871a79f983cc1050
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /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 dune-configurator.3.18.1 3.18.1
RUN opam reinstall dune-configurator.3.18.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" != 'dune-configurator.3.18.1' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN opam reinstall cudajit.0.7.0; \
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" != 'cudajit.0.7.0' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN (opam reinstall --with-test cudajit.0.7.0) || true
RUN opam reinstall --with-test --verbose cudajit.0.7.0; \
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" != 'cudajit.0.7.0' && 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-04-15 16:17.06: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:ec682473bce2c2c47749ae1025968d0b585bdde0fcd2b8e7871a79f983cc1050-dune-configurator.3.18.1-cudajit.0.7.0-45a9003972a4bc10898d8844bef612e0e0029914"
2025-04-15 16:17.06: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:ec682473bce2c2c47749ae1025968d0b585bdde0fcd2b8e7871a79f983cc1050)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 dune-configurator.3.18.1 3.18.1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dune-configurator.3.18.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\" != 'dune-configurator.3.18.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall cudajit.0.7.0;\
\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\" != 'cudajit.0.7.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (network host)
(shell "(opam reinstall --with-test cudajit.0.7.0) || true"))
(run (shell "opam reinstall --with-test --verbose cudajit.0.7.0;\
\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\" != 'cudajit.0.7.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-04-15 16:17.06: Waiting for resource in pool OCluster
2025-04-15 21:55.30: Waiting for worker…
2025-04-15 21:58.10: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
Updating files: 87% (19920/22880)
Updating files: 88% (20135/22880)
Updating files: 89% (20364/22880)
Updating files: 90% (20592/22880)
Updating files: 91% (20821/22880)
Updating files: 92% (21050/22880)
Updating files: 93% (21279/22880)
Updating files: 94% (21508/22880)
Updating files: 95% (21736/22880)
Updating files: 96% (21965/22880)
Updating files: 97% (22194/22880)
Updating files: 98% (22423/22880)
Updating files: 99% (22652/22880)
Updating files: 100% (22880/22880)
Updating files: 100% (22880/22880), done.
HEAD is now at 70b82be6e2 Merge pull request #27756 from chetmurthy/release-camlp5-8.03.04
Updating 70b82be6e2..45a9003972
Fast-forward
packages/chrome-trace/chrome-trace.3.18.1/opam | 41 ++++++++++++
.../dune-action-plugin.3.18.1/opam | 54 ++++++++++++++++
.../dune-build-info/dune-build-info.3.18.1/opam | 47 ++++++++++++++
.../dune-configurator.3.18.1/opam | 51 +++++++++++++++
packages/dune-glob/dune-glob.3.18.1/opam | 44 +++++++++++++
.../dune-private-libs.3.18.1/opam | 52 +++++++++++++++
packages/dune-rpc-lwt/dune-rpc-lwt.3.18.1/opam | 43 +++++++++++++
packages/dune-rpc/dune-rpc.3.18.1/opam | 45 +++++++++++++
packages/dune-site/dune-site.3.18.1/opam | 39 ++++++++++++
packages/dune/dune.3.18.1/opam | 73 ++++++++++++++++++++++
packages/dyn/dyn.3.18.1/opam | 42 +++++++++++++
packages/ocamlc-loc/ocamlc-loc.3.18.1/opam | 45 +++++++++++++
packages/ordering/ordering.3.18.1/opam | 40 ++++++++++++
packages/stdune/stdune.3.18.1/opam | 46 ++++++++++++++
packages/xdg/xdg.3.18.1/opam | 41 ++++++++++++
15 files changed, 703 insertions(+)
create mode 100644 packages/chrome-trace/chrome-trace.3.18.1/opam
create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.18.1/opam
create mode 100644 packages/dune-build-info/dune-build-info.3.18.1/opam
create mode 100644 packages/dune-configurator/dune-configurator.3.18.1/opam
create mode 100644 packages/dune-glob/dune-glob.3.18.1/opam
create mode 100644 packages/dune-private-libs/dune-private-libs.3.18.1/opam
create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.18.1/opam
create mode 100644 packages/dune-rpc/dune-rpc.3.18.1/opam
create mode 100644 packages/dune-site/dune-site.3.18.1/opam
create mode 100644 packages/dune/dune.3.18.1/opam
create mode 100644 packages/dyn/dyn.3.18.1/opam
create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.18.1/opam
create mode 100644 packages/ordering/ordering.3.18.1/opam
create mode 100644 packages/stdune/stdune.3.18.1/opam
create mode 100644 packages/xdg/xdg.3.18.1/opam
(from ocaml/opam:debian-12-ocaml-4.14@sha256:ec682473bce2c2c47749ae1025968d0b585bdde0fcd2b8e7871a79f983cc1050)
2025-04-15 21:58.12 ---> using "c803204894feb69882c6f8a93debc38d237226aa0742423bb8ecaf2af7ff192b" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-04-15 21:58.12 ---> using "ece3a69ccd84d1bc3f538d5d927c0677b7135e0ed5c5cf4c9c4520c17f38358a" 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
[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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-04-15 21:58.12 ---> using "d5e769d11ef10526cdb73f418d047f005a7a5b69bb629bfc2d2d388c7c8b8cdf" 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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# 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 255
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
# invariant ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.2
2025-04-15 21:58.12 ---> using "715b54b0301c5ea573dce9ba6774fadf0f93b64dc7a24253bfe6c76c219d7da5" 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-04-15 21:58.12 ---> using "2963a137c235cb1efcbb6bb5c962ec263787dd9c8275045ae610283ae366c13d" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-04-15 21:58.14 ---> using "c09bf3edab97cea63fa144e6f5ecf2869b6fb4925fdd1aac25138a67330f6681" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-04-15 21:58.14 ---> using "1e72cc37196eed0f1745a95595b3baa136f4f1d0128340fbaf2f61ec1938d8f7" from cache
/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 [254 kB]
- Fetched 357 kB in 0s (1063 kB/s)
- Reading package lists...
2025-04-15 21:58.14 ---> using "fe6517cd124df9c409c133b211b90144cf0d720f10758432d957d3f65248f412" from cache
/home/opam: (run (shell "opam pin add -k version -yn dune-configurator.3.18.1 3.18.1"))
dune-configurator is now pinned to version 3.18.1
2025-04-15 21:58.14 ---> using "a8df9e0660d0f90f84499b44ef14d60d58b0c716d72064b8f82219a302c13af6" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dune-configurator.3.18.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\" != 'dune-configurator.3.18.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
dune-configurator.3.18.1 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 3 packages
- install csexp 1.5.2 [required by dune-configurator]
- install dune 3.18.1 [required by dune-configurator]
- install dune-configurator 3.18.1 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2 (cached)
-> retrieved dune.3.18.1, dune-configurator.3.18.1 (cached)
-> installed dune.3.18.1
-> installed csexp.1.5.2
-> installed dune-configurator.3.18.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-15 21:58.14 ---> using "a78086b5bdca7d3054387bd9b97fe4704446fe590527fc2c96cb815b2805cdc8" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall cudajit.0.7.0;\
\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\" != 'cudajit.0.7.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
cudajit.0.7.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 33 packages
- install base v0.16.4 [required by ppx_expect]
- install bigarray-compat 1.1.0 [required by ctypes]
- install conf-cuda 1 [required by cudajit]
- install conf-cuda-config 1 [required by conf-cuda]
- install conf-libffi 2.0.0 [required by ctypes-foreign]
- install conf-pkg-config 4 [required by ctypes-foreign]
- install ctypes 0.23.0 [required by cudajit]
- install ctypes-foreign 0.23.0 [required by cudajit]
- install cudajit 0.7.0
- install integers 0.7.0 [required by ctypes]
- install jane-street-headers v0.16.0 [required by time_now]
- install jst-config v0.16.0 [required by time_now]
- install ocaml-compiler-libs v0.12.4 [required by ppxlib]
- install ppx_assert v0.16.0 [required by jst-config]
- install ppx_base v0.16.0 [required by time_now]
- install ppx_cold v0.16.0 [required by ppx_base]
- install ppx_compare v0.16.0 [required by ppx_base]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppx_enumerate v0.16.0 [required by ppx_base]
- install ppx_expect v0.16.1 [required by cudajit]
- install ppx_globalize v0.16.0 [required by ppx_base]
- install ppx_hash v0.16.0 [required by ppx_base]
- install ppx_here v0.16.0 [required by ppx_expect]
- install ppx_inline_test v0.16.1 [required by ppx_expect]
- install ppx_optcomp v0.16.0 [required by time_now]
- install ppx_sexp_conv v0.16.0 [required by cudajit]
- install ppxlib 0.35.0 [required by ppx_expect]
- install re 1.12.0 [required by ppx_expect]
- install seq base [required by re]
- install sexplib0 v0.16.0 [required by cudajit]
- install stdio v0.16.0 [required by ppx_expect]
- install stdlib-shims 0.3.0 [required by integers]
- install time_now v0.16.0 [required by ppx_inline_test]
The following system packages will first need to be installed:
libffi-dev pkg-config
<><> 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" "libffi-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libffi-dev: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 ... 18747 files and directories currently installed.)
- Preparing to unpack .../libffi-dev_3.4.4-1_amd64.deb ...
- Unpacking libffi-dev:amd64 (3.4.4-1) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Setting up libffi-dev:amd64 (3.4.4-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u10) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.16.4 (cached)
-> retrieved bigarray-compat.1.1.0 (cached)
-> retrieved ctypes.0.23.0, ctypes-foreign.0.23.0 (cached)
-> installed conf-cuda-config.1
-> installed conf-pkg-config.4
-> retrieved cudajit.0.7.0 (cached)
-> retrieved integers.0.7.0 (cached)
-> retrieved jane-street-headers.v0.16.0 (cached)
-> retrieved jst-config.v0.16.0 (cached)
-> installed bigarray-compat.1.1.0
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ppx_assert.v0.16.0 (cached)
-> installed conf-libffi.2.0.0
-> retrieved ppx_base.v0.16.0 (cached)
-> retrieved ppx_cold.v0.16.0 (cached)
-> retrieved ppx_compare.v0.16.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_enumerate.v0.16.0 (cached)
-> retrieved ppx_expect.v0.16.1 (cached)
[ERROR] The compilation of conf-cuda.1 failed at "sh -exc $(ocamlc -config-var c_compiler) -c $CFLAGS -I'/usr/local/cuda/include' test.c".
-> retrieved ppx_globalize.v0.16.0 (cached)
-> retrieved ppx_hash.v0.16.0 (cached)
-> retrieved ppx_here.v0.16.0 (cached)
-> retrieved ppx_inline_test.v0.16.1 (cached)
-> retrieved ppx_optcomp.v0.16.0 (cached)
-> retrieved ppx_sexp_conv.v0.16.0 (cached)
-> installed jane-street-headers.v0.16.0
-> installed ppx_derivers.1.2.1
-> retrieved ppxlib.0.35.0 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdio.v0.16.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved time_now.v0.16.0 (cached)
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.16.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed integers.0.7.0
-> installed re.1.12.0
-> installed base.v0.16.4
-> installed ctypes.0.23.0
-> installed stdio.v0.16.0
-> installed ctypes-foreign.0.23.0
-> installed ppxlib.0.35.0
-> installed ppx_globalize.v0.16.0
-> installed ppx_optcomp.v0.16.0
-> installed ppx_cold.v0.16.0
-> installed ppx_here.v0.16.0
-> installed ppx_enumerate.v0.16.0
-> installed ppx_compare.v0.16.0
-> installed ppx_sexp_conv.v0.16.0
-> installed ppx_hash.v0.16.0
-> installed ppx_assert.v0.16.0
-> installed ppx_base.v0.16.0
-> installed jst-config.v0.16.0
-> installed time_now.v0.16.0
-> installed ppx_inline_test.v0.16.1
-> installed ppx_expect.v0.16.1
#=== ERROR while compiling conf-cuda.1 ========================================#
# context 2.3.0 | linux/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository
# path ~/.opam/4.14/.opam-switch/build/conf-cuda.1
# command ~/.opam/opam-init/hooks/sandbox.sh build sh -exc $(ocamlc -config-var c_compiler) -c $CFLAGS -I'/usr/local/cuda/include' test.c
# exit-code 1
# env-file ~/.opam/log/conf-cuda-7-174caa.env
# output-file ~/.opam/log/conf-cuda-7-174caa.out
### output ###
# + ocamlc -config-var c_compiler
# + gcc -c -I/usr/local/cuda/include test.c
# test.c:1:14: fatal error: cuda.h: No such file or directory
# 1 | #include "cuda.h"
# | ^~~~~~~~
# compilation terminated.
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build conf-cuda 1
+-
+- The following changes have been performed (the rest was aborted)
| - install base v0.16.4
| - install bigarray-compat 1.1.0
| - install conf-cuda-config 1
| - install conf-libffi 2.0.0
| - install conf-pkg-config 4
| - install ctypes 0.23.0
| - install ctypes-foreign 0.23.0
| - install integers 0.7.0
| - install jane-street-headers v0.16.0
| - install jst-config v0.16.0
| - install ocaml-compiler-libs v0.12.4
| - install ppx_assert v0.16.0
| - install ppx_base v0.16.0
| - install ppx_cold v0.16.0
| - install ppx_compare v0.16.0
| - install ppx_derivers 1.2.1
| - install ppx_enumerate v0.16.0
| - install ppx_expect v0.16.1
| - install ppx_globalize v0.16.0
| - install ppx_hash v0.16.0
| - install ppx_here v0.16.0
| - install ppx_inline_test v0.16.1
| - install ppx_optcomp v0.16.0
| - install ppx_sexp_conv v0.16.0
| - install ppxlib 0.35.0
| - install re 1.12.0
| - install seq base
| - install sexplib0 v0.16.0
| - install stdio v0.16.0
| - install stdlib-shims 0.3.0
| - install time_now v0.16.0
+-
<><> conf-cuda-config.1 installed successfully ><><><><><><><><><><><><><><><><>
=> NOTE: assuming CUDA will be installed under /usr/local/cuda
<><> conf-cuda.1 troubleshooting ><><><><><><><><><><><><><><><><><><><><><><><>
=> Execute: $ sudo add-apt-repository multiverse; sudo apt update; sudo apt-get install nvidia-cuda-dev nvidia-cuda-toolkit
=> Alternatively: manually install CUDA or verify that CUDA_PATH is set properly, and re-install opam package conf-cuda-config. We recommend using the latest version of CUDA, at least v12.8. See: https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html
# 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/4.14/.opam-switch/backup/state-20250415215815.export"
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
opam-repo-ci detected dependencies failing: conf-cuda.1
"/usr/bin/env" "bash" "-c" "opam reinstall cudajit.0.7.0;
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" != 'cudajit.0.7.0' && partial_fails="$partial_fails $pkg";
done;
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
exit 1" failed with exit status 1
2025-04-15 21:59.06: Job failed: Failed: Build failed
2025-04-15 21:59.06: Log analysis:
2025-04-15 21:59.06: >>>
[ERROR] The compilation of conf-cuda.1 failed at "sh -exc $(ocamlc -config-var c_compiler) -c $CFLAGS -I'/usr/local/cuda/include' test.c".
(score = 20)
2025-04-15 21:59.06: >>>
opam-repo-ci detected dependencies failing: conf-cuda.1
(score = 75)
2025-04-15 21:59.06: conf-cuda.1 failed to build