package stdcompat

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

stdcompat 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 stdcompat.1 ocamlfind.1.9.6 dune.3.16.0 cppo.1.7.0" 

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
# No extra OS packages requirements found.
[NOTE] Package dune is already installed (current version is 3.16.0).
[NOTE] Package ocamlfind is already installed (current version is 1.9.6).
The following actions will be performed:
  - install cppo      1.7.0
  - install stdcompat 1
===== 2 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/6:
Processing  2/6:
-> retrieved cppo.1.7.0  (cached)
Processing  3/6: [cppo: dune build]
-> retrieved stdcompat.1  (cached)
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "cppo" "-j" "39" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/cppo.1.7.0)
-> compiled  cppo.1.7.0
-> installed cppo.1.7.0
Processing  5/6: [stdcompat: make all]
+ /usr/bin/make "all" "PREFIX=/home/opam/.opam/5.1" (CWD=/home/opam/.opam/5.1/.opam-switch/build/stdcompat.1)
- /bin/sh: 1: hexdump: not found
- cppo -D 'OCAMLVERSION 51.' stdcompat.mlip >stdcompat.mli || rm stdcompat.mli
- Error: File "stdcompat.mlip", line 12, characters 4-16
- Error: Variable OCAMLVERSION found in cppo boolean expression must expand
- into an int literal, into a tuple of int literals,
- or into a variable with the same properties.
- ocamlfind ocamlc -c stdcompat.mli
- File "stdcompat.mli", line 1:
- Error: I/O error: stdcompat.mli: No such file or directory
- make: *** [Makefile:129: stdcompat.cmi] Error 2
[ERROR] The compilation of stdcompat.1 failed at "make all PREFIX=/home/opam/.opam/5.1".

#=== ERROR while compiling stdcompat.1 ========================================#
# context              2.1.6 | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///src
# path                 ~/.opam/5.1/.opam-switch/build/stdcompat.1
# command              /usr/bin/make all PREFIX=/home/opam/.opam/5.1
# exit-code            2
# env-file             ~/.opam/log/stdcompat-115-d2928e.env
# output-file          ~/.opam/log/stdcompat-115-d2928e.out
### output ###
# /bin/sh: 1: hexdump: not found
# cppo -D 'OCAMLVERSION 51.' stdcompat.mlip >stdcompat.mli || rm stdcompat.mli
# Error: File "stdcompat.mlip", line 12, characters 4-16
# Error: Variable OCAMLVERSION found in cppo boolean expression must expand
# into an int literal, into a tuple of int literals,
# or into a variable with the same properties.
# ocamlfind ocamlc -c stdcompat.mli
# File "stdcompat.mli", line 1:
# Error: I/O error: stdcompat.mli: No such file or directory
# make: *** [Makefile:129: stdcompat.cmi] Error 2



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build stdcompat 1
+- 
+- The following changes have been performed
| - install cppo 1.7.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-20240912094421.export"
'opam --cli=2.1 install stdcompat.1 ocamlfind.1.9.6 dune.3.16.0 cppo.1.7.0 --verbose --yes --confirm-level=unsafe-yes' failed.
OCaml

Innovation. Community. Security.