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.

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/6:
Processing  2/6:
-> retrieved cppo.1.6.9  (cached)
Processing  3/6: [cppo: dune build]
-> retrieved stdcompat.1  (cached)
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "cppo" "-j" "39" (CWD=/home/opam/.opam/5.1/.opam-switch/build/cppo.1.6.9)
-> compiled  cppo.1.6.9
-> installed cppo.1.6.9
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-113-8a0e34.env
# output-file          ~/.opam/log/stdcompat-113-8a0e34.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.6.9
+- 
# 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-20240529173226.export"
'opam --cli=2.1 install stdcompat.1 ocamlfind.1.9.6 dune.3.15.3 cppo.1.6.9 --verbose --yes --confirm-level=unsafe-yes' failed.
OCaml

Innovation. Community. Security.