package bytepdf

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

bytepdf 0.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.8).
The following actions will be performed:
=== install 16 packages
  - install astring           0.8.5
  - install bos               0.2.1
  - install bytepdf           0.1
  - install camlpdf           2.8
  - install cmdliner          1.3.0
  - install containers        3.15
  - install csexp             1.5.2
  - install dune-configurator 3.17.2
  - install either            1.0.0
  - install fmt               0.9.0
  - install fpath             0.7.3
  - install logs              0.7.0
  - install obytelib          1.5
  - install ocamlbuild        0.15.0
  - install rresult           0.7.0
  - install topkg             1.0.7

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved containers.3.15  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved camlpdf.2.8  (https://github.com/johnwhitington/camlpdf/archive/refs/tags/v2.8.tar.gz)
-> installed csexp.1.5.2
-> retrieved either.1.0.0  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved logs.0.7.0  (cached)
-> installed either.1.0.0
-> retrieved bytepdf.0.1  (https://github.com/Drup/bytepdf/releases/download/0.1/bytepdf-0.1.tbz)
-> retrieved obytelib.1.5  (https://github.com/bvaugon/obytelib/archive/1.5.tar.gz)
-> retrieved rresult.0.7.0  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved dune-configurator.3.17.2  (cached)
-> installed cmdliner.1.3.0
-> installed dune-configurator.3.17.2
-> installed containers.3.15
-> installed ocamlbuild.0.15.0
-> installed camlpdf.2.8
-> installed topkg.1.0.7
-> installed obytelib.1.5
-> installed rresult.0.7.0
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed logs.0.7.0
-> installed bos.0.2.1
[ERROR] The compilation of bytepdf.0.1 failed at "dune build -p bytepdf -j 31".

#=== ERROR while compiling bytepdf.0.1 ========================================#
# context              2.3.0 | linux/x86_64 | ocaml-base-compiler.4.12.1 | file:///src
# path                 ~/.opam/4.12/.opam-switch/build/bytepdf.0.1
# command              ~/.opam/4.12/bin/dune build -p bytepdf -j 31
# exit-code            1
# env-file             ~/.opam/log/bytepdf-113-0a1bfd.env
# output-file          ~/.opam/log/bytepdf-113-0a1bfd.out
### output ###
# (cd _build/default && /home/opam/.opam/4.12/bin/ocamlc.opt -w -40 -g -bin-annot -I .bytepdf.eobjs/byte -I /home/opam/.opam/4.12/lib/astring -I /home/opam/.opam/4.12/lib/bos -I /home/opam/.opam/4.12/lib/camlpdf -I /home/opam/.opam/4.12/lib/cmdliner -I /home/opam/.opam/4.12/lib/containers -I /home/opam/.opam/4.12/lib/containers/monomorphic -I /home/opam/.opam/4.12/lib/either -I /home/opam/.opam/4.12/lib/fmt -I /home/opam/.opam/4.12/lib/fpath -I /home/opam/.opam/4.12/lib/logs -I /home/opam/.opam/4.12/lib/obytelib -I /home/opam/.opam/4.12/lib/rresult -no-alias-deps -o .bytepdf.eobjs/byte/bytepdf.cmo -c -impl bytepdf.ml)
# File "bytepdf.ml", line 222, characters 75-80:
# 222 |       ~preserve_objstm:false ~generate_objstm:false ~compress_objstm:false false
#                                                                                  ^^^^^
# Error: This variant expression is expected to have type
#          Pdfwrite.encryption option
#        The constructor false does not belong to type option



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build bytepdf 0.1
+- 
+- The following changes have been performed
| - install astring           0.8.5
| - install bos               0.2.1
| - install camlpdf           2.8
| - install cmdliner          1.3.0
| - install containers        3.15
| - install csexp             1.5.2
| - install dune-configurator 3.17.2
| - install either            1.0.0
| - install fmt               0.9.0
| - install fpath             0.7.3
| - install logs              0.7.0
| - install obytelib          1.5
| - install ocamlbuild        0.15.0
| - install rresult           0.7.0
| - install topkg             1.0.7
+- 
# 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/4.12/.opam-switch/backup/state-20250317121746.export"
OCaml

Innovation. Community. Security.