package named-pipe

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

named-pipe 0.4.0

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 base-bytes        base
  - install bigarray-compat   1.1.0
  - install cmdliner          1.3.0
  - install cppo              1.8.0
  - install csexp             1.5.2
  - install dune-configurator 3.17.2
  - install lwt               4.5.0
  - install mmap              1.2.0
  - install named-pipe        0.4.0 (deprecated)
  - install ocamlbuild        0.15.0
  - install ocb-stubblr       0.1.1-1
  - install ocplib-endian     1.2
  - install result            1.5
  - install seq               base
  - install topkg             1.0.7

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bytes.base
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved lwt.4.5.0  (cached)
-> retrieved mmap.1.2.0  (cached)
-> retrieved named-pipe.0.4.0  (cached)
-> retrieved ocb-stubblr.0.1.1-1  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> installed bigarray-compat.1.1.0
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved result.1.5  (cached)
-> retrieved topkg.1.0.7  (cached)
-> installed csexp.1.5.2
-> installed result.1.5
-> installed mmap.1.2.0
-> retrieved dune-configurator.3.17.2  (cached)
-> installed cmdliner.1.3.0
-> installed cppo.1.8.0
-> installed ocamlbuild.0.15.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.17.2
-> installed lwt.4.5.0
-> installed topkg.1.0.7
-> installed astring.0.8.5
-> installed ocb-stubblr.0.1.1-1
[ERROR] The compilation of named-pipe.0.4.0 failed at "ocaml pkg/pkg.ml build --pinned false".

#=== ERROR while compiling named-pipe.0.4.0 ===================================#
# context              2.3.0 | linux/x86_64 | ocaml-base-compiler.4.11.2 | file:///src
# path                 ~/.opam/4.11/.opam-switch/build/named-pipe.0.4.0
# command              ~/.opam/4.11/bin/ocaml pkg/pkg.ml build --pinned false
# exit-code            1
# env-file             ~/.opam/log/named-pipe-113-142981.env
# output-file          ~/.opam/log/named-pipe-113-142981.out
### output ###
# + ocamlfind ocamlopt -package unix -package ocamlbuild -linkpkg -package ocb-stubblr myocamlbuild.ml /home/opam/.opam/4.11/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
# Adding cclib(-I '/home/opam/.opam/4.11/lib/lwt')
# + ocamlfind ocamlc -g -package 'bytes unix' -c lib/named_pipe_stubs.c
# + mv named_pipe_stubs.o lib/named_pipe_stubs.o
# + ocamlfind ocamlmklib -o lib/named_pipe -g lib/named_pipe_stubs.o
# + ocamlfind ocamldep -package 'bytes unix' -modules lib/named_pipe.ml > lib/named_pipe.ml.depends
# + ocamlfind ocamldep -package 'bytes unix' -modules lib/named_pipe.mli > lib/named_pipe.mli.depends
# + ocamlfind ocamlc -c -g -bin-annot -short-paths -package 'bytes unix' -warn-error +1..49 -w A-4-41-44 -I lib -I lwt -o lib/named_pipe.cmi lib/named_pipe.mli
# + ocamlfind ocamlopt -c -g -bin-annot -short-paths -package 'bytes unix' -warn-error +1..49 -w A-4-41-44 -I lib -I lwt -o lib/named_pipe.cmx lib/named_pipe.ml
# + ocamlfind ocamlopt -a -cclib -lnamed_pipe -package 'bytes unix' -I lib lib/named_pipe.cmx -o lib/named_pipe.cmxa
# + ocamlfind ocamlopt -shared -linkall -I . -I lib -I lwt -package 'bytes unix' -I lib lib/named_pipe.cmxa -o lib/named_pipe.cmxs
# + ocamlfind ocamlc -c -g -bin-annot -short-paths -package 'bytes unix' -warn-error +1..49 -w A-4-41-44 -I lib -I lwt -o lib/named_pipe.cmo lib/named_pipe.ml
# + ocamlfind ocamlc -a -dllib -lnamed_pipe -cclib -lnamed_pipe -package 'bytes unix' -I lib lib/named_pipe.cmo -o lib/named_pipe.cma
# + ocamlfind ocamlc -g -package 'lwt lwt.unix' -package 'bytes unix' -c lwt/named_pipe_lwt_stubs.c
# + ocamlfind ocamlc -g -package 'lwt lwt.unix' -package 'bytes unix' -c lwt/named_pipe_lwt_stubs.c
# ocamlfind: [WARNING] Package `threads': Linking problems may arise because of the missing -thread or -vmthread switch
# + mv named_pipe_lwt_stubs.o lwt/named_pipe_lwt_stubs.o
# + ocamlfind ocamlmklib -o lwt/named_pipe_lwt -g lwt/named_pipe_lwt_stubs.o
# + ocamlfind ocamldep -package 'lwt lwt.unix' -package 'bytes unix' -modules lwt/named_pipe_lwt.ml > lwt/named_pipe_lwt.ml.depends
# + ocamlfind ocamldep -package 'lwt lwt.unix' -package 'bytes unix' -modules lwt/named_pipe_lwt.mli > lwt/named_pipe_lwt.mli.depends
# + ocamlfind ocamlc -c -g -bin-annot -short-paths -package 'lwt lwt.unix' -package 'bytes unix' -warn-error +1..49 -w A-4-41-44 -I lwt -I lib -o lwt/named_pipe_lwt.cmi lwt/named_pipe_lwt.mli
# + ocamlfind ocamlc -c -g -bin-annot -short-paths -package 'lwt lwt.unix' -package 'bytes unix' -warn-error +1..49 -w A-4-41-44 -I lwt -I lib -o lwt/named_pipe_lwt.cmi lwt/named_pipe_lwt.mli
# ocamlfind: [WARNING] Package `threads': Linking problems may arise because of the missing -thread or -vmthread switch
# + ocamlfind ocamlopt -c -g -bin-annot -short-paths -package 'lwt lwt.unix' -package 'bytes unix' -warn-error +1..49 -w A-4-41-44 -I lwt -I lib -o lwt/named_pipe_lwt.cmx lwt/named_pipe_lwt.ml
# + ocamlfind ocamlopt -c -g -bin-annot -short-paths -package 'lwt lwt.unix' -package 'bytes unix' -warn-error +1..49 -w A-4-41-44 -I lwt -I lib -o lwt/named_pipe_lwt.cmx lwt/named_pipe_lwt.ml
# ocamlfind: [WARNING] Package `threads': Linking problems may arise because of the missing -thread or -vmthread switch
# + ocamlfind ocamlopt -a -cclib -lnamed_pipe_lwt -package 'lwt lwt.unix' -package 'bytes unix' -I lwt lwt/named_pipe_lwt.cmx -o lwt/named_pipe_lwt.cmxa
# + ocamlfind ocamlopt -a -cclib -lnamed_pipe_lwt -package 'lwt lwt.unix' -package 'bytes unix' -I lwt lwt/named_pipe_lwt.cmx -o lwt/named_pipe_lwt.cmxa
# ocamlfind: [WARNING] Package `threads': Linking problems may arise because of the missing -thread or -vmthread switch
# + ocamlfind ocamlopt -shared -linkall -I . -I lib -I lwt -package 'lwt lwt.unix' -package 'bytes unix' -I lwt lwt/named_pipe_lwt.cmxa -o lwt/named_pipe_lwt.cmxs
# + ocamlfind ocamlopt -shared -linkall -I . -I lib -I lwt -package 'lwt lwt.unix' -package 'bytes unix' -I lwt lwt/named_pipe_lwt.cmxa -o lwt/named_pipe_lwt.cmxs
# ocamlfind: [WARNING] Package `threads': Linking problems may arise because of the missing -thread or -vmthread switch
# + ocamlfind ocamlc -c -g -bin-annot -short-paths -package 'lwt lwt.unix' -package 'bytes unix' -warn-error +1..49 -w A-4-41-44 -I lwt -I lib -o lwt/named_pipe_lwt.cmo lwt/named_pipe_lwt.ml
# + ocamlfind ocamlc -c -g -bin-annot -short-paths -package 'lwt lwt.unix' -package 'bytes unix' -warn-error +1..49 -w A-4-41-44 -I lwt -I lib -o lwt/named_pipe_lwt.cmo lwt/named_pipe_lwt.ml
# ocamlfind: [WARNING] Package `threads': Linking problems may arise because of the missing -thread or -vmthread switch
# + ocamlfind ocamlc -a -dllib -lnamed_pipe_lwt -cclib -lnamed_pipe_lwt -package 'lwt lwt.unix' -package 'bytes unix' -I lwt lwt/named_pipe_lwt.cmo -o lwt/named_pipe_lwt.cma
# + ocamlfind ocamlc -a -dllib -lnamed_pipe_lwt -cclib -lnamed_pipe_lwt -package 'lwt lwt.unix' -package 'bytes unix' -I lwt lwt/named_pipe_lwt.cmo -o lwt/named_pipe_lwt.cma
# ocamlfind: [WARNING] Package `threads': Linking problems may arise because of the missing -thread or -vmthread switch
# + ocamlfind ocamldep -package 'lwt.unix cmdliner' -package 'bytes unix' -modules src/pipecat.ml > src/pipecat.ml.depends
# + ocamlfind ocamlc -c -g -bin-annot -short-paths -package 'lwt.unix cmdliner' -package 'bytes unix' -warn-error +1..49 -w A-4-41-44 -I src -I lib -I lwt -o src/pipecat.cmo src/pipecat.ml
# + ocamlfind ocamlc -c -g -bin-annot -short-paths -package 'lwt.unix cmdliner' -package 'bytes unix' -warn-error +1..49 -w A-4-41-44 -I src -I lib -I lwt -o src/pipecat.cmo src/pipecat.ml
# ocamlfind: [WARNING] Package `threads': Linking problems may arise because of the missing -thread or -vmthread switch
# File "src/pipecat.ml", line 115, characters 8-12:
# 115 |   Term.(pure main $ listen $ echo $ path),
#               ^^^^
# Error (alert deprecated): Cmdliner.Term.pure
# Use Term.const instead.
# File "src/pipecat.ml", line 116, characters 2-11:
# 116 |   Term.info "pipecat" ~version:"0.1" ~doc ~man
#         ^^^^^^^^^
# Error (alert deprecated): Cmdliner.Term.info
# Use Cmd.info instead.
# File "src/pipecat.ml", line 123, characters 8-17:
# 123 |   match Term.eval cmd with `Error _ -> exit 1 | _ -> exit 0
#               ^^^^^^^^^
# Error (alert deprecated): Cmdliner.Term.eval
# Use Cmd.v and one of Cmd.eval* instead.
# Command exited with code 2.
# pkg.ml: [ERROR] cmd ['ocamlbuild' '-use-ocamlfind' '-classic-display' '-j' '4' '-tag' 'debug'
#      '-build-dir' '_build' '-plugin-tag' 'package(ocb-stubblr)' 'opam'
#      'pkg/META' 'CHANGES.md' 'LICENSE.md' 'README.md' 'lib/named_pipe.a'
#      'lib/named_pipe.cmxs' 'lib/named_pipe.cmxa' 'lib/named_pipe.cma'
#      'lib/named_pipe.cmx' 'lib/named_pipe.cmi' 'lib/named_pipe.mli'
#      'lib/dllnamed_pipe.so' 'lib/libnamed_pipe.a' 'lwt/named_pipe_lwt.a'
#      'lwt/named_pipe_lwt.cmxs' 'lwt/named_pipe_lwt.cmxa'
#      'lwt/named_pipe_lwt.cma' 'lwt/named_pipe_lwt.cmx'
#      'lwt/named_pipe_lwt.cmi' 'lwt/named_pipe_lwt.mli'
#      'lwt/dllnamed_pipe_lwt.so' 'lwt/libnamed_pipe_lwt.a'
#      'src/pipecat.native']: exited with 10



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build named-pipe 0.4.0
+- 
+- The following changes have been performed
| - install astring           0.8.5
| - install base-bytes        base
| - install bigarray-compat   1.1.0
| - install cmdliner          1.3.0
| - install cppo              1.8.0
| - install csexp             1.5.2
| - install dune-configurator 3.17.2
| - install lwt               4.5.0
| - install mmap              1.2.0
| - install ocamlbuild        0.15.0
| - install ocb-stubblr       0.1.1-1
| - install ocplib-endian     1.2
| - install result            1.5
| - install seq               base
| - install topkg             1.0.7
+- 

<><> lwt.4.5.0 installed successfully <><><><><><><><><><><><><><><><><><><><><>
=> Lwt 5.0.0 will make some breaking changes in December 2019. See
     https://github.com/ocsigen/lwt/issues/584

<><> named-pipe.0.4.0 troubleshooting <><><><><><><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# 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.11/.opam-switch/backup/state-20250206035038.export"
OCaml

Innovation. Community. Security.