sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
The package failed to build. The error log from opam follows.
[NOTE] Package ocamlfind is already installed (current version is 1.9.8). The following actions will be performed: === install 4 packages - install base-bytes base - install camlidl 1.12 - install hdfs 0.3 - install ocamlbuild 0.15.0 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bytes.base -> retrieved camlidl.1.12 (cached) -> retrieved ocamlbuild.0.15.0 (cached) -> retrieved hdfs.0.3 (https://ygrek.org/p/release/ocaml-hdfs/ocaml-hdfs-0.3.tar.gz) -> installed camlidl.1.12 -> installed ocamlbuild.0.15.0 [ERROR] The compilation of hdfs.0.3 failed at "ocaml setup.ml -build". #=== ERROR while compiling hdfs.0.3 ===========================================# # context 2.3.0 | linux/x86_64 | ocaml-base-compiler.4.14.2 | file:///src # path ~/.opam/4.14/.opam-switch/build/hdfs.0.3 # command ~/.opam/4.14/bin/ocaml setup.ml -build # exit-code 1 # env-file ~/.opam/log/hdfs-113-d915fd.env # output-file ~/.opam/log/hdfs-113-d915fd.out ### output ### # File "./setup.ml", line 575, characters 4-15: # 575 | Stream.from next # ^^^^^^^^^^^ # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "./setup.ml", line 603, characters 19-36: # 603 | let strm = Stream.of_channel chn in # ^^^^^^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "./setup.ml", line 610, characters 37-48: # 610 | Buffer.add_char buf (Stream.next strm); # ^^^^^^^^^^^ # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "./setup.ml", line 613, characters 17-31: # 613 | with Stream.Failure -> # ^^^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "./setup.ml", line 1431, characters 16-33: # 1431 | let lxr = Genlex.make_lexer [] in # ^^^^^^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "./setup.ml", line 1433, characters 22-38: # 1433 | let st = lxr (Stream.of_string s) in # ^^^^^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "./setup.ml", line 1434, characters 14-26: # 1434 | match Stream.npeek 3 st with # ^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "./setup.ml", line 1435, characters 11-23: # 1435 | | [Genlex.Ident fn; Genlex.Ident nm] -> Call(fn, Ident nm) # ^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "./setup.ml", line 1435, characters 28-40: # 1435 | | [Genlex.Ident fn; Genlex.Ident nm] -> Call(fn, Ident nm) # ^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "./setup.ml", line 1436, characters 11-23: # 1436 | | [Genlex.Ident fn; Genlex.String str] -> Call(fn, String str) # ^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "./setup.ml", line 1436, characters 28-41: # 1436 | | [Genlex.Ident fn; Genlex.String str] -> Call(fn, String str) # ^^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "./setup.ml", line 1437, characters 11-24: # 1437 | | [Genlex.String str] -> String str # ^^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "./setup.ml", line 1438, characters 11-23: # 1438 | | [Genlex.Ident nm] -> Ident nm # ^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "./setup.ml", line 1775, characters 22-40: # 1775 | let compare = Pervasives.compare # ^^^^^^^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Pervasives # Use Stdlib instead. # # If you need to stay compatible with OCaml < 4.07, you can use the # stdlib-shims library: https://github.com/ocaml/stdlib-shims # File "setup.ml", line 3176, characters 8-19: # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "setup.ml", line 3179, characters 21-32: # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "setup.ml", line 3182, characters 18-32: # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "setup.ml", line 3184, characters 6-23: # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "setup.ml", line 3187, characters 12-24: # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "setup.ml", line 3188, characters 9-21: # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "setup.ml", line 3188, characters 26-36: # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "setup.ml", line 3188, characters 42-55: # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "setup.ml", line 3189, characters 8-19: # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "setup.ml", line 3189, characters 25-36: # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "setup.ml", line 3189, characters 42-53: # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "setup.ml", line 3201, characters 17-34: # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "setup.ml", line 3326, characters 16-33: # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "setup.ml", line 3345, characters 22-38: # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "setup.ml", line 3347, characters 17-29: # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "setup.ml", line 3348, characters 16-28: # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "setup.ml", line 3348, characters 37-49: # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "setup.ml", line 3350, characters 16-28: # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "setup.ml", line 3350, characters 37-50: # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "setup.ml", line 3352, characters 16-28: # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "setup.ml", line 3352, characters 46-58: # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "setup.ml", line 3354, characters 16-28: # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "setup.ml", line 3354, characters 46-59: # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "setup.ml", line 3356, characters 16-28: # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "setup.ml", line 3369, characters 13-25: # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "setup.ml", line 3467, characters 16-34: # Alert deprecated: module Stdlib.Pervasives # Use Stdlib instead. # # If you need to stay compatible with OCaml < 4.07, you can use the # stdlib-shims library: https://github.com/ocaml/stdlib-shims # File "setup.ml", line 4518, characters 21-38: # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "setup.ml", line 4520, characters 19-31: # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "setup.ml", line 4521, characters 16-29: # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "setup.ml", line 4521, characters 33-46: # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "setup.ml", line 4523, characters 15-26: # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "setup.ml", line 4523, characters 32-43: # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # + ocamlfind ocamlopt unix.cmxa -I /home/opam/.opam/4.14/lib/ocamlbuild /home/opam/.opam/4.14/lib/ocamlbuild/ocamlbuildlib.cmxa -linkpkg myocamlbuild.ml /home/opam/.opam/4.14/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild # /bin/sh: 1: pkg-config: not found # Failure("Error while running: pkg-config --cflags hdfs") # W: pkg-config hdfs lookup failed, proceeding nonetheless in case hdfs headers and libraries are present in search paths # + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -g -ccopt '' -package camlidl -package unix -c src/hdfs_stubs.c # + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -g -ccopt '' -package camlidl -package unix -c src/hdfs_stubs.c # src/hdfs_stubs.c:18:10: fatal error: hdfs.h: No such file or directory # 18 | #include <hdfs.h> # | ^~~~~~~~ # compilation terminated. # Command exited with code 2. # + ocamlfind ocamlopt unix.cmxa -I /home/opam/.opam/4.14/lib/ocamlbuild /home/opam/.opam/4.14/lib/ocamlbuild/ocamlbuildlib.cmxa -linkpkg myocamlbuild.ml /home/opam/.opam/4.14/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild # File "myocamlbuild.ml", line 454, characters 8-19: # 454 | Stream.from # ^^^^^^^^^^^ # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "myocamlbuild.ml", line 457, characters 21-32: # 457 | match Stream.next st with # ^^^^^^^^^^^ # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "myocamlbuild.ml", line 460, characters 18-32: # 460 | with Stream.Failure -> None) # ^^^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "myocamlbuild.ml", line 462, characters 6-23: # 462 | Genlex.make_lexer ["="] st_line # ^^^^^^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "myocamlbuild.ml", line 465, characters 12-24: # 465 | match Stream.npeek 3 lxr with # ^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "myocamlbuild.ml", line 466, characters 9-21: # 466 | | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] -> # ^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "myocamlbuild.ml", line 466, characters 26-36: # 466 | | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] -> # ^^^^^^^^^^ # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "myocamlbuild.ml", line 466, characters 42-55: # 466 | | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] -> # ^^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "myocamlbuild.ml", line 467, characters 8-19: # 467 | Stream.junk lxr; Stream.junk lxr; Stream.junk lxr; # ^^^^^^^^^^^ # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "myocamlbuild.ml", line 467, characters 25-36: # 467 | Stream.junk lxr; Stream.junk lxr; Stream.junk lxr; # ^^^^^^^^^^^ # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "myocamlbuild.ml", line 467, characters 42-53: # 467 | Stream.junk lxr; Stream.junk lxr; Stream.junk lxr; # ^^^^^^^^^^^ # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "myocamlbuild.ml", line 479, characters 17-34: # 479 | let st = Stream.of_channel chn in # ^^^^^^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # E: Failure("Command ''/home/opam/.opam/4.14/bin/ocamlbuild' src/libhdfs_stubs.a src/dllhdfs_stubs.so src/hdfs.cma src/hdfs.cmxa src/hdfs.a src/hdfs.cmxs src/example.native -use-ocamlfind -tag debug' terminated with error code 10") <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build hdfs 0.3 +- +- The following changes have been performed | - install base-bytes base | - install camlidl 1.12 | - install ocamlbuild 0.15.0 +- <><> hdfs.0.3 troubleshooting <><><><><><><><><><><><><><><><><><><><><><><><><> => This package depends on C compiler being able to find libhdfs header and library files. Given that hadoop is often installed outside of default system paths it may require additional manual configuration for the build to succeed. See https://github.com/ygrek/ocaml-hdfs/blob/master/README.md # 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.14/.opam-switch/backup/state-20250206043412.export"