package genprint

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

genprint 0.3

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 genprint.0.3 stdlib-shims.0.3.0 sexplib0.v0.16.0 ppxlib.0.33.0 ppx_derivers.1.2.1 ocaml-compiler-libs.v0.12.4 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).
The following actions will be performed:
  - install ppx_derivers        1.2.1
  - install ocaml-compiler-libs v0.12.4
  - install cppo                1.7.0
  - install sexplib0            v0.16.0
  - install stdlib-shims        0.3.0
  - install ppxlib              0.33.0
  - install genprint            0.3
===== 7 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/21:
Processing  2/21: [genprint.0.3: http]
Processing  3/21: [genprint.0.3: http]
-> retrieved cppo.1.7.0  (cached)
Processing  4/21: [genprint.0.3: http]
Processing  5/21: [genprint.0.3: http] [cppo: dune build]
Processing  5/21: [cppo: dune build]
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
Processing  6/21: [cppo: dune build]
Processing  7/21: [cppo: dune build] [ocaml-compiler-libs: dune build]
-> retrieved ppx_derivers.1.2.1  (cached)
Processing  8/21: [cppo: dune build] [ocaml-compiler-libs: dune build]
Processing  9/21: [cppo: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build]
-> retrieved genprint.0.3  (https://github.com/ocaml/opam-source-archives/raw/main/genprint-0.3a.tar.gz)
Processing 10/21: [cppo: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build]
-> retrieved sexplib0.v0.16.0  (cached)
Processing 11/21: [cppo: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [sexplib0: dune build]
-> retrieved stdlib-shims.0.3.0  (cached)
Processing 12/21: [cppo: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
-> retrieved ppxlib.0.33.0  (cached)
-> compiled  ppx_derivers.1.2.1
Processing 12/21: [cppo: dune build] [ocaml-compiler-libs: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
-> installed ppx_derivers.1.2.1
Processing 13/21: [cppo: dune build] [ocaml-compiler-libs: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
-> compiled  stdlib-shims.0.3.0
Processing 13/21: [cppo: dune build] [ocaml-compiler-libs: dune build] [sexplib0: dune build]
-> installed stdlib-shims.0.3.0
Processing 14/21: [cppo: dune build] [ocaml-compiler-libs: dune build] [sexplib0: dune build]
-> compiled  sexplib0.v0.16.0
Processing 14/21: [cppo: dune build] [ocaml-compiler-libs: dune build]
-> installed sexplib0.v0.16.0
Processing 15/21: [cppo: dune build] [ocaml-compiler-libs: dune build]
-> compiled  ocaml-compiler-libs.v0.12.4
Processing 15/21: [cppo: dune build]
-> installed ocaml-compiler-libs.v0.12.4
Processing 16/21: [cppo: dune build]
Processing 17/21: [cppo: dune build] [ppxlib: dune build]
-> compiled  cppo.1.7.0
Processing 17/21: [ppxlib: dune build]
-> installed cppo.1.7.0
Processing 18/21: [ppxlib: dune build]
+ /home/opam/.opam/4.10/bin/dune "build" "-p" "ppxlib" "-j" "39" "@install" (CWD=/home/opam/.opam/4.10/.opam-switch/build/ppxlib.0.33.0)
-> compiled  ppxlib.0.33.0
-> installed ppxlib.0.33.0
Processing 20/21: [genprint: dune build]
+ /home/opam/.opam/4.10/bin/dune "build" "-p" "genprint" "-j" "39" (CWD=/home/opam/.opam/4.10/.opam-switch/build/genprint.0.3)
- (cd _build/default && /home/opam/.opam/4.10/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.ppx_genprint.objs/byte -I /home/opam/.opam/4.10/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.10/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.10/lib/ocaml/compiler-libs -I /home/opam/.opam/4.10/lib/ppx_derivers -I /home/opam/.opam/4.10/lib/ppxlib -I /home/opam/.opam/4.10/lib/ppxlib/ast -I /home/opam/.opam/4.10/lib/ppxlib/astlib -I /home/opam/.opam/4.10/lib/ppxlib/print_diff -I /home/opam/.opam/4.10/lib/ppxlib/stdppx -I /home/opam/.opam/4.10/lib/ppxlib/traverse_builtins -I /home/opam/.opam/4.10/lib/sexplib0 -I /home/opam/.opam/4.10/lib/stdlib-shims -no-alias-deps -o src/.ppx_genprint.objs/byte/ppx_genprint.cmo -c -impl src/ppx_genprint.pp.ml)
- File "ppx_genprint.cppo.ml", line 2, characters 5-9:
- Error: Unbound module Caml
[ERROR] The compilation of genprint.0.3 failed at "dune build -p genprint -j 39".

#=== ERROR while compiling genprint.0.3 =======================================#
# context              2.1.6 | linux/x86_64 | ocaml-base-compiler.4.10.2 | file:///src
# path                 ~/.opam/4.10/.opam-switch/build/genprint.0.3
# command              ~/.opam/4.10/bin/dune build -p genprint -j 39
# exit-code            1
# env-file             ~/.opam/log/genprint-115-49b623.env
# output-file          ~/.opam/log/genprint-115-49b623.out
### output ###
# (cd _build/default && /home/opam/.opam/4.10/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.ppx_genprint.objs/byte -I /home/opam/.opam/4.10/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.10/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.10/lib/ocaml/compiler-libs -I /home/opam/.opam/4.10/lib/ppx_derivers -I /home/opam/.opam/4.10/lib/ppxlib -I /home/opam/.opam/4.10/lib/ppxlib/ast -I /home/opam/.opam/4.10/lib/ppxlib/astlib -I /home/opam/.opam/4.10/lib/ppxlib/print_diff -I /home/opam/.opam/4.10/lib/ppxlib/stdppx -I /home/opam/.opam/4.10/lib/ppxlib/traverse_builtins -I /home/opam/.opam/4.10/lib/sexplib0 -I /home/opam/.opam/4.10/lib/stdlib-shims -no-alias-deps -o src/.ppx_genprint.objs/byte/ppx_genprint.cmo -c -impl src/ppx_genprint.pp.ml)
# File "ppx_genprint.cppo.ml", line 2, characters 5-9:
# Error: Unbound module Caml



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build genprint 0.3
+- 
+- The following changes have been performed
| - install cppo                1.7.0
| - install ocaml-compiler-libs v0.12.4
| - install ppx_derivers        1.2.1
| - install ppxlib              0.33.0
| - install sexplib0            v0.16.0
| - 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/4.10/.opam-switch/backup/state-20240912204810.export"
'opam --cli=2.1 install genprint.0.3 stdlib-shims.0.3.0 sexplib0.v0.16.0 ppxlib.0.33.0 ppx_derivers.1.2.1 ocaml-compiler-libs.v0.12.4 dune.3.16.0 cppo.1.7.0 --verbose --yes --confirm-level=unsafe-yes' failed.
OCaml

Innovation. Community. Security.