package llvm

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

llvm 15.0.7+nnp-2

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.1-1

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

<><> opam-depext.1.2.1-1 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 llvm.15.0.7+nnp-2 stdlib-shims.0.3.0 integers.0.7.0 dune-configurator.3.13.0 dune.3.13.0 ctypes.0.21.1 csexp.1.5.2 conf-llvm.15 conf-bash.1 bigarray-compat.1.1.0" 

You are using opam 2.1+, where external dependency handling has been integrated: consider calling opam directly, the 'depext' plugin interface is provided for backwards compatibility only
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# The following system packages are needed:
libzstd-dev
llvm-15-dev
zlib1g-dev
[NOTE] Package dune is already installed (current version is 3.13.0).
The following actions will be performed:
  - install bigarray-compat   1.1.0
  - install csexp             1.5.2
  - install conf-bash         1
  - install stdlib-shims      0.3.0
  - install dune-configurator 3.13.0
  - install conf-llvm         15
  - install integers          0.7.0
  - install ctypes            0.21.1
  - install llvm              15.0.7+nnp-2
===== 9 to install =====

The following system packages will first need to be installed:
    llvm-15-dev zlib1g-dev

<><> 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" "llvm-15-dev" "zlib1g-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libpipeline1: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 ... 18774 files and directories currently installed.)
- Preparing to unpack .../libpipeline1_1.5.7-1_amd64.deb ...
- Unpacking libpipeline1:amd64 (1.5.7-1) ...
- Selecting previously unselected package binfmt-support.
- Preparing to unpack .../binfmt-support_2.2.2-2_amd64.deb ...
- Unpacking binfmt-support (2.2.2-2) ...
- Selecting previously unselected package libpython3.11-minimal:amd64.
- Preparing to unpack .../libpython3.11-minimal_3.11.2-6_amd64.deb ...
- Unpacking libpython3.11-minimal:amd64 (3.11.2-6) ...
- Selecting previously unselected package python3.11-minimal.
- Preparing to unpack .../python3.11-minimal_3.11.2-6_amd64.deb ...
- Unpacking python3.11-minimal (3.11.2-6) ...
- Setting up libpython3.11-minimal:amd64 (3.11.2-6) ...
- Setting up python3.11-minimal (3.11.2-6) ...
- Selecting previously unselected package python3-minimal.
- (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 ... 19103 files and directories currently installed.)
- Preparing to unpack .../python3-minimal_3.11.2-1+b1_amd64.deb ...
- Unpacking python3-minimal (3.11.2-1+b1) ...
- Selecting previously unselected package media-types.
- Preparing to unpack .../media-types_10.0.0_all.deb ...
- Unpacking media-types (10.0.0) ...
- Selecting previously unselected package libpython3.11-stdlib:amd64.
- Preparing to unpack .../libpython3.11-stdlib_3.11.2-6_amd64.deb ...
- Unpacking libpython3.11-stdlib:amd64 (3.11.2-6) ...
- Selecting previously unselected package python3.11.
- Preparing to unpack .../python3.11_3.11.2-6_amd64.deb ...
- Unpacking python3.11 (3.11.2-6) ...
- Selecting previously unselected package libpython3-stdlib:amd64.
- Preparing to unpack .../libpython3-stdlib_3.11.2-1+b1_amd64.deb ...
- Unpacking libpython3-stdlib:amd64 (3.11.2-1+b1) ...
- Setting up python3-minimal (3.11.2-1+b1) ...
- Selecting previously unselected package python3.
- (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 ... 19513 files and directories currently installed.)
- Preparing to unpack .../00-python3_3.11.2-1+b1_amd64.deb ...
- Unpacking python3 (3.11.2-1+b1) ...
- Selecting previously unselected package libicu72:amd64.
- Preparing to unpack .../01-libicu72_72.1-3_amd64.deb ...
- Unpacking libicu72:amd64 (72.1-3) ...
- Selecting previously unselected package icu-devtools.
- Preparing to unpack .../02-icu-devtools_72.1-3_amd64.deb ...
- Unpacking icu-devtools (72.1-3) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../03-libxml2_2.9.14+dfsg-1.3~deb12u1_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.14+dfsg-1.3~deb12u1) ...
- Selecting previously unselected package libz3-4:amd64.
- Preparing to unpack .../04-libz3-4_4.8.12-3.1_amd64.deb ...
- Unpacking libz3-4:amd64 (4.8.12-3.1) ...
- Selecting previously unselected package libllvm15:amd64.
- Preparing to unpack .../05-libllvm15_1%3a15.0.6-4+b1_amd64.deb ...
- Unpacking libllvm15:amd64 (1:15.0.6-4+b1) ...
- Selecting previously unselected package libclang-cpp15.
- Preparing to unpack .../06-libclang-cpp15_1%3a15.0.6-4+b1_amd64.deb ...
- Unpacking libclang-cpp15 (1:15.0.6-4+b1) ...
- Selecting previously unselected package libnspr4:amd64.
- Preparing to unpack .../07-libnspr4_2%3a4.35-1_amd64.deb ...
- Unpacking libnspr4:amd64 (2:4.35-1) ...
- Selecting previously unselected package libnss3:amd64.
- Preparing to unpack .../08-libnss3_2%3a3.87.1-1_amd64.deb ...
- Unpacking libnss3:amd64 (2:3.87.1-1) ...
- Selecting previously unselected package nss-plugin-pem:amd64.
- Preparing to unpack .../09-nss-plugin-pem_1.0.8+1-1_amd64.deb ...
- Unpacking nss-plugin-pem:amd64 (1.0.8+1-1) ...
- Selecting previously unselected package libcurl3-nss:amd64.
- Preparing to unpack .../10-libcurl3-nss_7.88.1-10+deb12u5_amd64.deb ...
- Unpacking libcurl3-nss:amd64 (7.88.1-10+deb12u5) ...
- Selecting previously unselected package libffi-dev:amd64.
- Preparing to unpack .../11-libffi-dev_3.4.4-1_amd64.deb ...
- Unpacking libffi-dev:amd64 (3.4.4-1) ...
- Selecting previously unselected package libicu-dev:amd64.
- Preparing to unpack .../12-libicu-dev_72.1-3_amd64.deb ...
- Unpacking libicu-dev:amd64 (72.1-3) ...
- Selecting previously unselected package libncurses6:amd64.
- Preparing to unpack .../13-libncurses6_6.4-4_amd64.deb ...
- Unpacking libncurses6:amd64 (6.4-4) ...
- Selecting previously unselected package libncurses-dev:amd64.
- Preparing to unpack .../14-libncurses-dev_6.4-4_amd64.deb ...
- Unpacking libncurses-dev:amd64 (6.4-4) ...
- Selecting previously unselected package libpfm4:amd64.
- Preparing to unpack .../15-libpfm4_4.13.0-1_amd64.deb ...
- Unpacking libpfm4:amd64 (4.13.0-1) ...
- Selecting previously unselected package libtinfo-dev:amd64.
- Preparing to unpack .../16-libtinfo-dev_6.4-4_amd64.deb ...
- Unpacking libtinfo-dev:amd64 (6.4-4) ...
- Selecting previously unselected package libxml2-dev:amd64.
- Preparing to unpack .../17-libxml2-dev_2.9.14+dfsg-1.3~deb12u1_amd64.deb ...
- Unpacking libxml2-dev:amd64 (2.9.14+dfsg-1.3~deb12u1) ...
- Selecting previously unselected package libyaml-0-2:amd64.
- Preparing to unpack .../18-libyaml-0-2_0.2.5-1_amd64.deb ...
- Unpacking libyaml-0-2:amd64 (0.2.5-1) ...
- Selecting previously unselected package libz3-dev:amd64.
- Preparing to unpack .../19-libz3-dev_4.8.12-3.1_amd64.deb ...
- Unpacking libz3-dev:amd64 (4.8.12-3.1) ...
- Selecting previously unselected package llvm-15-runtime.
- Preparing to unpack .../20-llvm-15-runtime_1%3a15.0.6-4+b1_amd64.deb ...
- Unpacking llvm-15-runtime (1:15.0.6-4+b1) ...
- Selecting previously unselected package llvm-15-linker-tools.
- Preparing to unpack .../21-llvm-15-linker-tools_1%3a15.0.6-4+b1_amd64.deb ...
- Unpacking llvm-15-linker-tools (1:15.0.6-4+b1) ...
- Selecting previously unselected package llvm-15.
- Preparing to unpack .../22-llvm-15_1%3a15.0.6-4+b1_amd64.deb ...
- Unpacking llvm-15 (1:15.0.6-4+b1) ...
- Selecting previously unselected package python3-pkg-resources.
- Preparing to unpack .../23-python3-pkg-resources_66.1.1-1_all.deb ...
- Unpacking python3-pkg-resources (66.1.1-1) ...
- Selecting previously unselected package python3-pygments.
- Preparing to unpack .../24-python3-pygments_2.14.0+dfsg-1_all.deb ...
- Unpacking python3-pygments (2.14.0+dfsg-1) ...
- Selecting previously unselected package python3-yaml.
- Preparing to unpack .../25-python3-yaml_6.0-3+b2_amd64.deb ...
- Unpacking python3-yaml (6.0-3+b2) ...
- Selecting previously unselected package llvm-15-tools.
- Preparing to unpack .../26-llvm-15-tools_1%3a15.0.6-4+b1_amd64.deb ...
- Unpacking llvm-15-tools (1:15.0.6-4+b1) ...
- Selecting previously unselected package llvm-15-dev.
- Preparing to unpack .../27-llvm-15-dev_1%3a15.0.6-4+b1_amd64.deb ...
- Unpacking llvm-15-dev (1:15.0.6-4+b1) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../28-zlib1g-dev_1%3a1.2.13.dfsg-1_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
- Setting up media-types (10.0.0) ...
- Setting up libpipeline1:amd64 (1.5.7-1) ...
- Setting up libicu72:amd64 (72.1-3) ...
- Setting up libyaml-0-2:amd64 (0.2.5-1) ...
- Setting up libpython3.11-stdlib:amd64 (3.11.2-6) ...
- Setting up libffi-dev:amd64 (3.4.4-1) ...
- Setting up libz3-4:amd64 (4.8.12-3.1) ...
- Setting up libpfm4:amd64 (4.13.0-1) ...
- Setting up libnspr4:amd64 (2:4.35-1) ...
- Setting up libncurses6:amd64 (6.4-4) ...
- Setting up binfmt-support (2.2.2-2) ...
- invoke-rc.d: could not determine current runlevel
- invoke-rc.d: policy-rc.d denied execution of start.
- Setting up icu-devtools (72.1-3) ...
- Setting up zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
- Setting up libicu-dev:amd64 (72.1-3) ...
- Setting up libxml2:amd64 (2.9.14+dfsg-1.3~deb12u1) ...
- Setting up libpython3-stdlib:amd64 (3.11.2-1+b1) ...
- Setting up libz3-dev:amd64 (4.8.12-3.1) ...
- Setting up python3.11 (3.11.2-6) ...
- Setting up libncurses-dev:amd64 (6.4-4) ...
- Setting up python3 (3.11.2-1+b1) ...
- running python rtupdate hooks for python3.11...
- running python post-rtupdate hooks for python3.11...
- Setting up libnss3:amd64 (2:3.87.1-1) ...
- Setting up libxml2-dev:amd64 (2.9.14+dfsg-1.3~deb12u1) ...
- Setting up libllvm15:amd64 (1:15.0.6-4+b1) ...
- Setting up python3-pkg-resources (66.1.1-1) ...
- Setting up libtinfo-dev:amd64 (6.4-4) ...
- Setting up llvm-15-linker-tools (1:15.0.6-4+b1) ...
- Setting up nss-plugin-pem:amd64 (1.0.8+1-1) ...
- Setting up python3-yaml (6.0-3+b2) ...
- Setting up python3-pygments (2.14.0+dfsg-1) ...
- Setting up libclang-cpp15 (1:15.0.6-4+b1) ...
- Setting up llvm-15-runtime (1:15.0.6-4+b1) ...
- Setting up libcurl3-nss:amd64 (7.88.1-10+deb12u5) ...
- Setting up llvm-15 (1:15.0.6-4+b1) ...
- Setting up llvm-15-tools (1:15.0.6-4+b1) ...
- Setting up llvm-15-dev (1:15.0.6-4+b1) ...
- Processing triggers for libc-bin (2.36-9+deb12u3) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/27:
Processing  2/27:
Processing  3/27:
Processing  4/27:
Processing  5/27:
Processing  6/27: [conf-bash: bash]
-> retrieved bigarray-compat.1.1.0  (cached)
Processing  7/27: [conf-bash: bash]
Processing  8/27: [bigarray-compat: dune build] [conf-bash: bash]
-> retrieved csexp.1.5.2  (cached)
Processing  9/27: [bigarray-compat: dune build] [conf-bash: bash]
Processing 10/27: [bigarray-compat: dune build] [conf-bash: bash] [csexp: dune build]
-> retrieved ctypes.0.21.1  (cached)
Processing 11/27: [bigarray-compat: dune build] [conf-bash: bash] [csexp: dune build]
- GNU bash, version 5.2.15(1)-release (x86_64-pc-linux-gnu)
- Copyright (C) 2022 Free Software Foundation, Inc.
- License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
- 
- This is free software; you are free to change and redistribute it.
- There is NO WARRANTY, to the extent permitted by law.
-> compiled  conf-bash.1
Processing 11/27: [bigarray-compat: dune build] [csexp: dune build]
-> installed conf-bash.1
Processing 12/27: [bigarray-compat: dune build] [csexp: dune build]
Processing 13/27: [bigarray-compat: dune build] [conf-llvm: bash configure.sh] [csexp: dune build]
-> retrieved integers.0.7.0  (cached)
Processing 14/27: [bigarray-compat: dune build] [conf-llvm: bash configure.sh] [csexp: dune build]
-> retrieved llvm.15.0.7+nnp-2  (cached)
- + version=15
- + hash brew
- + shopt -s nullglob
- + for llvm_config in llvm-config-$version llvm-config-${version}.0 llvm-config${version}0 llvm-config-mp-$version llvm-config-mp-${version}.0 llvm${version}-config llvm-config-${version}-32 llvm-config-${version}-64 llvm-config $brew_llvm_config
- ++ llvm-config-15 --version
- + llvm_version=15.0.6
- + case $llvm_version in
- + echo 'config: "llvm-config-15"'
- + echo 'version: "15.0.6"'
- + exit 0
-> compiled  conf-llvm.15
Processing 14/27: [bigarray-compat: dune build] [csexp: dune build]
-> installed conf-llvm.15
Processing 15/27: [bigarray-compat: dune build] [csexp: dune build]
-> retrieved stdlib-shims.0.3.0  (cached)
Processing 16/27: [bigarray-compat: dune build] [csexp: dune build] [stdlib-shims: dune build]
-> compiled  csexp.1.5.2
Processing 16/27: [bigarray-compat: dune build] [stdlib-shims: dune build]
-> installed csexp.1.5.2
Processing 17/27: [bigarray-compat: dune build] [stdlib-shims: dune build]
-> compiled  bigarray-compat.1.1.0
Processing 17/27: [stdlib-shims: dune build]
-> installed bigarray-compat.1.1.0
Processing 18/27: [stdlib-shims: dune build]
-> compiled  stdlib-shims.0.3.0
Processing 18/27:
-> installed stdlib-shims.0.3.0
Processing 19/27:
Processing 20/27: [integers: dune build]
-> retrieved dune-configurator.3.13.0  (cached)
Processing 21/27: [dune-configurator: rm] [integers: dune build]
-> compiled  integers.0.7.0
Processing 21/27: [dune-configurator: rm]
-> installed integers.0.7.0
Processing 22/27: [dune-configurator: rm]
+ /usr/bin/rm "-rf" "vendor/csexp" (CWD=/home/opam/.opam/5.1/.opam-switch/build/dune-configurator.3.13.0)
+ /usr/bin/rm "-rf" "vendor/pp" (CWD=/home/opam/.opam/5.1/.opam-switch/build/dune-configurator.3.13.0)
Processing 22/27: [dune-configurator: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "dune-configurator" "-j" "255" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/dune-configurator.3.13.0)
-> compiled  dune-configurator.3.13.0
-> installed dune-configurator.3.13.0
Processing 24/27: [ctypes: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "ctypes" "-j" "255" "--promote-install-files=false" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/ctypes.0.21.1)
Processing 24/27: [ctypes: dune install]
+ /home/opam/.opam/5.1/bin/dune "install" "-p" "ctypes" "--create-install-files" "ctypes" (CWD=/home/opam/.opam/5.1/.opam-switch/build/ctypes.0.21.1)
-> compiled  ctypes.0.21.1
-> installed ctypes.0.21.1
Processing 26/27: [llvm: ./setup.sh llvm-config-15]
+ /home/opam/.opam/5.1/.opam-switch/build/llvm.15.0.7+nnp-2/./setup.sh "llvm-config-15" (CWD=/home/opam/.opam/5.1/.opam-switch/build/llvm.15.0.7+nnp-2)
- + dirname /home/opam/.opam/5.1/.opam-switch/build/llvm.15.0.7+nnp-2/./setup.sh
- + test /home/opam/.opam/5.1/.opam-switch/build/llvm.15.0.7+nnp-2/. != .
- + echo The script must be executed from its current directory.
- The script must be executed from its current directory.
- + exit 1
[ERROR] The compilation of llvm.15.0.7+nnp-2 failed at "./setup.sh llvm-config-15".

#=== ERROR while compiling llvm.15.0.7+nnp-2 ==================================#
# context              2.1.5 | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///src
# path                 ~/.opam/5.1/.opam-switch/build/llvm.15.0.7+nnp-2
# command              ~/.opam/5.1/.opam-switch/build/llvm.15.0.7+nnp-2/./setup.sh llvm-config-15
# exit-code            1
# env-file             ~/.opam/log/llvm-113-1e910b.env
# output-file          ~/.opam/log/llvm-113-1e910b.out
### output ###
# + dirname /home/opam/.opam/5.1/.opam-switch/build/llvm.15.0.7+nnp-2/./setup.sh
# + test /home/opam/.opam/5.1/.opam-switch/build/llvm.15.0.7+nnp-2/. != .
# + echo The script must be executed from its current directory.
# The script must be executed from its current directory.
# + exit 1



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build llvm 15.0.7+nnp-2
+- 
+- The following changes have been performed
| - install bigarray-compat   1.1.0
| - install conf-bash         1
| - install conf-llvm         15
| - install csexp             1.5.2
| - install ctypes            0.21.1
| - install dune-configurator 3.13.0
| - install integers          0.7.0
| - install stdlib-shims      0.3.0
+- 
# 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-20240129193347.export"
'opam --cli=2.1 install llvm.15.0.7+nnp-2 stdlib-shims.0.3.0 integers.0.7.0 dune-configurator.3.13.0 dune.3.13.0 ctypes.0.21.1 csexp.1.5.2 conf-llvm.15 conf-bash.1 bigarray-compat.1.1.0 --verbose --yes --confirm-level=unsafe-yes' failed.
OCaml

Innovation. Community. Security.