package ucorelib

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

ucorelib 0.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 ucorelib.0.0.2 stdlib-shims.0.3.0 seq.0.3.1 ounit2.2.2.7 ounit.2.2.7 ocamlfind.1.9.6 dune.3.16.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).
[NOTE] Package ocamlfind is already installed (current version is 1.9.6).
The following actions will be performed:
  - install seq          0.3.1
  - install stdlib-shims 0.3.0
  - install ounit2       2.2.7
  - install ounit        2.2.7
  - install ucorelib     0.0.2
===== 5 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/15:
Processing  2/15:
Processing  3/15:
-> retrieved ounit.2.2.7  (cached)
Processing  4/15:
-> retrieved ounit2.2.2.7  (cached)
Processing  5/15: [ucorelib.0.0.2: http]
-> retrieved seq.0.3.1  (cached)
Processing  6/15: [ucorelib.0.0.2: http] [seq: dune build]
-> retrieved stdlib-shims.0.3.0  (cached)
Processing  7/15: [ucorelib.0.0.2: http] [seq: dune build] [stdlib-shims: dune build]
Processing  7/15: [seq: dune build] [stdlib-shims: dune build]
-> retrieved ucorelib.0.0.2  (https://github.com/yoriyuki/ucorelib/archive/v0.0.2.tar.gz)
-> compiled  seq.0.3.1
Processing  7/15: [stdlib-shims: dune build]
-> installed seq.0.3.1
Processing  8/15: [stdlib-shims: dune build]
+ /home/opam/.opam/4.05/bin/dune "build" "-p" "stdlib-shims" "-j" "39" (CWD=/home/opam/.opam/4.05/.opam-switch/build/stdlib-shims.0.3.0)
-> compiled  stdlib-shims.0.3.0
-> installed stdlib-shims.0.3.0
Processing 10/15: [ounit2: dune build]
+ /home/opam/.opam/4.05/bin/dune "build" "-p" "ounit2" "-j" "39" "@install" (CWD=/home/opam/.opam/4.05/.opam-switch/build/ounit2.2.2.7)
-> compiled  ounit2.2.2.7
-> installed ounit2.2.2.7
Processing 13/15: [ounit: make install-ounit]
+ /usr/bin/make "install-ounit" "version=2.2.7" (CWD=/home/opam/.opam/4.05/.opam-switch/build/ounit.2.2.7)
- 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 14/15: [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.0.2)
- File "./setup.ml", line 213, characters 8-26:
- Warning 3: deprecated: String.set
- Use Bytes.set instead.
- File "./setup.ml", line 246, characters 20-36:
- Warning 3: deprecated: String.lowercase
- Use String.lowercase_ascii instead.
- File "./setup.ml", line 246, characters 42-58:
- Warning 3: deprecated: String.lowercase
- Use String.lowercase_ascii instead.
- File "./setup.ml", line 254, characters 14-30:
- Warning 3: deprecated: String.lowercase
- Use String.lowercase_ascii instead.
- File "./setup.ml", line 254, characters 38-54:
- Warning 3: deprecated: String.lowercase
- Use String.lowercase_ascii instead.
- File "./setup.ml", line 257, characters 25-41:
- Warning 3: deprecated: String.lowercase
- Use String.lowercase_ascii instead.
- File "./setup.ml", line 287, characters 10-26:
- Warning 3: deprecated: String.lowercase
- Use String.lowercase_ascii instead.
- File "./setup.ml", line 384, characters 13-29:
- Warning 3: deprecated: String.lowercase
- Use String.lowercase_ascii instead.
- File "./setup.ml", line 1253, characters 16-33:
- Warning 3: deprecated: String.capitalize
- Use String.capitalize_ascii instead.
- File "./setup.ml", line 1258, characters 16-35:
- Warning 3: deprecated: String.uncapitalize
- Use String.uncapitalize_ascii instead.
- File "./setup.ml", line 1793, characters 6-24:
- Warning 3: deprecated: Lazy.lazy_from_fun
- Use Lazy.from_fun instead.
- File "setup.ml", line 4920, characters 31-50:
- Warning 3: deprecated: String.uncapitalize
- Use String.uncapitalize_ascii instead.
- File "setup.ml", line 4921, characters 31-48:
- Warning 3: deprecated: String.capitalize
- Use String.capitalize_ascii instead.
- File "setup.ml", line 4922, characters 31-50:
- Warning 3: deprecated: String.uncapitalize
- Use String.uncapitalize_ascii instead.
- File "setup.ml", line 4923, 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.0.2 failed at "ocaml setup.ml -configure --prefix /home/opam/.opam/4.05".

#=== ERROR while compiling ucorelib.0.0.2 =====================================#
# context              2.1.6 | linux/x86_64 | ocaml-base-compiler.4.05.0 | file:///src
# path                 ~/.opam/4.05/.opam-switch/build/ucorelib.0.0.2
# command              ~/.opam/4.05/bin/ocaml setup.ml -configure --prefix /home/opam/.opam/4.05
# exit-code            1
# env-file             ~/.opam/log/ucorelib-115-7b5fea.env
# output-file          ~/.opam/log/ucorelib-115-7b5fea.out
### output ###
# File "./setup.ml", line 213, characters 8-26:
# Warning 3: deprecated: String.set
# Use Bytes.set instead.
# File "./setup.ml", line 246, characters 20-36:
# Warning 3: deprecated: String.lowercase
# Use String.lowercase_ascii instead.
# File "./setup.ml", line 246, characters 42-58:
# Warning 3: deprecated: String.lowercase
# Use String.lowercase_ascii instead.
# File "./setup.ml", line 254, characters 14-30:
# Warning 3: deprecated: String.lowercase
# Use String.lowercase_ascii instead.
# File "./setup.ml", line 254, characters 38-54:
# Warning 3: deprecated: String.lowercase
# Use String.lowercase_ascii instead.
# File "./setup.ml", line 257, characters 25-41:
# Warning 3: deprecated: String.lowercase
# Use String.lowercase_ascii instead.
# File "./setup.ml", line 287, characters 10-26:
# Warning 3: deprecated: String.lowercase
# Use String.lowercase_ascii instead.
# File "./setup.ml", line 384, characters 13-29:
# Warning 3: deprecated: String.lowercase
# Use String.lowercase_ascii instead.
# File "./setup.ml", line 1253, characters 16-33:
# Warning 3: deprecated: String.capitalize
# Use String.capitalize_ascii instead.
# File "./setup.ml", line 1258, characters 16-35:
# Warning 3: deprecated: String.uncapitalize
# Use String.uncapitalize_ascii instead.
# File "./setup.ml", line 1793, characters 6-24:
# Warning 3: deprecated: Lazy.lazy_from_fun
# Use Lazy.from_fun instead.
# File "setup.ml", line 4920, characters 31-50:
# Warning 3: deprecated: String.uncapitalize
# Use String.uncapitalize_ascii instead.
# File "setup.ml", line 4921, characters 31-48:
# Warning 3: deprecated: String.capitalize
# Use String.capitalize_ascii instead.
# File "setup.ml", line 4922, characters 31-50:
# Warning 3: deprecated: String.uncapitalize
# Use String.uncapitalize_ascii instead.
# File "setup.ml", line 4923, 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.0.2
+- 
+- The following changes have been performed
| - 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-20240912205203.export"
'opam --cli=2.1 install ucorelib.0.0.2 stdlib-shims.0.3.0 seq.0.3.1 ounit2.2.2.7 ounit.2.2.7 ocamlfind.1.9.6 dune.3.16.0 --verbose --yes --confirm-level=unsafe-yes' failed.
OCaml

Innovation. Community. Security.