Building on cree.ocamllabs.io (from ocaml/opam:debian-unstable@sha256:286b1a07f166d69599599e77d36ff670e397cb189a08f108911b5151b4668ce1) 2022-06-03 11:31.50 ---> using "47ed2e5e0feee1987ba23dd55270cc6ad201fc29c17004e34e901e030428f794" 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")) 2022-06-03 11:31.50 ---> using "4a75653e8e13af1975fafc6190bea646f6c5227de6a31d9a10c263381aa24cc1" 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 acdf0fda43c6ad752dca7fbab614d7a45df50538")) 2022-06-03 11:31.50 ---> using "e017e24311b2d1facae68aa054d4808ac0fd85da474fe18b5feb752a484a7401" 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. 2022-06-03 11:31.50 ---> using "fe4ab29b581b2ba4fc496c6fcd5cd0653b4902fb6da880b540dae71463661523" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '4.04' '4.04.2'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.04.2"} | "ocaml-system" {= "4.04.2"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> retrieved ocaml-base-compiler.4.04.2 (https://github.com/ocaml/ocaml/archive/4.04.2.tar.gz) -> installed ocaml-base-compiler.4.04.2 -> installed ocaml-config.1 -> installed ocaml.4.04.2 Done. # Run eval $(opam env --switch=4.04) to update the current shell environment 2022-06-03 11:31.50 ---> using "dccf2e5b70077141c4a54778dbb0523d108453799747a0fbdb548d999bfaab87" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [165 kB] - Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-06-02-2003.50-F-2022-06-01-1416.25.pdiff [73.9 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-06-02-2003.50-F-2022-06-01-1416.25.pdiff [73.9 kB] - Fetched 303 kB in 2s (169 kB/s) - Reading package lists... - 2022-06-03 11:31.50 ---> using "2c1ce7ca747275be5f1bb8639a0f838109cfcaadfc7119a7aefcc41233d8db99" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install -y ocaml-secondary-compiler")) The following actions will be performed: === install 1 package - install ocaml-secondary-compiler 4.08.1-1 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocaml-secondary-compiler.4.08.1-1 (cached) -> installed ocaml-secondary-compiler.4.08.1-1 Done. # Run eval $(opam env) to update the current shell environment 2022-06-03 11:31.50 ---> using "69f0cade8561e757821644a7f873ab92e56b5110600ef785dacd4455a3f785b3" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"mlgmpidl.1.2.10\"\ \nopam install -vy \"mlgmpidl.1.2.10\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"mlgmpidl.1.2.10\" | 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] mlgmpidl.1.2.10 is not installed. Nothing to do. The following actions will be performed: === install 7 packages - install camlidl 1.09 [required by mlgmpidl] - install conf-gmp 4 [required by mlgmpidl] - install conf-mpfr 3 [required by mlgmpidl] - install conf-perl 2 [required by mlgmpidl] - install conf-pkg-config 2 [required by conf-mpfr] - install mlgmpidl 1.2.10 - install ocamlfind 1.9.3 [required by mlgmpidl] The following system packages will first need to be installed: libgmp-dev libmpfr-dev pkg-config <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> opam believes some required external dependencies are missing. opam can: > 1. Run apt-get to install them (may need root/sudo access) 2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal) 3. Attempt installation anyway, and 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" "libgmp-dev" "libmpfr-dev" "pkg-config" - debconf: delaying package configuration, since apt-utils is not installed - 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 ... 18687 files and directories currently installed.) - Preparing to unpack .../0-libglib2.0-0_2.72.1-1_amd64.deb ... - Unpacking libglib2.0-0:amd64 (2.72.1-1) ... - Selecting previously unselected package libglib2.0-data. - Preparing to unpack .../1-libglib2.0-data_2.72.1-1_all.deb ... - Unpacking libglib2.0-data (2.72.1-1) ... - Selecting previously unselected package libgmpxx4ldbl:amd64. - Preparing to unpack .../2-libgmpxx4ldbl_2%3a6.2.1+dfsg-3_amd64.deb ... - Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg-3) ... - Selecting previously unselected package libgmp-dev:amd64. - Preparing to unpack .../3-libgmp-dev_2%3a6.2.1+dfsg-3_amd64.deb ... - Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg-3) ... - Selecting previously unselected package libicu71:amd64. - Preparing to unpack .../4-libicu71_71.1-3_amd64.deb ... - Unpacking libicu71:amd64 (71.1-3) ... - Selecting previously unselected package libmpfr-dev:amd64. - Preparing to unpack .../5-libmpfr-dev_4.1.0-3_amd64.deb ... - Unpacking libmpfr-dev:amd64 (4.1.0-3) ... - Selecting previously unselected package libxml2:amd64. - Preparing to unpack .../6-libxml2_2.9.14+dfsg-1_amd64.deb ... - Unpacking libxml2:amd64 (2.9.14+dfsg-1) ... - Selecting previously unselected package pkg-config. - Preparing to unpack .../7-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 .../8-shared-mime-info_2.2-1_amd64.deb ... - Unpacking shared-mime-info (2.2-1) ... - Selecting previously unselected package xdg-user-dirs. - Preparing to unpack .../9-xdg-user-dirs_0.17-2_amd64.deb ... - Unpacking xdg-user-dirs (0.17-2) ... - Setting up libicu71:amd64 (71.1-3) ... - Setting up xdg-user-dirs (0.17-2) ... - Setting up libglib2.0-0:amd64 (2.72.1-1) ... - No schema files found: doing nothing. - Setting up libglib2.0-data (2.72.1-1) ... - Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg-3) ... - Setting up pkg-config (0.29.2-1) ... - Setting up libxml2:amd64 (2.9.14+dfsg-1) ... - Setting up libgmp-dev:amd64 (2:6.2.1+dfsg-3) ... - Setting up libmpfr-dev:amd64 (4.1.0-3) ... - Setting up shared-mime-info (2.2-1) ... - Processing triggers for libc-bin (2.33-7) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/21: Processing 2/21: Processing 3/21: Processing 4/21: Processing 5/21: Processing 6/21: [mlgmpidl.1.2.10: http] Processing 7/21: [mlgmpidl.1.2.10: http] Processing 8/21: [mlgmpidl.1.2.10: http] [conf-gmp: sh] Processing 9/21: [mlgmpidl.1.2.10: http] [conf-gmp: sh] [conf-perl: perl] Processing 10/21: [mlgmpidl.1.2.10: http] [conf-gmp: sh] [conf-perl: perl] [conf-pkg-config: pkg-config] -> retrieved camlidl.1.09 (cached) Processing 11/21: [mlgmpidl.1.2.10: http] [camlidl: mv] [conf-gmp: sh] [conf-perl: perl] [conf-pkg-config: pkg-config] -> retrieved ocamlfind.1.9.3 (cached) Processing 12/21: [mlgmpidl.1.2.10: http] [camlidl: mv] [conf-gmp: sh] [conf-perl: perl] [conf-pkg-config: pkg-config] [ocamlfind: ./configure] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "sh" "-exc" "cc -c $CFLAGS -I/usr/local/include test.c" (CWD=/home/opam/.opam/4.04/.opam-switch/build/conf-gmp.4) - + cc -c -I/usr/local/include test.c -> compiled conf-gmp.4 Processing 12/21: [mlgmpidl.1.2.10: http] [camlidl: mv] [conf-perl: perl] [conf-pkg-config: pkg-config] [ocamlfind: ./configure] -> installed conf-gmp.4 Processing 13/21: [mlgmpidl.1.2.10: http] [camlidl: mv] [conf-perl: perl] [conf-pkg-config: pkg-config] [ocamlfind: ./configure] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "perl" "--version" (CWD=/home/opam/.opam/4.04/.opam-switch/build/conf-perl.2) - - This is perl 5, version 34, subversion 0 (v5.34.0) built for x86_64-linux-gnu-thread-multi - (with 51 registered patches, see perl -V for more detail) - - Copyright 1987-2021, Larry Wall - - Perl may be copied only under the terms of either the Artistic License or the - GNU General Public License, which may be found in the Perl 5 source kit. - - Complete documentation for Perl, including FAQ lists, should be found on - this system using "man perl" or "perldoc perl". If you have access to the - Internet, point your browser at http://www.perl.org/, the Perl Home Page. - -> compiled conf-perl.2 Processing 13/21: [mlgmpidl.1.2.10: http] [camlidl: mv] [conf-pkg-config: pkg-config] [ocamlfind: ./configure] -> installed conf-perl.2 Processing 14/21: [mlgmpidl.1.2.10: http] [camlidl: mv] [conf-pkg-config: pkg-config] [ocamlfind: ./configure] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "pkg-config" "--help" (CWD=/home/opam/.opam/4.04/.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 - -> compiled conf-pkg-config.2 Processing 14/21: [mlgmpidl.1.2.10: http] [camlidl: mv] [ocamlfind: ./configure] Processing 15/21: [mlgmpidl.1.2.10: http] [camlidl: mv] [ocamlfind: ./configure] [conf-pkg-config: mkdir] Processing 15/21: [camlidl: mv] [ocamlfind: ./configure] [conf-pkg-config: mkdir] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "mv" "config/Makefile.unix" "config/Makefile" (CWD=/home/opam/.opam/4.04/.opam-switch/build/camlidl.1.09) Processing 15/21: [camlidl: make all] [ocamlfind: ./configure] [conf-pkg-config: mkdir] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "-bindir" "/home/opam/.opam/4.04/bin" "-sitelib" "/home/opam/.opam/4.04/lib" "-mandir" "/home/opam/.opam/4.04/man" "-config" "/home/opam/.opam/4.04/lib/findlib.conf" "-no-custom" "-no-camlp4" (CWD=/home/opam/.opam/4.04/.opam-switch/build/ocamlfind.1.9.3) - Welcome to findlib version 1.9.3 - 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: found - num: found - ocamlbuild: not present (normal since 4.03) - ocamldoc: found - raw_spacetime: found - 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 graphics written to site-lib-src/graphics/META - Configuration for num written to site-lib-src/num/META - Configuration for num-top written to site-lib-src/num-top/META - Configuration for ocamldoc written to site-lib-src/ocamldoc/META - Configuration for raw_spacetime written to site-lib-src/raw_spacetime/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.04/lib/ocaml - Binaries: /home/opam/.opam/4.04/bin - Manual pages: /home/opam/.opam/4.04/man - Multi-threading type: posix - The directory of site-specific packages will be - site-lib: /home/opam/.opam/4.04/lib - The configuration file is written to: - findlib config file: /home/opam/.opam/4.04/lib/findlib.conf - Software will be installed: - Libraries: in <site-lib>/findlib - Binaries: /home/opam/.opam/4.04/bin - Manual pages: /home/opam/.opam/4.04/man - topfind script: /home/opam/.opam/4.04/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 15/21: [camlidl: make all] [ocamlfind: make all] [conf-pkg-config: mkdir] -> retrieved mlgmpidl.1.2.10 (https://github.com/nberth/mlgmpidl/archive/1.2.10.tar.gz) + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "mkdir" "-p" "/home/opam/.opam/4.04/lib/pkgconfig" (CWD=/home/opam/.opam/4.04/.opam-switch/build/conf-pkg-config.2) -> installed conf-pkg-config.2 Processing 15/21: [camlidl: make all] [ocamlfind: make all] Processing 16/21: [camlidl: make all] [conf-mpfr: sh pkg-config --print-errors --exists mpfr || cc test.c -lgmp -lmpfr] [ocamlfind: make all] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "sh" "-exc" "pkg-config --print-errors --exists mpfr || cc test.c -lgmp -lmpfr" (CWD=/home/opam/.opam/4.04/.opam-switch/build/conf-mpfr.3) - + pkg-config --print-errors --exists mpfr -> compiled conf-mpfr.3 Processing 16/21: [camlidl: make all] [ocamlfind: make all] -> installed conf-mpfr.3 Processing 17/21: [camlidl: make all] [ocamlfind: make all] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "all" (CWD=/home/opam/.opam/4.04/.opam-switch/build/ocamlfind.1.9.3) - for p in findlib; do ( cd src/$p; make all ) || exit; done - make[1]: Entering directory '/home/opam/.opam/4.04/.opam-switch/build/ocamlfind.1.9.3/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.04/lib/findlib.conf' | \ - ../../tools/patch '@STDLIB@' '/home/opam/.opam/4.04/lib/ocaml' | \ - sed -e 's;@AUTOLINK@;true;g' \ - -e 's;@SYSTEM@;linux;g' \ - >findlib_config.ml - if [ "true" = "true" ]; then \ - cp topfind.ml.in topfind.ml; \ - else \ - sed -e '/PPXOPT_BEGIN/,/PPXOPT_END/ d' topfind.ml.in \ - > topfind.ml ; \ - fi - ocamldep *.ml *.mli >depend - ocamlc -I +compiler-libs -opaque -g -c findlib_config.ml - ocamlc -I +compiler-libs -opaque -g -c fl_split.ml - ocamlc -I +compiler-libs -opaque -g -c fl_metatoken.ml - ocamlc -I +compiler-libs -opaque -g -c fl_meta.ml - ocamlc -I +compiler-libs -opaque -c fl_metascanner.mli - ocamlc -I +compiler-libs -opaque -g -c fl_metascanner.ml - ocamlc -I +compiler-libs -opaque -c fl_topo.mli - ocamlc -I +compiler-libs -opaque -g -c fl_topo.ml - ocamlc -I +compiler-libs -opaque -c fl_package_base.mli - ocamlc -I +compiler-libs -opaque -g -c fl_package_base.ml - ocamlc -I +compiler-libs -opaque -c findlib.mli - ocamlc -I +compiler-libs -opaque -g -c findlib.ml - ocamlc -I +compiler-libs -opaque -g -c fl_args.ml - ocamlc -I +compiler-libs -opaque -g -c fl_lint.ml - ocamlc -I +compiler-libs -a -o findlib.cma findlib_config.cmo fl_split.cmo fl_metatoken.cmo fl_meta.cmo fl_metascanner.cmo fl_topo.cmo fl_package_base.cmo findlib.cmo fl_args.cmo fl_lint.cmo - ocamlc -I +compiler-libs -opaque -g -c ocaml_args.ml - ocamlc -I +compiler-libs -opaque -g -c frontend.ml - ocamlc -I +compiler-libs -o ocamlfind -g findlib.cma unix.cma \ - ocaml_args.cmo frontend.cmo - ocamlc -I +compiler-libs -opaque -c topfind.mli - ocamlc -I +compiler-libs -opaque -g -c topfind.ml - ocamlc -I +compiler-libs -a -o findlib_top.cma topfind.cmo - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat topfind_rd1.p | \ - ../../tools/patch '@SITELIB@' '/home/opam/.opam/4.04/lib' \ - >topfind - ocamlc -I +compiler-libs -opaque -c num_top_printers.mli - ocamlc -I +compiler-libs -opaque -g -c num_top_printers.ml - ocamlc -I +compiler-libs -opaque -c num_top.mli - ocamlc -I +compiler-libs -opaque -g -c num_top.ml - ocamlc -I +compiler-libs -a -o num_top.cma num_top_printers.cmo num_top.cmo - 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.04/.opam-switch/build/ocamlfind.1.9.3/src/findlib' - make all-config - make[1]: Entering directory '/home/opam/.opam/4.04/.opam-switch/build/ocamlfind.1.9.3' - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat findlib.conf.in | \ - tools/patch '@SITELIB@' '/home/opam/.opam/4.04/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.04/.opam-switch/build/ocamlfind.1.9.3' Processing 17/21: [camlidl: make all] [ocamlfind: make opt] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "all" (CWD=/home/opam/.opam/4.04/.opam-switch/build/camlidl.1.09) - cd compiler; make all - make[1]: Entering directory '/home/opam/.opam/4.04/.opam-switch/build/camlidl.1.09/compiler' - rm -f config.ml - sed -e 's|%%CPP%%|cpp|' \ - config.mlp > config.ml - chmod -w config.ml - ocamlc -g -c config.mli - ocamlc -g -c config.ml - ocamlc -g -c utils.mli - ocamlc -g -c utils.ml - ocamlc -g -c clflags.ml - ocamlc -g -c idltypes.mli - ocamlc -g -c prefix.mli - ocamlc -g -c prefix.ml - ocamlc -g -c lexpr.mli - ocamlc -g -c lexpr.ml - ocamlc -g -c cvttyp.mli - ocamlc -g -c cvttyp.ml - ocamlc -g -c variables.mli - ocamlc -g -c variables.ml - ocamlc -g -c idlarray.mli - ocamlc -g -c idlarray.ml - ocamlc -g -c struct.mli - ocamlc -g -c struct.ml - ocamlc -g -c enum.mli - ocamlc -g -c enum.ml - ocamlc -g -c union.mli - ocamlc -g -c union.ml - ocamlc -g -c cvtval.mli - ocamlc -g -c cvtval.ml - ocamlc -g -c structdecl.mli - ocamlc -g -c structdecl.ml - ocamlc -g -c enumdecl.mli - ocamlc -g -c enumdecl.ml - ocamlc -g -c uniondecl.mli - ocamlc -g -c uniondecl.ml - ocamlc -g -c typedef.mli - ocamlc -g -c typedef.ml - ocamlc -g -c funct.mli - ocamlc -g -c funct.ml - ocamlc -g -c constdecl.mli - ocamlc -g -c constdecl.ml - ocamlc -g -c intf.mli - ocamlc -g -c intf.ml - ocamlc -g -c file.mli - ocamlc -g -c file.ml - ocamlc -g -c predef.mli - ocamlc -g -c predef.ml - ocamllex linenum.mll - 16 states, 331 transitions, table size 1420 bytes - ocamlc -g -c linenum.mli - ocamlc -g -c linenum.ml - ocamlc -g -c parse_aux.mli - ocamlc -g -c parse_aux.ml - ocamlyacc -v parser_midl.mly - 12 shift/reduce conflicts, 4 reduce/reduce conflicts. - ocamlc -g -c parser_midl.mli - ocamlc -g -c parser_midl.ml - ocamllex lexer_midl.mll - 129 states, 1747 transitions, table size 7762 bytes - ocamlc -g -c lexer_midl.mli - ocamlc -g -c lexer_midl.ml - ocamlc -g -c parse.mli - ocamlc -g -c parse.ml - ocamlc -g -c fixlabels.mli - ocamlc -g -c fixlabels.ml - ocamlc -g -c normalize.mli - ocamlc -g -c normalize.ml - ocamlc -g -c main.ml - ocamlc -g -o camlidl config.cmo utils.cmo clflags.cmo prefix.cmo lexpr.cmo cvttyp.cmo variables.cmo idlarray.cmo struct.cmo enum.cmo union.cmo cvtval.cmo structdecl.cmo enumdecl.cmo uniondecl.cmo typedef.cmo funct.cmo constdecl.cmo intf.cmo file.cmo predef.cmo linenum.cmo parse_aux.cmo parser_midl.cmo lexer_midl.cmo parse.cmo fixlabels.cmo normalize.cmo main.cmo - make[1]: Leaving directory '/home/opam/.opam/4.04/.opam-switch/build/camlidl.1.09/compiler' - cd runtime; make all - make[1]: Entering directory '/home/opam/.opam/4.04/.opam-switch/build/camlidl.1.09/runtime' - ocamlc -g -ccopt "-Wall -g" idlalloc.c - ocamlc -g -ccopt "-Wall -g" comintf.c - ocamlc -g -ccopt "-Wall -g" comerror.c - rm -f dllcamlidl.so - ocamlmklib -o camlidl idlalloc.o comintf.o comerror.o - make[1]: Leaving directory '/home/opam/.opam/4.04/.opam-switch/build/camlidl.1.09/runtime' - cd lib; make all - make[1]: Entering directory '/home/opam/.opam/4.04/.opam-switch/build/camlidl.1.09/lib' - ocamlc -g -c com.mli - ocamlc -g -c com.ml - ocamlc -g -a -o com.cma -dllib -lcamlidl -cclib -lcamlidl com.cmo - ocamlopt -c com.ml - ocamlopt -a -o com.cmxa -cclib -lcamlidl com.cmx - make[1]: Leaving directory '/home/opam/.opam/4.04/.opam-switch/build/camlidl.1.09/lib' - cd tools; make all - make[1]: Entering directory '/home/opam/.opam/4.04/.opam-switch/build/camlidl.1.09/tools' - make[1]: Nothing to be done for 'all'. - make[1]: Leaving directory '/home/opam/.opam/4.04/.opam-switch/build/camlidl.1.09/tools' -> compiled camlidl.1.09 Processing 17/21: [ocamlfind: make opt] -> installed camlidl.1.09 Processing 18/21: [ocamlfind: make opt] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "opt" (CWD=/home/opam/.opam/4.04/.opam-switch/build/ocamlfind.1.9.3) - for p in findlib; do ( cd src/$p; make opt ) || exit; done - make[1]: Entering directory '/home/opam/.opam/4.04/.opam-switch/build/ocamlfind.1.9.3/src/findlib' - ocamlopt -I +compiler-libs -g -opaque -c findlib_config.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_split.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_metatoken.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_meta.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_metascanner.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_topo.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_package_base.ml - ocamlopt -I +compiler-libs -g -opaque -c findlib.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_args.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_lint.ml - ocamlopt -I +compiler-libs -g -a -o findlib.cmxa findlib_config.cmx fl_split.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx - if [ 1 -gt 0 ]; then \ - ocamlopt -I +compiler-libs -g -shared -o findlib.cmxs findlib_config.cmx fl_split.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx; \ - fi - ocamlopt -I +compiler-libs -g -opaque -c ocaml_args.ml - ocamlopt -I +compiler-libs -g -opaque -c frontend.ml - ocamlopt -I +compiler-libs -g -o ocamlfind_opt findlib.cmxa unix.cmxa \ - ocaml_args.cmx frontend.cmx - ocamlopt -I +compiler-libs -g -opaque -c topfind.ml - File "_none_", line 1: - Warning 58: no cmx file was found in path for module Topdirs, and its interface was not compiled with -opaque - File "_none_", line 1: - Warning 58: 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.04/.opam-switch/build/ocamlfind.1.9.3/src/findlib' -> compiled ocamlfind.1.9.3 Processing 19/21: [ocamlfind: make install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/4.04/.opam-switch/build/ocamlfind.1.9.3) - if [ "1" -eq 1 ]; then \ - for x in camlp4 dbm graphics labltk num ocamlbuild; do \ - if [ -f "/home/opam/.opam/4.04/lib/$x/META" ]; then \ - if ! grep -Fq '[distributed with Ocaml]' "//home/opam/.opam/4.04/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.04/bin" - mkdir -p "/home/opam/.opam/4.04/man" - make install-config - make[1]: Entering directory '/home/opam/.opam/4.04/.opam-switch/build/ocamlfind.1.9.3' - mkdir -p "`dirname \"/home/opam/.opam/4.04/lib/findlib.conf\"`" - test -f "/home/opam/.opam/4.04/lib/findlib.conf" || cp findlib.conf "/home/opam/.opam/4.04/lib/findlib.conf" - make[1]: Leaving directory '/home/opam/.opam/4.04/.opam-switch/build/ocamlfind.1.9.3' - for p in findlib; do ( cd src/$p; make install ); done - make[1]: Entering directory '/home/opam/.opam/4.04/.opam-switch/build/ocamlfind.1.9.3/src/findlib' - mkdir -p "/home/opam/.opam/4.04/lib/findlib" - mkdir -p "/home/opam/.opam/4.04/bin" - test 1 -eq 0 || cp topfind "/home/opam/.opam/4.04/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` && \ - cp $files "/home/opam/.opam/4.04/lib/findlib" - f="ocamlfind"; { test -f ocamlfind_opt && f="ocamlfind_opt"; }; \ - cp $f "/home/opam/.opam/4.04/bin/ocamlfind" - # the following "if" block is only needed for 4.00beta2 - if [ 1 -eq 0 -a -f "/home/opam/.opam/4.04/lib/ocaml/compiler-libs/topdirs.cmi" ]; then \ - cd "/home/opam/.opam/4.04/lib/ocaml/compiler-libs/"; \ - cp topdirs.cmi toploop.cmi "/home/opam/.opam/4.04/lib/findlib/"; \ - fi - make[1]: Leaving directory '/home/opam/.opam/4.04/.opam-switch/build/ocamlfind.1.9.3/src/findlib' - make install-meta - make[1]: Entering directory '/home/opam/.opam/4.04/.opam-switch/build/ocamlfind.1.9.3' - for x in bigarray bytes compiler-libs dynlink graphics num num-top ocamldoc raw_spacetime stdlib str threads unix ; do mkdir -p "/home/opam/.opam/4.04/lib/$x"; cp site-lib-src/$x/META "/home/opam/.opam/4.04/lib/$x/META.tmp" && mv "/home/opam/.opam/4.04/lib/$x/META.tmp" "/home/opam/.opam/4.04/lib/$x/META"; done - mkdir -p "/home/opam/.opam/4.04/lib/findlib"; cp Makefile.packages "/home/opam/.opam/4.04/lib/findlib/Makefile.packages" - make[1]: Leaving directory '/home/opam/.opam/4.04/.opam-switch/build/ocamlfind.1.9.3' - test ! -f 'site-lib-src/num-top/META' || { cd src/findlib; make install-num-top; } - make[1]: Entering directory '/home/opam/.opam/4.04/.opam-switch/build/ocamlfind.1.9.3/src/findlib' - mkdir -p "/home/opam/.opam/4.04/lib/num-top" - cp num_top.cma num_top.cmi num_top_printers.cmi \ - "/home/opam/.opam/4.04/lib/num-top" - make[1]: Leaving directory '/home/opam/.opam/4.04/.opam-switch/build/ocamlfind.1.9.3/src/findlib' - test ! -f 'site-lib-src/camlp4/META' || cp tools/safe_camlp4 "/home/opam/.opam/4.04/bin" - make install-doc - make[1]: Entering directory '/home/opam/.opam/4.04/.opam-switch/build/ocamlfind.1.9.3' - mkdir -p "/home/opam/.opam/4.04/man/man1" "/home/opam/.opam/4.04/man/man3" "/home/opam/.opam/4.04/man/man5" - cp doc/ref-man/ocamlfind.1 "/home/opam/.opam/4.04/man/man1" - cp doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 "/home/opam/.opam/4.04/man/man5" - make[1]: Leaving directory '/home/opam/.opam/4.04/.opam-switch/build/ocamlfind.1.9.3' -> installed ocamlfind.1.9.3 Processing 20/21: [mlgmpidl: sh] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "sh" "./configure" (CWD=/home/opam/.opam/4.04/.opam-switch/build/mlgmpidl.1.2.10) - checking compilation with cc : working - checking compilation with cc -Wcast-qual: working - checking compilation with cc -Wswitch: working - checking compilation with cc -Wall: working - checking compilation with cc -Wextra: working - checking compilation with cc -Wundef: working - checking compilation with cc -Wcast-align: working - checking compilation with cc -Wno-unused: working - checking compilation with cc -Wno-unused-parameter: working - checking compilation with cc -Wno-unused-function: working - checking compilation with cc -fPIC: working - checking compilation with cc -Werror-implicit-function-declaration: working - checking compilation with cc -Wbad-function-cast: working - checking compilation with cc -Wstrict-prototypes: working - checking compilation with cc -std=c99: working - binary ar: found in /usr/bin - binary ranlib: found in /usr/bin - binary sed: found in /bin - binary perl: found in /usr/bin - binary install: found in /usr/bin - looking for gmp without prefix - include gmp.h: found - library gmp: found - library gmp found without prefix - looking for mpfr without prefix - include mpfr.h: found - library mpfr: found - library mpfr found without prefix - binary ocamlc.opt: found in /home/opam/.opam/4.04/bin - binary ocamlopt.opt: found in /home/opam/.opam/4.04/bin - binary ocamldep: found in /home/opam/.opam/4.04/bin - binary ocamldoc: found in /home/opam/.opam/4.04/bin - binary ocamlmktop: found in /home/opam/.opam/4.04/bin - binary ocamlmklib: found in /home/opam/.opam/4.04/bin - binary camlidl: found in /home/opam/.opam/4.04/bin - binary ocamlfind: found in /home/opam/.opam/4.04/bin - ocamlfind: Package `gmp' not found - include caml/mlvalues.h: found - include caml/camlidlruntime.h: found - checking whether to enable profiling: supported - profiling flags provided by the ocaml system: -pg - checking compilation with cc -pg: - working - finding extension for dynamic libraries: .so - - detected configuration: - - OCaml version 4.04.2 - optional OCamlFind support 1 - optional native plugins 1 - optional profiling version 1 - - installation path /home/opam/.opam/4.04/lib/ocaml - Processing 20/21: [mlgmpidl: make] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" (CWD=/home/opam/.opam/4.04/.opam-switch/build/mlgmpidl.1.2.10) - tmpdir=$(mktemp -d tmp.XXXXXX); \ - trap "rm -rf ${tmpdir};" EXIT QUIT INT; \ - { cp mpz.idl ${tmpdir}/mpz.idl; \ - /home/opam/.opam/4.04/bin/camlidl -no-include -prepro cpp ${tmpdir}/mpz.idl; \ - /usr/bin/perl perlscript_c.pl < ${tmpdir}/mpz_stubs.c >mpz_caml.c; \ - /usr/bin/perl perlscript_caml.pl < ${tmpdir}/mpz.ml >mpz.ml; \ - /usr/bin/perl perlscript_caml.pl < ${tmpdir}/mpz.mli >mpz.mli; } - /home/opam/.opam/4.04/bin/ocamlfind ocamlc -package "bigarray" -annot -g -c mpz.mli - tmpdir=$(mktemp -d tmp.XXXXXX); \ - trap "rm -rf ${tmpdir};" EXIT QUIT INT; \ - { cp mpq.idl ${tmpdir}/mpq.idl; \ - /home/opam/.opam/4.04/bin/camlidl -no-include -prepro cpp ${tmpdir}/mpq.idl; \ - /usr/bin/perl perlscript_c.pl < ${tmpdir}/mpq_stubs.c >mpq_caml.c; \ - /usr/bin/perl perlscript_caml.pl < ${tmpdir}/mpq.ml >mpq.ml; \ - /usr/bin/perl perlscript_caml.pl < ${tmpdir}/mpq.mli >mpq.mli; } - /home/opam/.opam/4.04/bin/ocamlfind ocamlc -package "bigarray" -annot -g -c mpq.mli - tmpdir=$(mktemp -d tmp.XXXXXX); \ - trap "rm -rf ${tmpdir};" EXIT QUIT INT; \ - { cp mpf.idl ${tmpdir}/mpf.idl; \ - /home/opam/.opam/4.04/bin/camlidl -no-include -prepro cpp ${tmpdir}/mpf.idl; \ - /usr/bin/perl perlscript_c.pl < ${tmpdir}/mpf_stubs.c >mpf_caml.c; \ - /usr/bin/perl perlscript_caml.pl < ${tmpdir}/mpf.ml >mpf.ml; \ - /usr/bin/perl perlscript_caml.pl < ${tmpdir}/mpf.mli >mpf.mli; } - /home/opam/.opam/4.04/bin/ocamlfind ocamlc -package "bigarray" -annot -g -c mpf.mli - tmpdir=$(mktemp -d tmp.XXXXXX); \ - trap "rm -rf ${tmpdir};" EXIT QUIT INT; \ - { cp mpfr.idl ${tmpdir}/mpfr.idl; \ - /home/opam/.opam/4.04/bin/camlidl -no-include -prepro cpp ${tmpdir}/mpfr.idl; \ - /usr/bin/perl perlscript_c.pl < ${tmpdir}/mpfr_stubs.c >mpfr_caml.c; \ - /usr/bin/perl perlscript_caml.pl < ${tmpdir}/mpfr.ml >mpfr.ml; \ - /usr/bin/perl perlscript_caml.pl < ${tmpdir}/mpfr.mli >mpfr.mli; } - /home/opam/.opam/4.04/bin/ocamlfind ocamlc -package "bigarray" -annot -g -c mpfr.mli - tmpdir=$(mktemp -d tmp.XXXXXX); \ - trap "rm -rf ${tmpdir};" EXIT QUIT INT; \ - { cp gmp_random.idl ${tmpdir}/gmp_random.idl; \ - /home/opam/.opam/4.04/bin/camlidl -no-include -prepro cpp ${tmpdir}/gmp_random.idl; \ - /usr/bin/perl perlscript_c.pl < ${tmpdir}/gmp_random_stubs.c >gmp_random_caml.c; \ - /usr/bin/perl perlscript_caml.pl < ${tmpdir}/gmp_random.ml >gmp_random.ml; \ - /usr/bin/perl perlscript_caml.pl < ${tmpdir}/gmp_random.mli >gmp_random.mli; } - /home/opam/.opam/4.04/bin/ocamlfind ocamlc -package "bigarray" -annot -g -c gmp_random.mli - /home/opam/.opam/4.04/bin/ocamlfind ocamlc -package "bigarray" -annot -g -c mpzf.mli - /home/opam/.opam/4.04/bin/ocamlfind ocamlc -package "bigarray" -annot -g -c mpqf.mli - /home/opam/.opam/4.04/bin/ocamlfind ocamlc -package "bigarray" -annot -g -c mpfrf.mli - /home/opam/.opam/4.04/bin/ocamlfind ocamlc -package "bigarray" -annot -g -c mpz.ml - /home/opam/.opam/4.04/bin/ocamlfind ocamlc -package "bigarray" -annot -g -c mpq.ml - /home/opam/.opam/4.04/bin/ocamlfind ocamlc -package "bigarray" -annot -g -c mpf.ml - /home/opam/.opam/4.04/bin/ocamlfind ocamlc -package "bigarray" -annot -g -c mpfr.ml - /home/opam/.opam/4.04/bin/ocamlfind ocamlc -package "bigarray" -annot -g -c gmp_random.ml - /home/opam/.opam/4.04/bin/ocamlfind ocamlc -package "bigarray" -annot -g -c mpzf.ml - /home/opam/.opam/4.04/bin/ocamlfind ocamlc -package "bigarray" -annot -g -c mpqf.ml - /home/opam/.opam/4.04/bin/ocamlfind ocamlc -package "bigarray" -annot -g -c mpfrf.ml - /home/opam/.opam/4.04/bin/ocamlfind ocamlopt -package "bigarray" -ccopt -U__STRICT_ANSI__ -ccopt -UNDEBUG -ccopt -O0 -ccopt -g -ccopt -Wcast-qual -ccopt -Wswitch -ccopt -Wall -ccopt -Wextra -ccopt -Wundef -ccopt -Wcast-align -ccopt -Wno-unused -ccopt -Wno-unused-parameter -ccopt -Wno-unused-function -ccopt -fPIC -ccopt -Werror-implicit-function-declaration -ccopt -Wbad-function-cast -ccopt -Wstrict-prototypes -ccopt -std=c99 -ccopt -I/home/opam/.opam/4.04/lib/ocaml -ccopt -I/home/opam/.opam/4.04/lib/camlidl -g -c -o mpz_caml.o mpz_caml.c - /home/opam/.opam/4.04/bin/ocamlfind ocamlopt -package "bigarray" -ccopt -U__STRICT_ANSI__ -ccopt -UNDEBUG -ccopt -O0 -ccopt -g -ccopt -Wcast-qual -ccopt -Wswitch -ccopt -Wall -ccopt -Wextra -ccopt -Wundef -ccopt -Wcast-align -ccopt -Wno-unused -ccopt -Wno-unused-parameter -ccopt -Wno-unused-function -ccopt -fPIC -ccopt -Werror-implicit-function-declaration -ccopt -Wbad-function-cast -ccopt -Wstrict-prototypes -ccopt -std=c99 -ccopt -I/home/opam/.opam/4.04/lib/ocaml -ccopt -I/home/opam/.opam/4.04/lib/camlidl -g -c -o mpq_caml.o mpq_caml.c - mpq_caml.c: In function 'camlidl_mpq_mpq_mul_2exp': - mpq_caml.c:345:1: warning: this 'else' clause does not guard... [-Wmisleading-indentation] - 345 | else - | ^~~~ - mpq_caml.c:349:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' - 349 | camlidl_free(_ctx); - | ^~~~~~~~~~~~ - mpq_caml.c: In function 'camlidl_mpq_mpq_div': - mpq_caml.c:383:1: warning: this 'else' clause does not guard... [-Wmisleading-indentation] - 383 | else - | ^~~~ - mpq_caml.c:387:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' - 387 | camlidl_free(_ctx); - | ^~~~~~~~~~~~ - mpq_caml.c: In function 'camlidl_mpq_mpq_div_2exp': - mpq_caml.c:408:1: warning: this 'else' clause does not guard... [-Wmisleading-indentation] - 408 | else - | ^~~~ - mpq_caml.c:412:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' - 412 | camlidl_free(_ctx); - | ^~~~~~~~~~~~ - mpq_caml.c: In function 'camlidl_mpq_mpq_inv': - mpq_caml.c:462:1: warning: this 'else' clause does not guard... [-Wmisleading-indentation] - 462 | else - | ^~~~ - mpq_caml.c:466:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' - 466 | camlidl_free(_ctx); - | ^~~~~~~~~~~~ - /home/opam/.opam/4.04/bin/ocamlfind ocamlopt -package "bigarray" -ccopt -U__STRICT_ANSI__ -ccopt -UNDEBUG -ccopt -O0 -ccopt -g -ccopt -Wcast-qual -ccopt -Wswitch -ccopt -Wall -ccopt -Wextra -ccopt -Wundef -ccopt -Wcast-align -ccopt -Wno-unused -ccopt -Wno-unused-parameter -ccopt -Wno-unused-function -ccopt -fPIC -ccopt -Werror-implicit-function-declaration -ccopt -Wbad-function-cast -ccopt -Wstrict-prototypes -ccopt -std=c99 -ccopt -I/home/opam/.opam/4.04/lib/ocaml -ccopt -I/home/opam/.opam/4.04/lib/camlidl -g -c -o mpf_caml.o mpf_caml.c - /home/opam/.opam/4.04/bin/ocamlfind ocamlopt -package "bigarray" -ccopt -U__STRICT_ANSI__ -ccopt -UNDEBUG -ccopt -O0 -ccopt -g -ccopt -Wcast-qual -ccopt -Wswitch -ccopt -Wall -ccopt -Wextra -ccopt -Wundef -ccopt -Wcast-align -ccopt -Wno-unused -ccopt -Wno-unused-parameter -ccopt -Wno-unused-function -ccopt -fPIC -ccopt -Werror-implicit-function-declaration -ccopt -Wbad-function-cast -ccopt -Wstrict-prototypes -ccopt -std=c99 -ccopt -I/home/opam/.opam/4.04/lib/ocaml -ccopt -I/home/opam/.opam/4.04/lib/camlidl -g -c -o mpfr_caml.o mpfr_caml.c - mpfr_caml.c: In function 'camlidl_mpfr_mpfr_root': - mpfr_caml.c:1885:3: warning: 'mpfr_root' is deprecated [-Wdeprecated-declarations] - 1885 | _res = mpfr_root(ROP, OP1, OP2, RND); - | ^~~~ - In file included from gmp_caml.h:16, - from mpfr_caml.c:20: - /usr/include/mpfr.h:727:21: note: declared here - 727 | __MPFR_DECLSPEC int mpfr_root (mpfr_ptr, mpfr_srcptr, unsigned long, - | ^~~~~~~~~ - /home/opam/.opam/4.04/bin/ocamlfind ocamlopt -package "bigarray" -ccopt -U__STRICT_ANSI__ -ccopt -UNDEBUG -ccopt -O0 -ccopt -g -ccopt -Wcast-qual -ccopt -Wswitch -ccopt -Wall -ccopt -Wextra -ccopt -Wundef -ccopt -Wcast-align -ccopt -Wno-unused -ccopt -Wno-unused-parameter -ccopt -Wno-unused-function -ccopt -fPIC -ccopt -Werror-implicit-function-declaration -ccopt -Wbad-function-cast -ccopt -Wstrict-prototypes -ccopt -std=c99 -ccopt -I/home/opam/.opam/4.04/lib/ocaml -ccopt -I/home/opam/.opam/4.04/lib/camlidl -g -c -o gmp_random_caml.o gmp_random_caml.c - /home/opam/.opam/4.04/bin/ocamlfind ocamlopt -package "bigarray" -ccopt -U__STRICT_ANSI__ -ccopt -UNDEBUG -ccopt -O0 -ccopt -g -ccopt -Wcast-qual -ccopt -Wswitch -ccopt -Wall -ccopt -Wextra -ccopt -Wundef -ccopt -Wcast-align -ccopt -Wno-unused -ccopt -Wno-unused-parameter -ccopt -Wno-unused-function -ccopt -fPIC -ccopt -Werror-implicit-function-declaration -ccopt -Wbad-function-cast -ccopt -Wstrict-prototypes -ccopt -std=c99 -ccopt -I/home/opam/.opam/4.04/lib/ocaml -ccopt -I/home/opam/.opam/4.04/lib/camlidl -g -c -o gmp_caml.o gmp_caml.c - gmp_caml.c: In function 'camlidl_custom_mpq_hash': - gmp_caml.c:115:31: warning: taking the absolute value of unsigned type 'long unsigned int' has no effect [-Wabsolute-value] - 115 | else hash = ((unsigned long)labs(num)<den ? den/num : num/den); - | ^~~~ - /home/opam/.opam/4.04/bin/ocamlmklib -oc gmp_caml mpz_caml.o mpq_caml.o mpf_caml.o mpfr_caml.o gmp_random_caml.o gmp_caml.o -L/home/opam/.opam/4.04/lib/ocaml -L/home/opam/.opam/4.04/lib/ocaml/stublibs -L/home/opam/.opam/4.04/lib/camlidl -lmpfr -lgmp -lcamlidl - /home/opam/.opam/4.04/bin/ocamlmklib -oc gmp_caml.p mpz_caml.o mpq_caml.o mpf_caml.o mpfr_caml.o gmp_random_caml.o gmp_caml.o -L/home/opam/.opam/4.04/lib/ocaml -L/home/opam/.opam/4.04/lib/ocaml/stublibs -L/home/opam/.opam/4.04/lib/camlidl -lmpfr -lgmp -lcamlidl - /home/opam/.opam/4.04/bin/ocamlfind ocamlc -package "bigarray" -annot -g -a -o gmp.cma mpz.cmo mpq.cmo mpf.cmo mpfr.cmo gmp_random.cmo mpzf.cmo mpqf.cmo mpfrf.cmo \ - -dllib -lgmp_caml -ccopt -L/home/opam/.opam/4.04/lib/stublibs -ccopt -L/home/opam/.opam/4.04/lib/gmp -ccopt " -L/home/opam/.opam/4.04/lib/ocaml -L/home/opam/.opam/4.04/lib/ocaml/stublibs -L/home/opam/.opam/4.04/lib/camlidl -lmpfr -lgmp -lcamlidl" -ccopt -L/home/opam/.opam/4.04/lib/ocaml -ccopt -L/home/opam/.opam/4.04/lib/camlidl -cclib -lmpfr -cclib -lgmp -cclib -lcamlidl - /home/opam/.opam/4.04/bin/ocamlfind ocamlopt -package "bigarray" -annot -inline 20 -c mpz.ml - /home/opam/.opam/4.04/bin/ocamlfind ocamlopt -package "bigarray" -annot -inline 20 -c mpq.ml - /home/opam/.opam/4.04/bin/ocamlfind ocamlopt -package "bigarray" -annot -inline 20 -c mpf.ml - /home/opam/.opam/4.04/bin/ocamlfind ocamlopt -package "bigarray" -annot -inline 20 -c mpfr.ml - /home/opam/.opam/4.04/bin/ocamlfind ocamlopt -package "bigarray" -annot -inline 20 -c gmp_random.ml - /home/opam/.opam/4.04/bin/ocamlfind ocamlopt -package "bigarray" -annot -inline 20 -c mpzf.ml - /home/opam/.opam/4.04/bin/ocamlfind ocamlopt -package "bigarray" -annot -inline 20 -c mpqf.ml - /home/opam/.opam/4.04/bin/ocamlfind ocamlopt -package "bigarray" -annot -inline 20 -c mpfrf.ml - /home/opam/.opam/4.04/bin/ocamlfind ocamlopt -package "bigarray" -annot -inline 20 -a -o gmp.cmxa mpz.cmx mpq.cmx mpf.cmx mpfr.cmx gmp_random.cmx mpzf.cmx mpqf.cmx mpfrf.cmx \ - -cclib -lgmp_caml -ccopt -L/home/opam/.opam/4.04/lib/stublibs -ccopt -L/home/opam/.opam/4.04/lib/gmp -ccopt " -L/home/opam/.opam/4.04/lib/ocaml -L/home/opam/.opam/4.04/lib/ocaml/stublibs -L/home/opam/.opam/4.04/lib/camlidl -lmpfr -lgmp -lcamlidl" -ccopt -L/home/opam/.opam/4.04/lib/ocaml -ccopt -L/home/opam/.opam/4.04/lib/camlidl -cclib -lmpfr -cclib -lgmp -cclib -lcamlidl - /home/opam/.opam/4.04/bin/ocamlfind ocamlopt -package "bigarray" -annot -inline 20 -linkall -shared -o gmp.cmxs -I . gmp.cmxa - /home/opam/.opam/4.04/bin/ocamlfind ocamlopt -package "bigarray" -p -annot -inline 20 -c -o mpz.p.cmx mpz.ml - /home/opam/.opam/4.04/bin/ocamlfind ocamlopt -package "bigarray" -p -annot -inline 20 -c -o mpq.p.cmx mpq.ml - /home/opam/.opam/4.04/bin/ocamlfind ocamlopt -package "bigarray" -p -annot -inline 20 -c -o mpf.p.cmx mpf.ml - /home/opam/.opam/4.04/bin/ocamlfind ocamlopt -package "bigarray" -p -annot -inline 20 -c -o mpfr.p.cmx mpfr.ml - /home/opam/.opam/4.04/bin/ocamlfind ocamlopt -package "bigarray" -p -annot -inline 20 -c -o gmp_random.p.cmx gmp_random.ml - /home/opam/.opam/4.04/bin/ocamlfind ocamlopt -package "bigarray" -p -annot -inline 20 -c -o mpzf.p.cmx mpzf.ml - /home/opam/.opam/4.04/bin/ocamlfind ocamlopt -package "bigarray" -p -annot -inline 20 -c -o mpqf.p.cmx mpqf.ml - /home/opam/.opam/4.04/bin/ocamlfind ocamlopt -package "bigarray" -p -annot -inline 20 -c -o mpfrf.p.cmx mpfrf.ml - /home/opam/.opam/4.04/bin/ocamlfind ocamlopt -package "bigarray" -p -annot -inline 20 -a -o gmp.p.cmxa mpz.p.cmx mpq.p.cmx mpf.p.cmx mpfr.p.cmx gmp_random.p.cmx mpzf.p.cmx mpqf.p.cmx mpfrf.p.cmx \ - -cclib -lgmp_caml.p -ccopt -L/home/opam/.opam/4.04/lib/stublibs -ccopt -L/home/opam/.opam/4.04/lib/gmp -ccopt " -L/home/opam/.opam/4.04/lib/ocaml -L/home/opam/.opam/4.04/lib/ocaml/stublibs -L/home/opam/.opam/4.04/lib/camlidl -lmpfr -lgmp -lcamlidl" -ccopt -L/home/opam/.opam/4.04/lib/ocaml -ccopt -L/home/opam/.opam/4.04/lib/camlidl -cclib -lmpfr -cclib -lgmp -cclib -lcamlidl - rm mpq_caml.o mpz_caml.o mpfr_caml.o gmp_caml.o mpf_caml.o gmp_random_caml.o -> compiled mlgmpidl.1.2.10 Processing 21/21: [mlgmpidl: make install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/4.04/.opam-switch/build/mlgmpidl.1.2.10) - /bin/rm -f META - echo "description = \"OCaml Interface to GMP and MPFR libraries\"" >META - echo "version = \"1.2.10\"" >>META - echo "requires = \"bigarray\"" >>META - echo "archive(byte) = \"gmp.cma\"" >>META - echo "archive(byte,plugin) = \"gmp.cma\"" >>META - echo "archive(native) = \"gmp.cmxa\"" >>META - echo "archive(native,plugin) = \"gmp.cmxs\"" >>META - echo "archive(native,gprof) = \"gmp.p.cmxa\"" >>META - /home/opam/.opam/4.04/bin/ocamlfind remove gmp - ocamlfind: [WARNING] No such file: /home/opam/.opam/4.04/lib/gmp/META - /home/opam/.opam/4.04/bin/ocamlfind install gmp META gmp_caml.h mpz.idl mpq.idl mpf.idl mpfr.idl gmp_random.idl mpz.ml mpq.ml mpf.ml mpfr.ml gmp_random.ml mpzf.ml mpqf.ml mpfrf.ml mpz.mli mpq.mli mpf.mli mpfr.mli gmp_random.mli mpzf.mli mpqf.mli mpfrf.mli mpz.cmi mpq.cmi mpf.cmi mpfr.cmi gmp_random.cmi mpzf.cmi mpqf.cmi mpfrf.cmi gmp.cma mpz.cmx mpq.cmx mpf.cmx mpfr.cmx gmp_random.cmx mpzf.cmx mpqf.cmx mpfrf.cmx gmp.cmxa gmp.a mpz.p.cmx mpq.p.cmx mpf.p.cmx mpfr.p.cmx gmp_random.p.cmx mpzf.p.cmx mpqf.p.cmx mpfrf.p.cmx gmp.p.cmxa gmp.p.a gmp.cmxs libgmp_caml.a libgmp_caml.p.a dllgmp_caml.so - Installed /home/opam/.opam/4.04/lib/gmp/libgmp_caml.p.a - Installed /home/opam/.opam/4.04/lib/gmp/libgmp_caml.a - Installed /home/opam/.opam/4.04/lib/gmp/gmp.cmxs - Installed /home/opam/.opam/4.04/lib/gmp/gmp.p.a - Installed /home/opam/.opam/4.04/lib/gmp/gmp.p.cmxa - Installed /home/opam/.opam/4.04/lib/gmp/mpfrf.p.cmx - Installed /home/opam/.opam/4.04/lib/gmp/mpqf.p.cmx - Installed /home/opam/.opam/4.04/lib/gmp/mpzf.p.cmx - Installed /home/opam/.opam/4.04/lib/gmp/gmp_random.p.cmx - Installed /home/opam/.opam/4.04/lib/gmp/mpfr.p.cmx - Installed /home/opam/.opam/4.04/lib/gmp/mpf.p.cmx - Installed /home/opam/.opam/4.04/lib/gmp/mpq.p.cmx - Installed /home/opam/.opam/4.04/lib/gmp/mpz.p.cmx - Installed /home/opam/.opam/4.04/lib/gmp/gmp.a - Installed /home/opam/.opam/4.04/lib/gmp/gmp.cmxa - Installed /home/opam/.opam/4.04/lib/gmp/mpfrf.cmx - Installed /home/opam/.opam/4.04/lib/gmp/mpqf.cmx - Installed /home/opam/.opam/4.04/lib/gmp/mpzf.cmx - Installed /home/opam/.opam/4.04/lib/gmp/gmp_random.cmx - Installed /home/opam/.opam/4.04/lib/gmp/mpfr.cmx - Installed /home/opam/.opam/4.04/lib/gmp/mpf.cmx - Installed /home/opam/.opam/4.04/lib/gmp/mpq.cmx - Installed /home/opam/.opam/4.04/lib/gmp/mpz.cmx - Installed /home/opam/.opam/4.04/lib/gmp/gmp.cma - Installed /home/opam/.opam/4.04/lib/gmp/mpfrf.cmi - Installed /home/opam/.opam/4.04/lib/gmp/mpqf.cmi - Installed /home/opam/.opam/4.04/lib/gmp/mpzf.cmi - Installed /home/opam/.opam/4.04/lib/gmp/gmp_random.cmi - Installed /home/opam/.opam/4.04/lib/gmp/mpfr.cmi - Installed /home/opam/.opam/4.04/lib/gmp/mpf.cmi - Installed /home/opam/.opam/4.04/lib/gmp/mpq.cmi - Installed /home/opam/.opam/4.04/lib/gmp/mpz.cmi - Installed /home/opam/.opam/4.04/lib/gmp/mpfrf.mli - Installed /home/opam/.opam/4.04/lib/gmp/mpqf.mli - Installed /home/opam/.opam/4.04/lib/gmp/mpzf.mli - Installed /home/opam/.opam/4.04/lib/gmp/gmp_random.mli - Installed /home/opam/.opam/4.04/lib/gmp/mpfr.mli - Installed /home/opam/.opam/4.04/lib/gmp/mpf.mli - Installed /home/opam/.opam/4.04/lib/gmp/mpq.mli - Installed /home/opam/.opam/4.04/lib/gmp/mpz.mli - Installed /home/opam/.opam/4.04/lib/gmp/mpfrf.ml - Installed /home/opam/.opam/4.04/lib/gmp/mpqf.ml - Installed /home/opam/.opam/4.04/lib/gmp/mpzf.ml - Installed /home/opam/.opam/4.04/lib/gmp/gmp_random.ml - Installed /home/opam/.opam/4.04/lib/gmp/mpfr.ml - Installed /home/opam/.opam/4.04/lib/gmp/mpf.ml - Installed /home/opam/.opam/4.04/lib/gmp/mpq.ml - Installed /home/opam/.opam/4.04/lib/gmp/mpz.ml - Installed /home/opam/.opam/4.04/lib/gmp/gmp_random.idl - Installed /home/opam/.opam/4.04/lib/gmp/mpfr.idl - Installed /home/opam/.opam/4.04/lib/gmp/mpf.idl - Installed /home/opam/.opam/4.04/lib/gmp/mpq.idl - Installed /home/opam/.opam/4.04/lib/gmp/mpz.idl - Installed /home/opam/.opam/4.04/lib/gmp/gmp_caml.h - Installed /home/opam/.opam/4.04/lib/stublibs/dllgmp_caml.so - Installed /home/opam/.opam/4.04/lib/stublibs/dllgmp_caml.so.owner - ocamlfind: [WARNING] You have installed DLLs but the directory /home/opam/.opam/4.04/lib/stublibs is not mentioned in ld.conf - Installed /home/opam/.opam/4.04/lib/gmp/META -> installed mlgmpidl.1.2.10 Done. # Run eval $(opam env) to update the current shell environment 2022-06-03 11:32.21 ---> saved as "7144c5b687b348df8ce8364231cfbc42cdf905bc3ca3a87f348c49bc69b985d1" Job succeeded