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.

[NOTE] Package dune is already installed (current version is 3.17.2).
[NOTE] Package ocamlfind is already installed (current version is 1.9.6).
The following actions will be performed:
=== install 2 packages
  - install cppo      1.8.0
  - install stdcompat 1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved stdcompat.1  (cached)
-> retrieved cppo.1.8.0  (cached)
-> installed cppo.1.8.0
[ERROR] The compilation of stdcompat.1 failed at "make all PREFIX=/home/opam/.opam/5.1".

#=== ERROR while compiling stdcompat.1 ========================================#
# context              2.3.0 | 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-1ac2c8.env
# output-file          ~/.opam/log/stdcompat-113-1ac2c8.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.8.0
+- 
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/5.1/.opam-switch/backup/state-20250204024954.export"
OCaml

Innovation. Community. Security.