package mpi

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

mpi 1.03

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 mpi.1.03 ocamlfind.1.9.6 conf-pkg-config.3 conf-mpi.1" 

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:
mpi-default-dev
pkg-config
[NOTE] Package ocamlfind is already installed (current version is 1.9.6).
The following actions will be performed:
  - install conf-pkg-config 3
  - install conf-mpi        1
  - install mpi             1.03
===== 3 to install =====

The following system packages will first need to be installed:
    mpi-default-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" "mpi-default-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libmagic-mgc.
- (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 .../00-libmagic-mgc_1%3a5.44-3_amd64.deb ...
- Unpacking libmagic-mgc (1:5.44-3) ...
- Selecting previously unselected package libmagic1:amd64.
- Preparing to unpack .../01-libmagic1_1%3a5.44-3_amd64.deb ...
- Unpacking libmagic1:amd64 (1:5.44-3) ...
- Selecting previously unselected package file.
- Preparing to unpack .../02-file_1%3a5.44-3_amd64.deb ...
- Unpacking file (1:5.44-3) ...
- Selecting previously unselected package m4.
- Preparing to unpack .../03-m4_1.4.19-3_amd64.deb ...
- Unpacking m4 (1.4.19-3) ...
- Selecting previously unselected package autoconf.
- Preparing to unpack .../04-autoconf_2.71-3_all.deb ...
- Unpacking autoconf (2.71-3) ...
- Selecting previously unselected package autotools-dev.
- Preparing to unpack .../05-autotools-dev_20220109.1_all.deb ...
- Unpacking autotools-dev (20220109.1) ...
- Selecting previously unselected package automake.
- Preparing to unpack .../06-automake_1%3a1.16.5-1.3_all.deb ...
- Unpacking automake (1:1.16.5-1.3) ...
- Selecting previously unselected package libgfortran5:amd64.
- Preparing to unpack .../07-libgfortran5_12.2.0-14_amd64.deb ...
- Unpacking libgfortran5:amd64 (12.2.0-14) ...
- Selecting previously unselected package libgfortran-12-dev:amd64.
- Preparing to unpack .../08-libgfortran-12-dev_12.2.0-14_amd64.deb ...
- Unpacking libgfortran-12-dev:amd64 (12.2.0-14) ...
- Selecting previously unselected package gfortran-12.
- Preparing to unpack .../09-gfortran-12_12.2.0-14_amd64.deb ...
- Unpacking gfortran-12 (12.2.0-14) ...
- Selecting previously unselected package gfortran.
- Preparing to unpack .../10-gfortran_4%3a12.2.0-3_amd64.deb ...
- Unpacking gfortran (4:12.2.0-3) ...
- Selecting previously unselected package libnl-3-200:amd64.
- Preparing to unpack .../11-libnl-3-200_3.7.0-0.2+b1_amd64.deb ...
- Unpacking libnl-3-200:amd64 (3.7.0-0.2+b1) ...
- Selecting previously unselected package libnl-route-3-200:amd64.
- Preparing to unpack .../12-libnl-route-3-200_3.7.0-0.2+b1_amd64.deb ...
- Unpacking libnl-route-3-200:amd64 (3.7.0-0.2+b1) ...
- Selecting previously unselected package libibverbs1:amd64.
- Preparing to unpack .../13-libibverbs1_44.0-2_amd64.deb ...
- Unpacking libibverbs1:amd64 (44.0-2) ...
- Selecting previously unselected package ibverbs-providers:amd64.
- Preparing to unpack .../14-ibverbs-providers_44.0-2_amd64.deb ...
- Unpacking ibverbs-providers:amd64 (44.0-2) ...
- Selecting previously unselected package javascript-common.
- Preparing to unpack .../15-javascript-common_11+nmu1_all.deb ...
- Unpacking javascript-common (11+nmu1) ...
- Selecting previously unselected package libevent-core-2.1-7:amd64.
- Preparing to unpack .../16-libevent-core-2.1-7_2.1.12-stable-8_amd64.deb ...
- Unpacking libevent-core-2.1-7:amd64 (2.1.12-stable-8) ...
- Selecting previously unselected package libevent-pthreads-2.1-7:amd64.
- Preparing to unpack .../17-libevent-pthreads-2.1-7_2.1.12-stable-8_amd64.deb ...
- Unpacking libevent-pthreads-2.1-7:amd64 (2.1.12-stable-8) ...
- Selecting previously unselected package libpsm-infinipath1.
- Preparing to unpack .../18-libpsm-infinipath1_3.3+20.604758e7-6.2_amd64.deb ...
- Unpacking libpsm-infinipath1 (3.3+20.604758e7-6.2) ...
- Selecting previously unselected package libpsm2-2.
- Preparing to unpack .../19-libpsm2-2_11.2.185-2_amd64.deb ...
- Unpacking libpsm2-2 (11.2.185-2) ...
- Selecting previously unselected package librdmacm1:amd64.
- Preparing to unpack .../20-librdmacm1_44.0-2_amd64.deb ...
- Unpacking librdmacm1:amd64 (44.0-2) ...
- Selecting previously unselected package libfabric1:amd64.
- Preparing to unpack .../21-libfabric1_1.17.0-3_amd64.deb ...
- Unpacking libfabric1:amd64 (1.17.0-3) ...
- Selecting previously unselected package libhwloc15:amd64.
- Preparing to unpack .../22-libhwloc15_2.9.0-1_amd64.deb ...
- Unpacking libhwloc15:amd64 (2.9.0-1) ...
- Selecting previously unselected package libmunge2.
- Preparing to unpack .../23-libmunge2_0.5.15-2_amd64.deb ...
- Unpacking libmunge2 (0.5.15-2) ...
- Selecting previously unselected package libpciaccess0:amd64.
- Preparing to unpack .../24-libpciaccess0_0.17-2_amd64.deb ...
- Unpacking libpciaccess0:amd64 (0.17-2) ...
- Selecting previously unselected package libicu72:amd64.
- Preparing to unpack .../25-libicu72_72.1-3_amd64.deb ...
- Unpacking libicu72:amd64 (72.1-3) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../26-libxml2_2.9.14+dfsg-1.3~deb12u1_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.14+dfsg-1.3~deb12u1) ...
- Selecting previously unselected package libxnvctrl0:amd64.
- Preparing to unpack .../27-libxnvctrl0_525.85.05-3~deb12u1_amd64.deb ...
- Unpacking libxnvctrl0:amd64 (525.85.05-3~deb12u1) ...
- Selecting previously unselected package ocl-icd-libopencl1:amd64.
- Preparing to unpack .../28-ocl-icd-libopencl1_2.3.1-1_amd64.deb ...
- Unpacking ocl-icd-libopencl1:amd64 (2.3.1-1) ...
- Selecting previously unselected package libhwloc-plugins:amd64.
- Preparing to unpack .../29-libhwloc-plugins_2.9.0-1_amd64.deb ...
- Unpacking libhwloc-plugins:amd64 (2.9.0-1) ...
- Selecting previously unselected package libpmix2:amd64.
- Preparing to unpack .../30-libpmix2_4.2.2-1+deb12u1_amd64.deb ...
- Unpacking libpmix2:amd64 (4.2.2-1+deb12u1) ...
- Selecting previously unselected package libucx0:amd64.
- Preparing to unpack .../31-libucx0_1.13.1-1_amd64.deb ...
- Unpacking libucx0:amd64 (1.13.1-1) ...
- Selecting previously unselected package libopenmpi3:amd64.
- Preparing to unpack .../32-libopenmpi3_4.1.4-3+b1_amd64.deb ...
- Unpacking libopenmpi3:amd64 (4.1.4-3+b1) ...
- Selecting previously unselected package libcaf-openmpi-3:amd64.
- Preparing to unpack .../33-libcaf-openmpi-3_2.10.1-1+b1_amd64.deb ...
- Unpacking libcaf-openmpi-3:amd64 (2.10.1-1+b1) ...
- Selecting previously unselected package libcoarrays-dev:amd64.
- Preparing to unpack .../34-libcoarrays-dev_2.10.1-1+b1_amd64.deb ...
- Unpacking libcoarrays-dev:amd64 (2.10.1-1+b1) ...
- Selecting previously unselected package openmpi-common.
- Preparing to unpack .../35-openmpi-common_4.1.4-3_all.deb ...
- Unpacking openmpi-common (4.1.4-3) ...
- Selecting previously unselected package openmpi-bin.
- Preparing to unpack .../36-openmpi-bin_4.1.4-3+b1_amd64.deb ...
- Unpacking openmpi-bin (4.1.4-3+b1) ...
- Selecting previously unselected package libcoarrays-openmpi-dev:amd64.
- Preparing to unpack .../37-libcoarrays-openmpi-dev_2.10.1-1+b1_amd64.deb ...
- Unpacking libcoarrays-openmpi-dev:amd64 (2.10.1-1+b1) ...
- Selecting previously unselected package libevent-2.1-7:amd64.
- Preparing to unpack .../38-libevent-2.1-7_2.1.12-stable-8_amd64.deb ...
- Unpacking libevent-2.1-7:amd64 (2.1.12-stable-8) ...
- Selecting previously unselected package libevent-extra-2.1-7:amd64.
- Preparing to unpack .../39-libevent-extra-2.1-7_2.1.12-stable-8_amd64.deb ...
- Unpacking libevent-extra-2.1-7:amd64 (2.1.12-stable-8) ...
- Selecting previously unselected package libevent-openssl-2.1-7:amd64.
- Preparing to unpack .../40-libevent-openssl-2.1-7_2.1.12-stable-8_amd64.deb ...
- Unpacking libevent-openssl-2.1-7:amd64 (2.1.12-stable-8) ...
- Selecting previously unselected package libevent-dev.
- Preparing to unpack .../41-libevent-dev_2.1.12-stable-8_amd64.deb ...
- Unpacking libevent-dev (2.1.12-stable-8) ...
- Selecting previously unselected package libnuma-dev:amd64.
- Preparing to unpack .../42-libnuma-dev_2.0.16-1_amd64.deb ...
- Unpacking libnuma-dev:amd64 (2.0.16-1) ...
- Selecting previously unselected package libltdl7:amd64.
- Preparing to unpack .../43-libltdl7_2.4.7-5_amd64.deb ...
- Unpacking libltdl7:amd64 (2.4.7-5) ...
- Selecting previously unselected package libltdl-dev:amd64.
- Preparing to unpack .../44-libltdl-dev_2.4.7-5_amd64.deb ...
- Unpacking libltdl-dev:amd64 (2.4.7-5) ...
- Selecting previously unselected package libhwloc-dev:amd64.
- Preparing to unpack .../45-libhwloc-dev_2.9.0-1_amd64.deb ...
- Unpacking libhwloc-dev:amd64 (2.9.0-1) ...
- Selecting previously unselected package libnl-3-dev:amd64.
- Preparing to unpack .../46-libnl-3-dev_3.7.0-0.2+b1_amd64.deb ...
- Unpacking libnl-3-dev:amd64 (3.7.0-0.2+b1) ...
- Selecting previously unselected package libnl-route-3-dev:amd64.
- Preparing to unpack .../47-libnl-route-3-dev_3.7.0-0.2+b1_amd64.deb ...
- Unpacking libnl-route-3-dev:amd64 (3.7.0-0.2+b1) ...
- Selecting previously unselected package libibverbs-dev:amd64.
- Preparing to unpack .../48-libibverbs-dev_44.0-2_amd64.deb ...
- Unpacking libibverbs-dev:amd64 (44.0-2) ...
- Selecting previously unselected package libjs-jquery.
- Preparing to unpack .../49-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ...
- Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ...
- Selecting previously unselected package libjs-jquery-ui.
- Preparing to unpack .../50-libjs-jquery-ui_1.13.2+dfsg-1_all.deb ...
- Unpacking libjs-jquery-ui (1.13.2+dfsg-1) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../51-zlib1g-dev_1%3a1.2.13.dfsg-1_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
- Selecting previously unselected package libpmix-dev:amd64.
- Preparing to unpack .../52-libpmix-dev_4.2.2-1+deb12u1_amd64.deb ...
- Unpacking libpmix-dev:amd64 (4.2.2-1+deb12u1) ...
- Selecting previously unselected package libopenmpi-dev:amd64.
- Preparing to unpack .../53-libopenmpi-dev_4.1.4-3+b1_amd64.deb ...
- Unpacking libopenmpi-dev:amd64 (4.1.4-3+b1) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../54-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package libtool.
- Preparing to unpack .../55-libtool_2.4.7-5_all.deb ...
- Unpacking libtool (2.4.7-5) ...
- Selecting previously unselected package mpi-default-dev.
- Preparing to unpack .../56-mpi-default-dev_1.14_amd64.deb ...
- Unpacking mpi-default-dev (1.14) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../57-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../58-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../59-pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Setting up javascript-common (11+nmu1) ...
- Setting up libpciaccess0:amd64 (0.17-2) ...
- Setting up libicu72:amd64 (72.1-3) ...
- Setting up libmagic-mgc (1:5.44-3) ...
- Setting up libmagic1:amd64 (1:5.44-3) ...
- Setting up m4 (1.4.19-3) ...
- Setting up file (1:5.44-3) ...
- Setting up libnuma-dev:amd64 (2.0.16-1) ...
- Setting up libxnvctrl0:amd64 (525.85.05-3~deb12u1) ...
- Setting up autotools-dev (20220109.1) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up libmunge2 (0.5.15-2) ...
- Setting up libhwloc15:amd64 (2.9.0-1) ...
- Setting up libevent-core-2.1-7:amd64 (2.1.12-stable-8) ...
- Setting up libevent-2.1-7:amd64 (2.1.12-stable-8) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up libltdl7:amd64 (2.4.7-5) ...
- Setting up libgfortran5:amd64 (12.2.0-14) ...
- Setting up autoconf (2.71-3) ...
- Setting up zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
- Setting up ocl-icd-libopencl1:amd64 (2.3.1-1) ...
- Setting up libnl-3-200:amd64 (3.7.0-0.2+b1) ...
- Setting up libpsm2-2 (11.2.185-2) ...
- Setting up openmpi-common (4.1.4-3) ...
- Setting up libpsm-infinipath1 (3.3+20.604758e7-6.2) ...
- update-alternatives: using /usr/lib/libpsm1/libpsm_infinipath.so.1.16 to provide /usr/lib/x86_64-linux-gnu/libpsm_infinipath.so.1 (libpsm_infinipath.so.1) in auto mode
- Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ...
- Setting up libxml2:amd64 (2.9.14+dfsg-1.3~deb12u1) ...
- Setting up libevent-pthreads-2.1-7:amd64 (2.1.12-stable-8) ...
- Setting up automake (1:1.16.5-1.3) ...
- update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
- Setting up libevent-extra-2.1-7:amd64 (2.1.12-stable-8) ...
- Setting up libtool (2.4.7-5) ...
- Setting up libevent-openssl-2.1-7:amd64 (2.1.12-stable-8) ...
- Setting up libgfortran-12-dev:amd64 (12.2.0-14) ...
- Setting up libhwloc-plugins:amd64 (2.9.0-1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up libnl-route-3-200:amd64 (3.7.0-0.2+b1) ...
- Setting up libltdl-dev:amd64 (2.4.7-5) ...
- Setting up gfortran-12 (12.2.0-14) ...
- Setting up libjs-jquery-ui (1.13.2+dfsg-1) ...
- Setting up libevent-dev (2.1.12-stable-8) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Setting up libnl-3-dev:amd64 (3.7.0-0.2+b1) ...
- Setting up libhwloc-dev:amd64 (2.9.0-1) ...
- Setting up libibverbs1:amd64 (44.0-2) ...
- Setting up libpmix2:amd64 (4.2.2-1+deb12u1) ...
- Setting up ibverbs-providers:amd64 (44.0-2) ...
- Setting up gfortran (4:12.2.0-3) ...
- update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f95 (f95) in auto mode
- update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f77 (f77) in auto mode
- Setting up libnl-route-3-dev:amd64 (3.7.0-0.2+b1) ...
- Setting up libpmix-dev:amd64 (4.2.2-1+deb12u1) ...
- Setting up librdmacm1:amd64 (44.0-2) ...
- Setting up libucx0:amd64 (1.13.1-1) ...
- Setting up libcoarrays-dev:amd64 (2.10.1-1+b1) ...
- Setting up libibverbs-dev:amd64 (44.0-2) ...
- Setting up libfabric1:amd64 (1.17.0-3) ...
- Setting up libopenmpi3:amd64 (4.1.4-3+b1) ...
- Setting up libcaf-openmpi-3:amd64 (2.10.1-1+b1) ...
- Setting up openmpi-bin (4.1.4-3+b1) ...
- update-alternatives: using /usr/bin/mpirun.openmpi to provide /usr/bin/mpirun (mpirun) in auto mode
- update-alternatives: using /usr/bin/mpicc.openmpi to provide /usr/bin/mpicc (mpi) in auto mode
- Setting up libcoarrays-openmpi-dev:amd64 (2.10.1-1+b1) ...
- update-alternatives: using /usr/lib/x86_64-linux-gnu/open-coarrays/openmpi/bin/caf to provide /usr/bin/caf.openmpi (caf-openmpi) in auto mode
- update-alternatives: using /usr/bin/caf.openmpi to provide /usr/bin/caf (caf) in auto mode
- Setting up libopenmpi-dev:amd64 (4.1.4-3+b1) ...
- update-alternatives: using /usr/lib/x86_64-linux-gnu/openmpi/include to provide /usr/include/x86_64-linux-gnu/mpi (mpi-x86_64-linux-gnu) in auto mode
- Setting up mpi-default-dev (1.14) ...
- Processing triggers for libc-bin (2.36-9+deb12u3) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  3/9:
Processing  4/9: [conf-pkg-config: pkg-config]
-> retrieved mpi.1.03  (cached)
+ /usr/bin/pkg-config "--help" (CWD=/home/opam/.opam/5.1/.opam-switch/build/conf-pkg-config.3)
- 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
-> installed conf-pkg-config.3
Processing  6/9: [conf-mpi: sh configure]
+ /usr/bin/sh "configure" "linux" (CWD=/home/opam/.opam/5.1/.opam-switch/build/conf-mpi.1)
-> compiled  conf-mpi.1
-> installed conf-mpi.1
[mpi: patch] applying post103.patch
Processing  8/9: [mpi: patch]
Processing  8/9: [mpi: make all]
+ /usr/bin/make "all" "opt" "MPIINCDIR=/usr/lib/x86_64-linux-gnu/openmpi/include" "MPILIBDIR=/usr/lib/x86_64-linux-gnu/openmpi/lib/lib" "MPICC=/usr/lib/x86_64-linux-gnu/openmpi/lib/bin/mpicc" "MPIRUN=/usr/lib/x86_64-linux-gnu/openmpi/lib/bin/mpirun" (CWD=/home/opam/.opam/5.1/.opam-switch/build/mpi.1.03)
- cc -I`ocamlc -where` -I/usr/lib/x86_64-linux-gnu/openmpi/include -O2 -g -Wall   -c -o init.o init.c
- init.c: In function 'caml_mpi_error_handler':
- init.c:37:9: warning: implicit declaration of function 'copy_string'; did you mean 'caml_copy_string'? [-Wimplicit-function-declaration]
-    37 |   msg = copy_string(errmsg);
-       |         ^~~~~~~~~~~
-       |         caml_copy_string
- init.c:39:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-    39 |     caml_mpi_exn = caml_named_value("Mpi.Error");
-       |                  ^
- init.c:41:7: warning: implicit declaration of function 'invalid_argument'; did you mean 'caml_invalid_argument'? [-Wimplicit-function-declaration]
-    41 |       invalid_argument("Exception MPI.Error not initialized");
-       |       ^~~~~~~~~~~~~~~~
-       |       caml_invalid_argument
- init.c:43:3: warning: implicit declaration of function 'raise_with_arg'; did you mean 'caml_raise_with_arg'? [-Wimplicit-function-declaration]
-    43 |   raise_with_arg(*caml_mpi_exn, msg);
-       |   ^~~~~~~~~~~~~~
-       |   caml_raise_with_arg
- init.c: In function 'caml_mpi_init':
- init.c:55:10: warning: implicit declaration of function 'stat_alloc' [-Wimplicit-function-declaration]
-    55 |   argv = stat_alloc((argc + 1) * sizeof(char *));
-       |          ^~~~~~~~~~
- init.c:55:8: warning: assignment to 'char **' from 'int' makes pointer from integer without a cast [-Wint-conversion]
-    55 |   argv = stat_alloc((argc + 1) * sizeof(char *));
-       |        ^
- init.c:56:38: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-    56 |   for (i = 0; i < argc; i++) argv[i] = String_val(Field(arguments, i));
-       |                                      ^
- init.c:62:12: error: 'MPI_Handler_function' undeclared (first use in this function); did you mean 'MPI_User_function'?
-    62 |           (MPI_Handler_function *)caml_mpi_error_handler, &hdlr);
-       |            ^~~~~~~~~~~~~~~~~~~~
-       |            MPI_User_function
- init.c:62:12: note: each undeclared identifier is reported only once for each function it appears in
- init.c:62:34: error: expected expression before ')' token
-    62 |           (MPI_Handler_function *)caml_mpi_error_handler, &hdlr);
-       |                                  ^
- init.c:61:3: error: too few arguments to function 'MPI_Comm_create_errhandler'
-    61 |   MPI_Comm_create_errhandler(
-       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from init.c:18:
- /usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1377:20: note: declared here
-  1377 | OMPI_DECLSPEC  int MPI_Comm_create_errhandler(MPI_Comm_errhandler_function *function,
-       |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
- init.c: In function 'caml_mpi_wtime':
- init.c:79:10: warning: implicit declaration of function 'copy_double'; did you mean 'caml_copy_double'? [-Wimplicit-function-declaration]
-    79 |   return copy_double(MPI_Wtime());
-       |          ^~~~~~~~~~~
-       |          caml_copy_double
- init.c: At top level:
- init.c:30:13: warning: 'caml_mpi_error_handler' defined but not used [-Wunused-function]
-    30 | static void caml_mpi_error_handler(MPI_Comm * comm, int * errcode, ...)
-       |             ^~~~~~~~~~~~~~~~~~~~~~
- make: *** [<builtin>: init.o] Error 1
[ERROR] The compilation of mpi.1.03 failed at "make all opt MPIINCDIR=/usr/lib/x86_64-linux-gnu/openmpi/include MPILIBDIR=/usr/lib/x86_64-linux-gnu/openmpi/lib/lib MPICC=/usr/lib/x86_64-linux-gnu/openmpi/lib/bin/mpicc MPIRUN=/usr/lib/x86_64-linux-gnu/openmpi/lib/bin/mpirun".

#=== ERROR while compiling mpi.1.03 ===========================================#
# context              2.1.5 | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///src
# path                 ~/.opam/5.1/.opam-switch/build/mpi.1.03
# command              /usr/bin/make all opt MPIINCDIR=/usr/lib/x86_64-linux-gnu/openmpi/include MPILIBDIR=/usr/lib/x86_64-linux-gnu/openmpi/lib/lib MPICC=/usr/lib/x86_64-linux-gnu/openmpi/lib/bin/mpicc MPIRUN=/usr/lib/x86_64-linux-gnu/openmpi/lib/bin/mpirun
# exit-code            2
# env-file             ~/.opam/log/mpi-113-d98829.env
# output-file          ~/.opam/log/mpi-113-d98829.out
### output ###
# cc -I`ocamlc -where` -I/usr/lib/x86_64-linux-gnu/openmpi/include -O2 -g -Wall   -c -o init.o init.c
# init.c: In function 'caml_mpi_error_handler':
# init.c:37:9: warning: implicit declaration of function 'copy_string'; did you mean 'caml_copy_string'? [-Wimplicit-function-declaration]
#    37 |   msg = copy_string(errmsg);
#       |         ^~~~~~~~~~~
#       |         caml_copy_string
# init.c:39:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#    39 |     caml_mpi_exn = caml_named_value("Mpi.Error");
#       |                  ^
# init.c:41:7: warning: implicit declaration of function 'invalid_argument'; did you mean 'caml_invalid_argument'? [-Wimplicit-function-declaration]
#    41 |       invalid_argument("Exception MPI.Error not initialized");
#       |       ^~~~~~~~~~~~~~~~
#       |       caml_invalid_argument
# init.c:43:3: warning: implicit declaration of function 'raise_with_arg'; did you mean 'caml_raise_with_arg'? [-Wimplicit-function-declaration]
#    43 |   raise_with_arg(*caml_mpi_exn, msg);
#       |   ^~~~~~~~~~~~~~
#       |   caml_raise_with_arg
# init.c: In function 'caml_mpi_init':
# init.c:55:10: warning: implicit declaration of function 'stat_alloc' [-Wimplicit-function-declaration]
#    55 |   argv = stat_alloc((argc + 1) * sizeof(char *));
#       |          ^~~~~~~~~~
# init.c:55:8: warning: assignment to 'char **' from 'int' makes pointer from integer without a cast [-Wint-conversion]
#    55 |   argv = stat_alloc((argc + 1) * sizeof(char *));
#       |        ^
# init.c:56:38: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#    56 |   for (i = 0; i < argc; i++) argv[i] = String_val(Field(arguments, i));
#       |                                      ^
# init.c:62:12: error: 'MPI_Handler_function' undeclared (first use in this function); did you mean 'MPI_User_function'?
#    62 |           (MPI_Handler_function *)caml_mpi_error_handler, &hdlr);
#       |            ^~~~~~~~~~~~~~~~~~~~
#       |            MPI_User_function
# init.c:62:12: note: each undeclared identifier is reported only once for each function it appears in
# init.c:62:34: error: expected expression before ')' token
#    62 |           (MPI_Handler_function *)caml_mpi_error_handler, &hdlr);
#       |                                  ^
# init.c:61:3: error: too few arguments to function 'MPI_Comm_create_errhandler'
#    61 |   MPI_Comm_create_errhandler(
#       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
# In file included from init.c:18:
# /usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1377:20: note: declared here
#  1377 | OMPI_DECLSPEC  int MPI_Comm_create_errhandler(MPI_Comm_errhandler_function *function,
#       |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
# init.c: In function 'caml_mpi_wtime':
# init.c:79:10: warning: implicit declaration of function 'copy_double'; did you mean 'caml_copy_double'? [-Wimplicit-function-declaration]
#    79 |   return copy_double(MPI_Wtime());
#       |          ^~~~~~~~~~~
#       |          caml_copy_double
# init.c: At top level:
# init.c:30:13: warning: 'caml_mpi_error_handler' defined but not used [-Wunused-function]
#    30 | static void caml_mpi_error_handler(MPI_Comm * comm, int * errcode, ...)
#       |             ^~~~~~~~~~~~~~~~~~~~~~
# make: *** [<builtin>: init.o] Error 1



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build mpi 1.03
+- 
+- The following changes have been performed
| - install conf-mpi        1
| - install conf-pkg-config 3
+- 
# 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-20240129152210.export"
'opam --cli=2.1 install mpi.1.03 ocamlfind.1.9.6 conf-pkg-config.3 conf-mpi.1 --verbose --yes --confirm-level=unsafe-yes' failed.