Building on m1-a.ocamllabs.io (from ocaml/opam:debian-unstable) WARNING: Error loading config file: .dockercfg: $HOME is not defined Unable to find image 'ocaml/opam:debian-unstable' locally debian-unstable: Pulling from ocaml/opam Digest: sha256:a32e554d37007cabaf12da2261dad1c6890fb793357d4499f39865f3c85d81ab Status: Downloaded newer image for ocaml/opam:debian-unstable 2021-09-03 16:47.21 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" from cache /: (user (uid 1000) (gid 1000)) /: (env OPAMPRECISETRACKING 1) /: (env OPAMUTF8 never) /: (env OPAMEXTERNALSOLVER builtin-0install) /: (env OPAMCRITERIA +removed) /: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam")) 2021-09-03 16:47.21 ---> using "4d29eb3e0b7cd69a97ed90837671d5ca38aa41e2fb94346298af500378eca6fa" from cache /: (run (network host) (shell "rm -rf ~/opam-repository && git clone -q 'git://github.com/ocaml/opam-repository.git' ~/opam-repository && git -C ~/opam-repository checkout -q 8fc7af65ccb8f3b3709bf02b749ac492e6700b59")) 2021-09-03 16:47.21 ---> using "eb095db6df41eeadc708604343f7b0ce0892db9136dac67a38046f57271c5802" from cache /: (run (shell "rm -rf ~/.opam && opam init -ya --bare --config ~/.opamrc-sandbox ~/opam-repository")) Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults. Checking for available remotes: rsync and local, git. - you won't be able to use mercurial repositories unless you install the hg command on your system. - you won't be able to use darcs repositories unless you install the darcs command on your system. <><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><> [default] Initialised User configuration: [NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc. ~/.profile is already up-to-date. 2021-09-03 16:47.21 ---> using "d245c9af6f86b2b97434d338a3fbb8270425ab7dc6ad1b5451665adc9698eabf" from cache /: (run (network host) (shell "git clone -q 'git://github.com/ocaml/ocaml-beta-repository.git' ~/'beta' && git -C ~/'beta' checkout -q 79aeeadd813bdae424ab53f882f08bee0a4e0b89")) 2021-09-03 16:47.21 ---> using "20d9850dcecd0523d6eddecad814e9bbd93882334348605bfa6e15ffd8f5ced5" from cache /: (run (shell "opam repository add --dont-select 'beta' ~/'beta'")) [beta] Initialised 2021-09-03 16:47.21 ---> using "6f8879c5099d2146b69bdcec3874fd111cad6c5c42ac63d5f9aa72a228fd8ee8" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=beta,default 4.12.0")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.12.0"} | "ocaml-system" {= "4.12.0"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed ocaml-options-vanilla.1 -> retrieved ocaml-base-compiler.4.12.0 (cached) -> installed ocaml-base-compiler.4.12.0 -> installed ocaml-config.2 -> installed ocaml.4.12.0 Done. # Run eval $(opam env --switch=4.12.0) to update the current shell environment 2021-09-03 16:47.21 ---> using "5cc3f9daab6973396abc65555ad3a4d5ed48c852214cb5cf9a83c71e9fc9b257" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [165 kB] - Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB] - Ign:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages [8766 kB] - Fetched 8994 kB in 2s (5041 kB/s) - Reading package lists... - 2021-09-03 16:47.21 ---> using "3a7b605978b7a17704d0e1750e37969cfeef778dd114a85b7f72d6e20373cf93" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"cryptodbm.0.84.2\"\ \nopam install -vy \"cryptodbm.0.84.2\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"cryptodbm.0.84.2\" | grep -q '\"debian-unstable\"'; then\ \n echo \"This package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\"\ \n exit 69\ \n fi\ \nfi\ \n\ \n\ \nexit $res\ \n")) [NOTE] cryptodbm.0.84.2 is not installed. Nothing to do. The following actions will be performed: - install conf-dbm 1.0.0 [required by dbm] - install conf-pkg-config 2 [required by conf-zlib] - install ocamlfind 1.9.1 [required by dbm] - install conf-gmp 3 [required by conf-gmp-powm-sec, zarith] - install jbuilder 1.0+beta20.2 [required by cryptodbm] - install dune 2.9.0 [required by cryptokit, fileutils] - install conf-zlib 1 [required by cryptokit] - install dbm 1.2 [required by cryptodbm] - install base-bytes base [required by fileutils] - install zarith 1.12 [required by cryptokit] - install conf-gmp-powm-sec 3 [required by cryptokit] - install stdlib-shims 0.3.0 [required by fileutils] - install result 1.5 [required by dune-configurator] - install csexp 1.5.1 [required by dune-configurator] - install fileutils 0.6.3 [required by cryptodbm] - install dune-configurator 2.9.0 [required by cryptokit] - install cryptokit 1.16.1 [required by cryptodbm] - install cryptodbm 0.84.2 ===== 18 to install ===== The following system packages will first need to be installed: libgdbm-dev libgmp-dev pkg-config zlib1g-dev <><> 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" "libgdbm-dev" "libgmp-dev" "pkg-config" "zlib1g-dev" - debconf: delaying package configuration, since apt-utils is not installed - (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 ... 18048 files and directories currently installed.) - Preparing to unpack .../00-libgdbm6_1.20-1_amd64.deb ... - Unpacking libgdbm6:amd64 (1.20-1) over (1.19-2) ... - Selecting previously unselected package libgdbm-dev:amd64. - Preparing to unpack .../01-libgdbm-dev_1.20-1_amd64.deb ... - Unpacking libgdbm-dev:amd64 (1.20-1) ... - Selecting previously unselected package libglib2.0-0:amd64. - Preparing to unpack .../02-libglib2.0-0_2.68.4-1_amd64.deb ... - Unpacking libglib2.0-0:amd64 (2.68.4-1) ... - Selecting previously unselected package libglib2.0-data. - Preparing to unpack .../03-libglib2.0-data_2.68.4-1_all.deb ... - Unpacking libglib2.0-data (2.68.4-1) ... - Selecting previously unselected package libgmpxx4ldbl:amd64. - Preparing to unpack .../04-libgmpxx4ldbl_2%3a6.2.1+dfsg-1_amd64.deb ... - Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg-1) ... - Selecting previously unselected package libgmp-dev:amd64. - Preparing to unpack .../05-libgmp-dev_2%3a6.2.1+dfsg-1_amd64.deb ... - Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg-1) ... - Selecting previously unselected package libicu67:amd64. - Preparing to unpack .../06-libicu67_67.1-7_amd64.deb ... - Unpacking libicu67:amd64 (67.1-7) ... - Selecting previously unselected package libxml2:amd64. - Preparing to unpack .../07-libxml2_2.9.12+dfsg-3_amd64.deb ... - Unpacking libxml2:amd64 (2.9.12+dfsg-3) ... - Selecting previously unselected package pkg-config. - Preparing to unpack .../08-pkg-config_0.29.2-1_amd64.deb ... - Unpacking pkg-config (0.29.2-1) ... - Selecting previously unselected package shared-mime-info. - Preparing to unpack .../09-shared-mime-info_2.0-1_amd64.deb ... - Unpacking shared-mime-info (2.0-1) ... - Selecting previously unselected package xdg-user-dirs. - Preparing to unpack .../10-xdg-user-dirs_0.17-2_amd64.deb ... - Unpacking xdg-user-dirs (0.17-2) ... - Selecting previously unselected package zlib1g-dev:amd64. - Preparing to unpack .../11-zlib1g-dev_1%3a1.2.11.dfsg-2_amd64.deb ... - Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2) ... - Setting up libicu67:amd64 (67.1-7) ... - Setting up xdg-user-dirs (0.17-2) ... - Setting up libglib2.0-0:amd64 (2.68.4-1) ... - No schema files found: doing nothing. - Setting up libglib2.0-data (2.68.4-1) ... - Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg-1) ... - Setting up pkg-config (0.29.2-1) ... - Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2) ... - Setting up libxml2:amd64 (2.9.12+dfsg-3) ... - Setting up libgdbm6:amd64 (1.20-1) ... - Setting up libgmp-dev:amd64 (2:6.2.1+dfsg-1) ... - Setting up shared-mime-info (2.0-1) ... - Setting up libgdbm-dev:amd64 (1.20-1) ... - Processing triggers for libc-bin (2.31-13) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 7/54: Processing 8/54: Processing 9/54: Processing 10/54: [conf-dbm: sh] Processing 11/54: [conf-dbm: sh] [conf-gmp: sh] Processing 12/54: [conf-dbm: sh] [conf-gmp: sh] [conf-pkg-config: pkg-config] -> retrieved cryptodbm.0.84.2 (cached) Processing 13/54: [conf-dbm: sh] [conf-gmp: sh] [conf-pkg-config: pkg-config] -> retrieved cryptokit.1.16.1 (cached) Processing 14/54: [conf-dbm: sh] [conf-gmp: sh] [conf-pkg-config: pkg-config] -> retrieved csexp.1.5.1 (cached) Processing 15/54: [conf-dbm: sh] [conf-gmp: sh] [conf-pkg-config: pkg-config] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "pkg-config" "--help" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/conf-pkg-config.2) - Usage: - pkg-config [OPTION?] - - Help Options: - -h, --help Show help options - - Application Options: - --version output version of pkg-config - --modversion output version for package - --atleast-pkgconfig-version=VERSION require given version of pkg-config - --libs output all linker flags - --static output linker flags for static linking - --short-errors print short errors - --libs-only-l output -l flags - --libs-only-other output other libs (e.g. -pthread) - --libs-only-L output -L flags - --cflags output all pre-processor and compiler flags - --cflags-only-I output -I flags - --cflags-only-other output cflags not covered by the cflags-only-I option - --variable=NAME get the value of variable named NAME - --define-variable=NAME=VALUE set variable NAME to VALUE - --exists return 0 if the module(s) exist - --print-variables output list of variables defined by the module - --uninstalled return 0 if the uninstalled version of one or more module(s) or their dependencies will be used - --atleast-version=VERSION return 0 if the module is at least version VERSION - --exact-version=VERSION return 0 if the module is at exactly version VERSION - --max-version=VERSION return 0 if the module is at no newer than version VERSION - --list-all list all known packages - --debug show verbose debug information - --print-errors show verbose information about missing or conflicting packages (default unless --exists or --atleast/exact/max-version given on the command line) - --silence-errors be silent about errors (default when --exists or --atleast/exact/max-version given on the command line) - --errors-to-stdout print errors from --print-errors to stdout not stderr - --print-provides print which packages the package provides - --print-requires print which packages the package requires - --print-requires-private print which packages the package requires for static linking - --validate validate a package's .pc file - --define-prefix try to override the value of prefix for each .pc file found with a guesstimated value based on the location of the .pc file - --dont-define-prefix don't try to override the value of prefix for each .pc file found with a guesstimated value based on the location of the .pc file - --prefix-variable=PREFIX set the name of the variable that pkg-config automatically sets - - Usage: - pkg-config [OPTION?] - - Help Options: - -h, --help Show help options - - Application Options: - --version output version of pkg-config - --modversion output version for package - --atleast-pkgconfig-version=VERSION require given version of pkg-config - --libs output all linker flags - --static output linker flags for static linking - --short-errors print short errors - --libs-only-l output -l flags - --libs-only-other output other libs (e.g. -pthread) - --libs-only-L output -L flags - --cflags output all pre-processor and compiler flags - --cflags-only-I output -I flags - --cflags-only-other output cflags not covered by the cflags-only-I option - --variable=NAME get the value of variable named NAME - --define-variable=NAME=VALUE set variable NAME to VALUE - --exists return 0 if the module(s) exist - --print-variables output list of variables defined by the module - --uninstalled return 0 if the uninstalled version of one or more module(s) or their dependencies will be used - --atleast-version=VERSION return 0 if the module is at least version VERSION - --exact-version=VERSION return 0 if the module is at exactly version VERSION - --max-version=VERSION return 0 if the module is at no newer than version VERSION - --list-all list all known packages - --debug show verbose debug information - --print-errors show verbose information about missing or conflicting packages (default unless --exists or --atleast/exact/max-version given on the command line) - --silence-errors be silent about errors (default when --exists or --atleast/exact/max-version given on the command line) - --errors-to-stdout print errors from --print-errors to stdout not stderr - --print-provides print which packages the package provides - --print-requires print which packages the package requires - --print-requires-private print which packages the package requires for static linking - --validate validate a package's .pc file - --define-prefix try to override the value of prefix for each .pc file found with a guesstimated value based on the location of the .pc file - --dont-define-prefix don't try to override the value of prefix for each .pc file found with a guesstimated value based on the location of the .pc file - --prefix-variable=PREFIX set the name of the variable that pkg-config automatically sets - -> compiled conf-pkg-config.2 Processing 15/54: [conf-dbm: sh] [conf-gmp: sh] Processing 16/54: [conf-dbm: sh] [conf-gmp: sh] [conf-pkg-config: mkdir] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "sh" "-c" "cc test_gdbm.c -I/usr/include -I/usr/local/include -I/usr/include/db1 -I/usr/include/gdbm || cc test_gdbm.c -I/usr/include -I/usr/local/include -I/usr/include/db1 -I/usr/include/gdbm -lndbm || cc test_gdbm.c -I/usr/include -I/usr/local/include -I/usr/include/db1 -I/usr/include/gdbm -ldb1 || cc test_gdbm.c -I/usr/include -I/usr/local/include -I/usr/include/db1 -I/usr/include/gdbm -lgdbm || cc test_gdbm.c -I/usr/include -I/usr/local/include -I/usr/include/db1 -I/usr/include/gdbm -lgdbm_compat -lgdbm || cc test_ndbm.c -v -I/usr/include -I/usr/local/include || cc test_ndbm.c -v -I/usr/include -I/usr/local/include -ldb || cc test_ndbm.c -v -I/usr/include -I/usr/local/include -lndbm" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/conf-dbm.1.0.0) - /usr/bin/ld: /opam-tmp/ccSfTSa8.o: in function `main': - test_gdbm.c:(.text+0x25): undefined reference to `gdbm_open' - /usr/bin/ld: test_gdbm.c:(.text+0x35): undefined reference to `gdbm_close' - collect2: error: ld returned 1 exit status - /usr/bin/ld: cannot find -lndbm - collect2: error: ld returned 1 exit status - /usr/bin/ld: cannot find -ldb1 - collect2: error: ld returned 1 exit status - /usr/bin/ld: /opam-tmp/ccSfTSa8.o: in function `main': - test_gdbm.c:(.text+0x25): undefined reference to `gdbm_open' - /usr/bin/ld: test_gdbm.c:(.text+0x35): undefined reference to `gdbm_close' - collect2: error: ld returned 1 exit status - /usr/bin/ld: cannot find -lndbm - collect2: error: ld returned 1 exit status - /usr/bin/ld: cannot find -ldb1 - collect2: error: ld returned 1 exit status -> compiled conf-dbm.1.0.0 Processing 16/54: [conf-gmp: sh] [conf-pkg-config: mkdir] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "sh" "-exc" "cc -c $CFLAGS -I/usr/local/include test.c" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/conf-gmp.3) - + cc -c -I/usr/local/include test.c - + cc -c -I/usr/local/include test.c -> compiled conf-gmp.3 Processing 16/54: [conf-pkg-config: mkdir] -> retrieved dbm.1.2 (cached) Processing 17/54: [conf-pkg-config: mkdir] -> retrieved dune.2.9.0 (cached) Processing 18/54: [conf-pkg-config: mkdir] Processing 19/54: [dune: ocaml bootstrap.ml] [conf-pkg-config: mkdir] -> retrieved dune-configurator.2.9.0 (cached) Processing 20/54: [dune: ocaml bootstrap.ml] [conf-pkg-config: mkdir] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "mkdir" "-p" "/home/opam/.opam/4.12.0/lib/pkgconfig" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/conf-pkg-config.2) -> installed conf-pkg-config.2 Processing 20/54: [dune: ocaml bootstrap.ml] Processing 21/54: [conf-zlib: pkg-config zlib] [dune: ocaml bootstrap.ml] -> installed conf-dbm.1.0.0 Processing 22/54: [conf-zlib: pkg-config zlib] [dune: ocaml bootstrap.ml] -> installed conf-gmp.3 Processing 23/54: [conf-zlib: pkg-config zlib] [dune: ocaml bootstrap.ml] Processing 24/54: [conf-gmp-powm-sec: sh] [conf-zlib: pkg-config zlib] [dune: ocaml bootstrap.ml] -> retrieved fileutils.0.6.3 (cached) Processing 25/54: [conf-gmp-powm-sec: sh] [conf-zlib: pkg-config zlib] [dune: ocaml bootstrap.ml] -> retrieved jbuilder.1.0+beta20.2 (cached) Processing 26/54: [conf-gmp-powm-sec: sh] [conf-zlib: pkg-config zlib] [dune: ocaml bootstrap.ml] Processing 27/54: [conf-gmp-powm-sec: sh] [conf-zlib: pkg-config zlib] [dune: ocaml bootstrap.ml] [jbuilder: ocaml configure.ml] -> retrieved ocamlfind.1.9.1 (cached) Processing 28/54: [conf-gmp-powm-sec: sh] [conf-zlib: pkg-config zlib] [dune: ocaml bootstrap.ml] [jbuilder: ocaml configure.ml] Processing 29/54: [conf-gmp-powm-sec: sh] [conf-zlib: pkg-config zlib] [dune: ocaml bootstrap.ml] [jbuilder: ocaml configure.ml] [ocamlfind: ./configure] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "pkg-config" "zlib" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/conf-zlib.1) -> compiled conf-zlib.1 Processing 29/54: [conf-gmp-powm-sec: sh] [dune: ocaml bootstrap.ml] [jbuilder: ocaml configure.ml] [ocamlfind: ./configure] -> installed conf-zlib.1 Processing 30/54: [conf-gmp-powm-sec: sh] [dune: ocaml bootstrap.ml] [jbuilder: ocaml configure.ml] [ocamlfind: ./configure] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "sh" "-exc" "cc -c $CFLAGS -I/usr/local/include test.c" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/conf-gmp-powm-sec.3) - + cc -c -I/usr/local/include test.c - + cc -c -I/usr/local/include test.c -> compiled conf-gmp-powm-sec.3 Processing 30/54: [dune: ocaml bootstrap.ml] [jbuilder: ocaml configure.ml] [ocamlfind: ./configure] -> installed conf-gmp-powm-sec.3 Processing 31/54: [dune: ocaml bootstrap.ml] [jbuilder: ocaml configure.ml] [ocamlfind: ./configure] -> retrieved result.1.5 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved zarith.1.12 (cached) + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "configure.ml" "--libdir" "/home/opam/.opam/4.12.0/lib" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/jbuilder.1.0+beta20.2) Processing 31/54: [dune: ocaml bootstrap.ml] [jbuilder: ocaml bootstrap.ml] [ocamlfind: ./configure] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "-bindir" "/home/opam/.opam/4.12.0/bin" "-sitelib" "/home/opam/.opam/4.12.0/lib" "-mandir" "/home/opam/.opam/4.12.0/man" "-config" "/home/opam/.opam/4.12.0/lib/findlib.conf" "-no-custom" "-no-camlp4" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/ocamlfind.1.9.1) - Welcome to findlib version 1.9.1 - Configuring core... - Checking for #remove_directory... - Testing threading model... - systhread_supported: true - Testing DLLs... - Testing whether ppxopt can be supported... - Checking for ocamlc -opaque... - Querying installation: META list not found - make install will double-check installed META files - Configuring libraries... - unix: found - bigarray: found - compiler-libs: found - dbm: not present (normal since 4.00) - graphics: not present (normal since 4.09) - num: not present (normal since 4.06) - ocamlbuild: not present (normal since 4.03) - ocamldoc: found - raw_spacetime: not present (normal since 4.12) - threads: found - str: found - labltk: not present (normal since 4.02) - native dynlink: found - camlp4: disabled - bytes: found, installing fake library - Configuration for dynlink written to site-lib-src/dynlink/META - Configuration for stdlib written to site-lib-src/stdlib/META - Configuration for unix written to site-lib-src/unix/META - Configuration for bigarray written to site-lib-src/bigarray/META - Configuration for compiler-libs written to site-lib-src/compiler-libs/META - Configuration for ocamldoc written to site-lib-src/ocamldoc/META - Configuration for threads written to site-lib-src/threads/META - Configuration for str written to site-lib-src/str/META - Configuration for bytes written to site-lib-src/bytes/META - Detecting compiler arguments: (extractor built) ok - - About the OCAML core installation: - Standard library: /home/opam/.opam/4.12.0/lib/ocaml - Binaries: /home/opam/.opam/4.12.0/bin - Manual pages: /home/opam/.opam/4.12.0/man - Multi-threading type: posix - The directory of site-specific packages will be - site-lib: /home/opam/.opam/4.12.0/lib - The configuration file is written to: - findlib config file: /home/opam/.opam/4.12.0/lib/findlib.conf - Software will be installed: - Libraries: in <site-lib>/findlib - Binaries: /home/opam/.opam/4.12.0/bin - Manual pages: /home/opam/.opam/4.12.0/man - topfind script: /home/opam/.opam/4.12.0/lib/ocaml - Topfind ppxopt support: yes - Toolbox: no - Link custom runtime: no - Need bytes compatibility: no - - Configuration has been written to Makefile.config - - You can now do 'make all', and optionally 'make opt', to build ocamlfind. - Welcome to findlib version 1.9.1 - Configuring core... - Checking for #remove_directory... - Testing threading model... - systhread_supported: true - Testing DLLs... - Testing whether ppxopt can be supported... - Checking for ocamlc -opaque... - Querying installation: META list not found - make install will double-check installed META files - Configuring libraries... - unix: found - bigarray: found - compiler-libs: found - dbm: not present (normal since 4.00) - graphics: not present (normal since 4.09) - num: not present (normal since 4.06) - ocamlbuild: not present (normal since 4.03) - ocamldoc: found - raw_spacetime: not present (normal since 4.12) - threads: found - str: found - labltk: not present (normal since 4.02) - native dynlink: found - camlp4: disabled - bytes: found, installing fake library - Configuration for dynlink written to site-lib-src/dynlink/META - Configuration for stdlib written to site-lib-src/stdlib/META - Configuration for unix written to site-lib-src/unix/META - Configuration for bigarray written to site-lib-src/bigarray/META - Configuration for compiler-libs written to site-lib-src/compiler-libs/META - Configuration for ocamldoc written to site-lib-src/ocamldoc/META - Configuration for threads written to site-lib-src/threads/META - Configuration for str written to site-lib-src/str/META - Configuration for bytes written to site-lib-src/bytes/META - Detecting compiler arguments: (extractor built) ok - - About the OCAML core installation: - Standard library: /home/opam/.opam/4.12.0/lib/ocaml - Binaries: /home/opam/.opam/4.12.0/bin - Manual pages: /home/opam/.opam/4.12.0/man - Multi-threading type: posix - The directory of site-specific packages will be - site-lib: /home/opam/.opam/4.12.0/lib - The configuration file is written to: - findlib config file: /home/opam/.opam/4.12.0/lib/findlib.conf - Software will be installed: - Libraries: in <site-lib>/findlib - Binaries: /home/opam/.opam/4.12.0/bin - Manual pages: /home/opam/.opam/4.12.0/man - topfind script: /home/opam/.opam/4.12.0/lib/ocaml - Topfind ppxopt support: yes - Toolbox: no - Link custom runtime: no - Need bytes compatibility: no - - Configuration has been written to Makefile.config - - You can now do 'make all', and optionally 'make opt', to build ocamlfind. Processing 31/54: [dune: ocaml bootstrap.ml] [jbuilder: ocaml bootstrap.ml] [ocamlfind: make all] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "all" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/ocamlfind.1.9.1) - for p in findlib; do ( cd src/$p; make all ) || exit; done - make[1]: Entering directory '/home/opam/.opam/4.12.0/.opam-switch/build/ocamlfind.1.9.1/src/findlib' - ocamllex fl_meta.mll - 22 states, 392 transitions, table size 1700 bytes - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat findlib_config.mlp | \ - ../../tools/patch '@CONFIGFILE@' '/home/opam/.opam/4.12.0/lib/findlib.conf' | \ - ../../tools/patch '@STDLIB@' '/home/opam/.opam/4.12.0/lib/ocaml' | \ - sed -e 's;@AUTOLINK@;true;g' \ - -e 's;@SYSTEM@;linux;g' \ - >findlib_config.ml - if [ "true" = "true" ]; then \ - cp topfind.ml.in topfind.ml; \ - else \ - sed -e '/PPXOPT_BEGIN/,/PPXOPT_END/ d' topfind.ml.in \ - > topfind.ml ; \ - fi - ocamldep *.ml *.mli >depend - ocamlc -I +compiler-libs -opaque -g -c findlib_config.ml - ocamlc -I +compiler-libs -opaque -g -c fl_split.ml - ocamlc -I +compiler-libs -opaque -g -c fl_metatoken.ml - ocamlc -I +compiler-libs -opaque -g -c fl_meta.ml - ocamlc -I +compiler-libs -opaque -c fl_metascanner.mli - ocamlc -I +compiler-libs -opaque -g -c fl_metascanner.ml - ocamlc -I +compiler-libs -opaque -c fl_topo.mli - ocamlc -I +compiler-libs -opaque -g -c fl_topo.ml - ocamlc -I +compiler-libs -opaque -c fl_package_base.mli - ocamlc -I +compiler-libs -opaque -g -c fl_package_base.ml - ocamlc -I +compiler-libs -opaque -c findlib.mli - ocamlc -I +compiler-libs -opaque -g -c findlib.ml - ocamlc -I +compiler-libs -opaque -g -c fl_args.ml - ocamlc -I +compiler-libs -opaque -g -c fl_lint.ml - ocamlc -I +compiler-libs -a -o findlib.cma findlib_config.cmo fl_split.cmo fl_metatoken.cmo fl_meta.cmo fl_metascanner.cmo fl_topo.cmo fl_package_base.cmo findlib.cmo fl_args.cmo fl_lint.cmo - ocamlc -I +compiler-libs -opaque -g -c ocaml_args.ml - ocamlc -I +compiler-libs -opaque -g -c frontend.ml - File "frontend.ml", line 1826, characters 16-29: - 1826 | let buf = String.create buflen in (* FIXME: Bytes.create *) - ^^^^^^^^^^^^^ - Alert deprecated: Stdlib.String.create - Use Bytes.create/BytesLabels.create instead. - ocamlc -I +compiler-libs -o ocamlfind -g findlib.cma unix.cma \ - ocaml_args.cmo frontend.cmo - ocamlc -I +compiler-libs -opaque -c topfind.mli - ocamlc -I +compiler-libs -opaque -g -c topfind.ml - ocamlc -I +compiler-libs -a -o findlib_top.cma topfind.cmo - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat topfind_rd1.p | \ - ../../tools/patch '@SITELIB@' '/home/opam/.opam/4.12.0/lib' \ - >topfind - ocamlc -I +compiler-libs -opaque -c fl_dynload.mli - ocamlc -I +compiler-libs -opaque -g -c fl_dynload.ml - ocamlc -I +compiler-libs -a -o findlib_dynload.cma fl_dynload.cmo - make[1]: Leaving directory '/home/opam/.opam/4.12.0/.opam-switch/build/ocamlfind.1.9.1/src/findlib' - make all-config - make[1]: Entering directory '/home/opam/.opam/4.12.0/.opam-switch/build/ocamlfind.1.9.1' - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat findlib.conf.in | \ - tools/patch '@SITELIB@' '/home/opam/.opam/4.12.0/lib' >findlib.conf - if ./tools/cmd_from_same_dir ocamlc; then \ - echo 'ocamlc="ocamlc.opt"' >>findlib.conf; \ - fi - if ./tools/cmd_from_same_dir ocamlopt; then \ - echo 'ocamlopt="ocamlopt.opt"' >>findlib.conf; \ - fi - if ./tools/cmd_from_same_dir ocamldep; then \ - echo 'ocamldep="ocamldep.opt"' >>findlib.conf; \ - fi - if ./tools/cmd_from_same_dir ocamldoc; then \ - echo 'ocamldoc="ocamldoc.opt"' >>findlib.conf; \ - fi - make[1]: Leaving directory '/home/opam/.opam/4.12.0/.opam-switch/build/ocamlfind.1.9.1' - for p in findlib; do ( cd src/$p; make all ) || exit; done - make[1]: Entering directory '/home/opam/.opam/4.12.0/.opam-switch/build/ocamlfind.1.9.1/src/findlib' - ocamllex fl_meta.mll - 22 states, 392 transitions, table size 1700 bytes - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat findlib_config.mlp | \ - ../../tools/patch '@CONFIGFILE@' '/home/opam/.opam/4.12.0/lib/findlib.conf' | \ - ../../tools/patch '@STDLIB@' '/home/opam/.opam/4.12.0/lib/ocaml' | \ - sed -e 's;@AUTOLINK@;true;g' \ - -e 's;@SYSTEM@;linux;g' \ - >findlib_config.ml - if [ "true" = "true" ]; then \ - cp topfind.ml.in topfind.ml; \ - else \ - sed -e '/PPXOPT_BEGIN/,/PPXOPT_END/ d' topfind.ml.in \ - > topfind.ml ; \ - fi - ocamldep *.ml *.mli >depend - ocamlc -I +compiler-libs -opaque -g -c findlib_config.ml - ocamlc -I +compiler-libs -opaque -g -c fl_split.ml - ocamlc -I +compiler-libs -opaque -g -c fl_metatoken.ml - ocamlc -I +compiler-libs -opaque -g -c fl_meta.ml - ocamlc -I +compiler-libs -opaque -c fl_metascanner.mli - ocamlc -I +compiler-libs -opaque -g -c fl_metascanner.ml - ocamlc -I +compiler-libs -opaque -c fl_topo.mli - ocamlc -I +compiler-libs -opaque -g -c fl_topo.ml - ocamlc -I +compiler-libs -opaque -c fl_package_base.mli - ocamlc -I +compiler-libs -opaque -g -c fl_package_base.ml - ocamlc -I +compiler-libs -opaque -c findlib.mli - ocamlc -I +compiler-libs -opaque -g -c findlib.ml - ocamlc -I +compiler-libs -opaque -g -c fl_args.ml - ocamlc -I +compiler-libs -opaque -g -c fl_lint.ml - ocamlc -I +compiler-libs -a -o findlib.cma findlib_config.cmo fl_split.cmo fl_metatoken.cmo fl_meta.cmo fl_metascanner.cmo fl_topo.cmo fl_package_base.cmo findlib.cmo fl_args.cmo fl_lint.cmo - ocamlc -I +compiler-libs -opaque -g -c ocaml_args.ml - ocamlc -I +compiler-libs -opaque -g -c frontend.ml - File "frontend.ml", line 1826, characters 16-29: - 1826 | let buf = String.create buflen in (* FIXME: Bytes.create *) - ^^^^^^^^^^^^^ - Alert deprecated: Stdlib.String.create - Use Bytes.create/BytesLabels.create instead. - ocamlc -I +compiler-libs -o ocamlfind -g findlib.cma unix.cma \ - ocaml_args.cmo frontend.cmo - ocamlc -I +compiler-libs -opaque -c topfind.mli - ocamlc -I +compiler-libs -opaque -g -c topfind.ml - ocamlc -I +compiler-libs -a -o findlib_top.cma topfind.cmo - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat topfind_rd1.p | \ - ../../tools/patch '@SITELIB@' '/home/opam/.opam/4.12.0/lib' \ - >topfind - ocamlc -I +compiler-libs -opaque -c fl_dynload.mli - ocamlc -I +compiler-libs -opaque -g -c fl_dynload.ml - ocamlc -I +compiler-libs -a -o findlib_dynload.cma fl_dynload.cmo - make[1]: Leaving directory '/home/opam/.opam/4.12.0/.opam-switch/build/ocamlfind.1.9.1/src/findlib' - make all-config - make[1]: Entering directory '/home/opam/.opam/4.12.0/.opam-switch/build/ocamlfind.1.9.1' - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat findlib.conf.in | \ - tools/patch '@SITELIB@' '/home/opam/.opam/4.12.0/lib' >findlib.conf - if ./tools/cmd_from_same_dir ocamlc; then \ - echo 'ocamlc="ocamlc.opt"' >>findlib.conf; \ - fi - if ./tools/cmd_from_same_dir ocamlopt; then \ - echo 'ocamlopt="ocamlopt.opt"' >>findlib.conf; \ - fi - if ./tools/cmd_from_same_dir ocamldep; then \ - echo 'ocamldep="ocamldep.opt"' >>findlib.conf; \ - fi - if ./tools/cmd_from_same_dir ocamldoc; then \ - echo 'ocamldoc="ocamldoc.opt"' >>findlib.conf; \ - fi - make[1]: Leaving directory '/home/opam/.opam/4.12.0/.opam-switch/build/ocamlfind.1.9.1' Processing 31/54: [dune: ocaml bootstrap.ml] [jbuilder: ocaml bootstrap.ml] [ocamlfind: make opt] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "opt" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/ocamlfind.1.9.1) - for p in findlib; do ( cd src/$p; make opt ) || exit; done - make[1]: Entering directory '/home/opam/.opam/4.12.0/.opam-switch/build/ocamlfind.1.9.1/src/findlib' - ocamlopt -I +compiler-libs -g -opaque -c findlib_config.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_split.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_metatoken.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_meta.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_metascanner.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_topo.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_package_base.ml - ocamlopt -I +compiler-libs -g -opaque -c findlib.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_args.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_lint.ml - ocamlopt -I +compiler-libs -g -a -o findlib.cmxa findlib_config.cmx fl_split.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx - if [ 1 -gt 0 ]; then \ - ocamlopt -I +compiler-libs -g -shared -o findlib.cmxs findlib_config.cmx fl_split.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx; \ - fi - ocamlopt -I +compiler-libs -g -opaque -c ocaml_args.ml - ocamlopt -I +compiler-libs -g -opaque -c frontend.ml - File "frontend.ml", line 1826, characters 16-29: - 1826 | let buf = String.create buflen in (* FIXME: Bytes.create *) - ^^^^^^^^^^^^^ - Alert deprecated: Stdlib.String.create - Use Bytes.create/BytesLabels.create instead. - ocamlopt -I +compiler-libs -g -o ocamlfind_opt findlib.cmxa unix.cmxa \ - ocaml_args.cmx frontend.cmx - ocamlopt -I +compiler-libs -g -opaque -c topfind.ml - File "_none_", line 1: - Warning 58 [no-cmx-file]: no cmx file was found in path for module Topdirs, and its interface was not compiled with -opaque - File "_none_", line 1: - Warning 58 [no-cmx-file]: no cmx file was found in path for module Toploop, and its interface was not compiled with -opaque - ocamlopt -I +compiler-libs -g -a -o findlib_top.cmxa topfind.cmx - if [ 1 -gt 0 ]; then \ - ocamlopt -I +compiler-libs -g -shared -o findlib_top.cmxs topfind.cmx; \ - fi - ocamlopt -I +compiler-libs -g -opaque -c fl_dynload.ml - ocamlopt -I +compiler-libs -g -a -o findlib_dynload.cmxa fl_dynload.cmx - if [ 1 -gt 0 ]; then \ - ocamlopt -I +compiler-libs -g -shared -o findlib_dynload.cmxs fl_dynload.cmx; \ - fi - make[1]: Leaving directory '/home/opam/.opam/4.12.0/.opam-switch/build/ocamlfind.1.9.1/src/findlib' - for p in findlib; do ( cd src/$p; make opt ) || exit; done - make[1]: Entering directory '/home/opam/.opam/4.12.0/.opam-switch/build/ocamlfind.1.9.1/src/findlib' - ocamlopt -I +compiler-libs -g -opaque -c findlib_config.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_split.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_metatoken.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_meta.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_metascanner.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_topo.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_package_base.ml - ocamlopt -I +compiler-libs -g -opaque -c findlib.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_args.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_lint.ml - ocamlopt -I +compiler-libs -g -a -o findlib.cmxa findlib_config.cmx fl_split.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx - if [ 1 -gt 0 ]; then \ - ocamlopt -I +compiler-libs -g -shared -o findlib.cmxs findlib_config.cmx fl_split.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx; \ - fi - ocamlopt -I +compiler-libs -g -opaque -c ocaml_args.ml - ocamlopt -I +compiler-libs -g -opaque -c frontend.ml - File "frontend.ml", line 1826, characters 16-29: - 1826 | let buf = String.create buflen in (* FIXME: Bytes.create *) - ^^^^^^^^^^^^^ - Alert deprecated: Stdlib.String.create - Use Bytes.create/BytesLabels.create instead. - ocamlopt -I +compiler-libs -g -o ocamlfind_opt findlib.cmxa unix.cmxa \ - ocaml_args.cmx frontend.cmx - ocamlopt -I +compiler-libs -g -opaque -c topfind.ml - File "_none_", line 1: - Warning 58 [no-cmx-file]: no cmx file was found in path for module Topdirs, and its interface was not compiled with -opaque - File "_none_", line 1: - Warning 58 [no-cmx-file]: no cmx file was found in path for module Toploop, and its interface was not compiled with -opaque - ocamlopt -I +compiler-libs -g -a -o findlib_top.cmxa topfind.cmx - if [ 1 -gt 0 ]; then \ - ocamlopt -I +compiler-libs -g -shared -o findlib_top.cmxs topfind.cmx; \ - fi - ocamlopt -I +compiler-libs -g -opaque -c fl_dynload.ml - ocamlopt -I +compiler-libs -g -a -o findlib_dynload.cmxa fl_dynload.cmx - if [ 1 -gt 0 ]; then \ - ocamlopt -I +compiler-libs -g -shared -o findlib_dynload.cmxs fl_dynload.cmx; \ - fi - make[1]: Leaving directory '/home/opam/.opam/4.12.0/.opam-switch/build/ocamlfind.1.9.1/src/findlib' -> compiled ocamlfind.1.9.1 Processing 31/54: [dune: ocaml bootstrap.ml] [jbuilder: ocaml bootstrap.ml] Processing 32/54: [dune: ocaml bootstrap.ml] [jbuilder: ocaml bootstrap.ml] [ocamlfind: make install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/ocamlfind.1.9.1) - if [ "1" -eq 1 ]; then \ - for x in camlp4 dbm graphics labltk num ocamlbuild; do \ - if [ -f "/home/opam/.opam/4.12.0/lib/$x/META" ]; then \ - if ! grep -Fq '[distributed with Ocaml]' "//home/opam/.opam/4.12.0/lib/$x/META"; then \ - rm -f site-lib-src/$x/META; \ - fi \ - fi \ - done; \ - test -f "site-lib-src/num/META" || rm -f "site-lib-src/num-top/META"; \ - fi - echo 'SITELIB_META =' > Makefile.packages.in - for x in `ls site-lib-src`; do test ! -f "site-lib-src/$x/META" || echo $x >> Makefile.packages.in; done - tr '\n' ' ' < Makefile.packages.in > Makefile.packages - rm Makefile.packages.in - mkdir -p "/home/opam/.opam/4.12.0/bin" - mkdir -p "/home/opam/.opam/4.12.0/man" - make install-config - make[1]: Entering directory '/home/opam/.opam/4.12.0/.opam-switch/build/ocamlfind.1.9.1' - mkdir -p "`dirname \"/home/opam/.opam/4.12.0/lib/findlib.conf\"`" - test -f "/home/opam/.opam/4.12.0/lib/findlib.conf" || cp findlib.conf "/home/opam/.opam/4.12.0/lib/findlib.conf" - make[1]: Leaving directory '/home/opam/.opam/4.12.0/.opam-switch/build/ocamlfind.1.9.1' - for p in findlib; do ( cd src/$p; make install ); done - make[1]: Entering directory '/home/opam/.opam/4.12.0/.opam-switch/build/ocamlfind.1.9.1/src/findlib' - mkdir -p "/home/opam/.opam/4.12.0/lib/findlib" - mkdir -p "/home/opam/.opam/4.12.0/bin" - test 1 -eq 0 || cp topfind "/home/opam/.opam/4.12.0/lib/ocaml" - files=` ../../tools/collect_files ../../Makefile.config findlib.cmi findlib.mli findlib.cma findlib.cmxa findlib.a findlib.cmxs topfind.cmi topfind.mli fl_package_base.mli fl_package_base.cmi fl_metascanner.mli fl_metascanner.cmi fl_metatoken.cmi findlib_top.cma findlib_top.cmxa findlib_top.a findlib_top.cmxs findlib_dynload.cma findlib_dynload.cmxa findlib_dynload.a findlib_dynload.cmxs fl_dynload.mli fl_dynload.cmi META` && \ - cp $files "/home/opam/.opam/4.12.0/lib/findlib" - f="ocamlfind"; { test -f ocamlfind_opt && f="ocamlfind_opt"; }; \ - cp $f "/home/opam/.opam/4.12.0/bin/ocamlfind" - # the following "if" block is only needed for 4.00beta2 - if [ 1 -eq 0 -a -f "/home/opam/.opam/4.12.0/lib/ocaml/compiler-libs/topdirs.cmi" ]; then \ - cd "/home/opam/.opam/4.12.0/lib/ocaml/compiler-libs/"; \ - cp topdirs.cmi toploop.cmi "/home/opam/.opam/4.12.0/lib/findlib/"; \ - fi - make[1]: Leaving directory '/home/opam/.opam/4.12.0/.opam-switch/build/ocamlfind.1.9.1/src/findlib' - make install-meta - make[1]: Entering directory '/home/opam/.opam/4.12.0/.opam-switch/build/ocamlfind.1.9.1' - for x in bigarray bytes compiler-libs dynlink ocamldoc stdlib str threads unix ; do mkdir -p "/home/opam/.opam/4.12.0/lib/$x"; cp site-lib-src/$x/META "/home/opam/.opam/4.12.0/lib/$x"; done - mkdir -p "/home/opam/.opam/4.12.0/lib/findlib"; cp Makefile.packages "/home/opam/.opam/4.12.0/lib/findlib/Makefile.packages" - make[1]: Leaving directory '/home/opam/.opam/4.12.0/.opam-switch/build/ocamlfind.1.9.1' - test ! -f 'site-lib-src/num-top/META' || { cd src/findlib; make install-num-top; } - test ! -f 'site-lib-src/camlp4/META' || cp tools/safe_camlp4 "/home/opam/.opam/4.12.0/bin" - make install-doc - make[1]: Entering directory '/home/opam/.opam/4.12.0/.opam-switch/build/ocamlfind.1.9.1' - mkdir -p "/home/opam/.opam/4.12.0/man/man1" "/home/opam/.opam/4.12.0/man/man3" "/home/opam/.opam/4.12.0/man/man5" - cp doc/ref-man/ocamlfind.1 "/home/opam/.opam/4.12.0/man/man1" - cp doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 "/home/opam/.opam/4.12.0/man/man5" - make[1]: Leaving directory '/home/opam/.opam/4.12.0/.opam-switch/build/ocamlfind.1.9.1' - if [ "1" -eq 1 ]; then \ - for x in camlp4 dbm graphics labltk num ocamlbuild; do \ - if [ -f "/home/opam/.opam/4.12.0/lib/$x/META" ]; then \ - if ! grep -Fq '[distributed with Ocaml]' "//home/opam/.opam/4.12.0/lib/$x/META"; then \ - rm -f site-lib-src/$x/META; \ - fi \ - fi \ - done; \ - test -f "site-lib-src/num/META" || rm -f "site-lib-src/num-top/META"; \ - fi - echo 'SITELIB_META =' > Makefile.packages.in - for x in `ls site-lib-src`; do test ! -f "site-lib-src/$x/META" || echo $x >> Makefile.packages.in; done - tr '\n' ' ' < Makefile.packages.in > Makefile.packages - rm Makefile.packages.in - mkdir -p "/home/opam/.opam/4.12.0/bin" - mkdir -p "/home/opam/.opam/4.12.0/man" - make install-config - make[1]: Entering directory '/home/opam/.opam/4.12.0/.opam-switch/build/ocamlfind.1.9.1' - mkdir -p "`dirname \"/home/opam/.opam/4.12.0/lib/findlib.conf\"`" - test -f "/home/opam/.opam/4.12.0/lib/findlib.conf" || cp findlib.conf "/home/opam/.opam/4.12.0/lib/findlib.conf" - make[1]: Leaving directory '/home/opam/.opam/4.12.0/.opam-switch/build/ocamlfind.1.9.1' - for p in findlib; do ( cd src/$p; make install ); done - make[1]: Entering directory '/home/opam/.opam/4.12.0/.opam-switch/build/ocamlfind.1.9.1/src/findlib' - mkdir -p "/home/opam/.opam/4.12.0/lib/findlib" - mkdir -p "/home/opam/.opam/4.12.0/bin" - test 1 -eq 0 || cp topfind "/home/opam/.opam/4.12.0/lib/ocaml" - files=` ../../tools/collect_files ../../Makefile.config findlib.cmi findlib.mli findlib.cma findlib.cmxa findlib.a findlib.cmxs topfind.cmi topfind.mli fl_package_base.mli fl_package_base.cmi fl_metascanner.mli fl_metascanner.cmi fl_metatoken.cmi findlib_top.cma findlib_top.cmxa findlib_top.a findlib_top.cmxs findlib_dynload.cma findlib_dynload.cmxa findlib_dynload.a findlib_dynload.cmxs fl_dynload.mli fl_dynload.cmi META` && \ - cp $files "/home/opam/.opam/4.12.0/lib/findlib" - f="ocamlfind"; { test -f ocamlfind_opt && f="ocamlfind_opt"; }; \ - cp $f "/home/opam/.opam/4.12.0/bin/ocamlfind" - # the following "if" block is only needed for 4.00beta2 - if [ 1 -eq 0 -a -f "/home/opam/.opam/4.12.0/lib/ocaml/compiler-libs/topdirs.cmi" ]; then \ - cd "/home/opam/.opam/4.12.0/lib/ocaml/compiler-libs/"; \ - cp topdirs.cmi toploop.cmi "/home/opam/.opam/4.12.0/lib/findlib/"; \ - fi - make[1]: Leaving directory '/home/opam/.opam/4.12.0/.opam-switch/build/ocamlfind.1.9.1/src/findlib' - make install-meta - make[1]: Entering directory '/home/opam/.opam/4.12.0/.opam-switch/build/ocamlfind.1.9.1' - for x in bigarray bytes compiler-libs dynlink ocamldoc stdlib str threads unix ; do mkdir -p "/home/opam/.opam/4.12.0/lib/$x"; cp site-lib-src/$x/META "/home/opam/.opam/4.12.0/lib/$x"; done - mkdir -p "/home/opam/.opam/4.12.0/lib/findlib"; cp Makefile.packages "/home/opam/.opam/4.12.0/lib/findlib/Makefile.packages" - make[1]: Leaving directory '/home/opam/.opam/4.12.0/.opam-switch/build/ocamlfind.1.9.1' - test ! -f 'site-lib-src/num-top/META' || { cd src/findlib; make install-num-top; } - test ! -f 'site-lib-src/camlp4/META' || cp tools/safe_camlp4 "/home/opam/.opam/4.12.0/bin" - make install-doc - make[1]: Entering directory '/home/opam/.opam/4.12.0/.opam-switch/build/ocamlfind.1.9.1' - mkdir -p "/home/opam/.opam/4.12.0/man/man1" "/home/opam/.opam/4.12.0/man/man3" "/home/opam/.opam/4.12.0/man/man5" - cp doc/ref-man/ocamlfind.1 "/home/opam/.opam/4.12.0/man/man1" - cp doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 "/home/opam/.opam/4.12.0/man/man5" - make[1]: Leaving directory '/home/opam/.opam/4.12.0/.opam-switch/build/ocamlfind.1.9.1' -> installed ocamlfind.1.9.1 Processing 32/54: [dune: ocaml bootstrap.ml] [jbuilder: ocaml bootstrap.ml] Processing 33/54: [dune: ocaml bootstrap.ml] [jbuilder: ocaml bootstrap.ml] Processing 34/54: [dbm: ./configure] [dune: ocaml bootstrap.ml] [jbuilder: ocaml bootstrap.ml] Processing 35/54: [dbm: ./configure] [dune: ocaml bootstrap.ml] [jbuilder: ocaml bootstrap.ml] [zarith: ./configure] -> installed base-bytes.base Processing 36/54: [dbm: ./configure] [dune: ocaml bootstrap.ml] [jbuilder: ocaml bootstrap.ml] [zarith: ./configure] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "bootstrap.ml" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/jbuilder.1.0+beta20.2) - '/home/opam/.opam/4.12.0/bin/ocamllex.opt' -q src/meta_lexer.mll - '/home/opam/.opam/4.12.0/bin/ocamldep.opt' -modules src/action.ml src/action_intf.ml src/arg_spec.ml src/artifacts.ml src/bin.ml src/binary_kind.ml src/build.ml src/build_interpret.ml src/build_system.ml src/clflags.ml src/cm_kind.ml src/colors.ml src/config.ml src/context.ml src/dep_path.ml src/env.ml src/errors.ml src/exe.ml src/file_tree.ml src/findlib.ml src/gen_meta.ml src/gen_rules.ml src/glob_lexer.boot.ml src/import.ml src/inline_tests.ml src/install.ml src/install_rules.ml src/installed_dune_file.ml src/interned.ml src/jbuild.ml src/jbuild_load.ml vendor/boot/jbuilder_opam_file_format.ml vendor/boot/jbuilder_re.ml src/js_of_ocaml_rules.ml src/lib.ml src/loc.ml src/log.ml src/main.ml src/menhir.ml src/merlin.ml src/meta.ml src/meta_lexer.ml src/ml_kind.ml src/mode.ml src/module.ml src/module_compilation.ml src/modules_partitioner.ml src/ocaml_flags.ml src/ocamldep.ml src/odoc.boot.ml src/opam_file.ml src/ordered_set_lang.ml src/package.ml src/path.ml src/per_item.ml src/preprocessing.ml src/print_diff.ml src/process.ml src/report_error.ml src/scheduler.ml src/scope.ml src/setup.boot.ml src/sexp.ml src/string_with_vars.ml src/sub_system.ml src/sub_system_intf.ml src/sub_system_name.ml src/super_context.ml src/syntax.ml src/top_closure.ml src/utils.ml src/utop.ml src/variant.ml src/vfile_kind.ml src/watermarks.ml src/workspace.ml > boot-depends.txt - '/home/opam/.opam/4.12.0/bin/ocamldep.opt' -modules src/stdune/caml/caml.ml src/stdune/caml/result.ml src/stdune/caml/result_compat.ml > boot-depends.txt - '/home/opam/.opam/4.12.0/bin/ocamldep.opt' -modules src/fiber/fiber.ml > boot-depends.txt - '/home/opam/.opam/4.12.0/bin/ocamldep.opt' -modules src/ocaml-config/ocaml_config.ml > boot-depends.txt - '/home/opam/.opam/4.12.0/bin/ocamldep.opt' -modules src/stdune/stdune.ml src/stdune/ansi_color.ml src/stdune/array.ml src/stdune/char.ml src/stdune/common.ml src/stdune/comparable.ml src/stdune/either.ml src/stdune/exn.ml src/stdune/filename.ml src/stdune/hashtbl.ml src/stdune/import.ml src/stdune/int.ml src/stdune/io.ml src/stdune/list.ml src/stdune/map.ml src/stdune/map_intf.ml src/stdune/option.ml src/stdune/or_exn.ml src/stdune/ordering.ml src/stdune/pp.ml src/stdune/result.ml src/stdune/set.ml src/stdune/set_intf.ml src/stdune/staged.ml src/stdune/string.ml > boot-depends.txt - '/home/opam/.opam/4.12.0/bin/ocamldep.opt' -modules src/usexp/usexp.ml src/usexp/parser_automaton_internal.ml src/usexp/sexp_ast.ml src/usexp/table.ml > boot-depends.txt - '/home/opam/.opam/4.12.0/bin/ocamldep.opt' -modules src/xdg/xdg.ml > boot-depends.txt - '/home/opam/.opam/4.12.0/bin/ocamlc.opt' -g -w -40 -o boot.exe unix.cma boot.ml - File "src/stdune/caml/result.ml", line 4, characters 7-17: - 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 "src/stdune/caml/result.mli", line 6, characters 7-17: - 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 "src/stdune/pp.ml", line 98, characters 7-18: - Alert deprecated: Stdlib.Format.pp_open_tag - Use Format.pp_open_stag. - File "src/stdune/pp.ml", line 100, characters 7-19: - Alert deprecated: Stdlib.Format.pp_close_tag - Use Format.pp_close_stag. - File "src/stdune/pp.ml", line 103, characters 18-48: - Alert deprecated: Stdlib.Format.pp_get_formatter_tag_functions - Use Format.pp_get_formatter_stag_functions. - File "src/stdune/pp.ml", line 105, characters 6-36: - Alert deprecated: Stdlib.Format.pp_set_formatter_tag_functions - This function will erase non-string tag formatting functions. Use Format.pp_set_formatter_stag_functions. - File "src/stdune/io.ml", line 1, characters 11-21: - 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 "src/usexp/usexp.ml", line 209, characters 15-52: - Alert deprecated: Stdlib.Format.pp_get_formatter_tag_functions - Use Format.pp_get_formatter_stag_functions. - File "src/usexp/usexp.ml", line 210, characters 2-39: - Alert deprecated: Stdlib.Format.pp_set_formatter_tag_functions - This function will erase non-string tag formatting functions. Use Format.pp_set_formatter_stag_functions. - File "src/colors.ml", line 105, characters 18-48: - Alert deprecated: Stdlib.Format.pp_get_formatter_tag_functions - Use Format.pp_get_formatter_stag_functions. - File "src/colors.ml", line 107, characters 6-36: - Alert deprecated: Stdlib.Format.pp_set_formatter_tag_functions - This function will erase non-string tag formatting functions. Use Format.pp_set_formatter_stag_functions. - File "src/super_context.ml", line 72, characters 7-11: - Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased. - '/home/opam/.opam/4.12.0/bin/ocamllex.opt' -q src/meta_lexer.mll - '/home/opam/.opam/4.12.0/bin/ocamldep.opt' -modules src/action.ml src/action_intf.ml src/arg_spec.ml src/artifacts.ml src/bin.ml src/binary_kind.ml src/build.ml src/build_interpret.ml src/build_system.ml src/clflags.ml src/cm_kind.ml src/colors.ml src/config.ml src/context.ml src/dep_path.ml src/env.ml src/errors.ml src/exe.ml src/file_tree.ml src/findlib.ml src/gen_meta.ml src/gen_rules.ml src/glob_lexer.boot.ml src/import.ml src/inline_tests.ml src/install.ml src/install_rules.ml src/installed_dune_file.ml src/interned.ml src/jbuild.ml src/jbuild_load.ml vendor/boot/jbuilder_opam_file_format.ml vendor/boot/jbuilder_re.ml src/js_of_ocaml_rules.ml src/lib.ml src/loc.ml src/log.ml src/main.ml src/menhir.ml src/merlin.ml src/meta.ml src/meta_lexer.ml src/ml_kind.ml src/mode.ml src/module.ml src/module_compilation.ml src/modules_partitioner.ml src/ocaml_flags.ml src/ocamldep.ml src/odoc.boot.ml src/opam_file.ml src/ordered_set_lang.ml src/package.ml src/path.ml src/per_item.ml src/preprocessing.ml src/print_diff.ml src/process.ml src/report_error.ml src/scheduler.ml src/scope.ml src/setup.boot.ml src/sexp.ml src/string_with_vars.ml src/sub_system.ml src/sub_system_intf.ml src/sub_system_name.ml src/super_context.ml src/syntax.ml src/top_closure.ml src/utils.ml src/utop.ml src/variant.ml src/vfile_kind.ml src/watermarks.ml src/workspace.ml > boot-depends.txt - '/home/opam/.opam/4.12.0/bin/ocamldep.opt' -modules src/stdune/caml/caml.ml src/stdune/caml/result.ml src/stdune/caml/result_compat.ml > boot-depends.txt - '/home/opam/.opam/4.12.0/bin/ocamldep.opt' -modules src/fiber/fiber.ml > boot-depends.txt - '/home/opam/.opam/4.12.0/bin/ocamldep.opt' -modules src/ocaml-config/ocaml_config.ml > boot-depends.txt - '/home/opam/.opam/4.12.0/bin/ocamldep.opt' -modules src/stdune/stdune.ml src/stdune/ansi_color.ml src/stdune/array.ml src/stdune/char.ml src/stdune/common.ml src/stdune/comparable.ml src/stdune/either.ml src/stdune/exn.ml src/stdune/filename.ml src/stdune/hashtbl.ml src/stdune/import.ml src/stdune/int.ml src/stdune/io.ml src/stdune/list.ml src/stdune/map.ml src/stdune/map_intf.ml src/stdune/option.ml src/stdune/or_exn.ml src/stdune/ordering.ml src/stdune/pp.ml src/stdune/result.ml src/stdune/set.ml src/stdune/set_intf.ml src/stdune/staged.ml src/stdune/string.ml > boot-depends.txt - '/home/opam/.opam/4.12.0/bin/ocamldep.opt' -modules src/usexp/usexp.ml src/usexp/parser_automaton_internal.ml src/usexp/sexp_ast.ml src/usexp/table.ml > boot-depends.txt - '/home/opam/.opam/4.12.0/bin/ocamldep.opt' -modules src/xdg/xdg.ml > boot-depends.txt - '/home/opam/.opam/4.12.0/bin/ocamlc.opt' -g -w -40 -o boot.exe unix.cma boot.ml - File "src/stdune/caml/result.ml", line 4, characters 7-17: - 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 "src/stdune/caml/result.mli", line 6, characters 7-17: - 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 "src/stdune/pp.ml", line 98, characters 7-18: - Alert deprecated: Stdlib.Format.pp_open_tag - Use Format.pp_open_stag. - File "src/stdune/pp.ml", line 100, characters 7-19: - Alert deprecated: Stdlib.Format.pp_close_tag - Use Format.pp_close_stag. - File "src/stdune/pp.ml", line 103, characters 18-48: - Alert deprecated: Stdlib.Format.pp_get_formatter_tag_functions - Use Format.pp_get_formatter_stag_functions. - File "src/stdune/pp.ml", line 105, characters 6-36: - Alert deprecated: Stdlib.Format.pp_set_formatter_tag_functions - This function will erase non-string tag formatting functions. Use Format.pp_set_formatter_stag_functions. - File "src/stdune/io.ml", line 1, characters 11-21: - 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 "src/usexp/usexp.ml", line 209, characters 15-52: - Alert deprecated: Stdlib.Format.pp_get_formatter_tag_functions - Use Format.pp_get_formatter_stag_functions. - File "src/usexp/usexp.ml", line 210, characters 2-39: - Alert deprecated: Stdlib.Format.pp_set_formatter_tag_functions - This function will erase non-string tag formatting functions. Use Format.pp_set_formatter_stag_functions. - File "src/colors.ml", line 105, characters 18-48: - Alert deprecated: Stdlib.Format.pp_get_formatter_tag_functions - Use Format.pp_get_formatter_stag_functions. - File "src/colors.ml", line 107, characters 6-36: - Alert deprecated: Stdlib.Format.pp_set_formatter_tag_functions - This function will erase non-string tag formatting functions. Use Format.pp_set_formatter_stag_functions. - File "src/super_context.ml", line 72, characters 7-11: - Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased. Processing 36/54: [dbm: ./configure] [dune: ocaml bootstrap.ml] [jbuilder: ./boot.exe 47] [zarith: ./configure] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/dbm.1.2) - Configuring for OCaml version 4.12.0 - - Configuration for the "camldbm" library: - headers found in ......... /usr/include - options for compiling .... - options for linking ...... -lgdbm - - Configuration successful - - Configuring for OCaml version 4.12.0 - - Configuration for the "camldbm" library: - headers found in ......... /usr/include - options for compiling .... - options for linking ...... -lgdbm - - Configuration successful - Processing 36/54: [dbm: make all] [dune: ocaml bootstrap.ml] [jbuilder: ./boot.exe 47] [zarith: ./configure] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "all" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/dbm.1.2) - ocamlc -c -ccopt "" -ccopt "" cldbm.c - cldbm.c: In function 'raise_dbm': - cldbm.c:47:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 47 | dbm_exn = caml_named_value("dbmerror"); - | ^ - In file included from cldbm.c:18: - cldbm.c: In function 'caml_dbm_open': - /home/opam/.opam/4.12.0/lib/ocaml/caml/mlvalues.h:282:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 282 | #define String_val(x) ((const char *) Bp_val(x)) - | ^ - cldbm.c:76:16: note: in expansion of macro 'String_val' - 76 | char *file = String_val(vfile); - | ^~~~~~~~~~ - cldbm.c: In function 'caml_dbm_fetch': - cldbm.c:113:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 113 | key.dptr = String_val(vkey); - | ^ - In file included from cldbm.c:18: - /home/opam/.opam/4.12.0/lib/ocaml/caml/mlvalues.h:282:24: warning: passing argument 1 of 'memmove' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 282 | #define String_val(x) ((const char *) Bp_val(x)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - cldbm.c:122:14: note: in expansion of macro 'String_val' - 122 | memmove (String_val (res), answer.dptr, answer.dsize); - | ^~~~~~~~~~ - In file included from cldbm.c:16: - /usr/include/string.h:47:29: note: expected 'void *' but argument is of type 'const char *' - 47 | extern void *memmove (void *__dest, const void *__src, size_t __n) - | ~~~~~~^~~~~~ - cldbm.c: In function 'caml_dbm_insert': - cldbm.c:132:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 132 | key.dptr = String_val(vkey); - | ^ - cldbm.c:134:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 134 | content.dptr = String_val(vcontent); - | ^ - cldbm.c: In function 'caml_dbm_replace': - cldbm.c:155:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 155 | key.dptr = String_val(vkey); - | ^ - cldbm.c:157:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 157 | content.dptr = String_val(vcontent); - | ^ - cldbm.c: In function 'caml_dbm_delete': - cldbm.c:175:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 175 | key.dptr = String_val(vkey); - | ^ - In file included from cldbm.c:18: - cldbm.c: In function 'caml_dbm_firstkey': - /home/opam/.opam/4.12.0/lib/ocaml/caml/mlvalues.h:282:24: warning: passing argument 1 of 'memmove' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 282 | #define String_val(x) ((const char *) Bp_val(x)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - cldbm.c:202:14: note: in expansion of macro 'String_val' - 202 | memmove (String_val (res), key.dptr, key.dsize); - | ^~~~~~~~~~ - In file included from cldbm.c:16: - /usr/include/string.h:47:29: note: expected 'void *' but argument is of type 'const char *' - 47 | extern void *memmove (void *__dest, const void *__src, size_t __n) - | ~~~~~~^~~~~~ - In file included from cldbm.c:18: - cldbm.c: In function 'caml_dbm_nextkey': - /home/opam/.opam/4.12.0/lib/ocaml/caml/mlvalues.h:282:24: warning: passing argument 1 of 'memmove' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 282 | #define String_val(x) ((const char *) Bp_val(x)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - cldbm.c:225:14: note: in expansion of macro 'String_val' - 225 | memmove (String_val (res), key.dptr, key.dsize); - | ^~~~~~~~~~ - In file included from cldbm.c:16: - /usr/include/string.h:47:29: note: expected 'void *' but argument is of type 'const char *' - 47 | extern void *memmove (void *__dest, const void *__src, size_t __n) - | ~~~~~~^~~~~~ - ocamlmklib -oc camldbm cldbm.o -lgdbm - ocamlc -c dbm.mli - ocamlc -c dbm.ml - ocamlmklib -o dbm -oc camldbm -linkall dbm.cmo -lgdbm - ocamlopt -c dbm.ml - ocamlmklib -o dbm -oc camldbm -linkall dbm.cmx -lgdbm - ocamlopt -shared -o dbm.cmxs -I . dbm.cmxa - ocamlc -c -ccopt "" -ccopt "" cldbm.c - cldbm.c: In function 'raise_dbm': - cldbm.c:47:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 47 | dbm_exn = caml_named_value("dbmerror"); - | ^ - In file included from cldbm.c:18: - cldbm.c: In function 'caml_dbm_open': - /home/opam/.opam/4.12.0/lib/ocaml/caml/mlvalues.h:282:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 282 | #define String_val(x) ((const char *) Bp_val(x)) - | ^ - cldbm.c:76:16: note: in expansion of macro 'String_val' - 76 | char *file = String_val(vfile); - | ^~~~~~~~~~ - cldbm.c: In function 'caml_dbm_fetch': - cldbm.c:113:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 113 | key.dptr = String_val(vkey); - | ^ - In file included from cldbm.c:18: - /home/opam/.opam/4.12.0/lib/ocaml/caml/mlvalues.h:282:24: warning: passing argument 1 of 'memmove' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 282 | #define String_val(x) ((const char *) Bp_val(x)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - cldbm.c:122:14: note: in expansion of macro 'String_val' - 122 | memmove (String_val (res), answer.dptr, answer.dsize); - | ^~~~~~~~~~ - In file included from cldbm.c:16: - /usr/include/string.h:47:29: note: expected 'void *' but argument is of type 'const char *' - 47 | extern void *memmove (void *__dest, const void *__src, size_t __n) - | ~~~~~~^~~~~~ - cldbm.c: In function 'caml_dbm_insert': - cldbm.c:132:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 132 | key.dptr = String_val(vkey); - | ^ - cldbm.c:134:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 134 | content.dptr = String_val(vcontent); - | ^ - cldbm.c: In function 'caml_dbm_replace': - cldbm.c:155:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 155 | key.dptr = String_val(vkey); - | ^ - cldbm.c:157:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 157 | content.dptr = String_val(vcontent); - | ^ - cldbm.c: In function 'caml_dbm_delete': - cldbm.c:175:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 175 | key.dptr = String_val(vkey); - | ^ - In file included from cldbm.c:18: - cldbm.c: In function 'caml_dbm_firstkey': - /home/opam/.opam/4.12.0/lib/ocaml/caml/mlvalues.h:282:24: warning: passing argument 1 of 'memmove' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 282 | #define String_val(x) ((const char *) Bp_val(x)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - cldbm.c:202:14: note: in expansion of macro 'String_val' - 202 | memmove (String_val (res), key.dptr, key.dsize); - | ^~~~~~~~~~ - In file included from cldbm.c:16: - /usr/include/string.h:47:29: note: expected 'void *' but argument is of type 'const char *' - 47 | extern void *memmove (void *__dest, const void *__src, size_t __n) - | ~~~~~~^~~~~~ - In file included from cldbm.c:18: - cldbm.c: In function 'caml_dbm_nextkey': - /home/opam/.opam/4.12.0/lib/ocaml/caml/mlvalues.h:282:24: warning: passing argument 1 of 'memmove' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 282 | #define String_val(x) ((const char *) Bp_val(x)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - cldbm.c:225:14: note: in expansion of macro 'String_val' - 225 | memmove (String_val (res), key.dptr, key.dsize); - | ^~~~~~~~~~ - In file included from cldbm.c:16: - /usr/include/string.h:47:29: note: expected 'void *' but argument is of type 'const char *' - 47 | extern void *memmove (void *__dest, const void *__src, size_t __n) - | ~~~~~~^~~~~~ - ocamlmklib -oc camldbm cldbm.o -lgdbm - ocamlc -c dbm.mli - ocamlc -c dbm.ml - ocamlmklib -o dbm -oc camldbm -linkall dbm.cmo -lgdbm - ocamlopt -c dbm.ml - ocamlmklib -o dbm -oc camldbm -linkall dbm.cmx -lgdbm - ocamlopt -shared -o dbm.cmxs -I . dbm.cmxa -> compiled dbm.1.2 Processing 36/54: [dune: ocaml bootstrap.ml] [jbuilder: ./boot.exe 47] [zarith: ./configure] Processing 37/54: [dune: ocaml bootstrap.ml] [jbuilder: ./boot.exe 47] [zarith: ./configure] [dbm: mkdir] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "mkdir" "-p" "/home/opam/.opam/4.12.0/lib/dbm" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/dbm.1.2) Processing 37/54: [dune: ocaml bootstrap.ml] [jbuilder: ./boot.exe 47] [zarith: ./configure] [dbm: make install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/zarith.1.12) - binary ocaml: found in /home/opam/.opam/4.12.0/bin - binary ocamlc: found in /home/opam/.opam/4.12.0/bin - binary ocamldep: found in /home/opam/.opam/4.12.0/bin - binary ocamlmklib: found in /home/opam/.opam/4.12.0/bin - binary ocamldoc: found in /home/opam/.opam/4.12.0/bin - binary gcc: found in /usr/bin - binary ocamlopt: found in /home/opam/.opam/4.12.0/bin - checking compilation with gcc -O3 -Wall -Wextra : working - include caml/mlvalues.h: found - library dynlink.cmxa: found - binary ocamlfind: found in /home/opam/.opam/4.12.0/bin - OCaml's word size is 64 - binary uname: found in /bin - include gmp.h: found - library gmp: found - OCaml supports -bin-annot to produce documentation - - detected configuration: - - native-code: yes - dynamic linking: yes - defines: -DHAS_GMP - libraries: -lgmp - C options: -O3 -Wall -Wextra - installation path: /home/opam/.opam/4.12.0/lib - installation method findlib - - configuration successful! - now type "make" to build - then type "make install" or "sudo make install" to install - binary ocaml: found in /home/opam/.opam/4.12.0/bin - binary ocamlc: found in /home/opam/.opam/4.12.0/bin - binary ocamldep: found in /home/opam/.opam/4.12.0/bin - binary ocamlmklib: found in /home/opam/.opam/4.12.0/bin - binary ocamldoc: found in /home/opam/.opam/4.12.0/bin - binary gcc: found in /usr/bin - binary ocamlopt: found in /home/opam/.opam/4.12.0/bin - checking compilation with gcc -O3 -Wall -Wextra : working - include caml/mlvalues.h: found - library dynlink.cmxa: found - binary ocamlfind: found in /home/opam/.opam/4.12.0/bin - OCaml's word size is 64 - binary uname: found in /bin - include gmp.h: found - library gmp: found - OCaml supports -bin-annot to produce documentation - - detected configuration: - - native-code: yes - dynamic linking: yes - defines: -DHAS_GMP - libraries: -lgmp - C options: -O3 -Wall -Wextra - installation path: /home/opam/.opam/4.12.0/lib - installation method findlib - - configuration successful! - now type "make" to build - then type "make install" or "sudo make install" to install Processing 37/54: [dune: ocaml bootstrap.ml] [jbuilder: ./boot.exe 47] [zarith: make] [dbm: make install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" "STUBLIBDIR=/home/opam/.opam/4.12.0/lib/stublibs" "LIBDIR=/home/opam/.opam/4.12.0/lib/dbm" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/dbm.1.2) - if test -f dllcamldbm.so; then mkdir /home/opam/.opam/4.12.0/lib/stublibs || echo Ok; cp dllcamldbm.so /home/opam/.opam/4.12.0/lib/stublibs/; fi - mkdir: cannot create directory '/home/opam/.opam/4.12.0/lib/stublibs': File exists - Ok - cp libcamldbm.a /home/opam/.opam/4.12.0/lib/dbm/ - cd /home/opam/.opam/4.12.0/lib/dbm && ranlib libcamldbm.a - cp dbm.cma dbm.cmxa dbm.cmi dbm.mli /home/opam/.opam/4.12.0/lib/dbm/ - cp dbm.a /home/opam/.opam/4.12.0/lib/dbm/ - cd /home/opam/.opam/4.12.0/lib/dbm && ranlib dbm.a - if test -f dbm.cmxs; then cp dbm.cmxs /home/opam/.opam/4.12.0/lib/dbm/; fi - if test -f dllcamldbm.so; then mkdir /home/opam/.opam/4.12.0/lib/stublibs || echo Ok; cp dllcamldbm.so /home/opam/.opam/4.12.0/lib/stublibs/; fi - mkdir: cannot create directory '/home/opam/.opam/4.12.0/lib/stublibs': File exists - Ok - cp libcamldbm.a /home/opam/.opam/4.12.0/lib/dbm/ - cd /home/opam/.opam/4.12.0/lib/dbm && ranlib libcamldbm.a - cp dbm.cma dbm.cmxa dbm.cmi dbm.mli /home/opam/.opam/4.12.0/lib/dbm/ - cp dbm.a /home/opam/.opam/4.12.0/lib/dbm/ - cd /home/opam/.opam/4.12.0/lib/dbm && ranlib dbm.a - if test -f dbm.cmxs; then cp dbm.cmxs /home/opam/.opam/4.12.0/lib/dbm/; fi Processing 37/54: [dune: ocaml bootstrap.ml] [jbuilder: ./boot.exe 47] [zarith: make] [dbm: cp META] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "cp" "META" "/home/opam/.opam/4.12.0/lib/dbm" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/dbm.1.2) -> installed dbm.1.2 Processing 37/54: [dune: ocaml bootstrap.ml] [jbuilder: ./boot.exe 47] [zarith: make] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/zarith.1.12) - (echo "let"; grep "version" META | head -1) > zarith_version.ml - ocamldep -native zarith_version.ml z.ml q.ml big_int_Z.ml z.mli q.mli big_int_Z.mli > depend - ocamlc -I +compiler-libs -bin-annot -c zarith_version.ml - ocamlc -I +compiler-libs -bin-annot -c z.mli - ocamlc -I +compiler-libs -bin-annot -c z.ml - ocamlc -I +compiler-libs -bin-annot -c q.mli - ocamlc -I +compiler-libs -bin-annot -c q.ml - ocamlc -I +compiler-libs -bin-annot -c big_int_Z.mli - ocamlc -I +compiler-libs -bin-annot -c big_int_Z.ml - ocamlmklib -failsafe -o zarith zarith_version.cmo z.cmo q.cmo big_int_Z.cmo -lgmp - ocamlc -ccopt "-I/home/opam/.opam/4.12.0/lib/ocaml -DHAS_GMP -O3 -Wall -Wextra " -c caml_z.c - ocamlmklib -failsafe -o zarith caml_z.o -lgmp - ocamlc -I +compiler-libs -bin-annot -c zarith_top.ml - ocamlc -o zarith_top.cma -a zarith_top.cmo - ocamlopt -I +compiler-libs -c zarith_version.ml - ocamlopt -I +compiler-libs -c z.ml - ocamlopt -I +compiler-libs -c q.ml - ocamlopt -I +compiler-libs -c big_int_Z.ml - ocamlmklib -failsafe -o zarith zarith_version.cmx z.cmx q.cmx big_int_Z.cmx -lgmp - ocamlopt -shared -o zarith.cmxs -I . zarith.cmxa -linkall - (echo "let"; grep "version" META | head -1) > zarith_version.ml - ocamldep -native zarith_version.ml z.ml q.ml big_int_Z.ml z.mli q.mli big_int_Z.mli > depend - ocamlc -I +compiler-libs -bin-annot -c zarith_version.ml - ocamlc -I +compiler-libs -bin-annot -c z.mli - ocamlc -I +compiler-libs -bin-annot -c z.ml - ocamlc -I +compiler-libs -bin-annot -c q.mli - ocamlc -I +compiler-libs -bin-annot -c q.ml - ocamlc -I +compiler-libs -bin-annot -c big_int_Z.mli - ocamlc -I +compiler-libs -bin-annot -c big_int_Z.ml - ocamlmklib -failsafe -o zarith zarith_version.cmo z.cmo q.cmo big_int_Z.cmo -lgmp - ocamlc -ccopt "-I/home/opam/.opam/4.12.0/lib/ocaml -DHAS_GMP -O3 -Wall -Wextra " -c caml_z.c - ocamlmklib -failsafe -o zarith caml_z.o -lgmp - ocamlc -I +compiler-libs -bin-annot -c zarith_top.ml - ocamlc -o zarith_top.cma -a zarith_top.cmo - ocamlopt -I +compiler-libs -c zarith_version.ml - ocamlopt -I +compiler-libs -c z.ml - ocamlopt -I +compiler-libs -c q.ml - ocamlopt -I +compiler-libs -c big_int_Z.ml - ocamlmklib -failsafe -o zarith zarith_version.cmx z.cmx q.cmx big_int_Z.cmx -lgmp - ocamlopt -shared -o zarith.cmxs -I . zarith.cmxa -linkall -> compiled zarith.1.12 Processing 37/54: [dune: ocaml bootstrap.ml] [jbuilder: ./boot.exe 47] Processing 38/54: [dune: ocaml bootstrap.ml] [jbuilder: ./boot.exe 47] [zarith: make install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/zarith.1.12) - ocamlfind install -destdir "/home/opam/.opam/4.12.0/lib" zarith META zarith.cma libzarith.a z.cmi q.cmi big_int_Z.cmi zarith_top.cma z.mli zarith.cmxa z.cmx q.cmx big_int_Z.cmx zarith.cmxs zarith.h q.mli big_int_Z.mli zarith.a z.cmti q.cmti big_int_Z.cmti -optional dllzarith.so - Installed /home/opam/.opam/4.12.0/lib/zarith/big_int_Z.cmti - Installed /home/opam/.opam/4.12.0/lib/zarith/q.cmti - Installed /home/opam/.opam/4.12.0/lib/zarith/z.cmti - Installed /home/opam/.opam/4.12.0/lib/zarith/zarith.a - Installed /home/opam/.opam/4.12.0/lib/zarith/big_int_Z.mli - Installed /home/opam/.opam/4.12.0/lib/zarith/q.mli - Installed /home/opam/.opam/4.12.0/lib/zarith/zarith.h - Installed /home/opam/.opam/4.12.0/lib/zarith/zarith.cmxs - Installed /home/opam/.opam/4.12.0/lib/zarith/big_int_Z.cmx - Installed /home/opam/.opam/4.12.0/lib/zarith/q.cmx - Installed /home/opam/.opam/4.12.0/lib/zarith/z.cmx - Installed /home/opam/.opam/4.12.0/lib/zarith/zarith.cmxa - Installed /home/opam/.opam/4.12.0/lib/zarith/z.mli - Installed /home/opam/.opam/4.12.0/lib/zarith/zarith_top.cma - Installed /home/opam/.opam/4.12.0/lib/zarith/big_int_Z.cmi - Installed /home/opam/.opam/4.12.0/lib/zarith/q.cmi - Installed /home/opam/.opam/4.12.0/lib/zarith/z.cmi - Installed /home/opam/.opam/4.12.0/lib/zarith/libzarith.a - Installed /home/opam/.opam/4.12.0/lib/zarith/zarith.cma - Installed /home/opam/.opam/4.12.0/lib/stublibs/dllzarith.so - Installed /home/opam/.opam/4.12.0/lib/stublibs/dllzarith.so.owner - ocamlfind: [WARNING] You have installed DLLs but the directory /home/opam/.opam/4.12.0/lib/stublibs is not mentioned in ld.conf - Installed /home/opam/.opam/4.12.0/lib/zarith/META - ocamlfind install -destdir "/home/opam/.opam/4.12.0/lib" zarith META zarith.cma libzarith.a z.cmi q.cmi big_int_Z.cmi zarith_top.cma z.mli zarith.cmxa z.cmx q.cmx big_int_Z.cmx zarith.cmxs zarith.h q.mli big_int_Z.mli zarith.a z.cmti q.cmti big_int_Z.cmti -optional dllzarith.so - Installed /home/opam/.opam/4.12.0/lib/zarith/big_int_Z.cmti - Installed /home/opam/.opam/4.12.0/lib/zarith/q.cmti - Installed /home/opam/.opam/4.12.0/lib/zarith/z.cmti - Installed /home/opam/.opam/4.12.0/lib/zarith/zarith.a - Installed /home/opam/.opam/4.12.0/lib/zarith/big_int_Z.mli - Installed /home/opam/.opam/4.12.0/lib/zarith/q.mli - Installed /home/opam/.opam/4.12.0/lib/zarith/zarith.h - Installed /home/opam/.opam/4.12.0/lib/zarith/zarith.cmxs - Installed /home/opam/.opam/4.12.0/lib/zarith/big_int_Z.cmx - Installed /home/opam/.opam/4.12.0/lib/zarith/q.cmx - Installed /home/opam/.opam/4.12.0/lib/zarith/z.cmx - Installed /home/opam/.opam/4.12.0/lib/zarith/zarith.cmxa - Installed /home/opam/.opam/4.12.0/lib/zarith/z.mli - Installed /home/opam/.opam/4.12.0/lib/zarith/zarith_top.cma - Installed /home/opam/.opam/4.12.0/lib/zarith/big_int_Z.cmi - Installed /home/opam/.opam/4.12.0/lib/zarith/q.cmi - Installed /home/opam/.opam/4.12.0/lib/zarith/z.cmi - Installed /home/opam/.opam/4.12.0/lib/zarith/libzarith.a - Installed /home/opam/.opam/4.12.0/lib/zarith/zarith.cma - Installed /home/opam/.opam/4.12.0/lib/stublibs/dllzarith.so - Installed /home/opam/.opam/4.12.0/lib/stublibs/dllzarith.so.owner - ocamlfind: [WARNING] You have installed DLLs but the directory /home/opam/.opam/4.12.0/lib/stublibs is not mentioned in ld.conf - Installed /home/opam/.opam/4.12.0/lib/zarith/META -> installed zarith.1.12 Processing 38/54: [dune: ocaml bootstrap.ml] [jbuilder: ./boot.exe 47] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./boot.exe" "-j" "47" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/jbuilder.1.0+beta20.2) - ocamlc src/stdune/caml/.caml.objs/caml__Result.{cmi,cmti} - File "src/stdune/caml/result.mli", line 6, characters 7-17: - 6 | open Pervasives - ^^^^^^^^^^ - 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 - ocamlopt src/stdune/caml/.caml.objs/caml__Result.{cmx,o} - File "src/stdune/caml/result.ml", line 4, characters 7-17: - 4 | open Pervasives - ^^^^^^^^^^ - 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 - ocamlopt src/stdune/.stdune.objs/stdune__Io.{cmx,o} - File "src/stdune/io.ml", line 1, characters 11-21: - 1 | module P = Pervasives - ^^^^^^^^^^ - 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 - ocamlopt src/stdune/.stdune.objs/stdune__Pp.{cmx,o} - File "src/stdune/pp.ml", line 98, characters 7-18: - 98 | pp_open_tag ppf (embed_tag ~opening ~closing); - ^^^^^^^^^^^ - Alert deprecated: Stdlib.Format.pp_open_tag - Use Format.pp_open_stag. - File "src/stdune/pp.ml", line 100, characters 7-19: - 100 | pp_close_tag ppf () - ^^^^^^^^^^^^ - Alert deprecated: Stdlib.Format.pp_close_tag - Use Format.pp_close_stag. - File "src/stdune/pp.ml", line 103, characters 18-48: - 103 | let funcs = pp_get_formatter_tag_functions ppf () in - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.Format.pp_get_formatter_tag_functions - Use Format.pp_get_formatter_stag_functions. - File "src/stdune/pp.ml", line 105, characters 6-36: - 105 | pp_set_formatter_tag_functions ppf - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.Format.pp_set_formatter_tag_functions - This function will erase non-string tag formatting functions. Use Format.pp_set_formatter_stag_functions. - ocamlopt src/usexp/.usexp.objs/usexp.{cmx,o} - File "src/usexp/usexp.ml", line 209, characters 15-52: - 209 | let tfuncs = Format.pp_get_formatter_tag_functions ppf () in - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.Format.pp_get_formatter_tag_functions - Use Format.pp_get_formatter_stag_functions. - File "src/usexp/usexp.ml", line 210, characters 2-39: - 210 | Format.pp_set_formatter_tag_functions ppf - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.Format.pp_set_formatter_tag_functions - This function will erase non-string tag formatting functions. Use Format.pp_set_formatter_stag_functions. - ocamlopt src/.jbuilder.objs/jbuilder__Colors.{cmx,o} - File "src/colors.ml", line 105, characters 18-48: - 105 | let funcs = pp_get_formatter_tag_functions ppf () in - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.Format.pp_get_formatter_tag_functions - Use Format.pp_get_formatter_stag_functions. - File "src/colors.ml", line 107, characters 6-36: - 107 | pp_set_formatter_tag_functions ppf - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.Format.pp_set_formatter_tag_functions - This function will erase non-string tag formatting functions. Use Format.pp_set_formatter_stag_functions. - ocamlopt src/.jbuilder.objs/jbuilder__Super_context.{cmx,o} - File "src/super_context.ml", line 72, characters 7-11: - 72 | ?host - ^^^^ - Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased. - ocamlc src/stdune/caml/.caml.objs/caml__Result.{cmi,cmti} - File "src/stdune/caml/result.mli", line 6, characters 7-17: - 6 | open Pervasives - ^^^^^^^^^^ - 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 - ocamlopt src/stdune/caml/.caml.objs/caml__Result.{cmx,o} - File "src/stdune/caml/result.ml", line 4, characters 7-17: - 4 | open Pervasives - ^^^^^^^^^^ - 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 - ocamlopt src/stdune/.stdune.objs/stdune__Io.{cmx,o} - File "src/stdune/io.ml", line 1, characters 11-21: - 1 | module P = Pervasives - ^^^^^^^^^^ - 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 - ocamlopt src/stdune/.stdune.objs/stdune__Pp.{cmx,o} - File "src/stdune/pp.ml", line 98, characters 7-18: - 98 | pp_open_tag ppf (embed_tag ~opening ~closing); - ^^^^^^^^^^^ - Alert deprecated: Stdlib.Format.pp_open_tag - Use Format.pp_open_stag. - File "src/stdune/pp.ml", line 100, characters 7-19: - 100 | pp_close_tag ppf () - ^^^^^^^^^^^^ - Alert deprecated: Stdlib.Format.pp_close_tag - Use Format.pp_close_stag. - File "src/stdune/pp.ml", line 103, characters 18-48: - 103 | let funcs = pp_get_formatter_tag_functions ppf () in - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.Format.pp_get_formatter_tag_functions - Use Format.pp_get_formatter_stag_functions. - File "src/stdune/pp.ml", line 105, characters 6-36: - 105 | pp_set_formatter_tag_functions ppf - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.Format.pp_set_formatter_tag_functions - This function will erase non-string tag formatting functions. Use Format.pp_set_formatter_stag_functions. - ocamlopt src/usexp/.usexp.objs/usexp.{cmx,o} - File "src/usexp/usexp.ml", line 209, characters 15-52: - 209 | let tfuncs = Format.pp_get_formatter_tag_functions ppf () in - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.Format.pp_get_formatter_tag_functions - Use Format.pp_get_formatter_stag_functions. - File "src/usexp/usexp.ml", line 210, characters 2-39: - 210 | Format.pp_set_formatter_tag_functions ppf - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.Format.pp_set_formatter_tag_functions - This function will erase non-string tag formatting functions. Use Format.pp_set_formatter_stag_functions. - ocamlopt src/.jbuilder.objs/jbuilder__Colors.{cmx,o} - File "src/colors.ml", line 105, characters 18-48: - 105 | let funcs = pp_get_formatter_tag_functions ppf () in - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.Format.pp_get_formatter_tag_functions - Use Format.pp_get_formatter_stag_functions. - File "src/colors.ml", line 107, characters 6-36: - 107 | pp_set_formatter_tag_functions ppf - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.Format.pp_set_formatter_tag_functions - This function will erase non-string tag formatting functions. Use Format.pp_set_formatter_stag_functions. - ocamlopt src/.jbuilder.objs/jbuilder__Super_context.{cmx,o} - File "src/super_context.ml", line 72, characters 7-11: - 72 | ?host - ^^^^ - Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased. -> compiled jbuilder.1.0+beta20.2 Processing 38/54: [dune: ocaml bootstrap.ml] -> installed jbuilder.1.0+beta20.2 Processing 39/54: [dune: ocaml bootstrap.ml] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "bootstrap.ml" "-j" "47" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/dune.2.9.0) - ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml - ./.duneboot.exe -j 47 - Processing 39/54: [dune: ./dune.exe build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./dune.exe" "build" "-p" "dune" "--profile" "dune-bootstrap" "-j" "47" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/dune.2.9.0) -> compiled dune.2.9.0 -> installed dune.2.9.0 Processing 41/54: [csexp: dune build] Processing 42/54: [csexp: dune build] [result: dune build] Processing 43/54: [csexp: dune build] [result: dune build] [stdlib-shims: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "csexp" "-j" "47" "@install" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/csexp.1.5.1) -> compiled csexp.1.5.1 Processing 43/54: [result: dune build] [stdlib-shims: dune build] -> installed csexp.1.5.1 Processing 44/54: [result: dune build] [stdlib-shims: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "result" "-j" "47" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/result.1.5) -> compiled result.1.5 Processing 44/54: [stdlib-shims: dune build] -> installed result.1.5 Processing 45/54: [stdlib-shims: dune build] Processing 46/54: [dune-configurator: dune build] [stdlib-shims: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "stdlib-shims" "-j" "47" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/stdlib-shims.0.3.0) -> compiled stdlib-shims.0.3.0 Processing 46/54: [dune-configurator: dune build] -> installed stdlib-shims.0.3.0 Processing 47/54: [dune-configurator: dune build] Processing 48/54: [dune-configurator: dune build] [fileutils: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "fileutils" "-j" "47" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/fileutils.0.6.3) -> compiled fileutils.0.6.3 Processing 48/54: [dune-configurator: dune build] -> installed fileutils.0.6.3 Processing 49/54: [dune-configurator: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "dune-configurator" "-j" "47" "@install" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/dune-configurator.2.9.0) -> compiled dune-configurator.2.9.0 -> installed dune-configurator.2.9.0 Processing 51/54: [cryptokit: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "cryptokit" "-j" "47" "@install" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/cryptokit.1.16.1) - flags src/flags.sexp,src/library_flags.sexp - ZLib: ............................... enabled - Hardware support for AES and GCM: ... enabled -> compiled cryptokit.1.16.1 -> installed cryptokit.1.16.1 Processing 53/54: [cryptodbm: jbuilder build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "jbuilder" "build" "-p" "cryptodbm" "-j" "47" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/cryptodbm.0.84.2) - ocamlc src/internals/.cryptodbm_internals.objs/cryptodbm_internals__Signature.{cmo,cmt} - File "src/internals/signature.ml", line 17, characters 33-51: - 17 | let all_keys = ref (Setp.empty Pervasives.compare) in - ^^^^^^^^^^^^^^^^^^ - 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 "src/internals/signature.ml", line 49, characters 33-51: - 49 | let all_keys = ref (Setp.empty Pervasives.compare) in - ^^^^^^^^^^^^^^^^^^ - 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 - ocamlc src/internals/.cryptodbm_internals.objs/cryptodbm_internals__Operations.{cmo,cmt} - File "src/internals/operations.ml", line 31, characters 16-31: - 31 | let open_full ?(overwrite=false) ~file ~perm = - ^^^^^^^^^^^^^^^ - Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased. - ocamlc src/internals/.cryptodbm_internals.objs/cryptodbm_internals__Subtable.{cmo,cmt} - File "src/internals/subtable.ml", line 283, characters 33-51: - 283 | let all_keys = ref (Setp.empty Pervasives.compare) in - ^^^^^^^^^^^^^^^^^^ - 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 - ocamlopt src/internals/.cryptodbm_internals.objs/cryptodbm_internals__LowerDB_impl.{cmx,o} - File "_none_", line 1: - Warning 58 [no-cmx-file]: no cmx file was found in path for module Dbm, and its interface was not compiled with -opaque - ocamlopt src/internals/.cryptodbm_internals.objs/cryptodbm_internals__Operations.{cmx,o} - File "src/internals/operations.ml", line 31, characters 16-31: - 31 | let open_full ?(overwrite=false) ~file ~perm = - ^^^^^^^^^^^^^^^ - Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased. - ocamlopt src/internals/.cryptodbm_internals.objs/cryptodbm_internals__Signature.{cmx,o} - File "src/internals/signature.ml", line 17, characters 33-51: - 17 | let all_keys = ref (Setp.empty Pervasives.compare) in - ^^^^^^^^^^^^^^^^^^ - 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 "src/internals/signature.ml", line 49, characters 33-51: - 49 | let all_keys = ref (Setp.empty Pervasives.compare) in - ^^^^^^^^^^^^^^^^^^ - 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 - ocamlopt src/internals/.cryptodbm_internals.objs/cryptodbm_internals__Subtable.{cmx,o} - File "src/internals/subtable.ml", line 283, characters 33-51: - 283 | let all_keys = ref (Setp.empty Pervasives.compare) in - ^^^^^^^^^^^^^^^^^^ - 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 -> compiled cryptodbm.0.84.2 -> installed cryptodbm.0.84.2 Done. # Run eval $(opam env) to update the current shell environment 2021-09-03 16:48.20 ---> saved as "0aab9c572b1524135054473b99930f673183e9e9ce352d6416e8db0c3d0bdebd" Job succeeded