package luv

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

luv 0.5.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.1-1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.1-1  (cached)
-> removed   opam-depext.1.2.1-1
-> installed opam-depext.1.2.1-1
Done.

<><> opam-depext.1.2.1-1 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 luv.0.5.0 stdlib-shims.0.3.0 result.1.5 integers.0.7.0 dune-configurator.3.13.0 dune.3.13.0 ctypes.0.21.1 csexp.1.5.2 conf-python-3.9.0.0 bigarray-compat.1.1.0" 

You are using opam 2.1+, where external dependency handling has been integrated: consider calling opam directly, the 'depext' plugin interface is provided for backwards compatibility only
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# The following system packages are needed:
python3
[NOTE] Package dune is already installed (current version is 3.13.0).
The following actions will be performed:
  - install bigarray-compat   1.1.0
  - install conf-python-3     9.0.0
  - install result            1.5
  - install csexp             1.5.2
  - install stdlib-shims      0.3.0
  - install dune-configurator 3.13.0
  - install integers          0.7.0
  - install ctypes            0.21.1
  - install luv               0.5.0
===== 9 to install =====

The following system packages will first need to be installed:
    python3

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
Let opam run your package manager to install the required system packages?
(answer 'n' for other options) [Y/n] y
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "python3"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libpython3.11-minimal:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18774 files and directories currently installed.)
- Preparing to unpack .../libpython3.11-minimal_3.11.2-6_amd64.deb ...
- Unpacking libpython3.11-minimal:amd64 (3.11.2-6) ...
- Selecting previously unselected package python3.11-minimal.
- Preparing to unpack .../python3.11-minimal_3.11.2-6_amd64.deb ...
- Unpacking python3.11-minimal (3.11.2-6) ...
- Setting up libpython3.11-minimal:amd64 (3.11.2-6) ...
- Setting up python3.11-minimal (3.11.2-6) ...
- Selecting previously unselected package python3-minimal.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 19081 files and directories currently installed.)
- Preparing to unpack .../python3-minimal_3.11.2-1+b1_amd64.deb ...
- Unpacking python3-minimal (3.11.2-1+b1) ...
- Selecting previously unselected package media-types.
- Preparing to unpack .../media-types_10.0.0_all.deb ...
- Unpacking media-types (10.0.0) ...
- Selecting previously unselected package libpython3.11-stdlib:amd64.
- Preparing to unpack .../libpython3.11-stdlib_3.11.2-6_amd64.deb ...
- Unpacking libpython3.11-stdlib:amd64 (3.11.2-6) ...
- Selecting previously unselected package python3.11.
- Preparing to unpack .../python3.11_3.11.2-6_amd64.deb ...
- Unpacking python3.11 (3.11.2-6) ...
- Selecting previously unselected package libpython3-stdlib:amd64.
- Preparing to unpack .../libpython3-stdlib_3.11.2-1+b1_amd64.deb ...
- Unpacking libpython3-stdlib:amd64 (3.11.2-1+b1) ...
- Setting up python3-minimal (3.11.2-1+b1) ...
- Selecting previously unselected package python3.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 19491 files and directories currently installed.)
- Preparing to unpack .../python3_3.11.2-1+b1_amd64.deb ...
- Unpacking python3 (3.11.2-1+b1) ...
- Setting up media-types (10.0.0) ...
- Setting up libpython3.11-stdlib:amd64 (3.11.2-6) ...
- Setting up libpython3-stdlib:amd64 (3.11.2-1+b1) ...
- Setting up python3.11 (3.11.2-6) ...
- Setting up python3 (3.11.2-1+b1) ...
- running python rtupdate hooks for python3.11...
- running python post-rtupdate hooks for python3.11...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/27:
Processing  2/27:
Processing  3/27:
Processing  4/27:
Processing  5/27: [conf-python-3: python3 test.py]
-> retrieved bigarray-compat.1.1.0  (cached)
Processing  6/27: [conf-python-3: python3 test.py]
Processing  7/27: [bigarray-compat: dune build] [conf-python-3: python3 test.py]
-> retrieved csexp.1.5.2  (cached)
Processing  8/27: [bigarray-compat: dune build] [conf-python-3: python3 test.py]
Processing  9/27: [bigarray-compat: dune build] [conf-python-3: python3 test.py] [csexp: dune build]
-> retrieved ctypes.0.21.1  (cached)
Processing 10/27: [bigarray-compat: dune build] [conf-python-3: python3 test.py] [csexp: dune build]
- python-3 OK
-> compiled  conf-python-3.9.0.0
Processing 10/27: [bigarray-compat: dune build] [csexp: dune build]
-> installed conf-python-3.9.0.0
Processing 11/27: [bigarray-compat: dune build] [csexp: dune build]
-> retrieved integers.0.7.0  (cached)
Processing 12/27: [bigarray-compat: dune build] [csexp: dune build]
-> retrieved result.1.5  (cached)
Processing 13/27: [bigarray-compat: dune build] [csexp: dune build]
Processing 14/27: [bigarray-compat: dune build] [csexp: dune build] [result: dune build]
-> retrieved luv.0.5.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
Processing 15/27: [bigarray-compat: dune build] [csexp: dune build] [result: dune build] [stdlib-shims: dune build]
-> compiled  csexp.1.5.2
Processing 15/27: [bigarray-compat: dune build] [result: dune build] [stdlib-shims: dune build]
-> installed csexp.1.5.2
Processing 16/27: [bigarray-compat: dune build] [result: dune build] [stdlib-shims: dune build]
-> compiled  bigarray-compat.1.1.0
Processing 16/27: [result: dune build] [stdlib-shims: dune build]
-> installed bigarray-compat.1.1.0
Processing 17/27: [result: dune build] [stdlib-shims: dune build]
-> compiled  result.1.5
Processing 17/27: [stdlib-shims: dune build]
-> installed result.1.5
Processing 18/27: [stdlib-shims: dune build]
-> compiled  stdlib-shims.0.3.0
Processing 18/27:
-> installed stdlib-shims.0.3.0
Processing 19/27:
Processing 20/27: [integers: dune build]
-> retrieved dune-configurator.3.13.0  (cached)
Processing 21/27: [dune-configurator: rm] [integers: dune build]
-> compiled  integers.0.7.0
Processing 21/27: [dune-configurator: rm]
-> installed integers.0.7.0
Processing 22/27: [dune-configurator: rm]
+ /usr/bin/rm "-rf" "vendor/csexp" (CWD=/home/opam/.opam/5.1/.opam-switch/build/dune-configurator.3.13.0)
+ /usr/bin/rm "-rf" "vendor/pp" (CWD=/home/opam/.opam/5.1/.opam-switch/build/dune-configurator.3.13.0)
Processing 22/27: [dune-configurator: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "dune-configurator" "-j" "255" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/dune-configurator.3.13.0)
-> compiled  dune-configurator.3.13.0
-> installed dune-configurator.3.13.0
Processing 24/27: [ctypes: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "ctypes" "-j" "255" "--promote-install-files=false" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/ctypes.0.21.1)
Processing 24/27: [ctypes: dune install]
+ /home/opam/.opam/5.1/bin/dune "install" "-p" "ctypes" "--create-install-files" "ctypes" (CWD=/home/opam/.opam/5.1/.opam-switch/build/ctypes.0.21.1)
-> compiled  ctypes.0.21.1
-> installed ctypes.0.21.1
Processing 26/27: [luv: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "luv" "-j" "255" (CWD=/home/opam/.opam/5.1/.opam-switch/build/luv.0.5.0)
- (cd _build/default/src/c && /home/opam/.opam/5.1/bin/ocaml link-gyp.ml)
- File "_none_", line 1:
- Alert ocaml_deprecated_auto_include: 
- OCaml's lib directory layout changed in 5.0. The unix subdirectory has been
- automatically added to the search path, but you should add -I +unix to the
- command-line to silence this alert (e.g. by adding unix to the list of
- libraries in your dune file, or adding use_unix to your _tags file for
- ocamlbuild, or using -package unix for ocamlfind).
- File "src/c/dune", line 17, characters 0-569:
- 17 | (rule
- 18 |  (targets libuv.a dlluv.so)
- 19 |  (deps (source_tree vendor) link-gyp.ml copy-so.ml)
- ....
- 31 |    (setenv BUILDTYPE Release
- 32 |     (run make -C vendor/libuv/out libuv)))
- 33 |   (run ocaml copy-so.ml))))
- (cd _build/default/src/c/vendor/libuv && /usr/bin/python3 gyp_uv.py -f make -Duv_library=static_library)
- /home/opam/.opam/5.1/.opam-switch/build/luv.0.5.0/_build/default/src/c/vendor/libuv/build/gyp/pylib/gyp/input.py:1186: SyntaxWarning: "is" with a literal. Did you mean "=="?
-   if the_dict_key is 'variables' and variable_name in the_dict:
- Traceback (most recent call last):
-   File "/home/opam/.opam/5.1/.opam-switch/build/luv.0.5.0/_build/default/src/c/vendor/libuv/gyp_uv.py", line 21, in <module>
-     import gyp
-   File "/home/opam/.opam/5.1/.opam-switch/build/luv.0.5.0/_build/default/src/c/vendor/libuv/build/gyp/pylib/gyp/__init__.py", line 10, in <module>
-     import gyp.input
-   File "/home/opam/.opam/5.1/.opam-switch/build/luv.0.5.0/_build/default/src/c/vendor/libuv/build/gyp/pylib/gyp/input.py", line 8, in <module>
-     import gyp.common
-   File "/home/opam/.opam/5.1/.opam-switch/build/luv.0.5.0/_build/default/src/c/vendor/libuv/build/gyp/pylib/gyp/common.py", line 497, in <module>
-     class OrderedSet(collections.MutableSet):
-                      ^^^^^^^^^^^^^^^^^^^^^^
- AttributeError: module 'collections' has no attribute 'MutableSet'
[ERROR] The compilation of luv.0.5.0 failed at "dune build -p luv -j 255".

#=== ERROR while compiling luv.0.5.0 ==========================================#
# context              2.1.5 | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///src
# path                 ~/.opam/5.1/.opam-switch/build/luv.0.5.0
# command              ~/.opam/5.1/bin/dune build -p luv -j 255
# exit-code            1
# env-file             ~/.opam/log/luv-113-938ff4.env
# output-file          ~/.opam/log/luv-113-938ff4.out
### output ###
# (cd _build/default/src/c && /home/opam/.opam/5.1/bin/ocaml link-gyp.ml)
# File "_none_", line 1:
# Alert ocaml_deprecated_auto_include: 
# OCaml's lib directory layout changed in 5.0. The unix subdirectory has been
# automatically added to the search path, but you should add -I +unix to the
# command-line to silence this alert (e.g. by adding unix to the list of
# libraries in your dune file, or adding use_unix to your _tags file for
# ocamlbuild, or using -package unix for ocamlfind).
# File "src/c/dune", line 17, characters 0-569:
# 17 | (rule
# 18 |  (targets libuv.a dlluv.so)
# 19 |  (deps (source_tree vendor) link-gyp.ml copy-so.ml)
# ....
# 31 |    (setenv BUILDTYPE Release
# 32 |     (run make -C vendor/libuv/out libuv)))
# 33 |   (run ocaml copy-so.ml))))
# (cd _build/default/src/c/vendor/libuv && /usr/bin/python3 gyp_uv.py -f make -Duv_library=static_library)
# /home/opam/.opam/5.1/.opam-switch/build/luv.0.5.0/_build/default/src/c/vendor/libuv/build/gyp/pylib/gyp/input.py:1186: SyntaxWarning: "is" with a literal. Did you mean "=="?
#   if the_dict_key is 'variables' and variable_name in the_dict:
# Traceback (most recent call last):
#   File "/home/opam/.opam/5.1/.opam-switch/build/luv.0.5.0/_build/default/src/c/vendor/libuv/gyp_uv.py", line 21, in <module>
#     import gyp
#   File "/home/opam/.opam/5.1/.opam-switch/build/luv.0.5.0/_build/default/src/c/vendor/libuv/build/gyp/pylib/gyp/__init__.py", line 10, in <module>
#     import gyp.input
#   File "/home/opam/.opam/5.1/.opam-switch/build/luv.0.5.0/_build/default/src/c/vendor/libuv/build/gyp/pylib/gyp/input.py", line 8, in <module>
#     import gyp.common
#   File "/home/opam/.opam/5.1/.opam-switch/build/luv.0.5.0/_build/default/src/c/vendor/libuv/build/gyp/pylib/gyp/common.py", line 497, in <module>
#     class OrderedSet(collections.MutableSet):
#                      ^^^^^^^^^^^^^^^^^^^^^^
# AttributeError: module 'collections' has no attribute 'MutableSet'



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build luv 0.5.0
+- 
+- The following changes have been performed
| - install bigarray-compat   1.1.0
| - install conf-python-3     9.0.0
| - install csexp             1.5.2
| - install ctypes            0.21.1
| - install dune-configurator 3.13.0
| - install integers          0.7.0
| - install result            1.5
| - 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/5.1/.opam-switch/backup/state-20240129153653.export"
'opam --cli=2.1 install luv.0.5.0 stdlib-shims.0.3.0 result.1.5 integers.0.7.0 dune-configurator.3.13.0 dune.3.13.0 ctypes.0.21.1 csexp.1.5.2 conf-python-3.9.0.0 bigarray-compat.1.1.0 --verbose --yes --confirm-level=unsafe-yes' failed.