Building on x86-bm-b2.sw.ocaml.org
(from ocaml/opam:debian-unstable@sha256:5714458c85c13f9aeab00462cf20f7fdc245c8370924567a78744c6dfdc485bb)
2023-03-25 10:48.50 ---> using "8ace1e5350c8619f463b24b1224478189da2a5c75beeb46053c02abd7f01b68e" 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"))
2023-03-25 10:48.50 ---> using "0c546c8af148012ffd50e6795448e3ff4abfb759afa8ad2b2f6355e7eb796205" 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 064e616f608f76e77b004fb4a121b03b94c44da7"))
2023-03-25 10:48.50 ---> using "b6529de171a11924ec8bcb356f87ad2f051fcd2a42f9b3339be5e782da25e223" 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.
2023-03-25 10:48.50 ---> using "f575b7d630eea9291b2106a851154eb5b545c07336a0802280a13bc1fa7ee37c" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam switch create --repositories=default '4.02' --packages ocaml-base-compiler.4.02.3,ocaml-secondary-compiler"))
<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-base-compiler" {= "4.02.3"} "ocaml-secondary-compiler"]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> retrieved ocaml-secondary-compiler.4.08.1-1 (cached)
-> retrieved ocaml-base-compiler.4.02.3 (https://github.com/ocaml/ocaml/archive/4.02.3.tar.gz)
-> installed ocaml-secondary-compiler.4.08.1-1
-> 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
2023-03-25 10:48.50 ---> using "87216a012f6154f87593af53c98fb85995be74e935ee09aa651ffc1e723a967d" from cache
/: (run (network host)
(shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [180 kB]
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Ign:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages [9432 kB]
- Fetched 9676 kB in 19s (506 kB/s)
- Reading package lists...
-
2023-03-25 10:48.50 ---> using "8071a64dc41f015d292880123b63ecb0c49e0805e7bdca52f5216c67e27f63da" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "\
\nopam remove -y \"mlgmpidl.1.2.6-1\"\
\nopam install -vy \"mlgmpidl.1.2.6-1\"\
\nres=$?\
\nif [ $res = 31 ]; then\
\n if opam show -f x-ci-accept-failures: \"mlgmpidl.1.2.6-1\" | 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.6-1 is not installed.
The following actions will be performed:
=== install 7 packages
- install camlidl 1.05 [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.6-1
- install ocamlfind 1.9.6 [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 libgmpxx4ldbl: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 ... 18598 files and directories currently installed.)
- Preparing to unpack .../0-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 .../1-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 libmpfr-dev:amd64.
- Preparing to unpack .../2-libmpfr-dev_4.2.0-1_amd64.deb ...
- Unpacking libmpfr-dev:amd64 (4.2.0-1) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../3-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../4-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../5-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../6-pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up libmpfr-dev:amd64 (4.2.0-1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-8) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/21:
Processing 2/21:
Processing 3/21:
Processing 4/21:
Processing 5/21:
Processing 6/21: [mlgmpidl.1.2.6-1: http]
Processing 7/21: [mlgmpidl.1.2.6-1: http]
Processing 8/21: [mlgmpidl.1.2.6-1: http] [conf-gmp: sh]
Processing 9/21: [mlgmpidl.1.2.6-1: http] [conf-gmp: sh] [conf-perl: perl]
Processing 10/21: [mlgmpidl.1.2.6-1: http] [conf-gmp: sh] [conf-perl: perl] [conf-pkg-config: pkg-config]
-> retrieved camlidl.1.05 (cached)
[camlidl: patch] applying cpp-location.diff
Processing 11/21: [mlgmpidl.1.2.6-1: http] [camlidl: patch] [conf-gmp: sh] [conf-perl: perl] [conf-pkg-config: pkg-config]
-> retrieved ocamlfind.1.9.6 (cached)
[ocamlfind: patch] applying 0001-Harden-test-for-OCaml-5.patch
Processing 12/21: [mlgmpidl.1.2.6-1: http] [camlidl: patch] [conf-gmp: sh] [conf-perl: perl] [conf-pkg-config: pkg-config] [ocamlfind: patch]
Processing 12/21: [camlidl: patch] [conf-gmp: sh] [conf-perl: perl] [conf-pkg-config: pkg-config] [ocamlfind: patch]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "perl" "--version" (CWD=/home/opam/.opam/4.02/.opam-switch/build/conf-perl.2)
-
- This is perl 5, version 36, subversion 0 (v5.36.0) built for x86_64-linux-gnu-thread-multi
- (with 52 registered patches, see perl -V for more detail)
-
- Copyright 1987-2022, 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 https://www.perl.org/, the Perl Home Page.
-
-> compiled conf-perl.2
Processing 12/21: [camlidl: patch] [conf-gmp: sh] [conf-pkg-config: pkg-config] [ocamlfind: patch]
-> installed conf-perl.2
Processing 13/21: [camlidl: patch] [conf-gmp: sh] [conf-pkg-config: pkg-config] [ocamlfind: patch]
+ /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: pkgconf [OPTIONS] [LIBRARIES]
-
- basic options:
-
- --help this message
- --about print pkgconf version and license to stdout
- --version print supported pkg-config version to stdout
- --atleast-pkgconfig-version check whether or not pkgconf is compatible
- with a specified pkg-config version
- --errors-to-stdout print all errors on stdout instead of stderr
- --print-errors ensure all errors are printed
- --short-errors be less verbose about some errors
- --silence-errors explicitly be silent about errors
- --list-all list all known packages
- --list-package-names list all known package names
- --simulate simulate walking the calculated dependency graph
- --no-cache do not cache already seen packages when
- walking the dependency graph
- --log-file=filename write an audit log to a specified file
- --with-path=path adds a directory to the search path
- --define-prefix override the prefix variable with one that is guessed based on
- the location of the .pc file
- --dont-define-prefix do not override the prefix variable under any circumstances
- --prefix-variable=varname sets the name of the variable that pkgconf considers
- to be the package prefix
- --relocate=path relocates a path and exits (mostly for testsuite)
- --dont-relocate-paths disables path relocation support
-
- cross-compilation personality support:
-
- --personality=triplet|filename sets the personality to 'triplet' or a file named 'filename'
- --dump-personality dumps details concerning selected personality
-
- checking specific pkg-config database entries:
-
- --atleast-version require a specific version of a module
- --exact-version require an exact version of a module
- --max-version require a maximum version of a module
- --exists check whether or not a module exists
- --uninstalled check whether or not an uninstalled module will be used
- --no-uninstalled never use uninstalled modules when satisfying dependencies
- --no-provides do not use 'provides' rules to resolve dependencies
- --maximum-traverse-depth maximum allowed depth for dependency graph
- --static be more aggressive when computing dependency graph
- (for static linking)
- --shared use a simplified dependency graph (usually default)
- --pure optimize a static dependency graph as if it were a normal
- dependency graph
- --env-only look only for package entries in PKG_CONFIG_PATH
- --ignore-conflicts ignore 'conflicts' rules in modules
- --validate validate specific .pc files for correctness
-
- querying specific pkg-config database fields:
-
- --define-variable=varname=value define variable 'varname' as 'value'
- --variable=varname print specified variable entry to stdout
- --cflags print required CFLAGS to stdout
- --cflags-only-I print required include-dir CFLAGS to stdout
- --cflags-only-other print required non-include-dir CFLAGS to stdout
- --libs print required linker flags to stdout
- --libs-only-L print required LDPATH linker flags to stdout
- --libs-only-l print required LIBNAME linker flags to stdout
- --libs-only-other print required other linker flags to stdout
- --print-requires print required dependency frameworks to stdout
- --print-requires-private print required dependency frameworks for static
- linking to stdout
- --print-provides print provided dependencies to stdout
- --print-variables print all known variables in module to stdout
- --digraph print entire dependency graph in graphviz 'dot' format
- --keep-system-cflags keep -I/usr/include entries in cflags output
- --keep-system-libs keep -L/lib:/lib/i386-linux-gnu:/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnux32:/lib32:/libx32:/usr/lib:/usr/lib/i386-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnux32:/usr/lib32:/usr/libx32 entries in libs output
- --path show the exact filenames for any matching .pc files
- --modversion print the specified module's version to stdout
- --internal-cflags do not filter 'internal' cflags from output
-
- filtering output:
-
- --msvc-syntax print translatable fragments in MSVC syntax
- --fragment-filter=types filter output fragments to the specified types
-
- report bugs to <https://github.com/pkgconf/pkgconf/issues/new>.
-> compiled conf-pkg-config.2
Processing 13/21: [camlidl: patch] [conf-gmp: sh] [ocamlfind: patch]
Processing 14/21: [camlidl: patch] [conf-gmp: sh] [ocamlfind: patch] [conf-pkg-config: mkdir]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "sh" "-exc" "cc -c $CFLAGS -I/usr/local/include test.c" (CWD=/home/opam/.opam/4.02/.opam-switch/build/conf-gmp.4)
- + cc -c -I/usr/local/include test.c
-> compiled conf-gmp.4
Processing 14/21: [camlidl: patch] [ocamlfind: patch] [conf-pkg-config: mkdir]
[camlidl: patch] applying build-dll.diff
Processing 14/21: [camlidl: patch] [ocamlfind: ./configure] [conf-pkg-config: mkdir]
-> retrieved mlgmpidl.1.2.6-1 (https://github.com/nberth/mlgmpidl/archive/1.2.6-1.tar.gz)
Processing 14/21: [camlidl: mv] [ocamlfind: ./configure] [conf-pkg-config: mkdir]
+ /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 14/21: [camlidl: mv] [ocamlfind: ./configure]
-> installed conf-gmp.4
Processing 15/21: [camlidl: mv] [ocamlfind: ./configure]
Processing 16/21: [camlidl: mv] [conf-mpfr: sh pkg-config --print-errors --exists mpfr || cc test.c -lgmp -lmpfr] [ocamlfind: ./configure]
+ /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 16/21: [camlidl: make all] [conf-mpfr: sh pkg-config --print-errors --exists mpfr || cc test.c -lgmp -lmpfr] [ocamlfind: ./configure]
+ /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 16/21: [camlidl: make all] [ocamlfind: ./configure]
-> installed conf-mpfr.3
Processing 17/21: [camlidl: make all] [ocamlfind: ./configure]
+ /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.6)
- Welcome to findlib version 1.9.6
- Configuring core...
- Checking for #remove_directory...
- Testing threading model...
- systhread_supported: true
- Testing DLLs...
- Testing whether ppxopt can be supported...
- Checking for ocamlc -opaque...
- Checking for ocamlopt -g...
- Querying installation: META list not found
- make install will double-check installed META files
- Configuring libraries...
- unix: found
- dynlink: found
- bigarray: found
- compiler-libs: found
- dbm: not present (normal since 4.00)
- graphics: found
- num: found
- ocamlbuild: found (in +ocamlbuild)
- ocamldoc: found (in +ocamldoc)
- raw_spacetime: not present (normal since 4.12)
- threads: found (in +threads)
- str: found
- labltk: not present (normal since 4.02)
- native dynlink: found
- camlp4: disabled
- bytes: found, installing fake library
- Configuration for stdlib written to site-lib-src/stdlib/META
- Configuration for unix written to site-lib-src/unix/META
- Configuration for dynlink written to site-lib-src/dynlink/META
- Configuration for bigarray written to site-lib-src/bigarray/META
- Configuration for compiler-libs written to site-lib-src/compiler-libs/META
- Configuration for 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 17/21: [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.6)
- 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.6/src/findlib'
- ocamllex fl_meta.mll
- 22 states, 392 transitions, table size 1700 bytes
- USE_CYGPATH="0"; \
- export USE_CYGPATH; \
- cat findlib_config.mlp | \
- ../../tools/patch '@CONFIGFILE@' '/home/opam/.opam/4.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.6/src/findlib'
- make all-config
- make[1]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.6'
- USE_CYGPATH="0"; \
- export USE_CYGPATH; \
- cat findlib.conf.in | \
- tools/patch '@SITELIB@' '/home/opam/.opam/4.02/lib' | \
- tools/patch '@FINDLIB_PATH@' '/home/opam/.opam/4.02/lib' -p >findlib.conf
- if ./tools/cmd_from_same_dir ocamlc; then \
- echo 'ocamlc="ocamlc.opt"' >>findlib.conf; \
- fi
- if ./tools/cmd_from_same_dir ocamlopt; then \
- echo 'ocamlopt="ocamlopt.opt"' >>findlib.conf; \
- fi
- if ./tools/cmd_from_same_dir ocamldep; then \
- echo 'ocamldep="ocamldep.opt"' >>findlib.conf; \
- fi
- if ./tools/cmd_from_same_dir ocamldoc; then \
- echo 'ocamldoc="ocamldoc.opt"' >>findlib.conf; \
- fi
- make[1]: Leaving directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.6'
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.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 17/21: [ocamlfind: make opt]
-> installed camlidl.1.05
Processing 18/21: [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.6)
- 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.6/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.6/src/findlib'
-> compiled ocamlfind.1.9.6
Processing 19/21: [ocamlfind: make install]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.6)
- if [ "1" -eq 1 ]; then \
- for x in camlp4 dbm graphics labltk num ocamlbuild; do \
- if [ -f "/home/opam/.opam/4.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.6'
- 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.6'
- 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.6/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.6/src/findlib'
- make install-meta
- make[1]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.6'
- 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.6'
- 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.6/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.6/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.6'
- 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.6'
-> installed ocamlfind.1.9.6
Processing 20/21: [mlgmpidl: sh]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "sh" "./configure" (CWD=/home/opam/.opam/4.02/.opam-switch/build/mlgmpidl.1.2.6-1)
- 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 /usr/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.02/bin
- binary ocamlopt.opt: found in /home/opam/.opam/4.02/bin
- binary ocamldep: found in /home/opam/.opam/4.02/bin
- binary ocamldoc: found in /home/opam/.opam/4.02/bin
- binary ocamlmktop: found in /home/opam/.opam/4.02/bin
- binary ocamlmklib: found in /home/opam/.opam/4.02/bin
- binary camlidl: found in /home/opam/.opam/4.02/bin
- binary ocamlfind: found in /home/opam/.opam/4.02/bin
- ocamlfind: Package `gmp' not found
- include caml/mlvalues.h:
- found
- include caml/camlidlruntime.h: found
-
- detected configuration:
-
- OCaml version 4.02.3
- optional OCamlFind support 1
- optional native plugins 1
-
- installation path /home/opam/.opam/4.02/lib/ocaml
-
Processing 20/21: [mlgmpidl: make]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" (CWD=/home/opam/.opam/4.02/.opam-switch/build/mlgmpidl.1.2.6-1)
- tmpdir=$(mktemp -d tmp.XXXXXX); \
- trap "rm -rf ${tmpdir};" EXIT QUIT INT; \
- { cp mpz.idl ${tmpdir}/mpz.idl; \
- /home/opam/.opam/4.02/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.02/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.02/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.02/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.02/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.02/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.02/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.02/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.02/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.02/bin/ocamlfind ocamlc -package "bigarray" -annot -g -c gmp_random.mli
- /home/opam/.opam/4.02/bin/ocamlfind ocamlc -package "bigarray" -annot -g -c mpzf.mli
- /home/opam/.opam/4.02/bin/ocamlfind ocamlc -package "bigarray" -annot -g -c mpqf.mli
- /home/opam/.opam/4.02/bin/ocamlfind ocamlc -package "bigarray" -annot -g -c mpfrf.mli
- /home/opam/.opam/4.02/bin/ocamlfind ocamlc -package "bigarray" -annot -g -c mpz.ml
- /home/opam/.opam/4.02/bin/ocamlfind ocamlc -package "bigarray" -annot -g -c mpq.ml
- /home/opam/.opam/4.02/bin/ocamlfind ocamlc -package "bigarray" -annot -g -c mpf.ml
- /home/opam/.opam/4.02/bin/ocamlfind ocamlc -package "bigarray" -annot -g -c mpfr.ml
- /home/opam/.opam/4.02/bin/ocamlfind ocamlc -package "bigarray" -annot -g -c gmp_random.ml
- /home/opam/.opam/4.02/bin/ocamlfind ocamlc -package "bigarray" -annot -g -c mpzf.ml
- /home/opam/.opam/4.02/bin/ocamlfind ocamlc -package "bigarray" -annot -g -c mpqf.ml
- /home/opam/.opam/4.02/bin/ocamlfind ocamlc -package "bigarray" -annot -g -c mpfrf.ml
- /home/opam/.opam/4.02/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.02/lib/ocaml -ccopt -I/home/opam/.opam/4.02/lib/camlidl -g -c -o mpz_caml.o mpz_caml.c
- /home/opam/.opam/4.02/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.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);
- | ^~~~~~~~~~~~
- /home/opam/.opam/4.02/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.02/lib/ocaml -ccopt -I/home/opam/.opam/4.02/lib/camlidl -g -c -o mpf_caml.o mpf_caml.c
- /home/opam/.opam/4.02/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.02/lib/ocaml -ccopt -I/home/opam/.opam/4.02/lib/camlidl -g -c -o mpfr_caml.o mpfr_caml.c
- /home/opam/.opam/4.02/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.02/lib/ocaml -ccopt -I/home/opam/.opam/4.02/lib/camlidl -g -c -o gmp_random_caml.o gmp_random_caml.c
- /home/opam/.opam/4.02/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.02/lib/ocaml -ccopt -I/home/opam/.opam/4.02/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.02/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.02/lib/ocaml -L/home/opam/.opam/4.02/lib/ocaml/stublibs -L/home/opam/.opam/4.02/lib/camlidl -lmpfr -lgmp -lcamlidl
- /home/opam/.opam/4.02/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.02/lib/ocaml -L/home/opam/.opam/4.02/lib/ocaml/stublibs -L/home/opam/.opam/4.02/lib/camlidl -lmpfr -lgmp -lcamlidl
- /home/opam/.opam/4.02/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.02/lib/stublibs -ccopt -L/home/opam/.opam/4.02/lib/gmp -ccopt " -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/ocaml -ccopt -L/home/opam/.opam/4.02/lib/camlidl -cclib -lmpfr -cclib -lgmp -cclib -lcamlidl
- /home/opam/.opam/4.02/bin/ocamlfind ocamlopt -package "bigarray" -annot -inline 20 -c mpz.ml
- /home/opam/.opam/4.02/bin/ocamlfind ocamlopt -package "bigarray" -annot -inline 20 -c mpq.ml
- /home/opam/.opam/4.02/bin/ocamlfind ocamlopt -package "bigarray" -annot -inline 20 -c mpf.ml
- /home/opam/.opam/4.02/bin/ocamlfind ocamlopt -package "bigarray" -annot -inline 20 -c mpfr.ml
- /home/opam/.opam/4.02/bin/ocamlfind ocamlopt -package "bigarray" -annot -inline 20 -c gmp_random.ml
- /home/opam/.opam/4.02/bin/ocamlfind ocamlopt -package "bigarray" -annot -inline 20 -c mpzf.ml
- /home/opam/.opam/4.02/bin/ocamlfind ocamlopt -package "bigarray" -annot -inline 20 -c mpqf.ml
- /home/opam/.opam/4.02/bin/ocamlfind ocamlopt -package "bigarray" -annot -inline 20 -c mpfrf.ml
- /home/opam/.opam/4.02/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.02/lib/stublibs -ccopt -L/home/opam/.opam/4.02/lib/gmp -ccopt " -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/ocaml -ccopt -L/home/opam/.opam/4.02/lib/camlidl -cclib -lmpfr -cclib -lgmp -cclib -lcamlidl
- /home/opam/.opam/4.02/bin/ocamlfind ocamlopt -package "bigarray" -annot -inline 20 -linkall -shared -o gmp.cmxs -I . gmp.cmxa
- /home/opam/.opam/4.02/bin/ocamlfind ocamlopt -package "bigarray" -p -annot -inline 20 -c -o mpz.p.cmx mpz.ml
- /home/opam/.opam/4.02/bin/ocamlfind ocamlopt -package "bigarray" -p -annot -inline 20 -c -o mpq.p.cmx mpq.ml
- /home/opam/.opam/4.02/bin/ocamlfind ocamlopt -package "bigarray" -p -annot -inline 20 -c -o mpf.p.cmx mpf.ml
- /home/opam/.opam/4.02/bin/ocamlfind ocamlopt -package "bigarray" -p -annot -inline 20 -c -o mpfr.p.cmx mpfr.ml
- /home/opam/.opam/4.02/bin/ocamlfind ocamlopt -package "bigarray" -p -annot -inline 20 -c -o gmp_random.p.cmx gmp_random.ml
- /home/opam/.opam/4.02/bin/ocamlfind ocamlopt -package "bigarray" -p -annot -inline 20 -c -o mpzf.p.cmx mpzf.ml
- /home/opam/.opam/4.02/bin/ocamlfind ocamlopt -package "bigarray" -p -annot -inline 20 -c -o mpqf.p.cmx mpqf.ml
- /home/opam/.opam/4.02/bin/ocamlfind ocamlopt -package "bigarray" -p -annot -inline 20 -c -o mpfrf.p.cmx mpfrf.ml
- /home/opam/.opam/4.02/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.02/lib/stublibs -ccopt -L/home/opam/.opam/4.02/lib/gmp -ccopt " -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/ocaml -ccopt -L/home/opam/.opam/4.02/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.6-1
Processing 21/21: [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.6-1)
- /bin/rm -f META
- echo "description = \"OCaml Interface to GMP and MPFR libraries\"" >META
- echo "version = \"1.2.6-1\"" >>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.02/bin/ocamlfind remove gmp
- ocamlfind: [WARNING] No such file: /home/opam/.opam/4.02/lib/gmp/META
- /home/opam/.opam/4.02/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.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.6-1
Done.
# Run eval $(opam env) to update the current shell environment
2023-03-25 10:51.58 ---> saved as "e981c91650d548a34c914d291e65deeace9a9bff1da4ae3c4e8bc4f873aed467"
Job succeeded