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

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.13.1).
[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" "255" (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.5 | 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-e78876.env
# output-file          ~/.opam/log/stdcompat-113-e78876.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-20240209110656.export"
'opam --cli=2.1 install stdcompat.1 ocamlfind.1.9.6 dune.3.13.1 cppo.1.6.9 --verbose --yes --confirm-level=unsafe-yes' failed.