package srt

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

srt 0.2.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.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 srt.0.2.1 stdlib-shims.0.3.0 posix-socket.2.0.2 posix-base.2.0.2 integers.0.7.0 dune-configurator.3.13.0 dune.3.13.0 ctypes.0.21.1 csexp.1.5.2 conf-srt.2 conf-pkg-config.3 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:
libsrt-openssl-dev
libssl-dev
pkg-config
[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-pkg-config   3
  - install stdlib-shims      0.3.0
  - install dune-configurator 3.13.0
  - install conf-srt-openssl  1      [required by conf-srt]
  - install integers          0.7.0
  - install conf-srt          2
  - install ctypes            0.21.1
  - install posix-base        2.0.2
  - install posix-socket      2.0.2
  - install srt               0.2.1
===== 12 to install =====

The following system packages will first need to be installed:
    libsrt-openssl-dev libssl-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" "libsrt-openssl-dev" "libssl-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libpkgconf3: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 .../0-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package libsrt1.5-openssl:amd64.
- Preparing to unpack .../1-libsrt1.5-openssl_1.5.1-1_amd64.deb ...
- Unpacking libsrt1.5-openssl:amd64 (1.5.1-1) ...
- Selecting previously unselected package libsrt-openssl-dev:amd64.
- Preparing to unpack .../2-libsrt-openssl-dev_1.5.1-1_amd64.deb ...
- Unpacking libsrt-openssl-dev:amd64 (1.5.1-1) ...
- Selecting previously unselected package libssl-dev:amd64.
- Preparing to unpack .../3-libssl-dev_3.0.11-1~deb12u2_amd64.deb ...
- Unpacking libssl-dev:amd64 (3.0.11-1~deb12u2) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../4-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../5-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../6-pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Setting up libsrt1.5-openssl:amd64 (1.5.1-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up libssl-dev:amd64 (3.0.11-1~deb12u2) ...
- Setting up libsrt-openssl-dev:amd64 (1.5.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+deb12u3) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/36:
Processing  2/36:
Processing  3/36:
Processing  4/36:
Processing  5/36:
Processing  6/36:
Processing  7/36: [conf-pkg-config: pkg-config]
-> retrieved bigarray-compat.1.1.0  (cached)
Processing  8/36: [conf-pkg-config: pkg-config]
Processing  9/36: [bigarray-compat: dune build] [conf-pkg-config: pkg-config]
-> retrieved csexp.1.5.2  (cached)
Processing 10/36: [bigarray-compat: dune build] [conf-pkg-config: pkg-config]
Processing 11/36: [bigarray-compat: dune build] [conf-pkg-config: pkg-config] [csexp: dune build]
-> retrieved ctypes.0.21.1  (cached)
Processing 12/36: [bigarray-compat: dune build] [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 12/36: [bigarray-compat: dune build] [csexp: dune build]
-> installed conf-pkg-config.3
Processing 13/36: [bigarray-compat: dune build] [csexp: dune build]
Processing 14/36: [bigarray-compat: dune build] [conf-srt-openssl: pkg-config srt] [csexp: dune build]
-> retrieved integers.0.7.0  (cached)
Processing 15/36: [bigarray-compat: dune build] [conf-srt-openssl: pkg-config srt] [csexp: dune build]
-> retrieved posix-base.2.0.2  (cached)
Processing 16/36: [bigarray-compat: dune build] [conf-srt-openssl: pkg-config srt] [csexp: dune build]
-> compiled  conf-srt-openssl.1
Processing 16/36: [bigarray-compat: dune build] [csexp: dune build]
-> installed conf-srt-openssl.1
Processing 17/36: [bigarray-compat: dune build] [csexp: dune build]
Processing 18/36: [bigarray-compat: dune build] [conf-srt: pkg-config srt] [csexp: dune build]
-> retrieved posix-socket.2.0.2  (cached)
Processing 19/36: [bigarray-compat: dune build] [conf-srt: pkg-config srt] [csexp: dune build]
-> retrieved srt.0.2.1  (cached)
-> compiled  conf-srt.2
Processing 19/36: [bigarray-compat: dune build] [csexp: dune build]
-> installed conf-srt.2
Processing 20/36: [bigarray-compat: dune build] [csexp: dune build]
-> retrieved stdlib-shims.0.3.0  (cached)
Processing 21/36: [bigarray-compat: dune build] [csexp: dune build] [stdlib-shims: dune build]
-> compiled  bigarray-compat.1.1.0
Processing 21/36: [csexp: dune build] [stdlib-shims: dune build]
-> installed bigarray-compat.1.1.0
Processing 22/36: [csexp: dune build] [stdlib-shims: dune build]
-> compiled  csexp.1.5.2
Processing 22/36: [stdlib-shims: dune build]
-> installed csexp.1.5.2
Processing 23/36: [stdlib-shims: dune build]
-> compiled  stdlib-shims.0.3.0
Processing 23/36:
-> installed stdlib-shims.0.3.0
Processing 24/36:
Processing 25/36: [integers: dune build]
-> retrieved dune-configurator.3.13.0  (cached)
Processing 26/36: [dune-configurator: rm] [integers: dune build]
-> compiled  integers.0.7.0
Processing 26/36: [dune-configurator: rm]
-> installed integers.0.7.0
Processing 27/36: [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 27/36: [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 29/36: [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 29/36: [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 31/36: [posix-base: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "posix-base" "-j" "255" "--promote-install-files=false" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/posix-base.2.0.2)
Processing 31/36: [posix-base: dune install]
+ /home/opam/.opam/5.1/bin/dune "install" "-p" "posix-base" "--create-install-files" "posix-base" (CWD=/home/opam/.opam/5.1/.opam-switch/build/posix-base.2.0.2)
-> compiled  posix-base.2.0.2
-> installed posix-base.2.0.2
Processing 33/36: [posix-socket: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "posix-socket" "-j" "255" "--promote-install-files=false" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/posix-socket.2.0.2)
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I posix-socket/src/types/.posix_socket_types.objs/byte -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/ctypes -I /home/opam/.opam/5.1/lib/ctypes/stubs -I /home/opam/.opam/5.1/lib/integers -I /home/opam/.opam/5.1/lib/ocaml/str -I /home/opam/.opam/5.1/lib/posix-base -I /home/opam/.opam/5.1/lib/stdlib-shims -I posix-socket/src/constants/.posix_socket_constants.objs/byte -no-alias-deps -open Posix_socket_types__ -o posix-socket/src/types/.posix_socket_types.objs/byte/posix_socket_types__Posix_socket_generated_constants.cmo -c -impl posix-socket/src/types/posix_socket_generated_constants.ml)
- File "posix-socket/src/types/posix_socket_generated_constants.ml", line 36, characters 4-63:
- 36 |   | Ctypes_static.Primitive Cstubs_internals.Int, "SOCK_STREAM" ->
-          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 11 [redundant-case]: this match case is unused.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I posix-socket/src/types/.posix_socket_types.objs/byte -I posix-socket/src/types/.posix_socket_types.objs/native -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/ctypes -I /home/opam/.opam/5.1/lib/ctypes/stubs -I /home/opam/.opam/5.1/lib/integers -I /home/opam/.opam/5.1/lib/ocaml/str -I /home/opam/.opam/5.1/lib/posix-base -I /home/opam/.opam/5.1/lib/stdlib-shims -I posix-socket/src/constants/.posix_socket_constants.objs/byte -I posix-socket/src/constants/.posix_socket_constants.objs/native -intf-suffix .ml -no-alias-deps -open Posix_socket_types__ -o posix-socket/src/types/.posix_socket_types.objs/native/posix_socket_types__Posix_socket_generated_constants.cmx -c -impl posix-socket/src/types/posix_socket_generated_constants.ml)
- File "posix-socket/src/types/posix_socket_generated_constants.ml", line 36, characters 4-63:
- 36 |   | Ctypes_static.Primitive Cstubs_internals.Int, "SOCK_STREAM" ->
-          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 11 [redundant-case]: this match case is unused.
Processing 33/36: [posix-socket: dune install]
+ /home/opam/.opam/5.1/bin/dune "install" "-p" "posix-socket" "--create-install-files" "posix-socket" (CWD=/home/opam/.opam/5.1/.opam-switch/build/posix-socket.2.0.2)
-> compiled  posix-socket.2.0.2
-> installed posix-socket.2.0.2
Processing 35/36: [srt: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "srt" "-j" "255" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/srt.0.2.1)
- File "src/generator/dune", line 79, characters 0-365:
- 79 | (rule
- 80 |  (targets gen_constants_c.exe)
- 81 |  (deps
- ....
- 94 |    -I
- 95 |    ../constants/.srt_constants.objs/byte/
- 96 |    %{lib-private:srt.constants:srt_constants.cmxa})))
- (cd _build/default/src/generator && ./build_native.sh linux gen_constants_c.ml gen_constants_c.exe -I ../constants -I ../constants/.srt_constants.objs/native/ -I ../constants/.srt_constants.objs/byte/ ../constants/srt_constants.cmxa)
- ./build_native.sh: 18: ocamlfind: not found
[ERROR] The compilation of srt.0.2.1 failed at "dune build -p srt -j 255 @install".

#=== ERROR while compiling srt.0.2.1 ==========================================#
# context              2.1.5 | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///src
# path                 ~/.opam/5.1/.opam-switch/build/srt.0.2.1
# command              ~/.opam/5.1/bin/dune build -p srt -j 255 @install
# exit-code            1
# env-file             ~/.opam/log/srt-113-2b533d.env
# output-file          ~/.opam/log/srt-113-2b533d.out
### output ###
# File "src/generator/dune", line 79, characters 0-365:
# 79 | (rule
# 80 |  (targets gen_constants_c.exe)
# 81 |  (deps
# ....
# 94 |    -I
# 95 |    ../constants/.srt_constants.objs/byte/
# 96 |    %{lib-private:srt.constants:srt_constants.cmxa})))
# (cd _build/default/src/generator && ./build_native.sh linux gen_constants_c.ml gen_constants_c.exe -I ../constants -I ../constants/.srt_constants.objs/native/ -I ../constants/.srt_constants.objs/byte/ ../constants/srt_constants.cmxa)
# ./build_native.sh: 18: ocamlfind: not found



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build srt 0.2.1
+- 
+- The following changes have been performed
| - install bigarray-compat   1.1.0
| - install conf-pkg-config   3
| - install conf-srt          2
| - install conf-srt-openssl  1
| - install csexp             1.5.2
| - install ctypes            0.21.1
| - install dune-configurator 3.13.0
| - install integers          0.7.0
| - install posix-base        2.0.2
| - install posix-socket      2.0.2
| - 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-20240129154153.export"
'opam --cli=2.1 install srt.0.2.1 stdlib-shims.0.3.0 posix-socket.2.0.2 posix-base.2.0.2 integers.0.7.0 dune-configurator.3.13.0 dune.3.13.0 ctypes.0.21.1 csexp.1.5.2 conf-srt.2 conf-pkg-config.3 bigarray-compat.1.1.0 --verbose --yes --confirm-level=unsafe-yes' failed.