Building on x86-bm-3.ocamllabs.io (from ocurrent/opam:debian-unstable) Unable to find image 'ocurrent/opam:debian-unstable' locally debian-unstable: Pulling from ocurrent/opam b2048aa58c5f: Pulling fs layer 412783517da1: Pulling fs layer 2143755e883d: Pulling fs layer b2048aa58c5f: Verifying Checksum b2048aa58c5f: Download complete 2143755e883d: Verifying Checksum 2143755e883d: Download complete 412783517da1: Verifying Checksum 412783517da1: Download complete b2048aa58c5f: Pull complete 412783517da1: Pull complete 2143755e883d: Pull complete Digest: sha256:d5761fd43bfa1a0782288e3fc959c461a5b030a735a1e16290ff499c79950c05 Status: Downloaded newer image for ocurrent/opam:debian-unstable 2021-05-02 21:59.57 ---> using "ec5d5faa8619574bfe663422158251f52f4b465bd9d157e348e692194b4f4a2a" from cache /: (user (uid 1000) (gid 1000)) /: (env OPAMPRECISETRACKING 1) /: (env OPAMDEPEXTYES 1) /: (env OPAMUTF8 never) /: (run (network host) (shell "\ \n set -e\ \n git clone -q git://github.com/kit-ty-kate/opam.git /tmp/opam\ \n git -C /tmp/opam checkout -q '72695bfac80dbcd1d2f10287b2626d18d4acc9f2'\ \n opam remote set-url default git://github.com/ocaml/opam-repository.git\ \n opam pin add -yn /tmp/opam > /dev/null\ \n opam install -y opam-devel opam-0install-cudf 'ocamlfind>=1.9'\ \n sudo mv \"$(opam var opam-devel:lib)/opam\" /usr/bin/opam\ \n rm -rf /tmp/opam /tmp/depext.txt ~/.opam\ \n if ! test -d ~/opam-repository; then\ \n git clone -q git://github.com/ocaml/opam-repository.git ~/opam-repository\ \n else\ \n git -C ~/opam-repository pull -q origin master\ \n fi\ \n git -C ~/opam-repository checkout -q '01c350d759f8d4e3202596371818e6d997fa5fe2'\ \n ")) [default] Initialised <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [opam-devel.2.1.0~beta4] no changes from git+file:///tmp/opam#HEAD The following actions will be performed: - install ocamlfind 1.9.1 - install seq base [required by re] - install cmdliner 1.0.4 [required by opam-devel] - install dune 2.8.5 [required by opam-0install-cudf, opam-devel] - install ocamlbuild 0.14.0 [required by cudf] - install base-bytes base [required by extlib] - install stdlib-shims 0.3.0 [required by ocamlgraph] - install re 1.9.0 [required by opam-client] - install opam-file-format 2.1.2 [required by opam-format] - install cppo 1.6.7 [required by extlib] - install 0install-solver 2.17 [required by opam-0install-cudf] - install ocamlgraph 2.0.0 [required by dose3] - install extlib 1.7.7-1 [required by cudf, opam-client] - install opam-core 2.1.0~beta4* [required by opam-format] - install cudf 0.9-1 [required by opam-0install-cudf] - install opam-format 2.1.0~beta4* [required by opam-repository, opam-solver] - install opam-0install-cudf 0.4.1 - install mccs 1.1+13 [required by opam-solver] - install dose3 5.0.1-1 [required by opam-solver] - install opam-repository 2.1.0~beta4* [required by opam-client] - install opam-solver 2.1.0~beta4* [required by opam-client] - install opam-state 2.1.0~beta4* [required by opam-client] - install opam-client 2.1.0~beta4* [required by opam-devel] - install opam-devel 2.1.0~beta4* ===== 24 to install ===== <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><> [cmdliner.1.0.4] downloaded from http://erratique.ch/software/cmdliner/releases/cmdliner-1.0.4.tbz [0install-solver.2.17] downloaded from https://github.com/0install/0install/releases/download/v2.17/0install-v2.17.tbz [cppo.1.6.7] downloaded from https://github.com/ocaml-community/cppo/releases/download/v1.6.7/cppo-v1.6.7.tbz [cudf.0.9-1] downloaded from https://gforge.inria.fr/frs/download.php/36602/cudf-0.9.tar.gz [dose3.5.0.1-1] downloaded from https://gforge.inria.fr/frs/download.php/file/36063/dose3-5.0.1.tar.gz [dune.2.8.5] downloaded from https://github.com/ocaml/dune/releases/download/2.8.5/dune-2.8.5.tbz [extlib.1.7.7-1] downloaded from https://ygrek.org/p/release/ocaml-extlib/extlib-1.7.7.tar.gz [mccs.1.1+13] downloaded from https://github.com/AltGr/ocaml-mccs/archive/1.1+13.tar.gz [ocamlbuild.0.14.0] downloaded from https://github.com/ocaml/ocamlbuild/archive/0.14.0.tar.gz [ocamlgraph.2.0.0] downloaded from https://github.com/backtracking/ocamlgraph/releases/download/2.0.0/ocamlgraph-2.0.0.tbz [ocamlfind.1.9.1] downloaded from http://download.camlcity.org/download/findlib-1.9.1.tar.gz [opam-0install-cudf.0.4.1] downloaded from https://github.com/ocaml-opam/opam-0install-solver/releases/download/v0.4.1/opam-0install-cudf-v0.4.1.tbz [opam-file-format.2.1.2] downloaded from https://github.com/ocaml/opam-file-format/archive/2.1.2.tar.gz [re.1.9.0] downloaded from https://github.com/ocaml/ocaml-re/releases/download/1.9.0/re-1.9.0.tbz [stdlib-shims.0.3.0] downloaded from https://github.com/ocaml/stdlib-shims/releases/download/0.3.0/stdlib-shims-0.3.0.tbz <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed seq.base -> installed cmdliner.1.0.4 -> installed ocamlfind.1.9.1 -> installed base-bytes.base -> installed ocamlbuild.0.14.0 -> installed dune.2.8.5 -> installed stdlib-shims.0.3.0 -> installed opam-file-format.2.1.2 -> installed 0install-solver.2.17 -> installed cppo.1.6.7 -> installed re.1.9.0 -> installed ocamlgraph.2.0.0 -> installed extlib.1.7.7-1 -> installed opam-core.2.1.0~beta4 -> installed cudf.0.9-1 -> installed opam-0install-cudf.0.4.1 -> installed mccs.1.1+13 -> installed opam-format.2.1.0~beta4 -> installed opam-repository.2.1.0~beta4 -> installed dose3.5.0.1-1 -> installed opam-state.2.1.0~beta4 -> installed opam-solver.2.1.0~beta4 -> installed opam-client.2.1.0~beta4 -> installed opam-devel.2.1.0~beta4 Done. <><> opam-devel.2.1.0~beta4 installed successfully ><><><><><><><><><><><><><><> => The development version of opam has been successfully compiled into /home/opam/.opam/4.11/lib/opam-devel. You should not run it from there, please install the binaries to your PATH, e.g. with sudo cp /home/opam/.opam/4.11/lib/opam-devel/opam /usr/local/bin If you just want to give it a try without altering your current installation, you could use instead: alias opam2="OPAMROOT=~/.opam2 /home/opam/.opam/4.11/lib/opam-devel/opam" # Run eval $(opam env) to update the current shell environment 2021-05-02 21:59.57 ---> using "e3e694f2e2acefbb1c736074593e4ed9519fa28bcacb04ce221113caf7c619d7" from cache /: (env OPAMEXTERNALSOLVER builtin-0install) /: (env OPAMCRITERIA +removed) /: (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. 2021-05-02 21:59.57 ---> using "994210567fc74f2e4ea2666c54af8efeef1124fd1b8a409e7a42a3900b5b0e3d" 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-05-02 21:59.57 ---> using "73d057d9a75d3fb712189b77476927d054d7247f8421955cb72dfcb0294b320e" from cache /: (run (shell "opam repository add --dont-select 'beta' ~/'beta'")) [beta] Initialised 2021-05-02 21:59.57 ---> using "883cc12f2fd777afc528f51cf9b7c4e073248e757811f4b918a5f77d53bb7199" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=beta,default 4.13.0+trunk")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-variants" {= "4.13.0+trunk"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> retrieved ocaml-variants.4.13.0+trunk (https://github.com/ocaml/ocaml/archive/trunk.tar.gz) -> installed ocaml-variants.4.13.0+trunk -> installed ocaml-config.2 -> installed ocaml.4.13.0 Done. # Run eval $(opam env --switch=4.13.0+trunk) to update the current shell environment 2021-05-02 21:59.57 ---> using "4614b11abe9b02540ef6ff07d98932c9a3404ebaec4cf000e7bfde1881f6c735" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [157 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 [8626 kB] - Fetched 8847 kB in 6s (1485 kB/s) - Reading package lists... - 2021-05-02 21:59.57 ---> using "30183a5ba2ae4cd3b6109af400376b327f5ca5706fb9f8570419b7b5054ee1f6" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam install -vy \"curses.1.0.6\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"curses.1.0.6\" | 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")) The following actions will be performed: - install conf-pkg-config 2 [required by conf-ncurses] - install ocamlfind 1.9.1 [required by curses] - install conf-ncurses 1 [required by curses] - install curses 1.0.6 ===== 4 to install ===== The following system packages will first need to be installed: ncurses-dev pkg-config <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> Let opam run your package manager to install the required system packages? [Y/n] y + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "ncurses-dev" "pkg-config" - 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 ... 17845 files and directories currently installed.) - Preparing to unpack .../libncursesw6_6.2+20201114-2_amd64.deb ... - Unpacking libncursesw6:amd64 (6.2+20201114-2) over (6.2+20200918-1) ... - Preparing to unpack .../libtinfo6_6.2+20201114-2_amd64.deb ... - Unpacking libtinfo6:amd64 (6.2+20201114-2) over (6.2+20200918-1) ... - Setting up libtinfo6:amd64 (6.2+20201114-2) ... - Selecting previously unselected package libglib2.0-0:amd64. - (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 ... 17845 files and directories currently installed.) - Preparing to unpack .../0-libglib2.0-0_2.66.8-1_amd64.deb ... - Unpacking libglib2.0-0:amd64 (2.66.8-1) ... - Selecting previously unselected package libglib2.0-data. - Preparing to unpack .../1-libglib2.0-data_2.66.8-1_all.deb ... - Unpacking libglib2.0-data (2.66.8-1) ... - Selecting previously unselected package libicu67:amd64. - Preparing to unpack .../2-libicu67_67.1-6_amd64.deb ... - Unpacking libicu67:amd64 (67.1-6) ... - Selecting previously unselected package libncurses6:amd64. - Preparing to unpack .../3-libncurses6_6.2+20201114-2_amd64.deb ... - Unpacking libncurses6:amd64 (6.2+20201114-2) ... - Selecting previously unselected package libncurses-dev:amd64. - Preparing to unpack .../4-libncurses-dev_6.2+20201114-2_amd64.deb ... - Unpacking libncurses-dev:amd64 (6.2+20201114-2) ... - Selecting previously unselected package libxml2:amd64. - Preparing to unpack .../5-libxml2_2.9.10+dfsg-6.3+b1_amd64.deb ... - Unpacking libxml2:amd64 (2.9.10+dfsg-6.3+b1) ... - Selecting previously unselected package pkg-config. - Preparing to unpack .../6-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 .../7-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 .../8-xdg-user-dirs_0.17-2_amd64.deb ... - Unpacking xdg-user-dirs (0.17-2) ... - Setting up libicu67:amd64 (67.1-6) ... - Setting up xdg-user-dirs (0.17-2) ... - Setting up libglib2.0-0:amd64 (2.66.8-1) ... - No schema files found: doing nothing. - Setting up libglib2.0-data (2.66.8-1) ... - Setting up libncurses6:amd64 (6.2+20201114-2) ... - Setting up pkg-config (0.29.2-1) ... - Setting up libncursesw6:amd64 (6.2+20201114-2) ... - Setting up libxml2:amd64 (2.9.10+dfsg-6.3+b1) ... - Setting up libncurses-dev:amd64 (6.2+20201114-2) ... - Setting up shared-mime-info (2.0-1) ... - Processing triggers for libc-bin (2.31-4) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 3/12: Processing 4/12: Processing 5/12: [conf-pkg-config: pkg-config] -> retrieved curses.1.0.6 (cached) -> retrieved ocamlfind.1.9.1 (cached) Processing 6/12: [conf-pkg-config: pkg-config] [ocamlfind: ./configure] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "pkg-config" "--help" (CWD=/home/opam/.opam/4.13.0+trunk/.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 6/12: [ocamlfind: ./configure] Processing 7/12: [ocamlfind: ./configure] [conf-pkg-config: mkdir] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "-bindir" "/home/opam/.opam/4.13.0+trunk/bin" "-sitelib" "/home/opam/.opam/4.13.0+trunk/lib" "-mandir" "/home/opam/.opam/4.13.0+trunk/man" "-config" "/home/opam/.opam/4.13.0+trunk/lib/findlib.conf" "-no-custom" "-no-camlp4" (CWD=/home/opam/.opam/4.13.0+trunk/.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.13.0+trunk/lib/ocaml - Binaries: /home/opam/.opam/4.13.0+trunk/bin - Manual pages: /home/opam/.opam/4.13.0+trunk/man - Multi-threading type: posix - The directory of site-specific packages will be - site-lib: /home/opam/.opam/4.13.0+trunk/lib - The configuration file is written to: - findlib config file: /home/opam/.opam/4.13.0+trunk/lib/findlib.conf - Software will be installed: - Libraries: in <site-lib>/findlib - Binaries: /home/opam/.opam/4.13.0+trunk/bin - Manual pages: /home/opam/.opam/4.13.0+trunk/man - topfind script: /home/opam/.opam/4.13.0+trunk/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.13.0+trunk/lib/ocaml - Binaries: /home/opam/.opam/4.13.0+trunk/bin - Manual pages: /home/opam/.opam/4.13.0+trunk/man - Multi-threading type: posix - The directory of site-specific packages will be - site-lib: /home/opam/.opam/4.13.0+trunk/lib - The configuration file is written to: - findlib config file: /home/opam/.opam/4.13.0+trunk/lib/findlib.conf - Software will be installed: - Libraries: in <site-lib>/findlib - Binaries: /home/opam/.opam/4.13.0+trunk/bin - Manual pages: /home/opam/.opam/4.13.0+trunk/man - topfind script: /home/opam/.opam/4.13.0+trunk/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 7/12: [ocamlfind: make all] [conf-pkg-config: mkdir] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "mkdir" "-p" "/home/opam/.opam/4.13.0+trunk/lib/pkgconfig" (CWD=/home/opam/.opam/4.13.0+trunk/.opam-switch/build/conf-pkg-config.2) -> installed conf-pkg-config.2 Processing 7/12: [ocamlfind: make all] Processing 8/12: [conf-ncurses: pkg-config ncurses] [ocamlfind: make all] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "pkg-config" "ncurses" (CWD=/home/opam/.opam/4.13.0+trunk/.opam-switch/build/conf-ncurses.1) -> compiled conf-ncurses.1 Processing 8/12: [ocamlfind: make all] -> installed conf-ncurses.1 Processing 9/12: [ocamlfind: make all] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "all" (CWD=/home/opam/.opam/4.13.0+trunk/.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.13.0+trunk/.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.13.0+trunk/lib/findlib.conf' | \ - ../../tools/patch '@STDLIB@' '/home/opam/.opam/4.13.0+trunk/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 - 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 -c findlib.mli - ocamlc -I +compiler-libs -opaque -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 -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 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. - 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 - File "topfind.ml", line 126, characters 40-63: - 126 | match Hashtbl.find Toploop.directive_table "ppx" with - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 252, characters 4-27: - 252 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 262, characters 4-27: - 262 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 274, characters 4-27: - 274 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 287, characters 4-27: - 287 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 301, characters 4-27: - 301 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 313, characters 4-27: - 313 | 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.13.0+trunk/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.13.0+trunk/.opam-switch/build/ocamlfind.1.9.1/src/findlib' - make all-config - make[1]: Entering directory '/home/opam/.opam/4.13.0+trunk/.opam-switch/build/ocamlfind.1.9.1' - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat findlib.conf.in | \ - tools/patch '@SITELIB@' '/home/opam/.opam/4.13.0+trunk/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.13.0+trunk/.opam-switch/build/ocamlfind.1.9.1' Processing 9/12: [ocamlfind: make opt] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "opt" (CWD=/home/opam/.opam/4.13.0+trunk/.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.13.0+trunk/.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 - 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 -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 -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 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. - 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 "topfind.ml", line 126, characters 40-63: - 126 | match Hashtbl.find Toploop.directive_table "ppx" with - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 252, characters 4-27: - 252 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 262, characters 4-27: - 262 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 274, characters 4-27: - 274 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 287, characters 4-27: - 287 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 301, characters 4-27: - 301 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 313, characters 4-27: - 313 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - 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.13.0+trunk/.opam-switch/build/ocamlfind.1.9.1/src/findlib' -> compiled ocamlfind.1.9.1 Processing 10/12: [ocamlfind: make install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/4.13.0+trunk/.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.13.0+trunk/lib/$x/META" ]; then \ - if ! grep -Fq '[distributed with Ocaml]' "//home/opam/.opam/4.13.0+trunk/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.13.0+trunk/bin" - mkdir -p "/home/opam/.opam/4.13.0+trunk/man" - make install-config - make[1]: Entering directory '/home/opam/.opam/4.13.0+trunk/.opam-switch/build/ocamlfind.1.9.1' - mkdir -p "`dirname \"/home/opam/.opam/4.13.0+trunk/lib/findlib.conf\"`" - test -f "/home/opam/.opam/4.13.0+trunk/lib/findlib.conf" || cp findlib.conf "/home/opam/.opam/4.13.0+trunk/lib/findlib.conf" - make[1]: Leaving directory '/home/opam/.opam/4.13.0+trunk/.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.13.0+trunk/.opam-switch/build/ocamlfind.1.9.1/src/findlib' - mkdir -p "/home/opam/.opam/4.13.0+trunk/lib/findlib" - mkdir -p "/home/opam/.opam/4.13.0+trunk/bin" - test 1 -eq 0 || cp topfind "/home/opam/.opam/4.13.0+trunk/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.13.0+trunk/lib/findlib" - f="ocamlfind"; { test -f ocamlfind_opt && f="ocamlfind_opt"; }; \ - cp $f "/home/opam/.opam/4.13.0+trunk/bin/ocamlfind" - # the following "if" block is only needed for 4.00beta2 - if [ 1 -eq 0 -a -f "/home/opam/.opam/4.13.0+trunk/lib/ocaml/compiler-libs/topdirs.cmi" ]; then \ - cd "/home/opam/.opam/4.13.0+trunk/lib/ocaml/compiler-libs/"; \ - cp topdirs.cmi toploop.cmi "/home/opam/.opam/4.13.0+trunk/lib/findlib/"; \ - fi - make[1]: Leaving directory '/home/opam/.opam/4.13.0+trunk/.opam-switch/build/ocamlfind.1.9.1/src/findlib' - make install-meta - make[1]: Entering directory '/home/opam/.opam/4.13.0+trunk/.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.13.0+trunk/lib/$x"; cp site-lib-src/$x/META "/home/opam/.opam/4.13.0+trunk/lib/$x"; done - mkdir -p "/home/opam/.opam/4.13.0+trunk/lib/findlib"; cp Makefile.packages "/home/opam/.opam/4.13.0+trunk/lib/findlib/Makefile.packages" - make[1]: Leaving directory '/home/opam/.opam/4.13.0+trunk/.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.13.0+trunk/bin" - make install-doc - make[1]: Entering directory '/home/opam/.opam/4.13.0+trunk/.opam-switch/build/ocamlfind.1.9.1' - mkdir -p "/home/opam/.opam/4.13.0+trunk/man/man1" "/home/opam/.opam/4.13.0+trunk/man/man3" "/home/opam/.opam/4.13.0+trunk/man/man5" - cp doc/ref-man/ocamlfind.1 "/home/opam/.opam/4.13.0+trunk/man/man1" - cp doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 "/home/opam/.opam/4.13.0+trunk/man/man5" - make[1]: Leaving directory '/home/opam/.opam/4.13.0+trunk/.opam-switch/build/ocamlfind.1.9.1' -> installed ocamlfind.1.9.1 Processing 11/12: [curses: ./configure] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "--enable-widec" (CWD=/home/opam/.opam/4.13.0+trunk/.opam-switch/build/curses.1.0.6) - 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 we are using the GNU C compiler... yes - checking whether gcc accepts -g... yes - checking for gcc option to accept ISO C89... none needed - checking whether gcc and cc understand -c and -o together... yes - checking for ranlib... ranlib - checking how to run the C preprocessor... gcc -E - checking for grep that handles long lines and -e... /bin/grep - checking for egrep... /bin/grep -E - checking for ANSI C header files... yes - checking for sys/types.h... yes - checking for sys/stat.h... - yes - checking for stdlib.h... yes - checking for string.h... yes - checking for memory.h... yes - checking for strings.h... yes - checking for inttypes.h... yes - checking for stdint.h... yes - checking for unistd.h... yes - checking termios.h usability... yes - checking termios.h presence... yes - checking for termios.h... yes - checking sys/ioctl.h usability... yes - checking sys/ioctl.h presence... yes - checking for sys/ioctl.h... yes - checking windows.h usability... no - checking windows.h presence... no - checking for windows.h... no - checking for working ncurses library... found in -lncursesw - checking for term.h... found in <term.h> - checking for wide character support in ncurses library... yes - checking for resizeterm... yes - checking for resize_term... - yes - configure: creating ./config.status - config.status: creating Makefile - config.status: creating config.ml - config.status: creating config.h Processing 11/12: [curses: make byte] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "OCAMLMAKEFILE=OCamlMakefile" "byte" (CWD=/home/opam/.opam/4.13.0+trunk/.opam-switch/build/curses.1.0.6) - make[1]: Entering directory '/home/opam/.opam/4.13.0+trunk/.opam-switch/build/curses.1.0.6' - ocamldep curses.mli > ._bcdi/curses.di - ocamldep -pp "gcc -x c -E " curses.ml > ._d/curses.d - ocamldep keys.ml > ._d/keys.d - ocamlc -c -cc "gcc" -ccopt "-fPIC -g -O2 -DHAVE_CONFIG_H \ - -DPIC \ - -o ml_curses.o " ml_curses.c - In file included from ml_curses.c:7: - functions.c: In function 'mlcurses_getstr': - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 290 | #define String_val(x) ((const char *) Bp_val(x)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/memory.h:460:29: note: in definition of macro 'CAMLreturnT' - 460 | type caml__temp_result = (result); \ - | ^~~~~~ - ml_curses.c:51:18: note: in expansion of macro 'CAMLreturn' - 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - | ^~~~~~~~~~ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' - 79 | #define Val_int(x) Val_long(x) - | ^~~~~~~~ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' - 387 | #define Val_bool(x) Val_int((x) != 0) - | ^~~~~~~ - ml_curses.c:51:29: note: in expansion of macro 'Val_bool' - 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - | ^~~~~~~~ - functions.c:195:6: note: in expansion of macro 'r_err' - 195 | BEG1 r_err(getnstr(a_string(aa),string_length(aa))); END - | ^~~~~ - ml_curses.c:88:21: note: in expansion of macro 'String_val' - 88 | #define a_string(a) String_val(a) - | ^~~~~~~~~~ - functions.c:195:20: note: in expansion of macro 'a_string' - 195 | BEG1 r_err(getnstr(a_string(aa),string_length(aa))); END - | ^~~~~~~~ - In file included from ml_curses.c:22: - /usr/include/curses.h:806:47: note: expected 'char *' but argument is of type 'const char *' - 806 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ - | ^~~~~~ - In file included from ml_curses.c:7: - functions.c: In function 'mlcurses_wgetstr': - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 290 | #define String_val(x) ((const char *) Bp_val(x)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/memory.h:460:29: note: in definition of macro 'CAMLreturnT' - 460 | type caml__temp_result = (result); \ - | ^~~~~~ - ml_curses.c:51:18: note: in expansion of macro 'CAMLreturn' - 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - | ^~~~~~~~~~ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' - 79 | #define Val_int(x) Val_long(x) - | ^~~~~~~~ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' - 387 | #define Val_bool(x) Val_int((x) != 0) - | ^~~~~~~ - ml_curses.c:51:29: note: in expansion of macro 'Val_bool' - 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - | ^~~~~~~~ - functions.c:197:6: note: in expansion of macro 'r_err' - 197 | BEG2 r_err(wgetnstr(a_window(aa),a_string(ab),string_length(ab))); END - | ^~~~~ - ml_curses.c:88:21: note: in expansion of macro 'String_val' - 88 | #define a_string(a) String_val(a) - | ^~~~~~~~~~ - functions.c:197:34: note: in expansion of macro 'a_string' - 197 | BEG2 r_err(wgetnstr(a_window(aa),a_string(ab),string_length(ab))); END - | ^~~~~~~~ - In file included from ml_curses.c:22: - /usr/include/curses.h:806:47: note: expected 'char *' but argument is of type 'const char *' - 806 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ - | ^~~~~~ - In file included from ml_curses.c:7: - functions.c: In function 'mlcurses_mvgetstr': - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 290 | #define String_val(x) ((const char *) Bp_val(x)) - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/memory.h:460:29: note: in definition of macro 'CAMLreturnT' - 460 | type caml__temp_result = (result); \ - | ^~~~~~ - ml_curses.c:51:18: note: in expansion of macro 'CAMLreturn' - 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - | ^~~~~~~~~~ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' - 79 | #define Val_int(x) Val_long(x) - | ^~~~~~~~ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' - 387 | #define Val_bool(x) Val_int((x) != 0) - | ^~~~~~~ - ml_curses.c:51:29: note: in expansion of macro 'Val_bool' - 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - | ^~~~~~~~ - functions.c:199:6: note: in expansion of macro 'r_err' - 199 | BEG3 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END - | ^~~~~ - ml_curses.c:88:21: note: in expansion of macro 'String_val' - 88 | #define a_string(a) String_val(a) - | ^~~~~~~~~~ - functions.c:199:42: note: in expansion of macro 'a_string' - 199 | BEG3 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END - | ^~~~~~~~ - In file included from ml_curses.c:22: - /usr/include/curses.h:806:47: note: expected 'char *' but argument is of type 'const char *' - 806 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ - | ^~~~~~ - In file included from ml_curses.c:7: - functions.c: In function 'mlcurses_mvwgetstr': - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 290 | #define String_val(x) ((const char *) Bp_val(x)) - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/memory.h:460:29: note: in definition of macro 'CAMLreturnT' - 460 | type caml__temp_result = (result); \ - | ^~~~~~ - ml_curses.c:51:18: note: in expansion of macro 'CAMLreturn' - 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - | ^~~~~~~~~~ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' - 79 | #define Val_int(x) Val_long(x) - | ^~~~~~~~ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' - 387 | #define Val_bool(x) Val_int((x) != 0) - | ^~~~~~~ - ml_curses.c:51:29: note: in expansion of macro 'Val_bool' - 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - | ^~~~~~~~ - functions.c:201:6: note: in expansion of macro 'r_err' - 201 | BEG4 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad), - | ^~~~~ - ml_curses.c:88:21: note: in expansion of macro 'String_val' - 88 | #define a_string(a) String_val(a) - | ^~~~~~~~~~ - functions.c:201:56: note: in expansion of macro 'a_string' - 201 | BEG4 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad), - | ^~~~~~~~ - In file included from ml_curses.c:22: - /usr/include/curses.h:806:47: note: expected 'char *' but argument is of type 'const char *' - 806 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ - | ^~~~~~ - In file included from ml_curses.c:7: - functions.c: In function 'mlcurses_getnstr': - functions.c:204:32: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 204 | BEG3 r_err(getnstr(a_string(aa)+a_int(ab),a_int(ac))); END - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/memory.h:460:29: note: in definition of macro 'CAMLreturnT' - 460 | type caml__temp_result = (result); \ - | ^~~~~~ - ml_curses.c:51:18: note: in expansion of macro 'CAMLreturn' - 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - | ^~~~~~~~~~ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' - 79 | #define Val_int(x) Val_long(x) - | ^~~~~~~~ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' - 387 | #define Val_bool(x) Val_int((x) != 0) - | ^~~~~~~ - ml_curses.c:51:29: note: in expansion of macro 'Val_bool' - 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - | ^~~~~~~~ - functions.c:204:6: note: in expansion of macro 'r_err' - 204 | BEG3 r_err(getnstr(a_string(aa)+a_int(ab),a_int(ac))); END - | ^~~~~ - In file included from ml_curses.c:22: - /usr/include/curses.h:806:47: note: expected 'char *' but argument is of type 'const char *' - 806 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ - | ^~~~~~ - In file included from ml_curses.c:7: - functions.c: In function 'mlcurses_wgetnstr': - functions.c:206:46: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 206 | BEG4 r_err(wgetnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/memory.h:460:29: note: in definition of macro 'CAMLreturnT' - 460 | type caml__temp_result = (result); \ - | ^~~~~~ - ml_curses.c:51:18: note: in expansion of macro 'CAMLreturn' - 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - | ^~~~~~~~~~ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' - 79 | #define Val_int(x) Val_long(x) - | ^~~~~~~~ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' - 387 | #define Val_bool(x) Val_int((x) != 0) - | ^~~~~~~ - ml_curses.c:51:29: note: in expansion of macro 'Val_bool' - 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - | ^~~~~~~~ - functions.c:206:6: note: in expansion of macro 'r_err' - 206 | BEG4 r_err(wgetnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END - | ^~~~~ - In file included from ml_curses.c:22: - /usr/include/curses.h:806:47: note: expected 'char *' but argument is of type 'const char *' - 806 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ - | ^~~~~~ - In file included from ml_curses.c:7: - functions.c: In function 'mlcurses_mvgetnstr': - functions.c:208:54: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 208 | BEG5 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad), - | ^ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/memory.h:460:29: note: in definition of macro 'CAMLreturnT' - 460 | type caml__temp_result = (result); \ - | ^~~~~~ - ml_curses.c:51:18: note: in expansion of macro 'CAMLreturn' - 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - | ^~~~~~~~~~ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' - 79 | #define Val_int(x) Val_long(x) - | ^~~~~~~~ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' - 387 | #define Val_bool(x) Val_int((x) != 0) - | ^~~~~~~ - ml_curses.c:51:29: note: in expansion of macro 'Val_bool' - 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - | ^~~~~~~~ - functions.c:208:6: note: in expansion of macro 'r_err' - 208 | BEG5 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad), - | ^~~~~ - In file included from ml_curses.c:22: - /usr/include/curses.h:806:47: note: expected 'char *' but argument is of type 'const char *' - 806 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ - | ^~~~~~ - In file included from ml_curses.c:7: - functions.c: In function 'mlcurses_mvwgetnstr_native': - functions.c:211:68: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 211 | BEG6 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad)+a_int(ae), - | ^ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/memory.h:460:29: note: in definition of macro 'CAMLreturnT' - 460 | type caml__temp_result = (result); \ - | ^~~~~~ - ml_curses.c:51:18: note: in expansion of macro 'CAMLreturn' - 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - | ^~~~~~~~~~ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' - 79 | #define Val_int(x) Val_long(x) - | ^~~~~~~~ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' - 387 | #define Val_bool(x) Val_int((x) != 0) - | ^~~~~~~ - ml_curses.c:51:29: note: in expansion of macro 'Val_bool' - 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - | ^~~~~~~~ - functions.c:211:6: note: in expansion of macro 'r_err' - 211 | BEG6 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad)+a_int(ae), - | ^~~~~ - In file included from ml_curses.c:22: - /usr/include/curses.h:806:47: note: expected 'char *' but argument is of type 'const char *' - 806 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ - | ^~~~~~ - In file included from ml_curses.c:7: - functions.c: In function 'mlcurses_instr': - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 290 | #define String_val(x) ((const char *) Bp_val(x)) - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/memory.h:460:29: note: in definition of macro 'CAMLreturnT' - 460 | type caml__temp_result = (result); \ - | ^~~~~~ - ml_curses.c:51:18: note: in expansion of macro 'CAMLreturn' - 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - | ^~~~~~~~~~ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' - 79 | #define Val_int(x) Val_long(x) - | ^~~~~~~~ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' - 387 | #define Val_bool(x) Val_int((x) != 0) - | ^~~~~~~ - ml_curses.c:51:29: note: in expansion of macro 'Val_bool' - 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - | ^~~~~~~~ - functions.c:337:6: note: in expansion of macro 'r_err' - 337 | BEG1 r_err(innstr(a_string(aa),string_length(aa))); END - | ^~~~~ - ml_curses.c:88:21: note: in expansion of macro 'String_val' - 88 | #define a_string(a) String_val(a) - | ^~~~~~~~~~ - functions.c:337:19: note: in expansion of macro 'a_string' - 337 | BEG1 r_err(innstr(a_string(aa),string_length(aa))); END - | ^~~~~~~~ - In file included from ml_curses.c:22: - /usr/include/curses.h:812:47: note: expected 'char *' but argument is of type 'const char *' - 812 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ - | ^~~~~~ - In file included from ml_curses.c:7: - functions.c: In function 'mlcurses_winstr': - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 290 | #define String_val(x) ((const char *) Bp_val(x)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/memory.h:460:29: note: in definition of macro 'CAMLreturnT' - 460 | type caml__temp_result = (result); \ - | ^~~~~~ - ml_curses.c:51:18: note: in expansion of macro 'CAMLreturn' - 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - | ^~~~~~~~~~ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' - 79 | #define Val_int(x) Val_long(x) - | ^~~~~~~~ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' - 387 | #define Val_bool(x) Val_int((x) != 0) - | ^~~~~~~ - ml_curses.c:51:29: note: in expansion of macro 'Val_bool' - 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - | ^~~~~~~~ - functions.c:339:6: note: in expansion of macro 'r_err' - 339 | BEG2 r_err(winnstr(a_window(aa),a_string(ab),string_length(ab))); END - | ^~~~~ - ml_curses.c:88:21: note: in expansion of macro 'String_val' - 88 | #define a_string(a) String_val(a) - | ^~~~~~~~~~ - functions.c:339:33: note: in expansion of macro 'a_string' - 339 | BEG2 r_err(winnstr(a_window(aa),a_string(ab),string_length(ab))); END - | ^~~~~~~~ - In file included from ml_curses.c:22: - /usr/include/curses.h:812:47: note: expected 'char *' but argument is of type 'const char *' - 812 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ - | ^~~~~~ - In file included from ml_curses.c:7: - functions.c: In function 'mlcurses_mvinstr': - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 290 | #define String_val(x) ((const char *) Bp_val(x)) - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/memory.h:460:29: note: in definition of macro 'CAMLreturnT' - 460 | type caml__temp_result = (result); \ - | ^~~~~~ - ml_curses.c:51:18: note: in expansion of macro 'CAMLreturn' - 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - | ^~~~~~~~~~ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' - 79 | #define Val_int(x) Val_long(x) - | ^~~~~~~~ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' - 387 | #define Val_bool(x) Val_int((x) != 0) - | ^~~~~~~ - ml_curses.c:51:29: note: in expansion of macro 'Val_bool' - 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - | ^~~~~~~~ - functions.c:341:6: note: in expansion of macro 'r_err' - 341 | BEG3 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END - | ^~~~~ - ml_curses.c:88:21: note: in expansion of macro 'String_val' - 88 | #define a_string(a) String_val(a) - | ^~~~~~~~~~ - functions.c:341:41: note: in expansion of macro 'a_string' - 341 | BEG3 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END - | ^~~~~~~~ - In file included from ml_curses.c:22: - /usr/include/curses.h:812:47: note: expected 'char *' but argument is of type 'const char *' - 812 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ - | ^~~~~~ - In file included from ml_curses.c:7: - functions.c: In function 'mlcurses_mvwinstr': - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 290 | #define String_val(x) ((const char *) Bp_val(x)) - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/memory.h:460:29: note: in definition of macro 'CAMLreturnT' - 460 | type caml__temp_result = (result); \ - | ^~~~~~ - ml_curses.c:51:18: note: in expansion of macro 'CAMLreturn' - 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - | ^~~~~~~~~~ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' - 79 | #define Val_int(x) Val_long(x) - | ^~~~~~~~ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' - 387 | #define Val_bool(x) Val_int((x) != 0) - | ^~~~~~~ - ml_curses.c:51:29: note: in expansion of macro 'Val_bool' - 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - | ^~~~~~~~ - functions.c:343:6: note: in expansion of macro 'r_err' - 343 | BEG4 r_err(mvwinnstr(a_window(aa),a_int(ab),a_int(ac), - | ^~~~~ - ml_curses.c:88:21: note: in expansion of macro 'String_val' - 88 | #define a_string(a) String_val(a) - | ^~~~~~~~~~ - functions.c:344:3: note: in expansion of macro 'a_string' - 344 | a_string(ad),string_length(ad))); END - | ^~~~~~~~ - In file included from ml_curses.c:22: - /usr/include/curses.h:812:47: note: expected 'char *' but argument is of type 'const char *' - 812 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ - | ^~~~~~ - In file included from ml_curses.c:7: - functions.c: In function 'mlcurses_innstr': - functions.c:346:31: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 346 | BEG3 r_err(innstr(a_string(aa)+a_int(ab),a_int(ac))); END - | ^ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/memory.h:460:29: note: in definition of macro 'CAMLreturnT' - 460 | type caml__temp_result = (result); \ - | ^~~~~~ - ml_curses.c:51:18: note: in expansion of macro 'CAMLreturn' - 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - | ^~~~~~~~~~ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' - 79 | #define Val_int(x) Val_long(x) - | ^~~~~~~~ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' - 387 | #define Val_bool(x) Val_int((x) != 0) - | ^~~~~~~ - ml_curses.c:51:29: note: in expansion of macro 'Val_bool' - 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - | ^~~~~~~~ - functions.c:346:6: note: in expansion of macro 'r_err' - 346 | BEG3 r_err(innstr(a_string(aa)+a_int(ab),a_int(ac))); END - | ^~~~~ - In file included from ml_curses.c:22: - /usr/include/curses.h:812:47: note: expected 'char *' but argument is of type 'const char *' - 812 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ - | ^~~~~~ - In file included from ml_curses.c:7: - functions.c: In function 'mlcurses_winnstr': - functions.c:348:45: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 348 | BEG4 r_err(winnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/memory.h:460:29: note: in definition of macro 'CAMLreturnT' - 460 | type caml__temp_result = (result); \ - | ^~~~~~ - ml_curses.c:51:18: note: in expansion of macro 'CAMLreturn' - 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - | ^~~~~~~~~~ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' - 79 | #define Val_int(x) Val_long(x) - | ^~~~~~~~ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' - 387 | #define Val_bool(x) Val_int((x) != 0) - | ^~~~~~~ - ml_curses.c:51:29: note: in expansion of macro 'Val_bool' - 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - | ^~~~~~~~ - functions.c:348:6: note: in expansion of macro 'r_err' - 348 | BEG4 r_err(winnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END - | ^~~~~ - In file included from ml_curses.c:22: - /usr/include/curses.h:812:47: note: expected 'char *' but argument is of type 'const char *' - 812 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ - | ^~~~~~ - In file included from ml_curses.c:7: - functions.c: In function 'mlcurses_mvinnstr': - functions.c:350:53: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 350 | BEG5 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad),a_int(ae))); END - | ^ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/memory.h:460:29: note: in definition of macro 'CAMLreturnT' - 460 | type caml__temp_result = (result); \ - | ^~~~~~ - ml_curses.c:51:18: note: in expansion of macro 'CAMLreturn' - 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - | ^~~~~~~~~~ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' - 79 | #define Val_int(x) Val_long(x) - | ^~~~~~~~ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' - 387 | #define Val_bool(x) Val_int((x) != 0) - | ^~~~~~~ - ml_curses.c:51:29: note: in expansion of macro 'Val_bool' - 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - | ^~~~~~~~ - functions.c:350:6: note: in expansion of macro 'r_err' - 350 | BEG5 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad),a_int(ae))); END - | ^~~~~ - In file included from ml_curses.c:22: - /usr/include/curses.h:812:47: note: expected 'char *' but argument is of type 'const char *' - 812 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ - | ^~~~~~ - In file included from ml_curses.c:7: - functions.c: In function 'mlcurses_mvwinnstr_native': - functions.c:353:15: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 353 | a_string(ad)+a_int(ae),a_int(af))); END - | ^ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/memory.h:460:29: note: in definition of macro 'CAMLreturnT' - 460 | type caml__temp_result = (result); \ - | ^~~~~~ - ml_curses.c:51:18: note: in expansion of macro 'CAMLreturn' - 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - | ^~~~~~~~~~ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' - 79 | #define Val_int(x) Val_long(x) - | ^~~~~~~~ - /home/opam/.opam/4.13.0+trunk/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' - 387 | #define Val_bool(x) Val_int((x) != 0) - | ^~~~~~~ - ml_curses.c:51:29: note: in expansion of macro 'Val_bool' - 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - | ^~~~~~~~ - functions.c:352:6: note: in expansion of macro 'r_err' - 352 | BEG6 r_err(mvwinnstr(a_window(aa),a_int(ab),a_int(ac), - | ^~~~~ - In file included from ml_curses.c:22: - /usr/include/curses.h:812:47: note: expected 'char *' but argument is of type 'const char *' - 812 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ - | ^~~~~~ - functions.c: In function 'mlcurses_unctrl': - functions.c:597:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 597 | ML1(unctrl,string,chtype) - | ^~~~~~ - ml_curses.c:77:15: note: in definition of macro 'r_string' - 77 | { char *ret=f; \ - | ^ - functions.c:597:1: note: in expansion of macro 'ML1' - 597 | ML1(unctrl,string,chtype) - | ^~~ - functions.c: In function 'mlcurses_keyname': - functions.c:598:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 598 | ML1(keyname,string,int) - | ^~~~~~~ - ml_curses.c:77:15: note: in definition of macro 'r_string' - 77 | { char *ret=f; \ - | ^ - functions.c:598:1: note: in expansion of macro 'ML1' - 598 | ML1(keyname,string,int) - | ^~~ - ar rcs libcurses_stubs.a ml_curses.o - ocamlc -c -g keys.ml - ocamlc -c -g curses.mli - ocamlc -c -pp "gcc -x c -E " -g curses.ml - ocamlmklib \ - -o curses_stubs ml_curses.o -lncursesw \ - - ocamlc -a -dllib dllcurses_stubs.so -custom -g -cclib -lcurses_stubs -cclib -lncursesw -o curses.cma keys.cmo curses.cmo - make[1]: Leaving directory '/home/opam/.opam/4.13.0+trunk/.opam-switch/build/curses.1.0.6' - sed \ - -e 's/@PACKAGE@/curses/' \ - -e 's/@VERSION@/1.0.4/' \ - -e 's/@CURSES@/ncurses/' \ - < META.in > META - ranlib *.a Processing 11/12: [curses: make opt] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "OCAMLMAKEFILE=OCamlMakefile" "opt" (CWD=/home/opam/.opam/4.13.0+trunk/.opam-switch/build/curses.1.0.6) - make[1]: Entering directory '/home/opam/.opam/4.13.0+trunk/.opam-switch/build/curses.1.0.6' - ocamldep -native curses.mli > ._ncdi/curses.di - make[1]: 'libcurses_stubs.a' is up to date. - ocamlopt -c -g keys.ml - ocamlopt -c -pp "gcc -x c -E " -g curses.ml - ocamlopt -a -g -cclib -lcurses_stubs -cclib -lncursesw -o curses.cmxa keys.cmx curses.cmx - make[1]: Leaving directory '/home/opam/.opam/4.13.0+trunk/.opam-switch/build/curses.1.0.6' - ranlib *.a -> compiled curses.1.0.6 Processing 12/12: [curses: make install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "OCAMLMAKEFILE=OCamlMakefile" "install" (CWD=/home/opam/.opam/4.13.0+trunk/.opam-switch/build/curses.1.0.6) - make[1]: Entering directory '/home/opam/.opam/4.13.0+trunk/.opam-switch/build/curses.1.0.6' - make[1]: 'libcurses_stubs.a' is up to date. - ocamlc -a -dllib dllcurses_stubs.so -custom -g -cclib -lcurses_stubs -cclib -lncursesw -o curses.cma keys.cmo curses.cmo - make[1]: Leaving directory '/home/opam/.opam/4.13.0+trunk/.opam-switch/build/curses.1.0.6' - ranlib *.a - - Installing library with ocamlfind - ocamlfind install curses META curses.mli curses.cmi keys.cmi curses.cma curses.cmxa curses.a libcurses_stubs.a dllcurses_stubs.so curses.cmx keys.cmx - Installed /home/opam/.opam/4.13.0+trunk/lib/curses/keys.cmx - Installed /home/opam/.opam/4.13.0+trunk/lib/curses/curses.cmx - Installed /home/opam/.opam/4.13.0+trunk/lib/curses/libcurses_stubs.a - Installed /home/opam/.opam/4.13.0+trunk/lib/curses/curses.a - Installed /home/opam/.opam/4.13.0+trunk/lib/curses/curses.cmxa - Installed /home/opam/.opam/4.13.0+trunk/lib/curses/curses.cma - Installed /home/opam/.opam/4.13.0+trunk/lib/curses/keys.cmi - Installed /home/opam/.opam/4.13.0+trunk/lib/curses/curses.cmi - Installed /home/opam/.opam/4.13.0+trunk/lib/curses/curses.mli - Installed /home/opam/.opam/4.13.0+trunk/lib/stublibs/dllcurses_stubs.so - Installed /home/opam/.opam/4.13.0+trunk/lib/stublibs/dllcurses_stubs.so.owner - ocamlfind: [WARNING] You have installed DLLs but the directory /home/opam/.opam/4.13.0+trunk/lib/stublibs is not mentioned in ld.conf - Installed /home/opam/.opam/4.13.0+trunk/lib/curses/META - - Installation successful. -> installed curses.1.0.6 Done. # Run eval $(opam env) to update the current shell environment 2021-05-02 22:00.50 ---> saved as "3485889251816aee355cde4625eca2e34b4fe4ab3aaf20c2b7260b920b94e65d" Job succeeded