package ocp-ocamlres

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

ocp-ocamlres 0.2

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 ocp-ocamlres.0.2 pprint.20230830 ocamlfind.1.9.6 dune.3.16.0 base-unsafe-string.base" 

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).
[NOTE] Package ocamlfind is already installed (current version is 1.9.6).
The following actions will be performed:
  - install pprint             20230830
  - install base-unsafe-string base
  - install ocp-ocamlres       0.2
===== 3 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/9: [ocp-ocamlres.0.2: http]
Processing  3/9: [ocp-ocamlres.0.2: http]
Processing  4/9: [ocp-ocamlres.0.2: http]
-> installed base-unsafe-string.base
Processing  5/9: [ocp-ocamlres.0.2: http]
Processing  5/9:
-> retrieved pprint.20230830  (cached)
Processing  6/9: [pprint: dune build]
-> retrieved ocp-ocamlres.0.2  (https://github.com/OCamlPro/ocp-ocamlres/archive/v0.2.tar.gz)
+ /home/opam/.opam/4.05/bin/dune "build" "-p" "pprint" "-j" "39" (CWD=/home/opam/.opam/4.05/.opam-switch/build/pprint.20230830)
-> compiled  pprint.20230830
-> installed pprint.20230830
Processing  8/9: [ocp-ocamlres: make all]
+ /usr/bin/make "all" (CWD=/home/opam/.opam/4.05/.opam-switch/build/ocp-ocamlres.0.2)
- ocamlfind ocamldep -I src -package unix,str,pprint,dynlink src/oCamlRes.ml src/oCamlResScanners.ml src/oCamlResSubFormats.ml src/oCamlResFormats.ml src/oCamlResRegistry.ml > .depend
- sed -i s/src/build/g .depend
- mkdir build
- ocamlfind ocamlc -I build -g -bin-annot -c -package unix,str,pprint,dynlink src/oCamlRes.mli
- cp src/oCamlRes.cmi  build/oCamlRes.cmi
- ocamlfind ocamlc -I build -g -bin-annot -c -package unix,str,pprint,dynlink src/oCamlRes.ml
- cp src/oCamlRes.cmo  build/oCamlRes.cmo
- ocamlfind ocamlc -I build -g -bin-annot -c -package unix,str,pprint,dynlink src/oCamlResScanners.ml
- File "src/oCamlResScanners.ml", line 111, characters 21-34:
- Warning 3: deprecated: String.create
- Use Bytes.create instead.
- cp src/oCamlResScanners.cmo  build/oCamlResScanners.cmo
- ocamlfind ocamlc -I build -g -bin-annot -c -package unix,str,pprint,dynlink src/oCamlResSubFormats.ml
- File "src/oCamlResSubFormats.ml", line 157, characters 20-33:
- Warning 3: deprecated: String.create
- Use Bytes.create instead.
- File "src/oCamlResSubFormats.ml", line 158, characters 12-25:
- Warning 3: deprecated: String.set
- Use Bytes.set instead.
- File "src/oCamlResSubFormats.ml", line 158, characters 28-40:
- Warning 3: deprecated: String.set
- Use Bytes.set instead.
- File "src/oCamlResSubFormats.ml", line 159, characters 12-37:
- Warning 3: deprecated: String.set
- Use Bytes.set instead.
- File "src/oCamlResSubFormats.ml", line 159, characters 40-67:
- Warning 3: deprecated: String.set
- Use Bytes.set instead.
- cp src/oCamlResSubFormats.cmo  build/oCamlResSubFormats.cmo
- ocamlfind ocamlc -I build -g -bin-annot -c -package unix,str,pprint,dynlink src/oCamlResFormats.ml
- File "src/oCamlResFormats.ml", line 20, characters 5-23:
- Error: Unbound module OCamlResSubFormats
- make: *** [Makefile:53: src/oCamlResFormats.cmo] Error 2
- rm src/oCamlRes.cmo src/oCamlResSubFormats.cmo src/oCamlResScanners.cmo src/oCamlRes.cmi
[ERROR] The compilation of ocp-ocamlres.0.2 failed at "make all".

#=== ERROR while compiling ocp-ocamlres.0.2 ===================================#
# context              2.1.6 | linux/x86_64 | ocaml-base-compiler.4.05.0 | file:///src
# path                 ~/.opam/4.05/.opam-switch/build/ocp-ocamlres.0.2
# command              /usr/bin/make all
# exit-code            2
# env-file             ~/.opam/log/ocp-ocamlres-115-ad63be.env
# output-file          ~/.opam/log/ocp-ocamlres-115-ad63be.out
### output ###
# ocamlfind ocamldep -I src -package unix,str,pprint,dynlink src/oCamlRes.ml src/oCamlResScanners.ml src/oCamlResSubFormats.ml src/oCamlResFormats.ml src/oCamlResRegistry.ml > .depend
# sed -i s/src/build/g .depend
# mkdir build
# ocamlfind ocamlc -I build -g -bin-annot -c -package unix,str,pprint,dynlink src/oCamlRes.mli
# cp src/oCamlRes.cmi  build/oCamlRes.cmi
# ocamlfind ocamlc -I build -g -bin-annot -c -package unix,str,pprint,dynlink src/oCamlRes.ml
# cp src/oCamlRes.cmo  build/oCamlRes.cmo
# ocamlfind ocamlc -I build -g -bin-annot -c -package unix,str,pprint,dynlink src/oCamlResScanners.ml
# File "src/oCamlResScanners.ml", line 111, characters 21-34:
# Warning 3: deprecated: String.create
# Use Bytes.create instead.
# cp src/oCamlResScanners.cmo  build/oCamlResScanners.cmo
# ocamlfind ocamlc -I build -g -bin-annot -c -package unix,str,pprint,dynlink src/oCamlResSubFormats.ml
# File "src/oCamlResSubFormats.ml", line 157, characters 20-33:
# Warning 3: deprecated: String.create
# Use Bytes.create instead.
# File "src/oCamlResSubFormats.ml", line 158, characters 12-25:
# Warning 3: deprecated: String.set
# Use Bytes.set instead.
# File "src/oCamlResSubFormats.ml", line 158, characters 28-40:
# Warning 3: deprecated: String.set
# Use Bytes.set instead.
# File "src/oCamlResSubFormats.ml", line 159, characters 12-37:
# Warning 3: deprecated: String.set
# Use Bytes.set instead.
# File "src/oCamlResSubFormats.ml", line 159, characters 40-67:
# Warning 3: deprecated: String.set
# Use Bytes.set instead.
# cp src/oCamlResSubFormats.cmo  build/oCamlResSubFormats.cmo
# ocamlfind ocamlc -I build -g -bin-annot -c -package unix,str,pprint,dynlink src/oCamlResFormats.ml
# File "src/oCamlResFormats.ml", line 20, characters 5-23:
# Error: Unbound module OCamlResSubFormats
# make: *** [Makefile:53: src/oCamlResFormats.cmo] Error 2
# rm src/oCamlRes.cmo src/oCamlResSubFormats.cmo src/oCamlResScanners.cmo src/oCamlRes.cmi



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ocp-ocamlres 0.2
+- 
+- The following changes have been performed
| - install base-unsafe-string base
| - install pprint             20230830
+- 
# 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.05/.opam-switch/backup/state-20240912210342.export"
'opam --cli=2.1 install ocp-ocamlres.0.2 pprint.20230830 ocamlfind.1.9.6 dune.3.16.0 base-unsafe-string.base --verbose --yes --confirm-level=unsafe-yes' failed.
OCaml

Innovation. Community. Security.