OCamllabs icon Home|Differences with the last checks|Previous runs


Building on m1-b.ocamllabs.io

(from ocaml/opam:debian-unstable)
2022-01-02 09:12.13 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" from cache

/: (user (uid 1000) (gid 1000))

/: (env OPAMPRECISETRACKING 1)

/: (env OPAMUTF8 never)

/: (env OPAMEXTERNALSOLVER builtin-0install)

/: (env OPAMCRITERIA +removed)

/: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2022-01-02 09:12.13 ---> using "4d29eb3e0b7cd69a97ed90837671d5ca38aa41e2fb94346298af500378eca6fa" 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 8ac7f1657038ae1b7a02e64d87aeb06912f4ca1c"))
2022-01-02 09:12.13 ---> using "0100302b458cd7f99084008cbb3689a3574b8bf20b782f0ddf1ff5969c6c5ace" 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-01-02 09:12.13 ---> using "96784e14b90597d9836bbfbd5d72400d6a30be51d8291df44ab311fc06b34787" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "opam switch create --repositories=default '4.10' '4.10.2'"))

<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-base-compiler" {= "4.10.2"} | "ocaml-system" {= "4.10.2"}]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> retrieved ocaml-base-compiler.4.10.2  (cached)
-> installed ocaml-base-compiler.4.10.2
-> installed ocaml-config.1
-> installed ocaml.4.10.2
Done.
# Run eval $(opam env --switch=4.10) to update the current shell environment
2022-01-02 09:12.13 ---> using "d471adc26f3b1825531777a9229fc4c3ac251c150f68772d24d6c5305b25037a" from cache

/: (run (network host)
        (shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [165 kB]
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Ign:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages [8857 kB]
- Fetched 9086 kB in 2s (5290 kB/s)
- Reading package lists...
- 
2022-01-02 09:12.13 ---> using "384982901b7c8d8a6ad6f60012d8c09e6d0a07e7dd90f50bb6f8effd419171c3" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell  "\
               \nopam remove -y \"camlbz2.0.7.0\"\
               \nopam install -vy \"camlbz2.0.7.0\"\
               \nres=$?\
               \nif [ $res = 31 ]; then\
               \n    if opam show -f x-ci-accept-failures: \"camlbz2.0.7.0\" | grep -q '\"debian-unstable\"'; then\
               \n        echo \"This package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\"\
               \n        exit 69\
               \n    fi\
               \nfi\
               \n\
               \n\
               \nexit $res\
               \n"))
[NOTE] camlbz2.0.7.0 is not installed.

Nothing to do.
The following actions will be performed:
  - install ocamlfind     1.9.1 [required by camlbz2]
  - install conf-which    1     [required by conf-autoconf]
  - install conf-libbz2   1     [required by camlbz2]
  - install conf-autoconf 0.1   [required by camlbz2]
  - install conf-automake 1     [required by conf-aclocal]
  - install conf-aclocal  2     [required by camlbz2]
  - install camlbz2       0.7.0
===== 7 to install =====

The following system packages will first need to be installed:
    autoconf automake libbz2-dev

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
Let opam run your package manager to install the required system packages?
(answer 'n' for other options) [Y/n] y
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "autoconf" "automake" "libbz2-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libsigsegv2: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 ... 18129 files and directories currently installed.)
- Preparing to unpack .../0-libsigsegv2_2.13-1_amd64.deb ...
- Unpacking libsigsegv2:amd64 (2.13-1) ...
- Selecting previously unselected package m4.
- Preparing to unpack .../1-m4_1.4.18-5_amd64.deb ...
- Unpacking m4 (1.4.18-5) ...
- Selecting previously unselected package autoconf.
- Preparing to unpack .../2-autoconf_2.71-2_all.deb ...
- Unpacking autoconf (2.71-2) ...
- Selecting previously unselected package autotools-dev.
- Preparing to unpack .../3-autotools-dev_20180224.1+nmu1_all.deb ...
- Unpacking autotools-dev (20180224.1+nmu1) ...
- Selecting previously unselected package automake.
- Preparing to unpack .../4-automake_1%3a1.16.5-1.1_all.deb ...
- Unpacking automake (1:1.16.5-1.1) ...
- Selecting previously unselected package bzip2-doc.
- Preparing to unpack .../5-bzip2-doc_1.0.8-5_all.deb ...
- Unpacking bzip2-doc (1.0.8-5) ...
- Selecting previously unselected package libbz2-dev:amd64.
- Preparing to unpack .../6-libbz2-dev_1.0.8-5_amd64.deb ...
- Unpacking libbz2-dev:amd64 (1.0.8-5) ...
- Setting up bzip2-doc (1.0.8-5) ...
- Setting up autotools-dev (20180224.1+nmu1) ...
- Setting up libsigsegv2:amd64 (2.13-1) ...
- Setting up libbz2-dev:amd64 (1.0.8-5) ...
- Setting up m4 (1.4.18-5) ...
- Setting up autoconf (2.71-2) ...
- Setting up automake (1:1.16.5-1.1) ...
- update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
- Processing triggers for libc-bin (2.32-5) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/21:
Processing  2/21:
Processing  3/21:
Processing  4/21:
Processing  5/21:
Processing  6/21:
Processing  7/21:
Processing  8/21: [conf-libbz2: sh echo '#include <bzlib.h>' > test.c]
Processing  9/21: [conf-libbz2: sh echo '#include <bzlib.h>' > test.c] [conf-which: which which]
-> retrieved camlbz2.0.7.0  (cached)
-> retrieved ocamlfind.1.9.1  (cached)
Processing 10/21: [conf-libbz2: sh echo '#include <bzlib.h>' > test.c] [conf-which: which which] [ocamlfind: ./configure]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "sh" "-exc" "echo '#include <bzlib.h>' > test.c" (CWD=/home/opam/.opam/4.10/.opam-switch/build/conf-libbz2.1)
- + echo #include <bzlib.h>
- + echo #include <bzlib.h>
Processing 10/21: [conf-libbz2: sh echo 'int main() { return 0; }' >> test.c] [conf-which: which which] [ocamlfind: ./configure]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "which" "which" (CWD=/home/opam/.opam/4.10/.opam-switch/build/conf-which.1)
- /usr/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead.
- /usr/bin/which
- /usr/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead.
- /usr/bin/which
-> compiled  conf-which.1
Processing 10/21: [conf-libbz2: sh echo 'int main() { return 0; }' >> test.c] [ocamlfind: ./configure]
-> installed conf-which.1
Processing 11/21: [conf-libbz2: sh echo 'int main() { return 0; }' >> test.c] [ocamlfind: ./configure]
Processing 12/21: [conf-autoconf: which autoconf] [conf-libbz2: sh echo 'int main() { return 0; }' >> test.c] [ocamlfind: ./configure]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "sh" "-exc" "echo 'int main() { return 0; }' >> test.c" (CWD=/home/opam/.opam/4.10/.opam-switch/build/conf-libbz2.1)
- + echo int main() { return 0; }
- + echo int main() { return 0; }
Processing 12/21: [conf-autoconf: which autoconf] [conf-libbz2: cc test.c] [ocamlfind: ./configure]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "which" "autoconf" (CWD=/home/opam/.opam/4.10/.opam-switch/build/conf-autoconf.0.1)
- /usr/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead.
- /usr/bin/autoconf
- /usr/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead.
- /usr/bin/autoconf
-> compiled  conf-autoconf.0.1
Processing 12/21: [conf-libbz2: cc test.c] [ocamlfind: ./configure]
-> installed conf-autoconf.0.1
Processing 13/21: [conf-libbz2: cc test.c] [ocamlfind: ./configure]
Processing 14/21: [conf-automake: automake] [conf-libbz2: cc test.c] [ocamlfind: ./configure]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "cc" "-lbz2" "test.c" (CWD=/home/opam/.opam/4.10/.opam-switch/build/conf-libbz2.1)
-> compiled  conf-libbz2.1
Processing 14/21: [conf-automake: automake] [ocamlfind: ./configure]
-> installed conf-libbz2.1
Processing 15/21: [conf-automake: automake] [ocamlfind: ./configure]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "automake" "--help" (CWD=/home/opam/.opam/4.10/.opam-switch/build/conf-automake.1)
- Usage: /usr/bin/automake [OPTION]... [Makefile]...
- 
- Generate Makefile.in for configure from Makefile.am.
- 
- Operation modes:
-       --help               print this help, then exit
-       --version            print version number, then exit
-   -v, --verbose            verbosely list files processed
-       --no-force           only update Makefile.in's that are out of date
-   -W, --warnings=CATEGORY  report the warnings falling in CATEGORY
- 
- Dependency tracking:
-   -i, --ignore-deps      disable dependency tracking code
-       --include-deps     enable dependency tracking code
- 
- Flavors:
-       --foreign          set strictness to foreign
-       --gnits            set strictness to gnits
-       --gnu              set strictness to gnu
- 
- Library files:
-   -a, --add-missing      add missing standard files to package
-       --libdir=DIR       set directory storing library files
-       --print-libdir     print directory storing library files
-   -c, --copy             with -a, copy missing files (default is symlink)
-   -f, --force-missing    force update of standard files
- 
- Warning categories include:
-   cross                  cross compilation issues
-   gnu                    GNU coding standards (default in gnu and gnits modes)
-   obsolete               obsolete features or constructions (default)
-   override               user redefinitions of Automake rules or variables
-   portability            portability issues (default in gnu and gnits modes)
-   portability-recursive  nested Make variables (default with -Wportability)
-   extra-portability      extra portability issues related to obscure tools
-   syntax                 dubious syntactic constructs (default)
-   unsupported            unsupported or incomplete features (default)
-   all                    all the warnings
-   no-CATEGORY            turn off warnings in CATEGORY
-   none                   turn off all the warnings
-   error                  treat warnings as errors
- 
- Files automatically distributed if found (always):
-   ABOUT-GNU           TODO                install-sh          mdate-sh
-   ABOUT-NLS           ar-lib              libversion.in       missing
-   BACKLOG             compile             ltcf-c.sh           mkinstalldirs
-   COPYING             config.guess        ltcf-cxx.sh         py-compile
-   COPYING.DOC         config.rpath        ltcf-gcj.sh         texinfo.tex
-   COPYING.LESSER      config.sub          ltconfig            ylwrap
-   COPYING.LIB         depcomp             ltmain.sh
- 
- Files automatically distributed if found (as .md if needed):
-   AUTHORS[.md]        INSTALL[.md]        README[.md]         THANKS[.md]
-   ChangeLog[.md]      NEWS[.md]
- 
- Files automatically distributed if found (under certain conditions):
-   README-alpha[.md]   config.h.bot        configure           configure.in
-   acconfig.h          config.h.top        configure.ac        stamp-vti
-   aclocal.m4
- 
- Report bugs to <bug-automake@gnu.org>.
- GNU Automake home page: <https://www.gnu.org/software/automake/>.
- General help using GNU software: <https://www.gnu.org/gethelp/>.
- Usage: /usr/bin/automake [OPTION]... [Makefile]...
- 
- Generate Makefile.in for configure from Makefile.am.
- 
- Operation modes:
-       --help               print this help, then exit
-       --version            print version number, then exit
-   -v, --verbose            verbosely list files processed
-       --no-force           only update Makefile.in's that are out of date
-   -W, --warnings=CATEGORY  report the warnings falling in CATEGORY
- 
- Dependency tracking:
-   -i, --ignore-deps      disable dependency tracking code
-       --include-deps     enable dependency tracking code
- 
- Flavors:
-       --foreign          set strictness to foreign
-       --gnits            set strictness to gnits
-       --gnu              set strictness to gnu
- 
- Library files:
-   -a, --add-missing      add missing standard files to package
-       --libdir=DIR       set directory storing library files
-       --print-libdir     print directory storing library files
-   -c, --copy             with -a, copy missing files (default is symlink)
-   -f, --force-missing    force update of standard files
- 
- Warning categories include:
-   cross                  cross compilation issues
-   gnu                    GNU coding standards (default in gnu and gnits modes)
-   obsolete               obsolete features or constructions (default)
-   override               user redefinitions of Automake rules or variables
-   portability            portability issues (default in gnu and gnits modes)
-   portability-recursive  nested Make variables (default with -Wportability)
-   extra-portability      extra portability issues related to obscure tools
-   syntax                 dubious syntactic constructs (default)
-   unsupported            unsupported or incomplete features (default)
-   all                    all the warnings
-   no-CATEGORY            turn off warnings in CATEGORY
-   none                   turn off all the warnings
-   error                  treat warnings as errors
- 
- Files automatically distributed if found (always):
-   ABOUT-GNU           TODO                install-sh          mdate-sh
-   ABOUT-NLS           ar-lib              libversion.in       missing
-   BACKLOG             compile             ltcf-c.sh           mkinstalldirs
-   COPYING             config.guess        ltcf-cxx.sh         py-compile
-   COPYING.DOC         config.rpath        ltcf-gcj.sh         texinfo.tex
-   COPYING.LESSER      config.sub          ltconfig            ylwrap
-   COPYING.LIB         depcomp             ltmain.sh
- 
- Files automatically distributed if found (as .md if needed):
-   AUTHORS[.md]        INSTALL[.md]        README[.md]         THANKS[.md]
-   ChangeLog[.md]      NEWS[.md]
- 
- Files automatically distributed if found (under certain conditions):
-   README-alpha[.md]   config.h.bot        configure           configure.in
-   acconfig.h          config.h.top        configure.ac        stamp-vti
-   aclocal.m4
- 
- Report bugs to <bug-automake@gnu.org>.
- GNU Automake home page: <https://www.gnu.org/software/automake/>.
- General help using GNU software: <https://www.gnu.org/gethelp/>.
-> compiled  conf-automake.1
Processing 15/21: [ocamlfind: ./configure]
-> installed conf-automake.1
Processing 16/21: [ocamlfind: ./configure]
Processing 17/21: [conf-aclocal: aclocal] [ocamlfind: ./configure]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "aclocal" "--version" (CWD=/home/opam/.opam/4.10/.opam-switch/build/conf-aclocal.2)
- aclocal (GNU automake) 1.16.5
- Copyright (C) 2021 Free Software Foundation, Inc.
- License GPLv2+: GNU GPL version 2 or later <https://gnu.org/licenses/gpl-2.0.html>
- This is free software: you are free to change and redistribute it.
- There is NO WARRANTY, to the extent permitted by law.
- 
- Written by Tom Tromey <tromey@redhat.com>
-        and Alexandre Duret-Lutz <adl@gnu.org>.
- aclocal (GNU automake) 1.16.5
- Copyright (C) 2021 Free Software Foundation, Inc.
- License GPLv2+: GNU GPL version 2 or later <https://gnu.org/licenses/gpl-2.0.html>
- This is free software: you are free to change and redistribute it.
- There is NO WARRANTY, to the extent permitted by law.
- 
- Written by Tom Tromey <tromey@redhat.com>
-        and Alexandre Duret-Lutz <adl@gnu.org>.
-> compiled  conf-aclocal.2
Processing 17/21: [ocamlfind: ./configure]
-> installed conf-aclocal.2
Processing 18/21: [ocamlfind: ./configure]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "-bindir" "/home/opam/.opam/4.10/bin" "-sitelib" "/home/opam/.opam/4.10/lib" "-mandir" "/home/opam/.opam/4.10/man" "-config" "/home/opam/.opam/4.10/lib/findlib.conf" "-no-custom" "-no-camlp4" (CWD=/home/opam/.opam/4.10/.opam-switch/build/ocamlfind.1.9.1)
- Welcome to findlib version 1.9.1
- Configuring core...
- Checking for #remove_directory...
- Testing threading model...
- systhread_supported: true
- Testing DLLs...
- Testing whether ppxopt can be supported...
- Checking for ocamlc -opaque...
- Querying installation: META list not found
- make install will double-check installed META files
- Configuring libraries...
- unix: found
- bigarray: found
- compiler-libs: found
- dbm: not present (normal since 4.00)
- graphics: not present (normal since 4.09)
- num: not present (normal since 4.06)
- ocamlbuild: not present (normal since 4.03)
- ocamldoc: found
- raw_spacetime: found
- threads: found
- str: found
- labltk: not present (normal since 4.02)
- native dynlink: found
- camlp4: disabled
- bytes: found, installing fake library
- Configuration for dynlink written to site-lib-src/dynlink/META
- Configuration for stdlib written to site-lib-src/stdlib/META
- Configuration for unix written to site-lib-src/unix/META
- Configuration for bigarray written to site-lib-src/bigarray/META
- Configuration for compiler-libs written to site-lib-src/compiler-libs/META
- Configuration for ocamldoc written to site-lib-src/ocamldoc/META
- Configuration for raw_spacetime written to site-lib-src/raw_spacetime/META
- Configuration for threads written to site-lib-src/threads/META
- Configuration for str written to site-lib-src/str/META
- Configuration for bytes written to site-lib-src/bytes/META
- Detecting compiler arguments: (extractor built) ok
- 
- About the OCAML core installation:
-     Standard library:      /home/opam/.opam/4.10/lib/ocaml
-     Binaries:              /home/opam/.opam/4.10/bin
-     Manual pages:          /home/opam/.opam/4.10/man
-     Multi-threading type:  posix
- The directory of site-specific packages will be
-     site-lib:              /home/opam/.opam/4.10/lib
- The configuration file is written to:
-     findlib config file:   /home/opam/.opam/4.10/lib/findlib.conf
- Software will be installed:
-     Libraries:             in <site-lib>/findlib
-     Binaries:              /home/opam/.opam/4.10/bin
-     Manual pages:          /home/opam/.opam/4.10/man
-     topfind script:        /home/opam/.opam/4.10/lib/ocaml
- Topfind ppxopt support:    yes
- Toolbox:                   no
- Link custom runtime:       no
- Need bytes compatibility:  no
- 
- Configuration has been written to Makefile.config
- 
- You can now do 'make all', and optionally 'make opt', to build ocamlfind.
Processing 18/21: [ocamlfind: make all]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "all" (CWD=/home/opam/.opam/4.10/.opam-switch/build/ocamlfind.1.9.1)
- for p in findlib; do ( cd src/$p; make all ) || exit; done
- make[1]: Entering directory '/home/opam/.opam/4.10/.opam-switch/build/ocamlfind.1.9.1/src/findlib'
- ocamllex fl_meta.mll
- 22 states, 392 transitions, table size 1700 bytes
- USE_CYGPATH="0"; \
- export USE_CYGPATH; \
- cat findlib_config.mlp | \
-          ../../tools/patch '@CONFIGFILE@' '/home/opam/.opam/4.10/lib/findlib.conf' | \
-          ../../tools/patch '@STDLIB@' '/home/opam/.opam/4.10/lib/ocaml' | \
- 	sed -e 's;@AUTOLINK@;true;g' \
- 	    -e 's;@SYSTEM@;linux;g' \
- 	     >findlib_config.ml
- if [ "true" = "true" ]; then                 \
- 	cp topfind.ml.in topfind.ml;                             \
- else                                                             \
- 	sed -e '/PPXOPT_BEGIN/,/PPXOPT_END/ d' topfind.ml.in     \
- 		> topfind.ml ;                                   \
- fi
- ocamldep *.ml *.mli >depend
- ocamlc -I +compiler-libs -opaque -g -c findlib_config.ml
- ocamlc -I +compiler-libs -opaque -g -c fl_split.ml
- ocamlc -I +compiler-libs -opaque -g -c fl_metatoken.ml
- ocamlc -I +compiler-libs -opaque -g -c fl_meta.ml
- ocamlc -I +compiler-libs -opaque -c fl_metascanner.mli
- ocamlc -I +compiler-libs -opaque -g -c fl_metascanner.ml
- ocamlc -I +compiler-libs -opaque -c fl_topo.mli
- ocamlc -I +compiler-libs -opaque -g -c fl_topo.ml
- ocamlc -I +compiler-libs -opaque -c fl_package_base.mli
- ocamlc -I +compiler-libs -opaque -g -c fl_package_base.ml
- ocamlc -I +compiler-libs -opaque -c findlib.mli
- ocamlc -I +compiler-libs -opaque -g -c findlib.ml
- ocamlc -I +compiler-libs -opaque -g -c fl_args.ml
- ocamlc -I +compiler-libs -opaque -g -c fl_lint.ml
- ocamlc -I +compiler-libs -a -o findlib.cma findlib_config.cmo fl_split.cmo fl_metatoken.cmo fl_meta.cmo fl_metascanner.cmo fl_topo.cmo fl_package_base.cmo findlib.cmo fl_args.cmo fl_lint.cmo
- ocamlc -I +compiler-libs -opaque -g -c ocaml_args.ml
- ocamlc -I +compiler-libs -opaque -g -c frontend.ml
- File "frontend.ml", line 1826, characters 16-29:
- 1826 |       let buf = String.create buflen in   (* FIXME: Bytes.create *)
-                        ^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.create
- Use Bytes.create instead.
- ocamlc -I +compiler-libs  -o ocamlfind -g findlib.cma unix.cma \
-            ocaml_args.cmo frontend.cmo
- ocamlc -I +compiler-libs -opaque -c topfind.mli
- ocamlc -I +compiler-libs -opaque -g -c topfind.ml
- 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.10/lib' \
-     	    >topfind
- ocamlc -I +compiler-libs -opaque -c fl_dynload.mli
- ocamlc -I +compiler-libs -opaque -g -c fl_dynload.ml
- ocamlc -I +compiler-libs -a -o findlib_dynload.cma fl_dynload.cmo
- make[1]: Leaving directory '/home/opam/.opam/4.10/.opam-switch/build/ocamlfind.1.9.1/src/findlib'
- make all-config
- make[1]: Entering directory '/home/opam/.opam/4.10/.opam-switch/build/ocamlfind.1.9.1'
- USE_CYGPATH="0"; \
- export USE_CYGPATH; \
- cat findlib.conf.in | \
-      tools/patch '@SITELIB@' '/home/opam/.opam/4.10/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.10/.opam-switch/build/ocamlfind.1.9.1'
Processing 18/21: [ocamlfind: make opt]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "opt" (CWD=/home/opam/.opam/4.10/.opam-switch/build/ocamlfind.1.9.1)
- for p in findlib; do ( cd src/$p; make opt ) || exit; done
- make[1]: Entering directory '/home/opam/.opam/4.10/.opam-switch/build/ocamlfind.1.9.1/src/findlib'
- ocamlopt -I +compiler-libs -g -opaque -c findlib_config.ml
- ocamlopt -I +compiler-libs -g -opaque -c fl_split.ml
- ocamlopt -I +compiler-libs -g -opaque -c fl_metatoken.ml
- ocamlopt -I +compiler-libs -g -opaque -c fl_meta.ml
- ocamlopt -I +compiler-libs -g -opaque -c fl_metascanner.ml
- ocamlopt -I +compiler-libs -g -opaque -c fl_topo.ml
- ocamlopt -I +compiler-libs -g -opaque -c fl_package_base.ml
- ocamlopt -I +compiler-libs -g -opaque -c findlib.ml
- ocamlopt -I +compiler-libs -g -opaque -c fl_args.ml
- ocamlopt -I +compiler-libs -g -opaque -c fl_lint.ml
- ocamlopt -I +compiler-libs -g -a -o findlib.cmxa findlib_config.cmx fl_split.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx
- if [ 1 -gt 0 ]; then \
-     ocamlopt -I +compiler-libs -g -shared -o findlib.cmxs findlib_config.cmx fl_split.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx; \
- fi
- ocamlopt -I +compiler-libs -g -opaque -c ocaml_args.ml
- ocamlopt -I +compiler-libs -g -opaque -c frontend.ml
- File "frontend.ml", line 1826, characters 16-29:
- 1826 |       let buf = String.create buflen in   (* FIXME: Bytes.create *)
-                        ^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.create
- Use Bytes.create instead.
- ocamlopt -I +compiler-libs -g -o ocamlfind_opt findlib.cmxa unix.cmxa \
- 	   ocaml_args.cmx frontend.cmx
- ocamlopt -I +compiler-libs -g -opaque -c topfind.ml
- File "_none_", line 1:
- Warning 58: no cmx file was found in path for module Topdirs, and its interface was not compiled with -opaque
- File "_none_", line 1:
- Warning 58: no cmx file was found in path for module Toploop, and its interface was not compiled with -opaque
- ocamlopt -I +compiler-libs -g -a -o findlib_top.cmxa topfind.cmx
- if [ 1 -gt 0 ]; then \
-     ocamlopt -I +compiler-libs -g -shared -o findlib_top.cmxs topfind.cmx; \
- fi
- ocamlopt -I +compiler-libs -g -opaque -c fl_dynload.ml
- ocamlopt -I +compiler-libs -g -a -o findlib_dynload.cmxa fl_dynload.cmx
- if [ 1 -gt 0 ]; then \
-     ocamlopt -I +compiler-libs -g -shared -o findlib_dynload.cmxs fl_dynload.cmx; \
- fi
- make[1]: Leaving directory '/home/opam/.opam/4.10/.opam-switch/build/ocamlfind.1.9.1/src/findlib'
-> compiled  ocamlfind.1.9.1
Processing 19/21: [ocamlfind: make install]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/4.10/.opam-switch/build/ocamlfind.1.9.1)
- if [ "1" -eq 1 ]; then \
-     for x in camlp4 dbm graphics labltk num ocamlbuild; do \
-       if [ -f "/home/opam/.opam/4.10/lib/$x/META" ]; then \
-         if ! grep -Fq '[distributed with Ocaml]' "//home/opam/.opam/4.10/lib/$x/META"; then \
-           rm -f site-lib-src/$x/META; \
-         fi \
-       fi \
-     done; \
-     test -f "site-lib-src/num/META" || rm -f "site-lib-src/num-top/META"; \
-   fi
- echo 'SITELIB_META =' > Makefile.packages.in
- for x in `ls site-lib-src`; do test ! -f "site-lib-src/$x/META" || echo $x >> Makefile.packages.in; done
- tr '\n' ' ' < Makefile.packages.in > Makefile.packages
- rm Makefile.packages.in
- mkdir -p "/home/opam/.opam/4.10/bin"
- mkdir -p "/home/opam/.opam/4.10/man"
- make install-config
- make[1]: Entering directory '/home/opam/.opam/4.10/.opam-switch/build/ocamlfind.1.9.1'
- mkdir -p "`dirname \"/home/opam/.opam/4.10/lib/findlib.conf\"`"
- test -f "/home/opam/.opam/4.10/lib/findlib.conf" || cp findlib.conf "/home/opam/.opam/4.10/lib/findlib.conf"
- make[1]: Leaving directory '/home/opam/.opam/4.10/.opam-switch/build/ocamlfind.1.9.1'
- for p in findlib; do ( cd src/$p; make install ); done
- make[1]: Entering directory '/home/opam/.opam/4.10/.opam-switch/build/ocamlfind.1.9.1/src/findlib'
- mkdir -p "/home/opam/.opam/4.10/lib/findlib"
- mkdir -p "/home/opam/.opam/4.10/bin"
- test 1 -eq 0 || cp topfind "/home/opam/.opam/4.10/lib/ocaml"
- files=` ../../tools/collect_files ../../Makefile.config findlib.cmi findlib.mli findlib.cma findlib.cmxa findlib.a findlib.cmxs topfind.cmi topfind.mli fl_package_base.mli fl_package_base.cmi fl_metascanner.mli fl_metascanner.cmi fl_metatoken.cmi findlib_top.cma findlib_top.cmxa findlib_top.a findlib_top.cmxs findlib_dynload.cma findlib_dynload.cmxa findlib_dynload.a findlib_dynload.cmxs fl_dynload.mli fl_dynload.cmi META` && \
- cp $files "/home/opam/.opam/4.10/lib/findlib"
- f="ocamlfind"; { test -f ocamlfind_opt && f="ocamlfind_opt"; }; \
- cp $f "/home/opam/.opam/4.10/bin/ocamlfind"
- # the following "if" block is only needed for 4.00beta2
- if [ 1 -eq 0 -a -f "/home/opam/.opam/4.10/lib/ocaml/compiler-libs/topdirs.cmi" ]; then \
-     cd "/home/opam/.opam/4.10/lib/ocaml/compiler-libs/"; \
-     cp topdirs.cmi toploop.cmi "/home/opam/.opam/4.10/lib/findlib/"; \
- fi
- make[1]: Leaving directory '/home/opam/.opam/4.10/.opam-switch/build/ocamlfind.1.9.1/src/findlib'
- make install-meta
- make[1]: Entering directory '/home/opam/.opam/4.10/.opam-switch/build/ocamlfind.1.9.1'
- for x in bigarray bytes compiler-libs dynlink ocamldoc raw_spacetime stdlib str threads unix ; do mkdir -p "/home/opam/.opam/4.10/lib/$x"; cp site-lib-src/$x/META "/home/opam/.opam/4.10/lib/$x"; done
- mkdir -p "/home/opam/.opam/4.10/lib/findlib"; cp Makefile.packages "/home/opam/.opam/4.10/lib/findlib/Makefile.packages"
- make[1]: Leaving directory '/home/opam/.opam/4.10/.opam-switch/build/ocamlfind.1.9.1'
- test ! -f 'site-lib-src/num-top/META' || { cd src/findlib; make install-num-top; }
- test ! -f 'site-lib-src/camlp4/META' ||	cp tools/safe_camlp4 "/home/opam/.opam/4.10/bin"
- make install-doc
- make[1]: Entering directory '/home/opam/.opam/4.10/.opam-switch/build/ocamlfind.1.9.1'
- mkdir -p "/home/opam/.opam/4.10/man/man1" "/home/opam/.opam/4.10/man/man3" "/home/opam/.opam/4.10/man/man5"
- cp doc/ref-man/ocamlfind.1 "/home/opam/.opam/4.10/man/man1"
- cp doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 "/home/opam/.opam/4.10/man/man5"
- make[1]: Leaving directory '/home/opam/.opam/4.10/.opam-switch/build/ocamlfind.1.9.1'
-> installed ocamlfind.1.9.1
Processing 20/21: [camlbz2: aclocal .]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "aclocal" "-I" "." (CWD=/home/opam/.opam/4.10/.opam-switch/build/camlbz2.0.7.0)
- aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
- ocaml.m4:20: warning: underquoted definition of AC_PROG_OCAML
- ocaml.m4:20:   run info Automake 'Extending aclocal'
- ocaml.m4:20:   or see https://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
Processing 20/21: [camlbz2: autoconf]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "autoconf" (CWD=/home/opam/.opam/4.10/.opam-switch/build/camlbz2.0.7.0)
- configure.in:42: warning: AC_OUTPUT should be used without arguments.
- configure.in:42: You should run autoupdate.
Processing 20/21: [camlbz2: ./configure]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "--prefix" "/home/opam/.opam/4.10" (CWD=/home/opam/.opam/4.10/.opam-switch/build/camlbz2.0.7.0)
- checking for ocamlc... ocamlc
- OCaml version is 4.10.2
- OCaml library path is /home/opam/.opam/4.10/lib/ocaml
- checking for ocamlopt... ocamlopt
- checking for ocamlc.opt... ocamlc.opt
- checking for ocamlopt.opt... ocamlopt.opt
- checking for ocamldep... ocamldep
- checking for ocamlmktop... ocamlmktop
- checking for ocamlmklib... ocamlmklib
- checking for ocamldoc... ocamldoc
- awk: line 1: regular expression compile failed (syntax error ^* or ^+)
- ^+
- OCaml uses to compile C files
- checking for ocamlfind... ocamlfind
- checking for gcc... gcc
- checking whether the C compiler works... yes
- checking for C compiler default output file name... a.out
- checking for suffix of executables... 
- checking whether we are cross compiling... no
- checking for suffix of object files... o
- checking whether the compiler supports GNU C... yes
- checking whether gcc accepts -g... yes
- checking for gcc option to enable C11 features... none needed
- checking for a BSD-compatible install... /usr/bin/install -c
- checking for stdio.h... yes
- checking for stdlib.h... yes
- checking for string.h... yes
- checking for inttypes.h... yes
- checking for stdint.h... yes
- checking for strings.h... yes
- checking for sys/stat.h... yes
- checking for sys/types.h... yes
- checking for unistd.h... yes
- checking for bzlib.h... yes
- checking for BZ2_bzReadOpen in -lbz2... yes
- configure: creating ./config.status
- config.status: creating Makefile
Processing 20/21: [camlbz2: make]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" (CWD=/home/opam/.opam/4.10/.opam-switch/build/camlbz2.0.7.0)
- ocamlc.opt -ccopt "-D BZ_PREFIX  " -c c_bz.c
- c_bz.c: In function 'mlbz_readopen':
- c_bz.c:121:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   121 |     c_unused  = String_val(Field(unused, 0)) ;
-       |               ^
- c_bz.c: In function 'mlbz_read':
- c_bz.c:143:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   143 |   c_buf = String_val(buf) + c_pos ;
-       |         ^
- In file included from c_bz.c:19:
- c_bz.c: In function 'mlbz_readgetunused':
- /home/opam/.opam/4.10/lib/ocaml/caml/mlvalues.h:265:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   265 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- c_bz.c:174:10: note: in expansion of macro 'String_val'
-   174 |   memcpy(String_val(result), unused, nunused) ;
-       |          ^~~~~~~~~~
- In file included from c_bz.c:14:
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
-    43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
-       |                      ~~~~~~~~~~~~~~~~~^~~~~~
- c_bz.c: In function 'mlbz_write':
- c_bz.c:204:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   204 |   c_buf = String_val(buf) + c_pos ;
-       |         ^
- c_bz.c: In function 'mlbz_compress':
- c_bz.c:242:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   242 |   src_buf = String_val(src) + c_pos;
-       |           ^
- In file included from c_bz.c:19:
- /home/opam/.opam/4.10/lib/ocaml/caml/mlvalues.h:265:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   265 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- c_bz.c:267:10: note: in expansion of macro 'String_val'
-   267 |   memcpy(String_val(result), dst_buf, dst_len);
-       |          ^~~~~~~~~~
- In file included from c_bz.c:14:
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
-    43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
-       |                      ~~~~~~~~~~~~~~~~~^~~~~~
- c_bz.c: In function 'mlbz_uncompress':
- c_bz.c:287:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   287 |   src_buf = String_val(src) + c_pos;
-       |           ^
- In file included from c_bz.c:19:
- /home/opam/.opam/4.10/lib/ocaml/caml/mlvalues.h:265:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   265 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- c_bz.c:320:10: note: in expansion of macro 'String_val'
-   320 |   memcpy(String_val(result), dst_buf, dst_len);
-       |          ^~~~~~~~~~
- In file included from c_bz.c:14:
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
-    43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
-       |                      ~~~~~~~~~~~~~~~~~^~~~~~
- ocamlmklib -oc camlbz2 c_bz.o -lbz2 
- ocamlc.opt -c bz2.mli
- File "bz2.mli", line 54, characters 46-67:
- 54 | val open_in : ?small:bool -> ?unused:bytes -> Pervasives.in_channel ->
-                                                    ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
- 
- If you need to stay compatible with OCaml < 4.07, you can use the 
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "bz2.mli", line 84, characters 29-51:
- 84 | val open_out : ?block:int -> Pervasives.out_channel -> out_channel
-                                   ^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
- 
- If you need to stay compatible with OCaml < 4.07, you can use the 
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- ocamlc.opt -c bz2.ml
- File "bz2.ml", line 31, characters 51-72:
- 31 | external open_in : ?small:bool -> ?unused:bytes -> Pervasives.in_channel ->
-                                                         ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
- 
- If you need to stay compatible with OCaml < 4.07, you can use the 
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "bz2.ml", line 44, characters 34-56:
- 44 | external open_out : ?block:int -> Pervasives.out_channel -> out_channel
-                                        ^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
- 
- If you need to stay compatible with OCaml < 4.07, you can use the 
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- ocamlmklib -oc camlbz2 -o bz2 bz2.cmo -lbz2 
- ocamlopt.opt -c bz2.ml
- File "bz2.ml", line 31, characters 51-72:
- 31 | external open_in : ?small:bool -> ?unused:bytes -> Pervasives.in_channel ->
-                                                         ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
- 
- If you need to stay compatible with OCaml < 4.07, you can use the 
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "bz2.ml", line 44, characters 34-56:
- 44 | external open_out : ?block:int -> Pervasives.out_channel -> out_channel
-                                        ^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
- 
- If you need to stay compatible with OCaml < 4.07, you can use the 
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- ocamlmklib -oc camlbz2 -o bz2 bz2.cmx -lbz2 
-> compiled  camlbz2.0.7.0
Processing 21/21: [camlbz2: make install]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/4.10/.opam-switch/build/camlbz2.0.7.0)
- ocamlfind remove  bz2
- ocamlfind: [WARNING] No such file: /home/opam/.opam/4.10/lib/bz2/META
- ocamlfind install  \
- 	-patch-version 0.6.0 -ldconf ignore \
- 	bz2 META bz2.cmi bz2.mli bz2.cma dllcamlbz2.so libcamlbz2.a bz2.cmx bz2.cmxa bz2.a
- Installed /home/opam/.opam/4.10/lib/bz2/bz2.a
- Installed /home/opam/.opam/4.10/lib/bz2/bz2.cmxa
- Installed /home/opam/.opam/4.10/lib/bz2/bz2.cmx
- Installed /home/opam/.opam/4.10/lib/bz2/libcamlbz2.a
- Installed /home/opam/.opam/4.10/lib/bz2/bz2.cma
- Installed /home/opam/.opam/4.10/lib/bz2/bz2.mli
- Installed /home/opam/.opam/4.10/lib/bz2/bz2.cmi
- Installed /home/opam/.opam/4.10/lib/stublibs/dllcamlbz2.so
- Installed /home/opam/.opam/4.10/lib/stublibs/dllcamlbz2.so.owner
- Installed /home/opam/.opam/4.10/lib/bz2/META
-> installed camlbz2.0.7.0
Done.
# Run eval $(opam env) to update the current shell environment
2022-01-02 09:12.39 ---> saved as "1de28f43e724328e35dee514262577215f0a704b75cac679f196e561efb583ec"
Job succeeded