Building on x86-bm-10.ocamllabs.io (from ocaml/opam:debian-unstable@sha256:a59c08d2fe55bc0ee92a97b004206ab89a8dd5cacadd8528a0d0e9b978dcba1a) Unable to find image 'ocaml/opam:debian-unstable@sha256:a59c08d2fe55bc0ee92a97b004206ab89a8dd5cacadd8528a0d0e9b978dcba1a' locally docker.io/ocaml/opam@sha256:a59c08d2fe55bc0ee92a97b004206ab89a8dd5cacadd8528a0d0e9b978dcba1a: Pulling from ocaml/opam d94e46e039c4: Pulling fs layer d94e46e039c4: Verifying Checksum d94e46e039c4: Download complete d94e46e039c4: Pull complete Digest: sha256:a59c08d2fe55bc0ee92a97b004206ab89a8dd5cacadd8528a0d0e9b978dcba1a Status: Downloaded newer image for ocaml/opam@sha256:a59c08d2fe55bc0ee92a97b004206ab89a8dd5cacadd8528a0d0e9b978dcba1a 2022-11-03 12:56.14 ---> using "6615d3400d8dabf8928c82fbcb18e477501a38f64d3b1412a91a4e86499e265b" 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-11-03 12:56.14 ---> using "c909a0ff168e383d01aa2cb84f3e6cbc7a0c470ffe3d07946f43f83d47cc9bfa" 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 94675aaefe68e1e4a4ad959d88dd65afa3a9ed3d")) 2022-11-03 12:56.14 ---> using "5315c90a66cfce3be1f8ac668b7f4445c317bfeb4b1de04fe278a4bdf33753ae" 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-11-03 12:56.14 ---> using "f46d72ea67943cab7c832114e4ca486dbfd4f12ff8812515d1a06b3a229da8ee" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '4.02' '4.02.3'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.02.3"} | "ocaml-system" {= "4.02.3"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> retrieved ocaml-base-compiler.4.02.3 (https://github.com/ocaml/ocaml/archive/4.02.3.tar.gz) -> installed ocaml-base-compiler.4.02.3 -> installed ocaml-config.1 -> installed ocaml.4.02.3 -> installed base-ocamlbuild.base Done. # Run eval $(opam env --switch=4.02) to update the current shell environment 2022-11-03 12:56.14 ---> using "4ac736f96a6c3e966ef66027093806c0cca756fde9b37837067c0a7417a38a73" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [161 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-11-02-0803.40-F-2022-11-01-2004.36.pdiff [67.9 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-11-02-0803.40-F-2022-11-01-2004.36.pdiff [67.9 kB] - Fetched 293 kB in 3s (99.7 kB/s) - Reading package lists... - 2022-11-03 12:56.14 ---> using "cc09b92701025e5e16deed9026eb8cc9839ed6a4a23843ef1a14079f748c55ef" 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-11-03 12:56.14 ---> using "ea40892209b3cfb57105ba96605e8f529ea1ae20c3626023303ca17e634b99c7" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"mlgmpidl.1.2.4\"\ \nopam install -vy \"mlgmpidl.1.2.4\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"mlgmpidl.1.2.4\" | 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")) Nothing to do. [NOTE] mlgmpidl.1.2.4 is not installed. The following actions will be performed: === install 6 packages - install camlidl 1.05 [required by mlgmpidl] - install conf-gmp 4 [required by mlgmpidl] - install conf-mpfr 3 [required by mlgmpidl] - install conf-pkg-config 2 [required by conf-mpfr] - install mlgmpidl 1.2.4 - install ocamlfind 1.9.5 [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 ... 19051 files and directories currently installed.) - Preparing to unpack .../0-libglib2.0-0_2.74.1-1_amd64.deb ... - Unpacking libglib2.0-0:amd64 (2.74.1-1) ... - Selecting previously unselected package libglib2.0-data. - Preparing to unpack .../1-libglib2.0-data_2.74.1-1_all.deb ... - Unpacking libglib2.0-data (2.74.1-1) ... - Selecting previously unselected package libgmpxx4ldbl:amd64. - Preparing to unpack .../2-libgmpxx4ldbl_2%3a6.2.1+dfsg1-1.1_amd64.deb ... - Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ... - Selecting previously unselected package libgmp-dev:amd64. - Preparing to unpack .../3-libgmp-dev_2%3a6.2.1+dfsg1-1.1_amd64.deb ... - Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ... - 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.1_amd64.deb ... - Unpacking libxml2:amd64 (2.9.14+dfsg-1.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.18-1_amd64.deb ... - Unpacking xdg-user-dirs (0.18-1) ... - Setting up libicu71:amd64 (71.1-3) ... - Setting up xdg-user-dirs (0.18-1) ... - Setting up libglib2.0-0:amd64 (2.74.1-1) ... - No schema files found: doing nothing. - Setting up libglib2.0-data (2.74.1-1) ... - Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ... - Setting up pkg-config (0.29.2-1) ... - Setting up libxml2:amd64 (2.9.14+dfsg-1.1) ... - Setting up libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ... - Setting up libmpfr-dev:amd64 (4.1.0-3) ... - Setting up shared-mime-info (2.2-1) ... - Processing triggers for libc-bin (2.35-4) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/18: Processing 2/18: Processing 3/18: Processing 4/18: Processing 5/18: [mlgmpidl.1.2.4: http] Processing 6/18: [mlgmpidl.1.2.4: http] Processing 7/18: [mlgmpidl.1.2.4: http] [conf-gmp: sh] Processing 8/18: [mlgmpidl.1.2.4: http] [conf-gmp: sh] [conf-pkg-config: pkg-config] -> retrieved camlidl.1.05 (cached) [camlidl: patch] applying cpp-location.diff Processing 9/18: [mlgmpidl.1.2.4: http] [camlidl: patch] [conf-gmp: sh] [conf-pkg-config: pkg-config] -> retrieved ocamlfind.1.9.5 (cached) [ocamlfind: patch] applying 0001-Fix-bug-when-installing-with-a-system-compiler.patch Processing 10/18: [mlgmpidl.1.2.4: http] [camlidl: patch] [conf-gmp: sh] [conf-pkg-config: pkg-config] [ocamlfind: patch] [camlidl: patch] applying build-dll.diff Processing 10/18: [mlgmpidl.1.2.4: http] [camlidl: patch] [conf-gmp: sh] [conf-pkg-config: pkg-config] [ocamlfind: ./configure] Processing 10/18: [mlgmpidl.1.2.4: http] [camlidl: mv] [conf-gmp: sh] [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.02/.opam-switch/build/conf-gmp.4) - + cc -c -I/usr/local/include test.c -> compiled conf-gmp.4 Processing 10/18: [mlgmpidl.1.2.4: http] [camlidl: mv] [conf-pkg-config: pkg-config] [ocamlfind: ./configure] -> installed conf-gmp.4 Processing 11/18: [mlgmpidl.1.2.4: 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.02/.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 11/18: [mlgmpidl.1.2.4: http] [camlidl: mv] [ocamlfind: ./configure] Processing 12/18: [mlgmpidl.1.2.4: http] [camlidl: mv] [ocamlfind: ./configure] [conf-pkg-config: mkdir] Processing 12/18: [camlidl: mv] [ocamlfind: ./configure] [conf-pkg-config: mkdir] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "-bindir" "/home/opam/.opam/4.02/bin" "-sitelib" "/home/opam/.opam/4.02/lib" "-mandir" "/home/opam/.opam/4.02/man" "-config" "/home/opam/.opam/4.02/lib/findlib.conf" "-no-custom" "-no-camlp4" (CWD=/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5) - Welcome to findlib version 1.9.5 - 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 - dynlink: found - bigarray: found - compiler-libs: found - dbm: not present (normal since 4.00) - graphics: found - num: found - ocamlbuild: found (in +ocamlbuild) - ocamldoc: found (in +ocamldoc) - raw_spacetime: not present (normal since 4.12) - threads: found (in +threads) - runtime_events: not present - str: found - labltk: not present (normal since 4.02) - native dynlink: found - camlp4: disabled - bytes: found, installing fake library - Configuration for stdlib written to site-lib-src/stdlib/META - Configuration for unix written to site-lib-src/unix/META - Configuration for dynlink written to site-lib-src/dynlink/META - Configuration for bigarray written to site-lib-src/bigarray/META - Configuration for compiler-libs written to site-lib-src/compiler-libs/META - Configuration for 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 ocamlbuild written to site-lib-src/ocamlbuild/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.02/lib/ocaml - Binaries: /home/opam/.opam/4.02/bin - Manual pages: /home/opam/.opam/4.02/man - Multi-threading type: posix - The directory of site-specific packages will be - site-lib: /home/opam/.opam/4.02/lib - The configuration file is written to: - findlib config file: /home/opam/.opam/4.02/lib/findlib.conf - Software will be installed: - Libraries: in <site-lib>/findlib - Binaries: /home/opam/.opam/4.02/bin - Manual pages: /home/opam/.opam/4.02/man - topfind script: /home/opam/.opam/4.02/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 12/18: [camlidl: mv] [ocamlfind: make all] [conf-pkg-config: mkdir] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "mv" "config/Makefile.unix" "config/Makefile" (CWD=/home/opam/.opam/4.02/.opam-switch/build/camlidl.1.05) Processing 12/18: [camlidl: make all] [ocamlfind: make all] [conf-pkg-config: mkdir] -> retrieved mlgmpidl.1.2.4 (https://github.com/nberth/mlgmpidl/archive/1.2.4.tar.gz) + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "mkdir" "-p" "/home/opam/.opam/4.02/lib/pkgconfig" (CWD=/home/opam/.opam/4.02/.opam-switch/build/conf-pkg-config.2) -> installed conf-pkg-config.2 Processing 12/18: [camlidl: make all] [ocamlfind: make all] Processing 13/18: [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.02/.opam-switch/build/conf-mpfr.3) - + pkg-config --print-errors --exists mpfr -> compiled conf-mpfr.3 Processing 13/18: [camlidl: make all] [ocamlfind: make all] -> installed conf-mpfr.3 Processing 14/18: [camlidl: make all] [ocamlfind: make all] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "all" (CWD=/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5) - for p in findlib; do ( cd src/$p; make all ) || exit; done - make[1]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5/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.02/lib/findlib.conf' | \ - ../../tools/patch '@STDLIB@' '/home/opam/.opam/4.02/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 -I +unix -I +dynlink -g -c findlib_config.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_split.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_metatoken.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_meta.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -c fl_metascanner.mli - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_metascanner.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -c fl_topo.mli - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_topo.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -c fl_package_base.mli - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_package_base.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -c findlib.mli - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c findlib.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_args.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_lint.ml - ocamlc -I +compiler-libs -a -o findlib.cma findlib_config.cmo fl_split.cmo fl_metatoken.cmo fl_meta.cmo fl_metascanner.cmo fl_topo.cmo fl_package_base.cmo findlib.cmo fl_args.cmo fl_lint.cmo - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c ocaml_args.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c frontend.ml - ocamlc -I +compiler-libs -o ocamlfind -g findlib.cma unix.cma \ - -I +unix -I +dynlink ocaml_args.cmo frontend.cmo - ocamlc -I +compiler-libs -I +unix -I +dynlink -c topfind.mli - ocamlc -I +compiler-libs -I +unix -I +dynlink -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.02/lib' \ - >topfind - ocamlc -I +compiler-libs -I +unix -I +dynlink -c num_top_printers.mli - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c num_top_printers.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -c num_top.mli - ocamlc -I +compiler-libs -I +unix -I +dynlink -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 -I +unix -I +dynlink -c fl_dynload.mli - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_dynload.ml - ocamlc -I +compiler-libs -a -o findlib_dynload.cma fl_dynload.cmo - make[1]: Leaving directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5/src/findlib' - make all-config - make[1]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5' - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat findlib.conf.in | \ - tools/patch '@SITELIB@' '/home/opam/.opam/4.02/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.02/.opam-switch/build/ocamlfind.1.9.5' Processing 14/18: [camlidl: make all] [ocamlfind: make opt] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "all" (CWD=/home/opam/.opam/4.02/.opam-switch/build/camlidl.1.05) - cd compiler; make all - make[1]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/camlidl.1.05/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 - File "utils.ml", line 51, characters 15-28: - Warning 3: deprecated: String.create - Use Bytes.create instead. - 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 - File "lexpr.ml", line 268, characters 10-16: - Warning 26: unused variable trail'. - ocamlc -g -c cvttyp.mli - ocamlc -g -c cvttyp.ml - ocamlc -g -c variables.mli - ocamlc -g -c variables.ml - ocamlc -g -c array.mli - ocamlc -g -c array.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 - File "constdecl.ml", line 36, characters 4-24: - Warning 26: unused variable ty. - ocamlc -g -c intf.mli - ocamlc -g -c intf.ml - File "intf.ml", line 312, characters 12-16: - Warning 26: unused variable outs. - File "intf.ml", line 312, characters 7-10: - Warning 26: unused variable ins. - 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 - File "parse_aux.ml", line 167, characters 23-54: - Warning 23: all the fields are explicitly listed in this record: - the 'with' clause is useless. - File "parse_aux.ml", line 169, characters 42-74: - Warning 23: all the fields are explicitly listed in this record: - the 'with' clause is useless. - File "parse_aux.ml", line 171, characters 22-47: - Warning 23: all the fields are explicitly listed in this record: - the 'with' clause is useless. - ocamlyacc -v parser_midl.mly - 12 shift/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 array.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 - File "array.cmo", line 1: - Warning 31: files array.cmo and /home/opam/.opam/4.02/lib/ocaml/stdlib.cma(Array) both define a module named Array - make[1]: Leaving directory '/home/opam/.opam/4.02/.opam-switch/build/camlidl.1.05/compiler' - cd runtime; make all - make[1]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/camlidl.1.05/runtime' - ocamlc -g -ccopt "-Wall -g" idlalloc.c - ocamlc -g -ccopt "-Wall -g" comintf.c - ocamlc -g -ccopt "-Wall -g" comerror.c - comerror.c: In function 'camlidl_error': - comerror.c:52:8: warning: unused variable 'msg' [-Wunused-variable] - 52 | char msg[1024]; - | ^~~ - In file included from /home/opam/.opam/4.02/lib/ocaml/caml/mlvalues.h:18, - from comerror.c:20: - comerror.c: In function 'camlidl_uncaught_exception': - /home/opam/.opam/4.02/lib/ocaml/caml/compatibility.h:249:31: warning: implicit declaration of function 'caml_format_exception'; did you mean 'camlidl_result_exception'? [-Wimplicit-function-declaration] - 249 | #define format_caml_exception caml_format_exception /*SP*/ - | ^~~~~~~~~~~~~~~~~~~~~ - comerror.c:171:16: note: in expansion of macro 'format_caml_exception' - 171 | char * msg = format_caml_exception(exn_bucket); - | ^~~~~~~~~~~~~~~~~~~~~ - /home/opam/.opam/4.02/lib/ocaml/caml/compatibility.h:249:31: warning: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 249 | #define format_caml_exception caml_format_exception /*SP*/ - | ^~~~~~~~~~~~~~~~~~~~~ - comerror.c:171:16: note: in expansion of macro 'format_caml_exception' - 171 | char * msg = format_caml_exception(exn_bucket); - | ^~~~~~~~~~~~~~~~~~~~~ - rm -f dllcamlidl.so - ocamlmklib -o camlidl idlalloc.o comintf.o comerror.o - make[1]: Leaving directory '/home/opam/.opam/4.02/.opam-switch/build/camlidl.1.05/runtime' - cd lib; make all - make[1]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/camlidl.1.05/lib' - ocamlc -g -c com.mli - ocamlc -g -c com.ml - ocamlc -g -a -o com.cma com.cmo - ocamlopt -c com.ml - ocamlopt -a -o com.cmxa com.cmx - make[1]: Leaving directory '/home/opam/.opam/4.02/.opam-switch/build/camlidl.1.05/lib' - cd tools; make all - make[1]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/camlidl.1.05/tools' - make[1]: Nothing to be done for 'all'. - make[1]: Leaving directory '/home/opam/.opam/4.02/.opam-switch/build/camlidl.1.05/tools' -> compiled camlidl.1.05 Processing 14/18: [ocamlfind: make opt] -> installed camlidl.1.05 Processing 15/18: [ocamlfind: make opt] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "opt" (CWD=/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5) - for p in findlib; do ( cd src/$p; make opt ) || exit; done - make[1]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5/src/findlib' - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c findlib_config.ml - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c fl_split.ml - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c fl_metatoken.ml - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c fl_meta.ml - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c fl_metascanner.ml - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c fl_topo.ml - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c fl_package_base.ml - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c findlib.ml - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c fl_args.ml - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c fl_lint.ml - ocamlopt -I +compiler-libs -g -a -o findlib.cmxa findlib_config.cmx fl_split.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx - if [ 1 -gt 0 ]; then \ - ocamlopt -I +compiler-libs -g -shared -o findlib.cmxs findlib_config.cmx fl_split.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx; \ - fi - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c ocaml_args.ml - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c frontend.ml - ocamlopt -I +compiler-libs -g -o ocamlfind_opt findlib.cmxa unix.cmxa \ - -I +unix -I +dynlink ocaml_args.cmx frontend.cmx - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c topfind.ml - 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 -I +unix -I +dynlink -c fl_dynload.ml - ocamlopt -I +compiler-libs -g -a -o findlib_dynload.cmxa fl_dynload.cmx - if [ 1 -gt 0 ]; then \ - ocamlopt -I +compiler-libs -g -shared -o findlib_dynload.cmxs fl_dynload.cmx; \ - fi - make[1]: Leaving directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5/src/findlib' -> compiled ocamlfind.1.9.5 Processing 16/18: [ocamlfind: make install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5) - if [ "1" -eq 1 ]; then \ - for x in camlp4 dbm graphics labltk num ocamlbuild; do \ - if [ -f "/home/opam/.opam/4.02/lib/$x/META" ]; then \ - if ! grep -Fq '[distributed with Ocaml]' "//home/opam/.opam/4.02/lib/$x/META"; then \ - rm -f site-lib-src/$x/META; \ - fi; \ - fi; \ - done; \ - test -f "site-lib-src/num/META" || rm -f "site-lib-src/num-top/META"; \ - fi - echo 'SITELIB_META =' > Makefile.packages.in - for x in `ls site-lib-src`; do test ! -f "site-lib-src/$x/META" || echo $x >> Makefile.packages.in; done - tr '\n' ' ' < Makefile.packages.in > Makefile.packages - rm Makefile.packages.in - install -d "/home/opam/.opam/4.02/bin" - install -d "/home/opam/.opam/4.02/man" - make install-config - make[1]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5' - install -d "`dirname \"/home/opam/.opam/4.02/lib/findlib.conf\"`" - test -f "/home/opam/.opam/4.02/lib/findlib.conf" || install -c findlib.conf "/home/opam/.opam/4.02/lib/findlib.conf" - make[1]: Leaving directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5' - for p in findlib; do ( cd src/$p; make install ); done - make[1]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5/src/findlib' - install -d "/home/opam/.opam/4.02/lib/findlib" - install -d "/home/opam/.opam/4.02/bin" - test 1 -eq 0 || install -d "/home/opam/.opam/4.02/lib/ocaml" - test 1 -eq 0 || install -c topfind "/home/opam/.opam/4.02/lib/ocaml/" - files=` ../../tools/collect_files ../../Makefile.config \ - findlib.cmi findlib.mli findlib.cma findlib.cmxa findlib.a findlib.cmxs \ - findlib_config.cmi findlib_config.ml topfind.cmi topfind.mli \ - fl_args.cmi fl_lint.cmi fl_meta.cmi fl_split.cmi fl_topo.cmi ocaml_args.cmi \ - fl_package_base.mli fl_package_base.cmi fl_metascanner.mli fl_metascanner.cmi \ - fl_metatoken.cmi findlib_top.cma findlib_top.cmxa findlib_top.a findlib_top.cmxs \ - findlib_dynload.cma findlib_dynload.cmxa findlib_dynload.a findlib_dynload.cmxs fl_dynload.mli fl_dynload.cmi \ - META` && \ - install -c $files "/home/opam/.opam/4.02/lib/findlib/" - f="ocamlfind"; { test -f ocamlfind_opt && f="ocamlfind_opt"; }; \ - install -c $f "/home/opam/.opam/4.02/bin/ocamlfind" - # the following "if" block is only needed for 4.00beta2 - if [ 1 -eq 0 -a -f "/home/opam/.opam/4.02/lib/ocaml/compiler-libs/topdirs.cmi" ]; then \ - cd "/home/opam/.opam/4.02/lib/ocaml/compiler-libs/"; \ - install -c topdirs.cmi toploop.cmi "/home/opam/.opam/4.02/lib/findlib/"; \ - fi - make[1]: Leaving directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5/src/findlib' - make install-meta - make[1]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5' - for x in bigarray bytes compiler-libs dynlink graphics num num-top ocamlbuild ocamldoc stdlib str threads unix ; do install -d "/home/opam/.opam/4.02/lib/$x"; install -c site-lib-src/$x/META "/home/opam/.opam/4.02/lib/$x/META.tmp" && mv "/home/opam/.opam/4.02/lib/$x/META.tmp" "/home/opam/.opam/4.02/lib/$x/META"; done - install -d "/home/opam/.opam/4.02/lib/findlib"; install -c Makefile.packages "/home/opam/.opam/4.02/lib/findlib/Makefile.packages" - make[1]: Leaving directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5' - test ! -f 'site-lib-src/num-top/META' || { cd src/findlib; make install-num-top; } - make[1]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5/src/findlib' - install -d "/home/opam/.opam/4.02/lib/num-top" - install -c num_top.cma num_top.cmi num_top_printers.cmi \ - "/home/opam/.opam/4.02/lib/num-top/" - make[1]: Leaving directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5/src/findlib' - test ! -f 'site-lib-src/camlp4/META' || install -c tools/safe_camlp4 "/home/opam/.opam/4.02/bin" - make install-doc - make[1]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5' - install -d "/home/opam/.opam/4.02/man/man1" "/home/opam/.opam/4.02/man/man3" "/home/opam/.opam/4.02/man/man5" - install -c doc/ref-man/ocamlfind.1 "/home/opam/.opam/4.02/man/man1" - install -c doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 "/home/opam/.opam/4.02/man/man5" - make[1]: Leaving directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5' -> installed ocamlfind.1.9.5 Processing 17/18: [mlgmpidl: ./configure] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" (CWD=/home/opam/.opam/4.02/.opam-switch/build/mlgmpidl.1.2.4) - OCaml version found is 4.02.3: plugins will be built. Processing 17/18: [mlgmpidl: make] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" (CWD=/home/opam/.opam/4.02/.opam-switch/build/mlgmpidl.1.2.4) - mkdir -p tmp; - grep '#define *MPFR_VERSION_MAJOR' /usr/include/mpfr.h > tmp/cpp-defs.h - echo "module mpz"; - module mpz - cp -p mpz.idl tmp/mpz.idl; - camlidl -no-include -prepro "cpp -imacros tmp/cpp-defs.h" -I /home/opam/.opam/4.02/.opam-switch/build/mlgmpidl.1.2.4 tmp/mpz.idl; - sed -f sedscript_c tmp/mpz_stubs.c >mpz_caml.c; - sed -f sedscript_caml tmp/mpz.ml >mpz.ml; - sed -f sedscript_caml tmp/mpz.mli >mpz.mli; - echo "module mpq"; - module mpq - cp -p mpq.idl tmp/mpq.idl; - camlidl -no-include -prepro "cpp -imacros tmp/cpp-defs.h" -I /home/opam/.opam/4.02/.opam-switch/build/mlgmpidl.1.2.4 tmp/mpq.idl; - sed -f sedscript_c tmp/mpq_stubs.c >mpq_caml.c; - sed -f sedscript_caml tmp/mpq.ml >mpq.ml; - sed -f sedscript_caml tmp/mpq.mli >mpq.mli; - echo "module mpf"; - module mpf - cp -p mpf.idl tmp/mpf.idl; - camlidl -no-include -prepro "cpp -imacros tmp/cpp-defs.h" -I /home/opam/.opam/4.02/.opam-switch/build/mlgmpidl.1.2.4 tmp/mpf.idl; - sed -f sedscript_c tmp/mpf_stubs.c >mpf_caml.c; - sed -f sedscript_caml tmp/mpf.ml >mpf.ml; - sed -f sedscript_caml tmp/mpf.mli >mpf.mli; - echo "module mpfr"; - module mpfr - cp -p mpfr.idl tmp/mpfr.idl; - camlidl -no-include -prepro "cpp -imacros tmp/cpp-defs.h" -I /home/opam/.opam/4.02/.opam-switch/build/mlgmpidl.1.2.4 tmp/mpfr.idl; - sed -f sedscript_c tmp/mpfr_stubs.c >mpfr_caml.c; - sed -f sedscript_caml tmp/mpfr.ml >mpfr.ml; - sed -f sedscript_caml tmp/mpfr.mli >mpfr.mli; - echo "module gmp_random"; - module gmp_random - cp -p gmp_random.idl tmp/gmp_random.idl; - camlidl -no-include -prepro "cpp -imacros tmp/cpp-defs.h" -I /home/opam/.opam/4.02/.opam-switch/build/mlgmpidl.1.2.4 tmp/gmp_random.idl; - sed -f sedscript_c tmp/gmp_random_stubs.c >gmp_random_caml.c; - sed -f sedscript_caml tmp/gmp_random.ml >gmp_random.ml; - sed -f sedscript_caml tmp/gmp_random.mli >gmp_random.mli; - ocamldep mpz.mli mpq.mli mpf.mli mpfr.mli gmp_random.mli mpzf.mli mpqf.mli mpfrf.mli mpz.ml mpq.ml mpf.ml mpfr.ml gmp_random.ml mpzf.ml mpqf.ml mpfrf.ml >Makefile.depend - ocamlfind ocamlc -package "bigarray" -annot -g -c mpz.mli - ocamlfind ocamlc -package "bigarray" -annot -g -c mpq.mli - ocamlfind ocamlc -package "bigarray" -annot -g -c mpf.mli - ocamlfind ocamlc -package "bigarray" -annot -g -c mpfr.mli - ocamlfind ocamlc -package "bigarray" -annot -g -c gmp_random.mli - ocamlfind ocamlc -package "bigarray" -annot -g -c mpzf.mli - ocamlfind ocamlc -package "bigarray" -annot -g -c mpqf.mli - ocamlfind ocamlc -package "bigarray" -annot -g -c mpfrf.mli - ocamlfind ocamlc -package "bigarray" -annot -g -c mpz.ml - ocamlfind ocamlc -package "bigarray" -annot -g -c mpq.ml - ocamlfind ocamlc -package "bigarray" -annot -g -c mpf.ml - ocamlfind ocamlc -package "bigarray" -annot -g -c mpfr.ml - File "mpfr.ml", line 551, characters 2-14: - Warning 3: deprecated: String.set - Use Bytes.set instead. - ocamlfind ocamlc -package "bigarray" -annot -g -c gmp_random.ml - ocamlfind ocamlc -package "bigarray" -annot -g -c mpzf.ml - ocamlfind ocamlc -package "bigarray" -annot -g -c mpqf.ml - ocamlfind ocamlc -package "bigarray" -annot -g -c mpfrf.ml - ocamlfind ocamlopt -package "bigarray" -ccopt -Wcast-qual -ccopt -Wswitch -ccopt -Werror-implicit-function-declaration -ccopt -Wall -ccopt -Wextra -ccopt -Wundef -ccopt -Wbad-function-cast -ccopt -Wcast-align -ccopt -Wstrict-prototypes -ccopt -Wno-unused -ccopt -fPIC -ccopt -std=c99 -ccopt -g -ccopt -O0 -ccopt -UNDEBUG -ccopt -I/usr/include -ccopt -I/usr/include -ccopt -I/home/opam/.opam/4.02/lib/ocaml -ccopt -I/home/opam/.opam/4.02/lib/camlidl -g -c -o mpz_caml.o mpz_caml.c - ocamlfind ocamlopt -package "bigarray" -ccopt -Wcast-qual -ccopt -Wswitch -ccopt -Werror-implicit-function-declaration -ccopt -Wall -ccopt -Wextra -ccopt -Wundef -ccopt -Wbad-function-cast -ccopt -Wcast-align -ccopt -Wstrict-prototypes -ccopt -Wno-unused -ccopt -fPIC -ccopt -std=c99 -ccopt -g -ccopt -O0 -ccopt -UNDEBUG -ccopt -I/usr/include -ccopt -I/usr/include -ccopt -I/home/opam/.opam/4.02/lib/ocaml -ccopt -I/home/opam/.opam/4.02/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); - | ^~~~~~~~~~~~ - mpq_caml.c: In function 'camlidl_mpq_mpq_cmp_si': - mpq_caml.c:525:1: warning: this 'else' clause does not guard... [-Wmisleading-indentation] - 525 | else - | ^~~~ - mpq_caml.c:529:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' - 529 | _vres = Val_int(_res); - | ^~~~~ - mpq_caml.c: In function 'camlidl_mpq_mpq_equal': - mpq_caml.c:567:1: warning: this 'else' clause does not guard... [-Wmisleading-indentation] - 567 | else - | ^~~~ - mpq_caml.c:571:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' - 571 | _vres = Val_int(_res); - | ^~~~~ - ocamlfind ocamlopt -package "bigarray" -ccopt -Wcast-qual -ccopt -Wswitch -ccopt -Werror-implicit-function-declaration -ccopt -Wall -ccopt -Wextra -ccopt -Wundef -ccopt -Wbad-function-cast -ccopt -Wcast-align -ccopt -Wstrict-prototypes -ccopt -Wno-unused -ccopt -fPIC -ccopt -std=c99 -ccopt -g -ccopt -O0 -ccopt -UNDEBUG -ccopt -I/usr/include -ccopt -I/usr/include -ccopt -I/home/opam/.opam/4.02/lib/ocaml -ccopt -I/home/opam/.opam/4.02/lib/camlidl -g -c -o mpf_caml.o mpf_caml.c - ocamlfind ocamlopt -package "bigarray" -ccopt -Wcast-qual -ccopt -Wswitch -ccopt -Werror-implicit-function-declaration -ccopt -Wall -ccopt -Wextra -ccopt -Wundef -ccopt -Wbad-function-cast -ccopt -Wcast-align -ccopt -Wstrict-prototypes -ccopt -Wno-unused -ccopt -fPIC -ccopt -std=c99 -ccopt -g -ccopt -O0 -ccopt -UNDEBUG -ccopt -I/usr/include -ccopt -I/usr/include -ccopt -I/home/opam/.opam/4.02/lib/ocaml -ccopt -I/home/opam/.opam/4.02/lib/camlidl -g -c -o mpfr_caml.o mpfr_caml.c - mpfr_caml.c: In function 'camlidl_mpfr_mpfr_set_q': - mpfr_caml.c:468:1: warning: this 'else' clause does not guard... [-Wmisleading-indentation] - 468 | else - | ^~~~ - mpfr_caml.c:472:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' - 472 | _vres = Val_int(_res); - | ^~~~~ - mpfr_caml.c: In function 'camlidl_mpfr_mpfr_init_set_q': - mpfr_caml.c:785:1: warning: this 'else' clause does not guard... [-Wmisleading-indentation] - 785 | else - | ^~~~ - mpfr_caml.c:787:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' - 787 | mpfr_set_inf(OUTOUTOUT,mpq_sgn(OP)); - | ^~~~~~~~~~~~ - In file included from mpfr_caml.c:7: - /home/opam/.opam/4.02/lib/ocaml/caml/mlvalues.h: In function 'camlidl_mpfr_mpfr_set_q': - /home/opam/.opam/4.02/lib/ocaml/caml/mlvalues.h:71:27: warning: '_res' is used uninitialized [-Wuninitialized] - 71 | #define Val_long(x) (((intnat)(x) << 1) + 1) - | ^ - mpfr_caml.c:456:7: note: '_res' was declared here - 456 | int _res; - | ^~~~ - /home/opam/.opam/4.02/lib/ocaml/caml/mlvalues.h: In function 'camlidl_mpfr_mpfr_init_set_q': - /home/opam/.opam/4.02/lib/ocaml/caml/mlvalues.h:71:27: warning: '_res' is used uninitialized [-Wuninitialized] - 71 | #define Val_long(x) (((intnat)(x) << 1) + 1) - | ^ - mpfr_caml.c:773:7: note: '_res' was declared here - 773 | int _res; - | ^~~~ - ocamlfind ocamlopt -package "bigarray" -ccopt -Wcast-qual -ccopt -Wswitch -ccopt -Werror-implicit-function-declaration -ccopt -Wall -ccopt -Wextra -ccopt -Wundef -ccopt -Wbad-function-cast -ccopt -Wcast-align -ccopt -Wstrict-prototypes -ccopt -Wno-unused -ccopt -fPIC -ccopt -std=c99 -ccopt -g -ccopt -O0 -ccopt -UNDEBUG -ccopt -I/usr/include -ccopt -I/usr/include -ccopt -I/home/opam/.opam/4.02/lib/ocaml -ccopt -I/home/opam/.opam/4.02/lib/camlidl -g -c -o gmp_random_caml.o gmp_random_caml.c - ocamlfind ocamlopt -package "bigarray" -ccopt -Wcast-qual -ccopt -Wswitch -ccopt -Werror-implicit-function-declaration -ccopt -Wall -ccopt -Wextra -ccopt -Wundef -ccopt -Wbad-function-cast -ccopt -Wcast-align -ccopt -Wstrict-prototypes -ccopt -Wno-unused -ccopt -fPIC -ccopt -std=c99 -ccopt -g -ccopt -O0 -ccopt -UNDEBUG -ccopt -I/usr/include -ccopt -I/usr/include -ccopt -I/home/opam/.opam/4.02/lib/ocaml -ccopt -I/home/opam/.opam/4.02/lib/camlidl -g -c -o gmp_caml.o gmp_caml.c - gmp_caml.c:61:1: warning: missing initializer for field 'compare_ext' of 'struct custom_operations' [-Wmissing-field-initializers] - 61 | }; - | ^ - In file included from gmp_caml.c:14: - /home/opam/.opam/4.02/lib/ocaml/caml/custom.h:32:9: note: 'compare_ext' declared here - 32 | int (*compare_ext)(value v1, value v2); - | ^~~~~~~~~~~ - gmp_caml.c: In function 'camlidl_custom_mpq_hash': - gmp_caml.c:112:16: warning: taking the absolute value of unsigned type 'long unsigned int' has no effect [-Wabsolute-value] - 112 | else hash = (labs(num)<den ? den/num : num/den); - | ^~~~ - gmp_caml.c: At top level: - gmp_caml.c:123:1: warning: missing initializer for field 'compare_ext' of 'struct custom_operations' [-Wmissing-field-initializers] - 123 | }; - | ^ - /home/opam/.opam/4.02/lib/ocaml/caml/custom.h:32:9: note: 'compare_ext' declared here - 32 | int (*compare_ext)(value v1, value v2); - | ^~~~~~~~~~~ - gmp_caml.c:195:1: warning: missing initializer for field 'compare_ext' of 'struct custom_operations' [-Wmissing-field-initializers] - 195 | }; - | ^ - /home/opam/.opam/4.02/lib/ocaml/caml/custom.h:32:9: note: 'compare_ext' declared here - 32 | int (*compare_ext)(value v1, value v2); - | ^~~~~~~~~~~ - gmp_caml.c:267:1: warning: missing initializer for field 'compare_ext' of 'struct custom_operations' [-Wmissing-field-initializers] - 267 | }; - | ^ - /home/opam/.opam/4.02/lib/ocaml/caml/custom.h:32:9: note: 'compare_ext' declared here - 32 | int (*compare_ext)(value v1, value v2); - | ^~~~~~~~~~~ - gmp_caml.c:304:1: warning: missing initializer for field 'compare_ext' of 'struct custom_operations' [-Wmissing-field-initializers] - 304 | }; - | ^ - /home/opam/.opam/4.02/lib/ocaml/caml/custom.h:32:9: note: 'compare_ext' declared here - 32 | int (*compare_ext)(value v1, value v2); - | ^~~~~~~~~~~ - gmp_caml.c:363:1: warning: missing initializer for field 'compare_ext' of 'struct custom_operations' [-Wmissing-field-initializers] - 363 | }; - | ^ - /home/opam/.opam/4.02/lib/ocaml/caml/custom.h:32:9: note: 'compare_ext' declared here - 32 | int (*compare_ext)(value v1, value v2); - | ^~~~~~~~~~~ - gmp_caml.c:422:1: warning: missing initializer for field 'compare_ext' of 'struct custom_operations' [-Wmissing-field-initializers] - 422 | }; - | ^ - /home/opam/.opam/4.02/lib/ocaml/caml/custom.h:32:9: note: 'compare_ext' declared here - 32 | int (*compare_ext)(value v1, value v2); - | ^~~~~~~~~~~ - gmp_caml.c:458:1: warning: missing initializer for field 'compare_ext' of 'struct custom_operations' [-Wmissing-field-initializers] - 458 | }; - | ^ - /home/opam/.opam/4.02/lib/ocaml/caml/custom.h:32:9: note: 'compare_ext' declared here - 32 | int (*compare_ext)(value v1, value v2); - | ^~~~~~~~~~~ - ocamlmklib -oc gmp_caml mpz_caml.o mpq_caml.o mpf_caml.o mpfr_caml.o gmp_random_caml.o gmp_caml.o -L/usr/lib -L/usr/lib -L/home/opam/.opam/4.02/lib/ocaml -L/home/opam/.opam/4.02/lib/ocaml/stublibs -L/home/opam/.opam/4.02/lib/camlidl -lmpfr -lgmp -lcamlidl - 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/usr/lib -L/usr/lib -L/home/opam/.opam/4.02/lib/ocaml -L/home/opam/.opam/4.02/lib/ocaml/stublibs -L/home/opam/.opam/4.02/lib/camlidl -lmpfr -lgmp -lcamlidl - 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.02/lib/stublibs -ccopt -L/home/opam/.opam/4.02/lib/gmp -ccopt "-L/usr/lib -L/usr/lib -L/home/opam/.opam/4.02/lib/ocaml -L/home/opam/.opam/4.02/lib/ocaml/stublibs -L/home/opam/.opam/4.02/lib/camlidl -lmpfr -lgmp -lcamlidl" -ccopt -L/home/opam/.opam/4.02/lib/camlidl -ccopt -L/home/opam/.opam/4.02/lib/ocaml -ccopt -L/usr/lib -ccopt -L/usr/lib -cclib -lmpfr -cclib -lgmp -cclib -lcamlidl - ocamlfind ocamlopt -package "bigarray" -annot -inline 20 -c mpz.ml - ocamlfind ocamlopt -package "bigarray" -annot -inline 20 -c mpq.ml - ocamlfind ocamlopt -package "bigarray" -annot -inline 20 -c mpf.ml - ocamlfind ocamlopt -package "bigarray" -annot -inline 20 -c mpfr.ml - File "mpfr.ml", line 551, characters 2-14: - Warning 3: deprecated: String.set - Use Bytes.set instead. - ocamlfind ocamlopt -package "bigarray" -annot -inline 20 -c gmp_random.ml - ocamlfind ocamlopt -package "bigarray" -annot -inline 20 -c mpzf.ml - ocamlfind ocamlopt -package "bigarray" -annot -inline 20 -c mpqf.ml - ocamlfind ocamlopt -package "bigarray" -annot -inline 20 -c mpfrf.ml - 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.02/lib/stublibs -ccopt -L/home/opam/.opam/4.02/lib/gmp -ccopt "-L/usr/lib -L/usr/lib -L/home/opam/.opam/4.02/lib/ocaml -L/home/opam/.opam/4.02/lib/ocaml/stublibs -L/home/opam/.opam/4.02/lib/camlidl -lmpfr -lgmp -lcamlidl" -ccopt -L/home/opam/.opam/4.02/lib/camlidl -ccopt -L/home/opam/.opam/4.02/lib/ocaml -ccopt -L/usr/lib -ccopt -L/usr/lib -cclib -lmpfr -cclib -lgmp -cclib -lcamlidl - ocamlfind ocamlopt -package "bigarray" -annot -inline 20 -linkall -shared -o gmp.cmxs -I . gmp.cmxa - ocamlfind ocamlopt -package "bigarray" -p -annot -inline 20 -c -o mpz.p.cmx mpz.ml - ocamlfind ocamlopt -package "bigarray" -p -annot -inline 20 -c -o mpq.p.cmx mpq.ml - ocamlfind ocamlopt -package "bigarray" -p -annot -inline 20 -c -o mpf.p.cmx mpf.ml - ocamlfind ocamlopt -package "bigarray" -p -annot -inline 20 -c -o mpfr.p.cmx mpfr.ml - File "mpfr.ml", line 551, characters 2-14: - Warning 3: deprecated: String.set - Use Bytes.set instead. - ocamlfind ocamlopt -package "bigarray" -p -annot -inline 20 -c -o gmp_random.p.cmx gmp_random.ml - ocamlfind ocamlopt -package "bigarray" -p -annot -inline 20 -c -o mpzf.p.cmx mpzf.ml - ocamlfind ocamlopt -package "bigarray" -p -annot -inline 20 -c -o mpqf.p.cmx mpqf.ml - ocamlfind ocamlopt -package "bigarray" -p -annot -inline 20 -c -o mpfrf.p.cmx mpfrf.ml - 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.02/lib/stublibs -ccopt -L/home/opam/.opam/4.02/lib/gmp -ccopt "-L/usr/lib -L/usr/lib -L/home/opam/.opam/4.02/lib/ocaml -L/home/opam/.opam/4.02/lib/ocaml/stublibs -L/home/opam/.opam/4.02/lib/camlidl -lmpfr -lgmp -lcamlidl" -ccopt -L/home/opam/.opam/4.02/lib/camlidl -ccopt -L/home/opam/.opam/4.02/lib/ocaml -ccopt -L/usr/lib -ccopt -L/usr/lib -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.4 Processing 18/18: [mlgmpidl: make install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/4.02/.opam-switch/build/mlgmpidl.1.2.4) - /bin/rm -f META - echo "description = \"OCaml Interface to GMP and MPFR libraries\"" >META - echo "version = \"1.2.3\"" >>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 - ocamlfind remove gmp - ocamlfind: [WARNING] No such file: /home/opam/.opam/4.02/lib/gmp/META - 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.02/lib/gmp/libgmp_caml.p.a - Installed /home/opam/.opam/4.02/lib/gmp/libgmp_caml.a - Installed /home/opam/.opam/4.02/lib/gmp/gmp.cmxs - Installed /home/opam/.opam/4.02/lib/gmp/gmp.p.a - Installed /home/opam/.opam/4.02/lib/gmp/gmp.p.cmxa - Installed /home/opam/.opam/4.02/lib/gmp/mpfrf.p.cmx - Installed /home/opam/.opam/4.02/lib/gmp/mpqf.p.cmx - Installed /home/opam/.opam/4.02/lib/gmp/mpzf.p.cmx - Installed /home/opam/.opam/4.02/lib/gmp/gmp_random.p.cmx - Installed /home/opam/.opam/4.02/lib/gmp/mpfr.p.cmx - Installed /home/opam/.opam/4.02/lib/gmp/mpf.p.cmx - Installed /home/opam/.opam/4.02/lib/gmp/mpq.p.cmx - Installed /home/opam/.opam/4.02/lib/gmp/mpz.p.cmx - Installed /home/opam/.opam/4.02/lib/gmp/gmp.a - Installed /home/opam/.opam/4.02/lib/gmp/gmp.cmxa - Installed /home/opam/.opam/4.02/lib/gmp/mpfrf.cmx - Installed /home/opam/.opam/4.02/lib/gmp/mpqf.cmx - Installed /home/opam/.opam/4.02/lib/gmp/mpzf.cmx - Installed /home/opam/.opam/4.02/lib/gmp/gmp_random.cmx - Installed /home/opam/.opam/4.02/lib/gmp/mpfr.cmx - Installed /home/opam/.opam/4.02/lib/gmp/mpf.cmx - Installed /home/opam/.opam/4.02/lib/gmp/mpq.cmx - Installed /home/opam/.opam/4.02/lib/gmp/mpz.cmx - Installed /home/opam/.opam/4.02/lib/gmp/gmp.cma - Installed /home/opam/.opam/4.02/lib/gmp/mpfrf.cmi - Installed /home/opam/.opam/4.02/lib/gmp/mpqf.cmi - Installed /home/opam/.opam/4.02/lib/gmp/mpzf.cmi - Installed /home/opam/.opam/4.02/lib/gmp/gmp_random.cmi - Installed /home/opam/.opam/4.02/lib/gmp/mpfr.cmi - Installed /home/opam/.opam/4.02/lib/gmp/mpf.cmi - Installed /home/opam/.opam/4.02/lib/gmp/mpq.cmi - Installed /home/opam/.opam/4.02/lib/gmp/mpz.cmi - Installed /home/opam/.opam/4.02/lib/gmp/mpfrf.mli - Installed /home/opam/.opam/4.02/lib/gmp/mpqf.mli - Installed /home/opam/.opam/4.02/lib/gmp/mpzf.mli - Installed /home/opam/.opam/4.02/lib/gmp/gmp_random.mli - Installed /home/opam/.opam/4.02/lib/gmp/mpfr.mli - Installed /home/opam/.opam/4.02/lib/gmp/mpf.mli - Installed /home/opam/.opam/4.02/lib/gmp/mpq.mli - Installed /home/opam/.opam/4.02/lib/gmp/mpz.mli - Installed /home/opam/.opam/4.02/lib/gmp/mpfrf.ml - Installed /home/opam/.opam/4.02/lib/gmp/mpqf.ml - Installed /home/opam/.opam/4.02/lib/gmp/mpzf.ml - Installed /home/opam/.opam/4.02/lib/gmp/gmp_random.ml - Installed /home/opam/.opam/4.02/lib/gmp/mpfr.ml - Installed /home/opam/.opam/4.02/lib/gmp/mpf.ml - Installed /home/opam/.opam/4.02/lib/gmp/mpq.ml - Installed /home/opam/.opam/4.02/lib/gmp/mpz.ml - Installed /home/opam/.opam/4.02/lib/gmp/gmp_random.idl - Installed /home/opam/.opam/4.02/lib/gmp/mpfr.idl - Installed /home/opam/.opam/4.02/lib/gmp/mpf.idl - Installed /home/opam/.opam/4.02/lib/gmp/mpq.idl - Installed /home/opam/.opam/4.02/lib/gmp/mpz.idl - Installed /home/opam/.opam/4.02/lib/gmp/gmp_caml.h - Installed /home/opam/.opam/4.02/lib/stublibs/dllgmp_caml.so - Installed /home/opam/.opam/4.02/lib/stublibs/dllgmp_caml.so.owner - ocamlfind: [WARNING] You have installed DLLs but the directory /home/opam/.opam/4.02/lib/stublibs is not mentioned in ld.conf - Installed /home/opam/.opam/4.02/lib/gmp/META -> installed mlgmpidl.1.2.4 Done. # Run eval $(opam env) to update the current shell environment 2022-11-03 12:56.43 ---> saved as "cfa21167d54959727ce6b00110bcd9a9f4a9fce53eb922a01b4ab4201b4b5ac5" Job succeeded