package ucorelib

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

ucorelib 0.1.0

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 ucorelib.0.1.0 stdlib-shims.0.3.0 seq.0.3.1 ounit2.2.2.7 ounit.2.2.7 ocamlfind.1.9.6 num.0 dune.3.16.0 camlp-streams.5.0.1 batteries.3.8.0 base-num.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 base-num      base
  - install seq           0.3.1
  - install camlp-streams 5.0.1
  - install stdlib-shims  0.3.0
  - install num           0
  - install ounit2        2.2.7
  - install batteries     3.8.0
  - install ounit         2.2.7
  - install ucorelib      0.1.0
===== 9 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/27:
Processing  3/27:
Processing  4/27:
Processing  5/27:
Processing  6/27:
-> installed base-num.base
Processing  7/27:
Processing  8/27:
-> installed num.0
Processing  9/27:
-> retrieved batteries.3.8.0  (cached)
Processing 10/27:
-> retrieved camlp-streams.5.0.1  (cached)
Processing 11/27:
Processing 12/27: [camlp-streams: dune build]
-> retrieved ounit.2.2.7  (cached)
Processing 13/27: [camlp-streams: dune build]
-> retrieved ounit2.2.2.7  (cached)
Processing 14/27: [ucorelib.0.1.0: http] [camlp-streams: dune build]
-> retrieved seq.0.3.1  (cached)
Processing 15/27: [ucorelib.0.1.0: http] [camlp-streams: dune build] [seq: dune build]
-> retrieved stdlib-shims.0.3.0  (cached)
Processing 16/27: [ucorelib.0.1.0: http] [camlp-streams: dune build] [seq: dune build] [stdlib-shims: dune build]
-> compiled  camlp-streams.5.0.1
Processing 16/27: [ucorelib.0.1.0: http] [seq: dune build] [stdlib-shims: dune build]
-> installed camlp-streams.5.0.1
Processing 17/27: [ucorelib.0.1.0: http] [seq: dune build] [stdlib-shims: dune build]
Processing 18/27: [ucorelib.0.1.0: http] [batteries: dune build] [seq: dune build] [stdlib-shims: dune build]
-> compiled  seq.0.3.1
Processing 18/27: [ucorelib.0.1.0: http] [batteries: dune build] [stdlib-shims: dune build]
-> installed seq.0.3.1
Processing 19/27: [ucorelib.0.1.0: http] [batteries: dune build] [stdlib-shims: dune build]
-> compiled  stdlib-shims.0.3.0
Processing 19/27: [ucorelib.0.1.0: http] [batteries: dune build]
-> installed stdlib-shims.0.3.0
Processing 20/27: [ucorelib.0.1.0: http] [batteries: dune build]
Processing 21/27: [ucorelib.0.1.0: http] [batteries: dune build] [ounit2: dune build]
Processing 21/27: [batteries: dune build] [ounit2: dune build]
-> retrieved ucorelib.0.1.0  (https://github.com/yoriyuki/ucorelib/archive/v0.1.0.tar.gz)
-> compiled  ounit2.2.2.7
Processing 21/27: [batteries: dune build]
-> installed ounit2.2.2.7
Processing 22/27: [batteries: dune build]
Processing 23/27: [batteries: dune build]
Processing 24/27: [batteries: dune build] [ounit: make install-ounit]
- ocamlfind remove oUnit
- ocamlfind: [WARNING] No such file: /home/opam/.opam/4.05/lib/oUnit/META
- ocamlfind install oUnit src/lib/oUnit/META -patch-version 2.2.7
- Installed /home/opam/.opam/4.05/lib/oUnit/META
-> installed ounit.2.2.7
Processing 24/27: [batteries: dune build]
+ /home/opam/.opam/4.05/bin/dune "build" "-p" "batteries" "-j" "39" "@install" (CWD=/home/opam/.opam/4.05/.opam-switch/build/batteries.3.8.0)
-> compiled  batteries.3.8.0
-> installed batteries.3.8.0
Processing 26/27: [ucorelib: ocaml setup.ml]
+ /home/opam/.opam/4.05/bin/ocaml "setup.ml" "-configure" "--prefix" "/home/opam/.opam/4.05" (CWD=/home/opam/.opam/4.05/.opam-switch/build/ucorelib.0.1.0)
- File "./setup.ml", line 247, characters 8-26:
- Warning 3: deprecated: String.set
- Use Bytes.set instead.
- File "./setup.ml", line 320, characters 20-36:
- Warning 3: deprecated: String.lowercase
- Use String.lowercase_ascii instead.
- File "./setup.ml", line 320, characters 42-58:
- Warning 3: deprecated: String.lowercase
- Use String.lowercase_ascii instead.
- File "./setup.ml", line 329, characters 14-30:
- Warning 3: deprecated: String.lowercase
- Use String.lowercase_ascii instead.
- File "./setup.ml", line 329, characters 38-54:
- Warning 3: deprecated: String.lowercase
- Use String.lowercase_ascii instead.
- File "./setup.ml", line 332, characters 25-41:
- Warning 3: deprecated: String.lowercase
- Use String.lowercase_ascii instead.
- File "./setup.ml", line 370, characters 10-26:
- Warning 3: deprecated: String.lowercase
- Use String.lowercase_ascii instead.
- File "./setup.ml", line 476, characters 13-29:
- Warning 3: deprecated: String.lowercase
- Use String.lowercase_ascii instead.
- File "./setup.ml", line 1820, characters 16-33:
- Warning 3: deprecated: String.capitalize
- Use String.capitalize_ascii instead.
- File "./setup.ml", line 1826, characters 16-35:
- Warning 3: deprecated: String.uncapitalize
- Use String.uncapitalize_ascii instead.
- File "./setup.ml", line 2502, characters 6-24:
- Warning 3: deprecated: Lazy.lazy_from_fun
- Use Lazy.from_fun instead.
- File "setup.ml", line 5857, characters 31-50:
- Warning 3: deprecated: String.uncapitalize
- Use String.uncapitalize_ascii instead.
- File "setup.ml", line 5858, characters 31-48:
- Warning 3: deprecated: String.capitalize
- Use String.capitalize_ascii instead.
- File "setup.ml", line 5859, characters 31-50:
- Warning 3: deprecated: String.uncapitalize
- Use String.uncapitalize_ascii instead.
- File "setup.ml", line 5860, characters 31-48:
- Warning 3: deprecated: String.capitalize
- Use String.capitalize_ascii instead.
- File "setup.ml", line 5925, characters 31-50:
- Warning 3: deprecated: String.uncapitalize
- Use String.uncapitalize_ascii instead.
- File "setup.ml", line 5926, characters 31-48:
- Warning 3: deprecated: String.capitalize
- Use String.capitalize_ascii instead.
- File "setup.ml", line 5927, characters 31-50:
- Warning 3: deprecated: String.uncapitalize
- Use String.uncapitalize_ascii instead.
- File "setup.ml", line 5928, characters 31-48:
- Warning 3: deprecated: String.capitalize
- Use String.capitalize_ascii instead.
- W: Not_found
- W: Not_found
- E: Cannot find external tool 'ocamlbuild'
- E: Failure("1 configuration error")
[ERROR] The compilation of ucorelib.0.1.0 failed at "ocaml setup.ml -configure --prefix /home/opam/.opam/4.05".

#=== ERROR while compiling ucorelib.0.1.0 =====================================#
# context              2.1.6 | linux/x86_64 | ocaml-base-compiler.4.05.0 | file:///src
# path                 ~/.opam/4.05/.opam-switch/build/ucorelib.0.1.0
# command              ~/.opam/4.05/bin/ocaml setup.ml -configure --prefix /home/opam/.opam/4.05
# exit-code            1
# env-file             ~/.opam/log/ucorelib-115-181dc3.env
# output-file          ~/.opam/log/ucorelib-115-181dc3.out
### output ###
# File "./setup.ml", line 247, characters 8-26:
# Warning 3: deprecated: String.set
# Use Bytes.set instead.
# File "./setup.ml", line 320, characters 20-36:
# Warning 3: deprecated: String.lowercase
# Use String.lowercase_ascii instead.
# File "./setup.ml", line 320, characters 42-58:
# Warning 3: deprecated: String.lowercase
# Use String.lowercase_ascii instead.
# File "./setup.ml", line 329, characters 14-30:
# Warning 3: deprecated: String.lowercase
# Use String.lowercase_ascii instead.
# File "./setup.ml", line 329, characters 38-54:
# Warning 3: deprecated: String.lowercase
# Use String.lowercase_ascii instead.
# File "./setup.ml", line 332, characters 25-41:
# Warning 3: deprecated: String.lowercase
# Use String.lowercase_ascii instead.
# File "./setup.ml", line 370, characters 10-26:
# Warning 3: deprecated: String.lowercase
# Use String.lowercase_ascii instead.
# File "./setup.ml", line 476, characters 13-29:
# Warning 3: deprecated: String.lowercase
# Use String.lowercase_ascii instead.
# File "./setup.ml", line 1820, characters 16-33:
# Warning 3: deprecated: String.capitalize
# Use String.capitalize_ascii instead.
# File "./setup.ml", line 1826, characters 16-35:
# Warning 3: deprecated: String.uncapitalize
# Use String.uncapitalize_ascii instead.
# File "./setup.ml", line 2502, characters 6-24:
# Warning 3: deprecated: Lazy.lazy_from_fun
# Use Lazy.from_fun instead.
# File "setup.ml", line 5857, characters 31-50:
# Warning 3: deprecated: String.uncapitalize
# Use String.uncapitalize_ascii instead.
# File "setup.ml", line 5858, characters 31-48:
# Warning 3: deprecated: String.capitalize
# Use String.capitalize_ascii instead.
# File "setup.ml", line 5859, characters 31-50:
# Warning 3: deprecated: String.uncapitalize
# Use String.uncapitalize_ascii instead.
# File "setup.ml", line 5860, characters 31-48:
# Warning 3: deprecated: String.capitalize
# Use String.capitalize_ascii instead.
# File "setup.ml", line 5925, characters 31-50:
# Warning 3: deprecated: String.uncapitalize
# Use String.uncapitalize_ascii instead.
# File "setup.ml", line 5926, characters 31-48:
# Warning 3: deprecated: String.capitalize
# Use String.capitalize_ascii instead.
# File "setup.ml", line 5927, characters 31-50:
# Warning 3: deprecated: String.uncapitalize
# Use String.uncapitalize_ascii instead.
# File "setup.ml", line 5928, characters 31-48:
# Warning 3: deprecated: String.capitalize
# Use String.capitalize_ascii instead.
# W: Not_found
# W: Not_found
# E: Cannot find external tool 'ocamlbuild'
# E: Failure("1 configuration error")



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ucorelib 0.1.0
+- 
+- The following changes have been performed
| - install base-num      base
| - install batteries     3.8.0
| - install camlp-streams 5.0.1
| - install num           0
| - install ounit         2.2.7
| - install ounit2        2.2.7
| - install seq           0.3.1
| - 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.05/.opam-switch/backup/state-20240912203137.export"
'opam --cli=2.1 install ucorelib.0.1.0 stdlib-shims.0.3.0 seq.0.3.1 ounit2.2.2.7 ounit.2.2.7 ocamlfind.1.9.6 num.0 dune.3.16.0 camlp-streams.5.0.1 batteries.3.8.0 base-num.base --verbose --yes --confirm-level=unsafe-yes' failed.
OCaml

Innovation. Community. Security.