package conf-cuda

  1. Overview
  2. Docs
On This Page
  1. Error log

conf-cuda 1

Error log

The package failed to build. The error log from opam follows.

Opam plugin "depext" may require upgrading/reinstalling. Reinstall the plugin on the current switch? [Y/n] y
The following actions will be performed:
  - recompile opam-depext 1.2.3

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.3  (cached)
-> removed   opam-depext.1.2.3
-> installed opam-depext.1.2.3
Done.

<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# Run eval $(opam env) to update the current shell environment

<><> Carrying on to "opam depext -viy cudajit.0.5.0 time_now.v0.17.0 stdlib-shims.0.3.0 stdio.v0.17.0 sexplib0.v0.17.0 ppxlib_jane.v0.17.0 ppxlib.0.33.1~5.3preview ppx_sexp_conv.v0.17.0 ppx_optcomp.v0.17.0 ppx_inline_test.v0.17.0 ppx_here.v0.17.0 ppx_hash.v0.17.0 ppx_globalize.v0.17.0 ppx_expect.v0.17.0 ppx_enumerate.v0.17.0 ppx_derivers.1.2.1 ppx_compare.v0.17.0 ppx_cold.v0.17.0 ppx_base.v0.17.0 ppx_assert.v0.17.0 ocaml_intrinsics_kernel.v0.17.1 ocaml-compiler-libs.v0.12.4 jst-config.v0.17.0 jane-street-headers.v0.17.0 integers.0.7.0 host-arch-x86_64.1 dune-configurator.3.16.0 dune.3.16.0 ctypes-foreign.0.23.0 ctypes.0.23.0 csexp.1.5.2 conf-pkg-config.3 conf-libffi.2.0.0 conf-cuda-config.1 conf-cuda.1 bigarray-compat.1.1.0 base.v0.17.1" 

Since version 2.1, opam now handles external dependencies alongside OCaml ones, and the `depext` plugin interface is provided for backwards compatibility only. Consider using your usual `opam install` command to install both OCaml and system dependencies, or `opam install <pkg> --depext-only` if you want to only install external dependencies.
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# The following system packages are needed:
libffi-dev
pkg-config
[NOTE] Package dune is already installed (current version is 3.16.0).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
The following actions will be performed:
  - install ppx_derivers            1.2.1
  - install ocaml_intrinsics_kernel v0.17.1
  - install bigarray-compat         1.1.0
  - install sexplib0                v0.17.0
  - install ocaml-compiler-libs     v0.12.4
  - install stdlib-shims            0.3.0
  - install conf-pkg-config         3
  - install jane-street-headers     v0.17.0
  - install csexp                   1.5.2
  - install conf-cuda-config        1
  - install ppxlib                  0.33.1~5.3preview
  - install integers                0.7.0
  - install conf-libffi             2.0.0
  - install dune-configurator       3.16.0
  - install conf-cuda               1
  - install ppxlib_jane             v0.17.0
  - install ctypes                  0.23.0
  - install base                    v0.17.1
  - install ctypes-foreign          0.23.0
  - install stdio                   v0.17.0
  - install ppx_sexp_conv           v0.17.0
  - install ppx_here                v0.17.0
  - install ppx_globalize           v0.17.0
  - install ppx_enumerate           v0.17.0
  - install ppx_compare             v0.17.0
  - install ppx_cold                v0.17.0
  - install ppx_optcomp             v0.17.0
  - install ppx_hash                v0.17.0
  - install ppx_assert              v0.17.0
  - install ppx_base                v0.17.0
  - install jst-config              v0.17.0
  - install time_now                v0.17.0
  - install ppx_inline_test         v0.17.0
  - install ppx_expect              v0.17.0
  - install cudajit                 0.5.0
===== 35 to install =====

The following system packages will first need to be installed:
    libffi-dev pkg-config

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
Let opam run your package manager to install the required system packages?
(answer 'n' for other options) [Y/n] y
+ /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 ... 18776 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+deb12u8) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/105:
Processing  2/105:
Processing  3/105:
Processing  4/105:
Processing  5/105:
Processing  6/105:
Processing  7/105:
Processing  8/105: [conf-cuda-config: sh]
Processing  9/105: [conf-cuda-config: sh] [conf-pkg-config: pkg-config]
-> retrieved base.v0.17.1  (cached)
Processing 10/105: [conf-cuda-config: sh] [conf-pkg-config: pkg-config]
-> retrieved bigarray-compat.1.1.0  (cached)
Processing 11/105: [conf-cuda-config: sh] [conf-pkg-config: pkg-config]
Processing 12/105: [bigarray-compat: dune build] [conf-cuda-config: sh] [conf-pkg-config: pkg-config]
-> retrieved csexp.1.5.2  (cached)
Processing 13/105: [bigarray-compat: dune build] [conf-cuda-config: sh] [conf-pkg-config: pkg-config]
Processing 14/105: [bigarray-compat: dune build] [conf-cuda-config: sh] [conf-pkg-config: pkg-config] [csexp: dune build]
- + [ -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
Processing 14/105: [bigarray-compat: dune build] [conf-pkg-config: pkg-config] [csexp: dune build]
-> installed conf-cuda-config.1
Processing 15/105: [bigarray-compat: dune build] [conf-pkg-config: pkg-config] [csexp: dune build]
Processing 16/105: [bigarray-compat: dune build] [conf-cuda: sh cat <<EOF > test.c
   #include  "cuda.h"
   #include  "nvrtc.h"
   ] [conf-pkg-config: pkg-config] [csexp: dune build]
- usage: pkgconf [OPTIONS] [LIBRARIES]
- 
- basic options:
- 
-   --help                            this message
-   --about                           print pkgconf version and license to stdout
-   --version                         print supported pkg-config version to stdout
-   --atleast-pkgconfig-version       check whether or not pkgconf is compatible
-                                     with a specified pkg-config version
-   --errors-to-stdout                print all errors on stdout instead of stderr
-   --print-errors                    ensure all errors are printed
-   --short-errors                    be less verbose about some errors
-   --silence-errors                  explicitly be silent about errors
-   --list-all                        list all known packages
-   --list-package-names              list all known package names
-   --simulate                        simulate walking the calculated dependency graph
-   --no-cache                        do not cache already seen packages when
-                                     walking the dependency graph
-   --log-file=filename               write an audit log to a specified file
-   --with-path=path                  adds a directory to the search path
-   --define-prefix                   override the prefix variable with one that is guessed based on
-                                     the location of the .pc file
-   --dont-define-prefix              do not override the prefix variable under any circumstances
-   --prefix-variable=varname         sets the name of the variable that pkgconf considers
-                                     to be the package prefix
-   --relocate=path                   relocates a path and exits (mostly for testsuite)
-   --dont-relocate-paths             disables path relocation support
- 
- cross-compilation personality support:
- 
-   --personality=triplet|filename    sets the personality to 'triplet' or a file named 'filename'
-   --dump-personality                dumps details concerning selected personality
- 
- checking specific pkg-config database entries:
- 
-   --atleast-version                 require a specific version of a module
-   --exact-version                   require an exact version of a module
-   --max-version                     require a maximum version of a module
-   --exists                          check whether or not a module exists
-   --uninstalled                     check whether or not an uninstalled module will be used
-   --no-uninstalled                  never use uninstalled modules when satisfying dependencies
-   --no-provides                     do not use 'provides' rules to resolve dependencies
-   --maximum-traverse-depth          maximum allowed depth for dependency graph
-   --static                          be more aggressive when computing dependency graph
-                                     (for static linking)
-   --shared                          use a simplified dependency graph (usually default)
-   --pure                            optimize a static dependency graph as if it were a normal
-                                     dependency graph
-   --env-only                        look only for package entries in PKG_CONFIG_PATH
-   --ignore-conflicts                ignore 'conflicts' rules in modules
-   --validate                        validate specific .pc files for correctness
- 
- querying specific pkg-config database fields:
- 
-   --define-variable=varname=value   define variable 'varname' as 'value'
-   --variable=varname                print specified variable entry to stdout
-   --cflags                          print required CFLAGS to stdout
-   --cflags-only-I                   print required include-dir CFLAGS to stdout
-   --cflags-only-other               print required non-include-dir CFLAGS to stdout
-   --libs                            print required linker flags to stdout
-   --libs-only-L                     print required LDPATH linker flags to stdout
-   --libs-only-l                     print required LIBNAME linker flags to stdout
-   --libs-only-other                 print required other linker flags to stdout
-   --print-requires                  print required dependency frameworks to stdout
-   --print-requires-private          print required dependency frameworks for static
-                                     linking to stdout
-   --print-provides                  print provided dependencies to stdout
-   --print-variables                 print all known variables in module to stdout
-   --digraph                         print entire dependency graph in graphviz 'dot' format
-   --keep-system-cflags              keep -I/usr/include entries in cflags output
-   --keep-system-libs                keep -L/lib:/lib/i386-linux-gnu:/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnux32:/lib32:/libx32:/usr/lib:/usr/lib/i386-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnux32:/usr/lib32:/usr/libx32 entries in libs output
-   --path                            show the exact filenames for any matching .pc files
-   --modversion                      print the specified module's version to stdout
-   --internal-cflags                 do not filter 'internal' cflags from output
- 
- filtering output:
- 
-   --msvc-syntax                     print translatable fragments in MSVC syntax
-   --fragment-filter=types           filter output fragments to the specified types
- 
- report bugs to <https://github.com/pkgconf/pkgconf/issues/new>.
-> compiled  conf-pkg-config.3
Processing 16/105: [bigarray-compat: dune build] [conf-cuda: sh cat <<EOF > test.c
   #include  "cuda.h"
   #include  "nvrtc.h"
   ] [csexp: dune build]
-> installed conf-pkg-config.3
Processing 17/105: [bigarray-compat: dune build] [conf-cuda: sh cat <<EOF > test.c
   #include  "cuda.h"
   #include  "nvrtc.h"
   ] [csexp: dune build]
Processing 18/105: [bigarray-compat: dune build] [conf-cuda: sh cat <<EOF > test.c
   #include  "cuda.h"
   #include  "nvrtc.h"
   ] [conf-libffi: pkg-config libffi] [csexp: dune build]
-> retrieved ctypes.0.23.0  (cached)
Processing 19/105: [bigarray-compat: dune build] [conf-cuda: sh cat <<EOF > test.c
   #include  "cuda.h"
   #include  "nvrtc.h"
   ] [conf-libffi: pkg-config libffi] [csexp: dune build]
-> retrieved ctypes-foreign.0.23.0  (cached)
Processing 20/105: [bigarray-compat: dune build] [conf-cuda: sh cat <<EOF > test.c
   #include  "cuda.h"
   #include  "nvrtc.h"
   ] [conf-libffi: pkg-config libffi] [csexp: dune build]
-> retrieved cudajit.0.5.0  (cached)
Processing 21/105: [bigarray-compat: dune build] [conf-cuda: sh cat <<EOF > test.c
   #include  "cuda.h"
   #include  "nvrtc.h"
   ] [conf-libffi: pkg-config libffi] [csexp: dune build]
- + cat
Processing 21/105: [bigarray-compat: dune build] [conf-cuda: sh] [conf-libffi: pkg-config libffi] [csexp: dune build]
-> compiled  conf-libffi.2.0.0
Processing 21/105: [bigarray-compat: dune build] [conf-cuda: sh] [csexp: dune build]
-> installed conf-libffi.2.0.0
Processing 22/105: [bigarray-compat: dune build] [conf-cuda: sh] [csexp: dune build]
-> retrieved integers.0.7.0  (cached)
Processing 23/105: [bigarray-compat: dune build] [conf-cuda: sh] [csexp: dune build]
-> retrieved jane-street-headers.v0.17.0  (cached)
Processing 24/105: [bigarray-compat: dune build] [conf-cuda: sh] [csexp: dune build]
Processing 25/105: [bigarray-compat: dune build] [conf-cuda: sh] [csexp: dune build] [jane-street-headers: dune build]
- + cc -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] The compilation of conf-cuda.1 failed at "sh -exc cc -c $CFLAGS -I/usr/local/cuda/include test.c".
Processing 25/105: [bigarray-compat: dune build] [csexp: dune build] [jane-street-headers: dune build]
Processing 26/105: [bigarray-compat: dune build] [csexp: dune build] [jane-street-headers: dune build]
-> retrieved jst-config.v0.17.0  (cached)
Processing 27/105: [bigarray-compat: dune build] [csexp: dune build] [jane-street-headers: dune build]
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
Processing 28/105: [bigarray-compat: dune build] [csexp: dune build] [jane-street-headers: dune build]
Processing 29/105: [bigarray-compat: dune build] [csexp: dune build] [jane-street-headers: dune build] [ocaml-compiler-libs: dune build]
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
Processing 30/105: [bigarray-compat: dune build] [csexp: dune build] [jane-street-headers: dune build] [ocaml-compiler-libs: dune build]
Processing 31/105: [bigarray-compat: dune build] [csexp: dune build] [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
-> compiled  csexp.1.5.2
Processing 31/105: [bigarray-compat: dune build] [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
-> installed csexp.1.5.2
Processing 32/105: [bigarray-compat: dune build] [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
-> compiled  bigarray-compat.1.1.0
Processing 32/105: [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
-> installed bigarray-compat.1.1.0
Processing 33/105: [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
-> retrieved ppx_assert.v0.17.0  (cached)
Processing 34/105: [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
-> retrieved ppx_base.v0.17.0  (cached)
Processing 35/105: [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
-> retrieved ppx_cold.v0.17.0  (cached)
Processing 36/105: [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
-> retrieved ppx_compare.v0.17.0  (cached)
Processing 37/105: [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
-> retrieved ppx_derivers.1.2.1  (cached)
Processing 38/105: [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
Processing 39/105: [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [ppx_derivers: dune build]
-> compiled  jane-street-headers.v0.17.0
Processing 39/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [ppx_derivers: dune build]
-> installed jane-street-headers.v0.17.0
Processing 40/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [ppx_derivers: dune build]
-> retrieved ppx_enumerate.v0.17.0  (cached)
Processing 41/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [ppx_derivers: dune build]
-> retrieved ppx_expect.v0.17.0  (cached)
Processing 42/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [ppx_derivers: dune build]
-> retrieved ppx_globalize.v0.17.0  (cached)
Processing 43/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [ppx_derivers: dune build]
-> retrieved ppx_hash.v0.17.0  (cached)
Processing 44/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [ppx_derivers: dune build]
-> retrieved ppx_here.v0.17.0  (cached)
Processing 45/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [ppx_derivers: dune build]
-> retrieved ppx_inline_test.v0.17.0  (cached)
Processing 46/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [ppx_derivers: dune build]
-> retrieved ppx_optcomp.v0.17.0  (cached)
Processing 47/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [ppx_derivers: dune build]
-> retrieved ppx_sexp_conv.v0.17.0  (cached)
Processing 48/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [ppx_derivers: dune build]
-> compiled  ppx_derivers.1.2.1
Processing 48/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
-> installed ppx_derivers.1.2.1
Processing 49/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
-> retrieved ppxlib.0.33.1~5.3preview  (cached)
Processing 50/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
-> retrieved ppxlib_jane.v0.17.0  (cached)
Processing 51/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
-> retrieved sexplib0.v0.17.0  (cached)
Processing 52/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
Processing 53/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [sexplib0: dune build]
-> retrieved stdio.v0.17.0  (cached)
Processing 54/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [sexplib0: dune build]
-> retrieved stdlib-shims.0.3.0  (cached)
Processing 55/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
-> retrieved time_now.v0.17.0  (cached)
-> retrieved dune-configurator.3.16.0  (cached)
Processing 56/105: [dune-configurator: rm] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
-> compiled  ocaml-compiler-libs.v0.12.4
Processing 56/105: [dune-configurator: rm] [ocaml_intrinsics_kernel: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
-> installed ocaml-compiler-libs.v0.12.4
Processing 57/105: [dune-configurator: rm] [ocaml_intrinsics_kernel: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
-> compiled  ocaml_intrinsics_kernel.v0.17.1
Processing 57/105: [dune-configurator: rm] [sexplib0: dune build] [stdlib-shims: dune build]
-> installed ocaml_intrinsics_kernel.v0.17.1
Processing 58/105: [dune-configurator: rm] [sexplib0: dune build] [stdlib-shims: dune build]
-> compiled  sexplib0.v0.17.0
Processing 58/105: [dune-configurator: rm] [stdlib-shims: dune build]
-> installed sexplib0.v0.17.0
Processing 59/105: [dune-configurator: rm] [stdlib-shims: dune build]
-> compiled  stdlib-shims.0.3.0
Processing 59/105: [dune-configurator: rm]
-> installed stdlib-shims.0.3.0
Processing 60/105: [dune-configurator: rm]
Processing 61/105: [dune-configurator: rm] [integers: dune build]
Processing 62/105: [dune-configurator: rm] [integers: dune build] [ppxlib: dune build]
Processing 62/105: [dune-configurator: dune build] [integers: dune build] [ppxlib: dune build]
-> compiled  integers.0.7.0
Processing 62/105: [dune-configurator: dune build] [ppxlib: dune build]
-> installed integers.0.7.0
Processing 63/105: [dune-configurator: dune build] [ppxlib: dune build]
-> compiled  dune-configurator.3.16.0
Processing 63/105: [ppxlib: dune build]
-> installed dune-configurator.3.16.0
Processing 64/105: [ppxlib: dune build]
Processing 65/105: [base: dune build] [ppxlib: dune build]
Processing 66/105: [base: dune build] [ctypes: dune build] [ppxlib: dune build]
Processing 66/105: [base: dune build] [ctypes: dune install] [ppxlib: dune build]
-> compiled  ctypes.0.23.0
Processing 66/105: [base: dune build] [ppxlib: dune build]
-> installed ctypes.0.23.0
Processing 67/105: [base: dune build] [ppxlib: dune build]
Processing 68/105: [base: dune build] [ctypes-foreign: dune build] [ppxlib: dune build]
Processing 68/105: [base: dune build] [ctypes-foreign: dune install] [ppxlib: dune build]
-> compiled  ctypes-foreign.0.23.0
Processing 68/105: [base: dune build] [ppxlib: dune build]
-> installed ctypes-foreign.0.23.0
Processing 69/105: [base: dune build] [ppxlib: dune build]
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I src/.base.objs/byte -I src/.base.objs/native -I /home/opam/.opam/5.1/lib/ocaml_intrinsics_kernel -I /home/opam/.opam/5.1/lib/sexplib0 -I hash_types/src/.base_internalhash_types.objs/byte -I hash_types/src/.base_internalhash_types.objs/native -I shadow-stdlib/src/.shadow_stdlib.objs/byte -I shadow-stdlib/src/.shadow_stdlib.objs/native -intf-suffix .ml -no-alias-deps -open Base__ -o src/.base.objs/native/base__Array.cmx -c -impl src/array.ml)
- File "src/array.ml", line 399, characters 28-75:
- 399 |       result := Bool.select ((keep_left_if [@inlined]) (compare x !result)) x !result
-                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 55 [inlining-impossible]: Cannot inline: Unknown function
-> compiled  base.v0.17.1
Processing 69/105: [ppxlib: dune build]
-> installed base.v0.17.1
Processing 70/105: [ppxlib: dune build]
Processing 71/105: [ppxlib: dune build] [stdio: dune build]
-> compiled  stdio.v0.17.0
Processing 71/105: [ppxlib: dune build]
-> installed stdio.v0.17.0
Processing 72/105: [ppxlib: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "ppxlib" "-j" "39" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/ppxlib.0.33.1~5.3preview)
-> compiled  ppxlib.0.33.1~5.3preview
-> installed ppxlib.0.33.1~5.3preview
Processing 74/105: [ppx_cold: dune build]
Processing 75/105: [ppx_cold: dune build] [ppx_here: dune build]
Processing 76/105: [ppx_cold: dune build] [ppx_here: dune build] [ppx_optcomp: dune build]
Processing 77/105: [ppx_cold: dune build] [ppx_here: dune build] [ppx_optcomp: dune build] [ppxlib_jane: dune build]
-> compiled  ppxlib_jane.v0.17.0
Processing 77/105: [ppx_cold: dune build] [ppx_here: dune build] [ppx_optcomp: dune build]
-> installed ppxlib_jane.v0.17.0
Processing 78/105: [ppx_cold: dune build] [ppx_here: dune build] [ppx_optcomp: dune build]
Processing 79/105: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_here: dune build] [ppx_optcomp: dune build]
Processing 80/105: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_here: dune build] [ppx_optcomp: dune build]
Processing 81/105: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_globalize: dune build] [ppx_here: dune build] [ppx_optcomp: dune build]
Processing 82/105: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_globalize: dune build] [ppx_here: dune build] [ppx_optcomp: dune build] [ppx_sexp_conv: dune build]
-> compiled  ppx_optcomp.v0.17.0
Processing 82/105: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_globalize: dune build] [ppx_here: dune build] [ppx_sexp_conv: dune build]
-> installed ppx_optcomp.v0.17.0
Processing 83/105: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_globalize: dune build] [ppx_here: dune build] [ppx_sexp_conv: dune build]
-> compiled  ppx_here.v0.17.0
Processing 83/105: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_globalize: dune build] [ppx_sexp_conv: dune build]
-> installed ppx_here.v0.17.0
Processing 84/105: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_globalize: dune build] [ppx_sexp_conv: dune build]
-> compiled  ppx_cold.v0.17.0
Processing 84/105: [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_globalize: dune build] [ppx_sexp_conv: dune build]
-> installed ppx_cold.v0.17.0
Processing 85/105: [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_globalize: dune build] [ppx_sexp_conv: dune build]
-> compiled  ppx_enumerate.v0.17.0
Processing 85/105: [ppx_compare: dune build] [ppx_globalize: dune build] [ppx_sexp_conv: dune build]
-> installed ppx_enumerate.v0.17.0
Processing 86/105: [ppx_compare: dune build] [ppx_globalize: dune build] [ppx_sexp_conv: dune build]
-> compiled  ppx_globalize.v0.17.0
Processing 86/105: [ppx_compare: dune build] [ppx_sexp_conv: dune build]
-> installed ppx_globalize.v0.17.0
Processing 87/105: [ppx_compare: dune build] [ppx_sexp_conv: dune build]
-> compiled  ppx_compare.v0.17.0
Processing 87/105: [ppx_sexp_conv: dune build]
-> installed ppx_compare.v0.17.0
Processing 88/105: [ppx_sexp_conv: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "ppx_sexp_conv" "-j" "39" (CWD=/home/opam/.opam/5.1/.opam-switch/build/ppx_sexp_conv.v0.17.0)
-> compiled  ppx_sexp_conv.v0.17.0
-> installed ppx_sexp_conv.v0.17.0
Processing 90/105: [ppx_assert: dune build]
Processing 91/105: [ppx_assert: dune build] [ppx_hash: dune build]
-> compiled  ppx_hash.v0.17.0
Processing 91/105: [ppx_assert: dune build]
-> installed ppx_hash.v0.17.0
Processing 92/105: [ppx_assert: dune build]
Processing 93/105: [ppx_assert: dune build] [ppx_base: dune build]
-> compiled  ppx_assert.v0.17.0
Processing 93/105: [ppx_base: dune build]
-> installed ppx_assert.v0.17.0
Processing 94/105: [ppx_base: dune build]
Processing 95/105: [jst-config: dune build] [ppx_base: dune build]
-> compiled  ppx_base.v0.17.0
Processing 95/105: [jst-config: dune build]
-> installed ppx_base.v0.17.0
Processing 96/105: [jst-config: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "jst-config" "-j" "39" (CWD=/home/opam/.opam/5.1/.opam-switch/build/jst-config.v0.17.0)
-> compiled  jst-config.v0.17.0
-> installed jst-config.v0.17.0
Processing 98/105: [time_now: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "time_now" "-j" "39" (CWD=/home/opam/.opam/5.1/.opam-switch/build/time_now.v0.17.0)
-> compiled  time_now.v0.17.0
-> installed time_now.v0.17.0
Processing 100/105: [ppx_inline_test: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "ppx_inline_test" "-j" "39" (CWD=/home/opam/.opam/5.1/.opam-switch/build/ppx_inline_test.v0.17.0)
-> compiled  ppx_inline_test.v0.17.0
-> installed ppx_inline_test.v0.17.0
Processing 102/105: [ppx_expect: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "ppx_expect" "-j" "39" (CWD=/home/opam/.opam/5.1/.opam-switch/build/ppx_expect.v0.17.0)
-> compiled  ppx_expect.v0.17.0
-> installed ppx_expect.v0.17.0

#=== ERROR while compiling conf-cuda.1 ========================================#
# context              2.1.6 | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///src
# path                 ~/.opam/5.1/.opam-switch/build/conf-cuda.1
# command              /usr/bin/sh -exc cc -c $CFLAGS -I/usr/local/cuda/include test.c
# exit-code            1
# env-file             ~/.opam/log/conf-cuda-113-df9b2d.env
# output-file          ~/.opam/log/conf-cuda-113-df9b2d.out
### output ###
# + cc -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 were aborted
| - install cudajit 0.5.0
+- 
+- The following actions failed
| - build conf-cuda 1
+- 
+- The following changes have been performed (the rest was aborted)
| - install base                    v0.17.1
| - install bigarray-compat         1.1.0
| - install conf-cuda-config        1
| - install conf-libffi             2.0.0
| - install conf-pkg-config         3
| - install csexp                   1.5.2
| - install ctypes                  0.23.0
| - install ctypes-foreign          0.23.0
| - install dune-configurator       3.16.0
| - install integers                0.7.0
| - install jane-street-headers     v0.17.0
| - install jst-config              v0.17.0
| - install ocaml-compiler-libs     v0.12.4
| - install ocaml_intrinsics_kernel v0.17.1
| - install ppx_assert              v0.17.0
| - install ppx_base                v0.17.0
| - install ppx_cold                v0.17.0
| - install ppx_compare             v0.17.0
| - install ppx_derivers            1.2.1
| - install ppx_enumerate           v0.17.0
| - install ppx_expect              v0.17.0
| - install ppx_globalize           v0.17.0
| - install ppx_hash                v0.17.0
| - install ppx_here                v0.17.0
| - install ppx_inline_test         v0.17.0
| - install ppx_optcomp             v0.17.0
| - install ppx_sexp_conv           v0.17.0
| - install ppxlib                  0.33.1~5.3preview
| - install ppxlib_jane             v0.17.0
| - install sexplib0                v0.17.0
| - install stdio                   v0.17.0
| - install stdlib-shims            0.3.0
| - install time_now                v0.17.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. See: https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html
# Run eval $(opam env) to update the current shell environment

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/5.1/.opam-switch/backup/state-20241004192040.export"
'opam --cli=2.1 install cudajit.0.5.0 time_now.v0.17.0 stdlib-shims.0.3.0 stdio.v0.17.0 sexplib0.v0.17.0 ppxlib_jane.v0.17.0 ppxlib.0.33.1~5.3preview ppx_sexp_conv.v0.17.0 ppx_optcomp.v0.17.0 ppx_inline_test.v0.17.0 ppx_here.v0.17.0 ppx_hash.v0.17.0 ppx_globalize.v0.17.0 ppx_expect.v0.17.0 ppx_enumerate.v0.17.0 ppx_derivers.1.2.1 ppx_compare.v0.17.0 ppx_cold.v0.17.0 ppx_base.v0.17.0 ppx_assert.v0.17.0 ocaml_intrinsics_kernel.v0.17.1 ocaml-compiler-libs.v0.12.4 jst-config.v0.17.0 jane-street-headers.v0.17.0 integers.0.7.0 host-arch-x86_64.1 dune-configurator.3.16.0 dune.3.16.0 ctypes-foreign.0.23.0 ctypes.0.23.0 csexp.1.5.2 conf-pkg-config.3 conf-libffi.2.0.0 conf-cuda-config.1 conf-cuda.1 bigarray-compat.1.1.0 base.v0.17.1 --verbose --yes --confirm-level=unsafe-yes' failed.
OCaml

Innovation. Community. Security.