Building on toxis.caelum.ci.dev (from ocaml/opam:debian-unstable) 2024-02-07 13:40.12 ---> 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-dev /usr/bin/opam")) 2024-02-07 13:40.12 ---> using "65c3237f501f7c75f3828458ecf2342bc41c98aaef8c6a7fd82bf46a58cb258c" from cache /: (run (network host) (shell "rm -rf ~/opam-repository && git clone -q 'https://github.com/ocaml/opam-repository' ~/opam-repository && git -C ~/opam-repository checkout -q e587a9437d8bb41f7c0fda20b186c5c0d5178307")) 2024-02-07 13:40.12 ---> using "ba4ab7a29ffbb7242a0f4a23f5d47ab4641ccdfb0e44130f467a231865081ad1" 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: ~/.profile is already up-to-date. [NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc. 2024-02-07 13:40.12 ---> using "3ee1eaa848e0a3884e82cc07c535ab5dc8f986c3607c006421763988fa5c48fb" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '4.14' '4.14.1'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.14.1"} | "ocaml-system" {= "4.14.1"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed ocaml-options-vanilla.1 -> retrieved ocaml-base-compiler.4.14.1 (cached) -> installed ocaml-base-compiler.4.14.1 -> installed ocaml-config.2 -> installed ocaml.4.14.1 Done. # Run eval $(opam env --switch=4.14) to update the current shell environment 2024-02-07 13:40.12 ---> using "c1b73d1ba71e206d588e16208df76e541e50c8f139f4a4001099d3b8138c7754" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [198 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 [9717 kB] - Fetched 9979 kB in 4s (2653 kB/s) - Reading package lists... - 2024-02-07 13:40.12 ---> using "b11b2594ffca04e850a300d57e1bdbd5c1f0126973fa27cd9727bbee8e7814dd" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"camlbz2.0.7.0\"\ \nopam install -vy \"camlbz2.0.7.0\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"camlbz2.0.7.0\" | 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] camlbz2.0.7.0 is not installed. Nothing to do. The following actions will be performed: === install 7 packages - install camlbz2 0.7.0 - install conf-aclocal 2 [required by camlbz2] - install conf-autoconf 0.1 [required by camlbz2] - install conf-automake 1 [required by conf-aclocal] - install conf-libbz2 1 [required by camlbz2] - install conf-which 1 [required by conf-autoconf] - install ocamlfind 1.9.6 [required by camlbz2] The following system packages will first need to be installed: autoconf automake libbz2-dev <><> 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" "autoconf" "automake" "libbz2-dev" - debconf: delaying package configuration, since apt-utils is not installed - Selecting previously unselected package m4. - (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 ... 19823 files and directories currently installed.) - Preparing to unpack .../0-m4_1.4.19-4_amd64.deb ... - Unpacking m4 (1.4.19-4) ... - Selecting previously unselected package autoconf. - Preparing to unpack .../1-autoconf_2.71-3_all.deb ... - Unpacking autoconf (2.71-3) ... - Selecting previously unselected package autotools-dev. - Preparing to unpack .../2-autotools-dev_20220109.1_all.deb ... - Unpacking autotools-dev (20220109.1) ... - Selecting previously unselected package automake. - Preparing to unpack .../3-automake_1%3a1.16.5-1.3_all.deb ... - Unpacking automake (1:1.16.5-1.3) ... - Selecting previously unselected package bzip2-doc. - Preparing to unpack .../4-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 .../5-libbz2-dev_1.0.8-5+b2_amd64.deb ... - Unpacking libbz2-dev:amd64 (1.0.8-5+b2) ... - Setting up bzip2-doc (1.0.8-5) ... - Setting up m4 (1.4.19-4) ... - Setting up autotools-dev (20220109.1) ... - Setting up autoconf (2.71-3) ... - Setting up libbz2-dev:amd64 (1.0.8-5+b2) ... - Setting up automake (1:1.16.5-1.3) ... - update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/21: Processing 2/21: Processing 3/21: Processing 4/21: Processing 5/21: Processing 6/21: Processing 7/21: Processing 8/21: [conf-libbz2: sh echo '#include <bzlib.h>' > test.c] Processing 9/21: [conf-libbz2: sh echo '#include <bzlib.h>' > test.c] [conf-which: which which] -> retrieved camlbz2.0.7.0 (cached) -> retrieved ocamlfind.1.9.6 (cached) [ocamlfind: patch] applying 0001-Harden-test-for-OCaml-5.patch Processing 10/21: [conf-libbz2: sh echo '#include <bzlib.h>' > test.c] [conf-which: which which] [ocamlfind: patch] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "sh" "-exc" "echo '#include <bzlib.h>' > test.c" (CWD=/home/opam/.opam/4.14/.opam-switch/build/conf-libbz2.1) - + echo #include <bzlib.h> Processing 10/21: [conf-libbz2: sh echo 'int main() { return 0; }' >> test.c] [conf-which: which which] [ocamlfind: patch] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "which" "which" (CWD=/home/opam/.opam/4.14/.opam-switch/build/conf-which.1) - /usr/bin/which -> compiled conf-which.1 Processing 10/21: [conf-libbz2: sh echo 'int main() { return 0; }' >> test.c] [ocamlfind: patch] -> installed conf-which.1 Processing 11/21: [conf-libbz2: sh echo 'int main() { return 0; }' >> test.c] [ocamlfind: patch] Processing 12/21: [conf-autoconf: which autoconf] [conf-libbz2: sh echo 'int main() { return 0; }' >> test.c] [ocamlfind: patch] Processing 12/21: [conf-autoconf: which autoconf] [conf-libbz2: sh echo 'int main() { return 0; }' >> test.c] [ocamlfind: ./configure] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "sh" "-exc" "echo 'int main() { return 0; }' >> test.c" (CWD=/home/opam/.opam/4.14/.opam-switch/build/conf-libbz2.1) - + echo int main() { return 0; } Processing 12/21: [conf-autoconf: which autoconf] [conf-libbz2: cc test.c] [ocamlfind: ./configure] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "which" "autoconf" (CWD=/home/opam/.opam/4.14/.opam-switch/build/conf-autoconf.0.1) - /usr/bin/autoconf -> compiled conf-autoconf.0.1 Processing 12/21: [conf-libbz2: cc test.c] [ocamlfind: ./configure] -> installed conf-autoconf.0.1 Processing 13/21: [conf-libbz2: cc test.c] [ocamlfind: ./configure] Processing 14/21: [conf-automake: automake] [conf-libbz2: cc test.c] [ocamlfind: ./configure] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "cc" "-lbz2" "test.c" (CWD=/home/opam/.opam/4.14/.opam-switch/build/conf-libbz2.1) -> compiled conf-libbz2.1 Processing 14/21: [conf-automake: automake] [ocamlfind: ./configure] -> installed conf-libbz2.1 Processing 15/21: [conf-automake: automake] [ocamlfind: ./configure] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "automake" "--help" (CWD=/home/opam/.opam/4.14/.opam-switch/build/conf-automake.1) - Usage: /usr/bin/automake [OPTION]... [Makefile]... - - Generate Makefile.in for configure from Makefile.am. - - Operation modes: - --help print this help, then exit - --version print version number, then exit - -v, --verbose verbosely list files processed - --no-force only update Makefile.in's that are out of date - -W, --warnings=CATEGORY report the warnings falling in CATEGORY - - Dependency tracking: - -i, --ignore-deps disable dependency tracking code - --include-deps enable dependency tracking code - - Flavors: - --foreign set strictness to foreign - --gnits set strictness to gnits - --gnu set strictness to gnu - - Library files: - -a, --add-missing add missing standard files to package - --libdir=DIR set directory storing library files - --print-libdir print directory storing library files - -c, --copy with -a, copy missing files (default is symlink) - -f, --force-missing force update of standard files - - Warning categories include: - cross cross compilation issues - gnu GNU coding standards (default in gnu and gnits modes) - obsolete obsolete features or constructions (default) - override user redefinitions of Automake rules or variables - portability portability issues (default in gnu and gnits modes) - portability-recursive nested Make variables (default with -Wportability) - extra-portability extra portability issues related to obscure tools - syntax dubious syntactic constructs (default) - unsupported unsupported or incomplete features (default) - all all the warnings - no-CATEGORY turn off warnings in CATEGORY - none turn off all the warnings - error treat warnings as errors - - Files automatically distributed if found (always): - ABOUT-GNU TODO install-sh mdate-sh - ABOUT-NLS ar-lib libversion.in missing - BACKLOG compile ltcf-c.sh mkinstalldirs - COPYING config.guess ltcf-cxx.sh py-compile - COPYING.DOC config.rpath ltcf-gcj.sh texinfo.tex - COPYING.LESSER config.sub ltconfig ylwrap - COPYING.LIB depcomp ltmain.sh - - Files automatically distributed if found (as .md if needed): - AUTHORS[.md] INSTALL[.md] README[.md] THANKS[.md] - ChangeLog[.md] NEWS[.md] - - Files automatically distributed if found (under certain conditions): - README-alpha[.md] config.h.bot configure configure.in - acconfig.h config.h.top configure.ac stamp-vti - aclocal.m4 - - Report bugs to <bug-automake@gnu.org>. - GNU Automake home page: <https://www.gnu.org/software/automake/>. - General help using GNU software: <https://www.gnu.org/gethelp/>. -> compiled conf-automake.1 Processing 15/21: [ocamlfind: ./configure] -> installed conf-automake.1 Processing 16/21: [ocamlfind: ./configure] Processing 17/21: [conf-aclocal: aclocal] [ocamlfind: ./configure] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "aclocal" "--version" (CWD=/home/opam/.opam/4.14/.opam-switch/build/conf-aclocal.2) - aclocal (GNU automake) 1.16.5 - Copyright (C) 2021 Free Software Foundation, Inc. - License GPLv2+: GNU GPL version 2 or later <https://gnu.org/licenses/gpl-2.0.html> - This is free software: you are free to change and redistribute it. - There is NO WARRANTY, to the extent permitted by law. - - Written by Tom Tromey <tromey@redhat.com> - and Alexandre Duret-Lutz <adl@gnu.org>. -> compiled conf-aclocal.2 Processing 17/21: [ocamlfind: ./configure] -> installed conf-aclocal.2 Processing 18/21: [ocamlfind: ./configure] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "-bindir" "/home/opam/.opam/4.14/bin" "-sitelib" "/home/opam/.opam/4.14/lib" "-mandir" "/home/opam/.opam/4.14/man" "-config" "/home/opam/.opam/4.14/lib/findlib.conf" "-no-custom" "-no-camlp4" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.6) - Welcome to findlib version 1.9.6 - Configuring core... - Checking for #remove_directory... - Testing threading model... - systhread_supported: true - Testing DLLs... - Testing whether ppxopt can be supported... - Checking for ocamlc -opaque... - Checking for ocamlopt -g... - Querying installation: META list not found - make install will double-check installed META files - Configuring libraries... - unix: found - dynlink: 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 (in +ocamldoc) - raw_spacetime: not present (normal since 4.12) - threads: found (in +threads) - str: found - labltk: not present (normal since 4.02) - native dynlink: found - camlp4: disabled - bytes: found, installing fake library - Configuration for stdlib written to site-lib-src/stdlib/META - Configuration for unix written to site-lib-src/unix/META - Configuration for dynlink written to site-lib-src/dynlink/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.14/lib/ocaml - Binaries: /home/opam/.opam/4.14/bin - Manual pages: /home/opam/.opam/4.14/man - Multi-threading type: posix - The directory of site-specific packages will be - site-lib: /home/opam/.opam/4.14/lib - The configuration file is written to: - findlib config file: /home/opam/.opam/4.14/lib/findlib.conf - Software will be installed: - Libraries: in <site-lib>/findlib - Binaries: /home/opam/.opam/4.14/bin - Manual pages: /home/opam/.opam/4.14/man - topfind script: /home/opam/.opam/4.14/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 18/21: [ocamlfind: make all] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "all" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.6) - for p in findlib; do ( cd src/$p; make all ) || exit; done - make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.6/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.14/lib/findlib.conf' | \ - ../../tools/patch '@STDLIB@' '/home/opam/.opam/4.14/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 -I +unix -I +dynlink -g -c findlib_config.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_split.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_metatoken.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_meta.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c fl_metascanner.mli - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_metascanner.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c fl_topo.mli - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_topo.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c fl_package_base.mli - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_package_base.ml - File "fl_package_base.ml", line 304, characters 22-40: - 304 | let pkg_ancestors = query_requirements predlist pkg in - ^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - File "fl_package_base.ml", line 350, characters 18-36: - 350 | let ancestors = query_requirements predlist package_name in - ^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - File "fl_package_base.ml", line 375, characters 23-41: - 375 | let pkg_ancestors = query_requirements predlist pkg in - ^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - File "fl_package_base.ml", line 510, characters 16-35: - 510 | ( let c = package_definitions search_path pkg.package_name in - ^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label search_path was omitted in the application of this function. - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c findlib.mli - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c findlib.ml - File "findlib.ml", line 390, characters 2-26: - 390 | Fl_package_base.requires predlist pkg - ^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - File "findlib.ml", line 396, characters 2-33: - 396 | Fl_package_base.requires_deeply predlist pkglist - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_args.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -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 -I +unix -I +dynlink -g -c ocaml_args.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c frontend.ml - File "frontend.ml", line 859, characters 10-39: - 859 | Fl_package_base.package_users predicates1 packages1 - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - ocamlc -I +compiler-libs -o ocamlfind -g findlib.cma unix.cma \ - -I +unix -I +dynlink ocaml_args.cmo frontend.cmo - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c topfind.mli - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c topfind.ml - File "topfind.ml", line 128, characters 40-63: - 128 | match Hashtbl.find Toploop.directive_table "ppx" with - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 258, characters 4-27: - 258 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 268, characters 4-27: - 268 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 280, characters 4-27: - 280 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 293, characters 4-27: - 293 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 307, characters 4-27: - 307 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 319, characters 4-27: - 319 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - 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.14/lib' \ - >topfind - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c fl_dynload.mli - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -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.14/.opam-switch/build/ocamlfind.1.9.6/src/findlib' - make all-config - make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.6' - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat findlib.conf.in | \ - tools/patch '@SITELIB@' '/home/opam/.opam/4.14/lib' | \ - tools/patch '@FINDLIB_PATH@' '/home/opam/.opam/4.14/lib' -p >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.14/.opam-switch/build/ocamlfind.1.9.6' Processing 18/21: [ocamlfind: make opt] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "opt" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.6) - for p in findlib; do ( cd src/$p; make opt ) || exit; done - make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.6/src/findlib' - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c findlib_config.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_split.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_metatoken.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_meta.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_metascanner.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_topo.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_package_base.ml - File "fl_package_base.ml", line 304, characters 22-40: - 304 | let pkg_ancestors = query_requirements predlist pkg in - ^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - File "fl_package_base.ml", line 350, characters 18-36: - 350 | let ancestors = query_requirements predlist package_name in - ^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - File "fl_package_base.ml", line 375, characters 23-41: - 375 | let pkg_ancestors = query_requirements predlist pkg in - ^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - File "fl_package_base.ml", line 510, characters 16-35: - 510 | ( let c = package_definitions search_path pkg.package_name in - ^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label search_path was omitted in the application of this function. - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c findlib.ml - File "findlib.ml", line 390, characters 2-26: - 390 | Fl_package_base.requires predlist pkg - ^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - File "findlib.ml", line 396, characters 2-33: - 396 | Fl_package_base.requires_deeply predlist pkglist - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_args.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -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 -I +unix -I +dynlink -c ocaml_args.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c frontend.ml - File "frontend.ml", line 859, characters 10-39: - 859 | Fl_package_base.package_users predicates1 packages1 - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - ocamlopt -I +compiler-libs -g -o ocamlfind_opt findlib.cmxa unix.cmxa \ - -I +unix -I +dynlink ocaml_args.cmx frontend.cmx - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c topfind.ml - File "topfind.ml", line 128, characters 40-63: - 128 | match Hashtbl.find Toploop.directive_table "ppx" with - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 258, characters 4-27: - 258 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 268, characters 4-27: - 268 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 280, characters 4-27: - 280 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 293, characters 4-27: - 293 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 307, characters 4-27: - 307 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 319, characters 4-27: - 319 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - 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 -I +unix -I +dynlink -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.14/.opam-switch/build/ocamlfind.1.9.6/src/findlib' -> compiled ocamlfind.1.9.6 Processing 19/21: [ocamlfind: make install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.6) - if [ "1" -eq 1 ]; then \ - for x in camlp4 dbm graphics labltk num ocamlbuild; do \ - if [ -f "/home/opam/.opam/4.14/lib/$x/META" ]; then \ - if ! grep -Fq '[distributed with Ocaml]' "//home/opam/.opam/4.14/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 - install -d "/home/opam/.opam/4.14/bin" - install -d "/home/opam/.opam/4.14/man" - make install-config - make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.6' - install -d "`dirname \"/home/opam/.opam/4.14/lib/findlib.conf\"`" - test -f "/home/opam/.opam/4.14/lib/findlib.conf" || install -c findlib.conf "/home/opam/.opam/4.14/lib/findlib.conf" - make[1]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.6' - for p in findlib; do ( cd src/$p; make install ); done - make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.6/src/findlib' - install -d "/home/opam/.opam/4.14/lib/findlib" - install -d "/home/opam/.opam/4.14/bin" - test 1 -eq 0 || install -d "/home/opam/.opam/4.14/lib/ocaml" - test 1 -eq 0 || install -c topfind "/home/opam/.opam/4.14/lib/ocaml/" - files=` ../../tools/collect_files ../../Makefile.config \ - findlib.cmi findlib.mli findlib.cma findlib.cmxa findlib.a findlib.cmxs \ - findlib_config.cmi findlib_config.ml topfind.cmi topfind.mli \ - fl_args.cmi fl_lint.cmi fl_meta.cmi fl_split.cmi fl_topo.cmi ocaml_args.cmi \ - 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` && \ - install -c $files "/home/opam/.opam/4.14/lib/findlib/" - f="ocamlfind"; { test -f ocamlfind_opt && f="ocamlfind_opt"; }; \ - install -c $f "/home/opam/.opam/4.14/bin/ocamlfind" - # the following "if" block is only needed for 4.00beta2 - if [ 1 -eq 0 -a -f "/home/opam/.opam/4.14/lib/ocaml/compiler-libs/topdirs.cmi" ]; then \ - cd "/home/opam/.opam/4.14/lib/ocaml/compiler-libs/"; \ - install -c topdirs.cmi toploop.cmi "/home/opam/.opam/4.14/lib/findlib/"; \ - fi - make[1]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.6/src/findlib' - make install-meta - make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.6' - for x in bigarray bytes compiler-libs dynlink ocamldoc stdlib str threads unix ; do install -d "/home/opam/.opam/4.14/lib/$x"; install -c site-lib-src/$x/META "/home/opam/.opam/4.14/lib/$x/META.tmp" && mv "/home/opam/.opam/4.14/lib/$x/META.tmp" "/home/opam/.opam/4.14/lib/$x/META"; done - install -d "/home/opam/.opam/4.14/lib/findlib"; install -c Makefile.packages "/home/opam/.opam/4.14/lib/findlib/Makefile.packages" - make[1]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.6' - test ! -f 'site-lib-src/num-top/META' || { cd src/findlib; make install-num-top; } - test ! -f 'site-lib-src/camlp4/META' || install -c tools/safe_camlp4 "/home/opam/.opam/4.14/bin" - make install-doc - make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.6' - install -d "/home/opam/.opam/4.14/man/man1" "/home/opam/.opam/4.14/man/man3" "/home/opam/.opam/4.14/man/man5" - install -c doc/ref-man/ocamlfind.1 "/home/opam/.opam/4.14/man/man1" - install -c doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 "/home/opam/.opam/4.14/man/man5" - make[1]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.6' -> installed ocamlfind.1.9.6 Processing 20/21: [camlbz2: aclocal .] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "aclocal" "-I" "." (CWD=/home/opam/.opam/4.14/.opam-switch/build/camlbz2.0.7.0) - aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' - ocaml.m4:20: warning: underquoted definition of AC_PROG_OCAML - ocaml.m4:20: run info Automake 'Extending aclocal' - ocaml.m4:20: or see https://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal Processing 20/21: [camlbz2: autoconf] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "autoconf" (CWD=/home/opam/.opam/4.14/.opam-switch/build/camlbz2.0.7.0) - configure.in:42: warning: AC_OUTPUT should be used without arguments. - configure.in:42: You should run autoupdate. Processing 20/21: [camlbz2: ./configure] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "--prefix" "/home/opam/.opam/4.14" (CWD=/home/opam/.opam/4.14/.opam-switch/build/camlbz2.0.7.0) - checking for ocamlc... ocamlc - OCaml version is 4.14.1 - OCaml library path is /home/opam/.opam/4.14/lib/ocaml - checking for ocamlopt... ocamlopt - checking for ocamlc.opt... ocamlc.opt - checking for ocamlopt.opt... ocamlopt.opt - checking for ocamldep... ocamldep - checking for ocamlmktop... ocamlmktop - checking for ocamlmklib... ocamlmklib - checking for ocamldoc... ocamldoc - awk: line 1: regular expression compile failed (syntax error ^* or ^+) - ^+ - OCaml uses to compile C files - checking for ocamlfind... ocamlfind - checking for gcc... gcc - checking whether the C compiler works... yes - checking for C compiler default output file name... a.out - checking for suffix of executables... - checking whether we are cross compiling... no - checking for suffix of object files... o - checking whether the compiler supports GNU C... yes - checking whether gcc accepts -g... yes - checking for gcc option to enable C11 features... none needed - checking for a BSD-compatible install... /usr/bin/install -c - checking for stdio.h... yes - checking for stdlib.h... yes - checking for string.h... yes - checking for inttypes.h... yes - checking for stdint.h... yes - checking for strings.h... yes - checking for sys/stat.h... yes - checking for sys/types.h... yes - checking for unistd.h... yes - checking for bzlib.h... yes - checking for BZ2_bzReadOpen in -lbz2... yes - configure: creating ./config.status - config.status: creating Makefile Processing 20/21: [camlbz2: make] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" (CWD=/home/opam/.opam/4.14/.opam-switch/build/camlbz2.0.7.0) - ocamlc.opt -ccopt "-D BZ_PREFIX " -c c_bz.c - c_bz.c: In function 'mlbz_error': - c_bz.c:49:13: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead - 49 | invalid_argument(msg) ; break ; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - c_bz.c:51:13: warning: "raise_out_of_memory" is deprecated: use "caml_raise_out_of_memory" instead - 51 | raise_out_of_memory() ; break ; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - c_bz.c:54:13: warning: "raise_constant" is deprecated: use "caml_raise_constant" instead - 54 | raise_constant(*caml_named_value("mlbz_data_exn")) ; break ; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - c_bz.c:56:13: warning: "raise_with_string" is deprecated: use "caml_raise_with_string" instead - 56 | raise_with_string(*caml_named_value("mlbz_io_exn"), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - c_bz.c:59:13: warning: "raise_constant" is deprecated: use "caml_raise_constant" instead - 59 | raise_constant(*caml_named_value("mlbz_eof_exn")) ; break ; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - c_bz.c:61:13: warning: "failwith" is deprecated: use "caml_failwith" instead - 61 | failwith(msg) ; - | ^~~~~~~~~ - c_bz.c: In function 'Val_twoptr': - c_bz.c:74:13: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead - 74 | result= alloc_small(3, Abstract_tag); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - c_bz.c: In function 'mlbz_version': - c_bz.c:105:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead - 105 | return copy_string(BZ_P(bzlibVersion())) ; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - c_bz.c: In function 'mlbz_readopen': - c_bz.c:121:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 121 | c_unused = String_val(Field(unused, 0)) ; - | ^ - c_bz.c:122:13: warning: "string_length" is deprecated: use "caml_string_length" instead - 122 | c_nunused = string_length(Field(unused, 0)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - c_bz.c: In function 'mlbz_read': - c_bz.c:139:13: warning: "raise_end_of_file" is deprecated: use "caml_raise_end_of_file" instead - 139 | raise_end_of_file() ; - | ^~~~~~~~~~~~~ - c_bz.c:140:13: warning: "string_length" is deprecated: use "caml_string_length" instead - 140 | if((c_len + c_pos > string_length(buf)) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - c_bz.c:142:13: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead - 142 | invalid_argument("Bz.read") ; - | ^~~~~~~~~~~~~~~~~~~~~ - c_bz.c:143:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 143 | c_buf = String_val(buf) + c_pos ; - | ^ - c_bz.c: In function 'mlbz_readgetunused': - c_bz.c:173:13: warning: "alloc_string" is deprecated: use "caml_alloc_string" instead - 173 | result = alloc_string(nunused) ; - | ^~~~~~~~~~~~~~~~~~~~~~ - In file included from c_bz.c:19: - /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 290 | #define String_val(x) ((const char *) Bp_val(x)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - c_bz.c:174:10: note: in expansion of macro 'String_val' - 174 | memcpy(String_val(result), unused, nunused) ; - | ^~~~~~~~~~ - In file included from c_bz.c:14: - /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *' - 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src, - | ~~~~~~~~~~~~~~~~~^~~~~~ - c_bz.c: In function 'mlbz_write': - c_bz.c:201:13: warning: "string_length" is deprecated: use "caml_string_length" instead - 201 | if((c_len + c_pos > string_length(buf)) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - c_bz.c:203:13: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead - 203 | invalid_argument("Bz.write") ; - | ^~~~~~~~~~~~~~~~~~~~~~ - c_bz.c:204:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 204 | c_buf = String_val(buf) + c_pos ; - | ^ - c_bz.c: In function 'mlbz_compress': - c_bz.c:240:13: warning: "string_length" is deprecated: use "caml_string_length" instead - 240 | || c_pos + c_len > string_length(src)) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - c_bz.c:241:13: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead - 241 | invalid_argument("Bz.compress") ; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - c_bz.c:242:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 242 | src_buf = String_val(src) + c_pos; - | ^ - c_bz.c:246:13: warning: "raise_out_of_memory" is deprecated: use "caml_raise_out_of_memory" instead - 246 | raise_out_of_memory(); - | ^~~~~~~~~~~~~~ - c_bz.c:258:20: warning: "raise_out_of_memory" is deprecated: use "caml_raise_out_of_memory" instead - 258 | raise_out_of_memory(); - | ^~~~~~~~~~~ - c_bz.c:263:13: warning: "raise_out_of_memory" is deprecated: use "caml_raise_out_of_memory" instead - 263 | raise_out_of_memory(); - | ^~~~~~~~~~~~~~~~ - c_bz.c:266:13: warning: "alloc_string" is deprecated: use "caml_alloc_string" instead - 266 | result = alloc_string(dst_len); - | ^~~~~~~~~~~~~~~~~~~~~ - /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 290 | #define String_val(x) ((const char *) Bp_val(x)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - c_bz.c:267:10: note: in expansion of macro 'String_val' - 267 | memcpy(String_val(result), dst_buf, dst_len); - | ^~~~~~~~~~ - /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *' - 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src, - | ~~~~~~~~~~~~~~~~~^~~~~~ - c_bz.c: In function 'mlbz_uncompress': - c_bz.c:285:13: warning: "string_length" is deprecated: use "caml_string_length" instead - 285 | || c_pos + c_len > string_length(src)) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - c_bz.c:286:13: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead - 286 | invalid_argument("Bz.uncompress") ; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - c_bz.c:287:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 287 | src_buf = String_val(src) + c_pos; - | ^ - c_bz.c:291:13: warning: "raise_out_of_memory" is deprecated: use "caml_raise_out_of_memory" instead - 291 | raise_out_of_memory(); - | ^~~~~~~~~~~~~~ - c_bz.c:305:20: warning: "raise_out_of_memory" is deprecated: use "caml_raise_out_of_memory" instead - 305 | raise_out_of_memory(); - | ^~~~~~~~~~~~~ - c_bz.c:311:20: warning: "raise_out_of_memory" is deprecated: use "caml_raise_out_of_memory" instead - 311 | raise_out_of_memory() ; - | ^~~~~~~~~~~~ - c_bz.c:314:20: warning: "raise_constant" is deprecated: use "caml_raise_constant" instead - 314 | raise_constant(*caml_named_value("mlbz_data_exn")) ; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - c_bz.c:316:20: warning: "raise_constant" is deprecated: use "caml_raise_constant" instead - 316 | raise_constant(*caml_named_value("mlbz_eof_exn")) ; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - c_bz.c:319:13: warning: "alloc_string" is deprecated: use "caml_alloc_string" instead - 319 | result = alloc_string(dst_len); - | ^~~~~~~~~~~~~~~~~~~~~ - /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 290 | #define String_val(x) ((const char *) Bp_val(x)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - c_bz.c:320:10: note: in expansion of macro 'String_val' - 320 | memcpy(String_val(result), dst_buf, dst_len); - | ^~~~~~~~~~ - /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *' - 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src, - | ~~~~~~~~~~~~~~~~~^~~~~~ - ocamlmklib -oc camlbz2 c_bz.o -lbz2 - ocamlc.opt -c bz2.mli - File "bz2.mli", line 54, characters 46-67: - 54 | val open_in : ?small:bool -> ?unused:bytes -> Pervasives.in_channel -> - ^^^^^^^^^^^^^^^^^^^^^ - 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 "bz2.mli", line 84, characters 29-51: - 84 | val open_out : ?block:int -> Pervasives.out_channel -> out_channel - ^^^^^^^^^^^^^^^^^^^^^^ - 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.opt -c bz2.ml - File "bz2.ml", line 31, characters 51-72: - 31 | external open_in : ?small:bool -> ?unused:bytes -> Pervasives.in_channel -> - ^^^^^^^^^^^^^^^^^^^^^ - 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 "bz2.ml", line 44, characters 34-56: - 44 | external open_out : ?block:int -> Pervasives.out_channel -> out_channel - ^^^^^^^^^^^^^^^^^^^^^^ - 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 - ocamlmklib -oc camlbz2 -o bz2 bz2.cmo -lbz2 - ocamlopt.opt -c bz2.ml - File "bz2.ml", line 31, characters 51-72: - 31 | external open_in : ?small:bool -> ?unused:bytes -> Pervasives.in_channel -> - ^^^^^^^^^^^^^^^^^^^^^ - 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 "bz2.ml", line 44, characters 34-56: - 44 | external open_out : ?block:int -> Pervasives.out_channel -> out_channel - ^^^^^^^^^^^^^^^^^^^^^^ - 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 - ocamlmklib -oc camlbz2 -o bz2 bz2.cmx -lbz2 -> compiled camlbz2.0.7.0 Processing 21/21: [camlbz2: make install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/4.14/.opam-switch/build/camlbz2.0.7.0) - ocamlfind remove bz2 - ocamlfind: [WARNING] No such file: /home/opam/.opam/4.14/lib/bz2/META - ocamlfind install \ - -patch-version 0.6.0 -ldconf ignore \ - bz2 META bz2.cmi bz2.mli bz2.cma dllcamlbz2.so libcamlbz2.a bz2.cmx bz2.cmxa bz2.a - Installed /home/opam/.opam/4.14/lib/bz2/bz2.a - Installed /home/opam/.opam/4.14/lib/bz2/bz2.cmxa - Installed /home/opam/.opam/4.14/lib/bz2/bz2.cmx - Installed /home/opam/.opam/4.14/lib/bz2/libcamlbz2.a - Installed /home/opam/.opam/4.14/lib/bz2/bz2.cma - Installed /home/opam/.opam/4.14/lib/bz2/bz2.mli - Installed /home/opam/.opam/4.14/lib/bz2/bz2.cmi - Installed /home/opam/.opam/4.14/lib/stublibs/dllcamlbz2.so - Installed /home/opam/.opam/4.14/lib/stublibs/dllcamlbz2.so.owner - Installed /home/opam/.opam/4.14/lib/bz2/META -> installed camlbz2.0.7.0 Done. # Run eval $(opam env) to update the current shell environment 2024-02-07 13:40.39 ---> saved as "cdc8959217607ba552b0d0a1f9f666b53a74a6426a244200b4c6d9bd6ab0b277" Job succeeded