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 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 12 packages - install bigarray-compat 1.1.0 - install conf-libffi 2.0.0 - install conf-pkg-config 4 - install conf-rocksdb 1 - install csexp 1.5.2 - install ctypes 0.23.0 - install ctypes-foreign 0.23.0 - install dune-configurator 3.17.2 - install integers 0.7.0 - install ocamlbuild 0.15.0 - install orocksdb 0.2.2 - install stdlib-shims 0.3.0 The following system packages will first need to be installed: libffi-dev librocksdb-dev pkg-config <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> opam believes some required external dependencies are missing. opam can: > 1. Run apt-get to install them (may need root/sudo access) 2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal) 3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable 4. Abort the installation [1/2/3/4] 1 + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libffi-dev" "librocksdb-dev" "pkg-config" - debconf: delaying package configuration, since apt-utils is not installed - Selecting previously unselected package bzip2-doc. - (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 ... 18776 files and directories currently installed.) - Preparing to unpack .../00-bzip2-doc_1.0.8-5_all.deb ... - Unpacking bzip2-doc (1.0.8-5) ... - Selecting previously unselected package libbz2-dev:amd64. - Preparing to unpack .../01-libbz2-dev_1.0.8-5+b1_amd64.deb ... - Unpacking libbz2-dev:amd64 (1.0.8-5+b1) ... - Selecting previously unselected package libffi-dev:amd64. - Preparing to unpack .../02-libffi-dev_3.4.4-1_amd64.deb ... - Unpacking libffi-dev:amd64 (3.4.4-1) ... - Selecting previously unselected package libgflags2.2. - Preparing to unpack .../03-libgflags2.2_2.2.2-2_amd64.deb ... - Unpacking libgflags2.2 (2.2.2-2) ... - Selecting previously unselected package libgflags-dev. - Preparing to unpack .../04-libgflags-dev_2.2.2-2_amd64.deb ... - Unpacking libgflags-dev (2.2.2-2) ... - Selecting previously unselected package liblz4-dev:amd64. - Preparing to unpack .../05-liblz4-dev_1.9.4-1_amd64.deb ... - Unpacking liblz4-dev:amd64 (1.9.4-1) ... - Selecting previously unselected package libpkgconf3:amd64. - Preparing to unpack .../06-libpkgconf3_1.8.1-1_amd64.deb ... - Unpacking libpkgconf3:amd64 (1.8.1-1) ... - Selecting previously unselected package libsnappy1v5:amd64. - Preparing to unpack .../07-libsnappy1v5_1.1.9-3_amd64.deb ... - Unpacking libsnappy1v5:amd64 (1.1.9-3) ... - Selecting previously unselected package librocksdb7.8. - Preparing to unpack .../08-librocksdb7.8_7.8.3-2_amd64.deb ... - Unpacking librocksdb7.8 (7.8.3-2) ... - Selecting previously unselected package libsnappy-dev:amd64. - Preparing to unpack .../09-libsnappy-dev_1.1.9-3_amd64.deb ... - Unpacking libsnappy-dev:amd64 (1.1.9-3) ... - Selecting previously unselected package zlib1g-dev:amd64. - Preparing to unpack .../10-zlib1g-dev_1%3a1.2.13.dfsg-1_amd64.deb ... - Unpacking zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ... - Selecting previously unselected package librocksdb-dev. - Preparing to unpack .../11-librocksdb-dev_7.8.3-2_amd64.deb ... - Unpacking librocksdb-dev (7.8.3-2) ... - Selecting previously unselected package pkgconf-bin. - Preparing to unpack .../12-pkgconf-bin_1.8.1-1_amd64.deb ... - Unpacking pkgconf-bin (1.8.1-1) ... - Selecting previously unselected package pkgconf:amd64. - Preparing to unpack .../13-pkgconf_1.8.1-1_amd64.deb ... - Unpacking pkgconf:amd64 (1.8.1-1) ... - Selecting previously unselected package pkg-config:amd64. - Preparing to unpack .../14-pkg-config_1.8.1-1_amd64.deb ... - Unpacking pkg-config:amd64 (1.8.1-1) ... - Setting up bzip2-doc (1.0.8-5) ... - Setting up libffi-dev:amd64 (3.4.4-1) ... - Setting up libsnappy1v5:amd64 (1.1.9-3) ... - Setting up libpkgconf3:amd64 (1.8.1-1) ... - Setting up liblz4-dev:amd64 (1.9.4-1) ... - Setting up pkgconf-bin (1.8.1-1) ... - Setting up zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ... - Setting up libgflags2.2 (2.2.2-2) ... - Setting up libbz2-dev:amd64 (1.0.8-5+b1) ... - Setting up libsnappy-dev:amd64 (1.1.9-3) ... - Setting up pkgconf:amd64 (1.8.1-1) ... - Setting up librocksdb7.8 (7.8.3-2) ... - Setting up libgflags-dev (2.2.2-2) ... - Setting up pkg-config:amd64 (1.8.1-1) ... - Setting up librocksdb-dev (7.8.3-2) ... - Processing triggers for libc-bin (2.36-9+deb12u9) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved conf-rocksdb.1 (cached) -> retrieved bigarray-compat.1.1.0 (cached) -> retrieved csexp.1.5.2 (cached) -> retrieved ctypes.0.23.0, ctypes-foreign.0.23.0 (cached) -> installed conf-pkg-config.4 -> installed conf-rocksdb.1 -> retrieved integers.0.7.0 (cached) -> retrieved ocamlbuild.0.15.0 (cached) -> installed bigarray-compat.1.1.0 -> installed csexp.1.5.2 -> installed conf-libffi.2.0.0 -> retrieved orocksdb.0.2.2 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> installed stdlib-shims.0.3.0 -> retrieved dune-configurator.3.17.2 (cached) -> installed integers.0.7.0 -> installed dune-configurator.3.17.2 -> installed ocamlbuild.0.15.0 -> installed ctypes.0.23.0 -> installed ctypes-foreign.0.23.0 [ERROR] The compilation of orocksdb.0.2.2 failed at "make". #=== ERROR while compiling orocksdb.0.2.2 =====================================# # context 2.3.0 | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///src # path ~/.opam/5.1/.opam-switch/build/orocksdb.0.2.2 # command /usr/bin/make # exit-code 2 # env-file ~/.opam/log/orocksdb-112-0cdb60.env # output-file ~/.opam/log/orocksdb-112-0cdb60.out ### output ### # ocamlbuild -use-ocamlfind -lflags -cclib,/usr/local/lib/librocksdb.so rocks.inferred.mli rocks.cma rocks.cmxa rocks.cmxs rocks_options.inferred.mli # + ocamlfind ocamldep -package ctypes.foreign -package ctypes -modules rocks.ml > rocks.ml.depends # + ocamlfind ocamldep -package ctypes.foreign -package ctypes -modules rocks_common.ml > rocks_common.ml.depends # + ocamlfind ocamldep -package ctypes.foreign -package ctypes -modules rocks_options.ml > rocks_options.ml.depends # + ocamlfind ocamlc -c -g -annot -package ctypes.foreign -package ctypes -o rocks_common.cmo rocks_common.ml # + ocamlfind ocamlc -c -g -annot -package ctypes.foreign -package ctypes -o rocks_options.cmo rocks_options.ml # + ocamlfind ocamlc -i -package ctypes.foreign -package ctypes rocks.ml > rocks.inferred.mli # + ocamlfind ocamlc -i -package ctypes.foreign -package ctypes rocks.ml > rocks.inferred.mli # File "rocks.ml", line 172, characters 19-34: # 172 | let res' = string_from_ptr res (!@ res_size) in # ^^^^^^^^^^^^^^^ # Warning 6 [labels-omitted]: label length was omitted in the application of this function. # # File "rocks.ml", line 277, characters 9-24: # 277 | else string_from_ptr res (!@ res_size) # ^^^^^^^^^^^^^^^ # Warning 6 [labels-omitted]: label length was omitted in the application of this function. # # File "rocks.ml", line 296, characters 9-24: # 296 | else string_from_ptr res (!@ res_size) # ^^^^^^^^^^^^^^^ # Warning 6 [labels-omitted]: label length was omitted in the application of this function. # + ocamlfind ocamldep -package ctypes.foreign -package ctypes -modules rocks.mli > rocks.mli.depends # + ocamlfind ocamlc -c -g -annot -package ctypes.foreign -package ctypes -o rocks.cmi rocks.mli # + ocamlfind ocamlc -c -g -annot -package ctypes.foreign -package ctypes -o rocks.cmo rocks.ml # + ocamlfind ocamlc -c -g -annot -package ctypes.foreign -package ctypes -o rocks.cmo rocks.ml # File "rocks.ml", line 172, characters 19-34: # 172 | let res' = string_from_ptr res (!@ res_size) in # ^^^^^^^^^^^^^^^ # Warning 6 [labels-omitted]: label length was omitted in the application of this function. # # File "rocks.ml", line 277, characters 9-24: # 277 | else string_from_ptr res (!@ res_size) # ^^^^^^^^^^^^^^^ # Warning 6 [labels-omitted]: label length was omitted in the application of this function. # # File "rocks.ml", line 296, characters 9-24: # 296 | else string_from_ptr res (!@ res_size) # ^^^^^^^^^^^^^^^ # Warning 6 [labels-omitted]: label length was omitted in the application of this function. # + ocamlfind ocamlc -a -cclib /usr/local/lib/librocksdb.so -package ctypes.foreign -package ctypes rocks_common.cmo rocks_options.cmo rocks.cmo -o rocks.cma # + ocamlfind ocamlopt -c -g -annot -package ctypes.foreign -package ctypes -o rocks_common.cmx rocks_common.ml # + ocamlfind ocamlopt -c -g -annot -package ctypes.foreign -package ctypes -o rocks_options.cmx rocks_options.ml # + ocamlfind ocamlopt -c -g -annot -package ctypes.foreign -package ctypes -o rocks.cmx rocks.ml # + ocamlfind ocamlopt -c -g -annot -package ctypes.foreign -package ctypes -o rocks.cmx rocks.ml # File "rocks.ml", line 172, characters 19-34: # 172 | let res' = string_from_ptr res (!@ res_size) in # ^^^^^^^^^^^^^^^ # Warning 6 [labels-omitted]: label length was omitted in the application of this function. # # File "rocks.ml", line 277, characters 9-24: # 277 | else string_from_ptr res (!@ res_size) # ^^^^^^^^^^^^^^^ # Warning 6 [labels-omitted]: label length was omitted in the application of this function. # # File "rocks.ml", line 296, characters 9-24: # 296 | else string_from_ptr res (!@ res_size) # ^^^^^^^^^^^^^^^ # Warning 6 [labels-omitted]: label length was omitted in the application of this function. # + ocamlfind ocamlopt -a -cclib /usr/local/lib/librocksdb.so -package ctypes.foreign -package ctypes rocks_common.cmx rocks_options.cmx rocks.cmx -o rocks.cmxa # + ocamlfind ocamlopt -shared -cclib /usr/local/lib/librocksdb.so -linkall -package ctypes.foreign -package ctypes rocks.cmxa -o rocks.cmxs # + ocamlfind ocamlopt -shared -cclib /usr/local/lib/librocksdb.so -linkall -package ctypes.foreign -package ctypes rocks.cmxa -o rocks.cmxs # /usr/bin/ld: cannot find /usr/local/lib/librocksdb.so: No such file or directory # /usr/bin/ld: cannot find /usr/local/lib/librocksdb.so: No such file or directory # collect2: error: ld returned 1 exit status # File "caml_startup", line 1: # Error: Error during linking (exit code 1) # Command exited with code 2. # make: *** [Makefile:7: build] Error 10 <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build orocksdb 0.2.2 +- +- The following changes have been performed | - install bigarray-compat 1.1.0 | - install conf-libffi 2.0.0 | - install conf-pkg-config 4 | - install conf-rocksdb 1 | - install csexp 1.5.2 | - install ctypes 0.23.0 | - install ctypes-foreign 0.23.0 | - install dune-configurator 3.17.2 | - install integers 0.7.0 | - install ocamlbuild 0.15.0 | - install stdlib-shims 0.3.0 +- <><> orocksdb.0.2.2 troubleshooting <><><><><><><><><><><><><><><><><><><><><><> => This package requires rocksdb library installed in /usr/local/lib. Tentative instructions : https://gist.githubusercontent.com/domsj/9a28ba5a523a3420ded8/raw/dc6ebd8768a87dee285e84438dc733dfc58e037f/gistfile1.txt # 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/5.1/.opam-switch/backup/state-20250206040833.export"