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


Building on x86-bm-5.ocamllabs.io

(from ocaml/opam:debian-unstable@sha256:7054d8a46152338971700614b854690c8ce1a3d6024d9e66b018a8e73119aa3f)
Unable to find image 'ocaml/opam:debian-unstable@sha256:7054d8a46152338971700614b854690c8ce1a3d6024d9e66b018a8e73119aa3f' locally
docker.io/ocaml/opam@sha256:7054d8a46152338971700614b854690c8ce1a3d6024d9e66b018a8e73119aa3f: Pulling from ocaml/opam
2db5444d1f5b: Already exists
f086bebd22a1: Already exists
3264a46f1e18: Pulling fs layer
3264a46f1e18: Verifying Checksum
3264a46f1e18: Download complete
3264a46f1e18: Pull complete
Digest: sha256:7054d8a46152338971700614b854690c8ce1a3d6024d9e66b018a8e73119aa3f
Status: Downloaded newer image for ocaml/opam@sha256:7054d8a46152338971700614b854690c8ce1a3d6024d9e66b018a8e73119aa3f
2022-03-03 15:08.17 ---> using "373f9b631d075c18f7442f5ab0fc65a1fd416e45c4bad373f7db673d6cf80f59" from cache

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

/: (env OPAMPRECISETRACKING 1)

/: (env OPAMUTF8 never)

/: (env OPAMEXTERNALSOLVER builtin-0install)

/: (env OPAMCRITERIA +removed)

/: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2022-03-03 15:08.17 ---> using "88849b7b49c5c9e5ea88c51a2386f85dc9692b3cbbbdfa071a4b6fb51a141dbe" 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 892f7bcbcb6c1fd05911ac75d53aa8c9f717b4b0"))
2022-03-03 15:08.17 ---> using "404c235885055cd745b552882486f8b810a0b774621d6103597df8eba1715fda" 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-03-03 15:08.17 ---> using "0af54149d5e87a921b7dadf447f75ea502ca8353b2aa045688bdf344893d2879" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "opam switch create --repositories=default '5.0' '5.0.0+trunk'"))

<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-variants" {= "5.0.0+trunk"}]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> retrieved ocaml-variants.5.0.0+trunk  (https://github.com/ocaml/ocaml/archive/trunk.tar.gz)
-> installed ocaml-variants.5.0.0+trunk
-> installed ocaml-config.2
-> installed ocaml.5.0.0
-> installed base-domains.base
-> installed base-nnp.base
Done.
# Run eval $(opam env --switch=5.0) to update the current shell environment
2022-03-03 15:08.17 ---> using "6e72cf26fd516c1f6023fefbfb06423fb2a70f5c0f578b8a953b232961c9d7a5" 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 [9010 kB]
- Fetched 9239 kB in 3s (3609 kB/s)
- Reading package lists...
- 
2022-03-03 15:08.17 ---> using "708e5a906b5e33b07163690001b6ed5f3c19f4ba230e3fe1ebe1f45f6cb0cb40" 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 conf-which    1     [required by conf-autoconf]
  - install ocamlfind     1.9.3 [required by camlbz2]
  - 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 ... 18398 files and directories currently installed.)
- Preparing to unpack .../0-libsigsegv2_2.14-1_amd64.deb ...
- Unpacking libsigsegv2:amd64 (2.14-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_20220109.1_all.deb ...
- Unpacking autotools-dev (20220109.1) ...
- 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 (20220109.1) ...
- Setting up libsigsegv2:amd64 (2.14-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.33-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.3  (cached)
Processing 10/21: [conf-libbz2: sh echo '#include <bzlib.h>' > test.c] [conf-which: which which] [ocamlfind: ./configure]
- + echo #include <bzlib.h>
Processing 10/21: [conf-libbz2: sh echo 'int main() { return 0; }' >> test.c] [conf-which: which which] [ocamlfind: ./configure]
- /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]
- + echo int main() { return 0; }
Processing 12/21: [conf-autoconf: which autoconf] [conf-libbz2: cc test.c] [ocamlfind: ./configure]
- /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]
-> compiled  conf-libbz2.1
Processing 14/21: [conf-automake: automake] [ocamlfind: ./configure]
-> installed conf-libbz2.1
Processing 15/21: [conf-automake: automake] [ocamlfind: ./configure]
- 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]
- 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/5.0/bin" "-sitelib" "/home/opam/.opam/5.0/lib" "-mandir" "/home/opam/.opam/5.0/man" "-config" "/home/opam/.opam/5.0/lib/findlib.conf" "-no-custom" "-no-camlp4" (CWD=/home/opam/.opam/5.0/.opam-switch/build/ocamlfind.1.9.3)
- Welcome to findlib version 1.9.3
- Configuring core...
- Checking for #remove_directory...
- Testing threading model...
- systhread_supported: true
- Testing DLLs...
- Testing whether ppxopt can be supported...
- Checking for ocamlc -opaque...
- Querying installation: META list not found
- make install will double-check installed META files
- Configuring libraries...
- unix: found
- bigarray: not present (possible since 4.08)
- compiler-libs: found
- dbm: not present (normal since 4.00)
- graphics: not present (normal since 4.09)
- num: not present (normal since 4.06)
- ocamlbuild: not present (normal since 4.03)
- ocamldoc: found
- raw_spacetime: not present (normal since 4.12)
- threads: found
- str: found
- labltk: not present (normal since 4.02)
- native dynlink: found
- camlp4: disabled
- bytes: found, installing fake library
- Configuration for dynlink written to site-lib-src/dynlink/META
- Configuration for stdlib written to site-lib-src/stdlib/META
- Configuration for unix written to site-lib-src/unix/META
- Configuration for compiler-libs written to site-lib-src/compiler-libs/META
- Configuration for ocamldoc written to site-lib-src/ocamldoc/META
- Configuration for threads written to site-lib-src/threads/META
- Configuration for str written to site-lib-src/str/META
- Configuration for bytes written to site-lib-src/bytes/META
- Detecting compiler arguments: (extractor built) ok
- 
- About the OCAML core installation:
-     Standard library:      /home/opam/.opam/5.0/lib/ocaml
-     Binaries:              /home/opam/.opam/5.0/bin
-     Manual pages:          /home/opam/.opam/5.0/man
-     Multi-threading type:  posix
- The directory of site-specific packages will be
-     site-lib:              /home/opam/.opam/5.0/lib
- The configuration file is written to:
-     findlib config file:   /home/opam/.opam/5.0/lib/findlib.conf
- Software will be installed:
-     Libraries:             in <site-lib>/findlib
-     Binaries:              /home/opam/.opam/5.0/bin
-     Manual pages:          /home/opam/.opam/5.0/man
-     topfind script:        /home/opam/.opam/5.0/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/5.0/.opam-switch/build/ocamlfind.1.9.3)
- for p in findlib; do ( cd src/$p; make all ) || exit; done
- make[1]: Entering directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlfind.1.9.3/src/findlib'
- ocamllex fl_meta.mll
- 22 states, 392 transitions, table size 1700 bytes
- USE_CYGPATH="0"; \
- export USE_CYGPATH; \
- cat findlib_config.mlp | \
-          ../../tools/patch '@CONFIGFILE@' '/home/opam/.opam/5.0/lib/findlib.conf' | \
-          ../../tools/patch '@STDLIB@' '/home/opam/.opam/5.0/lib/ocaml' | \
- 	sed -e 's;@AUTOLINK@;true;g' \
- 	    -e 's;@SYSTEM@;linux;g' \
- 	     >findlib_config.ml
- if [ "true" = "true" ]; then                 \
- 	cp topfind.ml.in topfind.ml;                             \
- else                                                             \
- 	sed -e '/PPXOPT_BEGIN/,/PPXOPT_END/ d' topfind.ml.in     \
- 		> topfind.ml ;                                   \
- fi
- ocamldep *.ml *.mli >depend
- ocamlc -I +compiler-libs -opaque    -g -c findlib_config.ml
- ocamlc -I +compiler-libs -opaque    -g -c fl_split.ml
- ocamlc -I +compiler-libs -opaque    -g -c fl_metatoken.ml
- ocamlc -I +compiler-libs -opaque    -g -c fl_meta.ml
- ocamlc -I +compiler-libs -opaque    -c fl_metascanner.mli
- ocamlc -I +compiler-libs -opaque    -g -c fl_metascanner.ml
- ocamlc -I +compiler-libs -opaque    -c fl_topo.mli
- ocamlc -I +compiler-libs -opaque    -g -c fl_topo.ml
- ocamlc -I +compiler-libs -opaque    -c fl_package_base.mli
- ocamlc -I +compiler-libs -opaque    -g -c fl_package_base.ml
- File "fl_package_base.ml", line 304, characters 22-40:
- 304 | 	 let pkg_ancestors = query_requirements predlist pkg in
-       	                     ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- File "fl_package_base.ml", line 350, characters 18-36:
- 350 |   let ancestors = query_requirements predlist package_name in
-                         ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- File "fl_package_base.ml", line 375, characters 23-41:
- 375 | 	  let pkg_ancestors = query_requirements predlist pkg in
-       	                      ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- File "fl_package_base.ml", line 510, characters 16-35:
- 510 | 	     ( let c = package_definitions search_path pkg.package_name in
-       	               ^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label search_path was omitted in the application of this function.
- ocamlc -I +compiler-libs -opaque    -c findlib.mli
- ocamlc -I +compiler-libs -opaque    -g -c findlib.ml
- File "findlib.ml", line 390, characters 2-26:
- 390 |   Fl_package_base.requires predlist pkg
-         ^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- File "findlib.ml", line 396, characters 2-33:
- 396 |   Fl_package_base.requires_deeply predlist pkglist
-         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- ocamlc -I +compiler-libs -opaque    -g -c fl_args.ml
- ocamlc -I +compiler-libs -opaque    -g -c fl_lint.ml
- ocamlc -I +compiler-libs -a -o findlib.cma findlib_config.cmo fl_split.cmo fl_metatoken.cmo fl_meta.cmo fl_metascanner.cmo fl_topo.cmo fl_package_base.cmo findlib.cmo fl_args.cmo fl_lint.cmo
- ocamlc -I +compiler-libs -opaque    -g -c ocaml_args.ml
- ocamlc -I +compiler-libs -opaque    -g -c frontend.ml
- File "frontend.ml", line 859, characters 10-39:
- 859 |           Fl_package_base.package_users predicates1 packages1
-                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- ocamlc -I +compiler-libs  -o ocamlfind -g findlib.cma unix.cma \
-             ocaml_args.cmo frontend.cmo
- ocamlc -I +compiler-libs -opaque    -c topfind.mli
- ocamlc -I +compiler-libs -opaque    -g -c topfind.ml
- File "topfind.ml", line 126, characters 40-63:
- 126 |                      match Hashtbl.find Toploop.directive_table "ppx" with
-                                               ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 256, characters 4-27:
- 256 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 266, characters 4-27:
- 266 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 278, characters 4-27:
- 278 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 291, characters 4-27:
- 291 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 305, characters 4-27:
- 305 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 317, characters 4-27:
- 317 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- ocamlc -I +compiler-libs -a -o findlib_top.cma topfind.cmo
- USE_CYGPATH="0"; \
- export USE_CYGPATH; \
- cat topfind_rd1.p | \
-          ../../tools/patch '@SITELIB@' '/home/opam/.opam/5.0/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/5.0/.opam-switch/build/ocamlfind.1.9.3/src/findlib'
- make all-config
- make[1]: Entering directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlfind.1.9.3'
- USE_CYGPATH="0"; \
- export USE_CYGPATH; \
- cat findlib.conf.in | \
-      tools/patch '@SITELIB@' '/home/opam/.opam/5.0/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/5.0/.opam-switch/build/ocamlfind.1.9.3'
Processing 18/21: [ocamlfind: make opt]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "opt" (CWD=/home/opam/.opam/5.0/.opam-switch/build/ocamlfind.1.9.3)
- for p in findlib; do ( cd src/$p; make opt ) || exit; done
- make[1]: Entering directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlfind.1.9.3/src/findlib'
- ocamlopt -I +compiler-libs -g -opaque   -c findlib_config.ml
- ocamlopt -I +compiler-libs -g -opaque   -c fl_split.ml
- ocamlopt -I +compiler-libs -g -opaque   -c fl_metatoken.ml
- ocamlopt -I +compiler-libs -g -opaque   -c fl_meta.ml
- ocamlopt -I +compiler-libs -g -opaque   -c fl_metascanner.ml
- ocamlopt -I +compiler-libs -g -opaque   -c fl_topo.ml
- ocamlopt -I +compiler-libs -g -opaque   -c fl_package_base.ml
- File "fl_package_base.ml", line 304, characters 22-40:
- 304 | 	 let pkg_ancestors = query_requirements predlist pkg in
-       	                     ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- File "fl_package_base.ml", line 350, characters 18-36:
- 350 |   let ancestors = query_requirements predlist package_name in
-                         ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- File "fl_package_base.ml", line 375, characters 23-41:
- 375 | 	  let pkg_ancestors = query_requirements predlist pkg in
-       	                      ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- File "fl_package_base.ml", line 510, characters 16-35:
- 510 | 	     ( let c = package_definitions search_path pkg.package_name in
-       	               ^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label search_path was omitted in the application of this function.
- ocamlopt -I +compiler-libs -g -opaque   -c findlib.ml
- File "findlib.ml", line 390, characters 2-26:
- 390 |   Fl_package_base.requires predlist pkg
-         ^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- File "findlib.ml", line 396, characters 2-33:
- 396 |   Fl_package_base.requires_deeply predlist pkglist
-         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- ocamlopt -I +compiler-libs -g -opaque   -c fl_args.ml
- ocamlopt -I +compiler-libs -g -opaque   -c fl_lint.ml
- ocamlopt -I +compiler-libs -g -a -o findlib.cmxa findlib_config.cmx fl_split.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx
- if [ 1 -gt 0 ]; then \
-     ocamlopt -I +compiler-libs -g -shared -o findlib.cmxs findlib_config.cmx fl_split.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx; \
- fi
- ocamlopt -I +compiler-libs -g -opaque   -c ocaml_args.ml
- ocamlopt -I +compiler-libs -g -opaque   -c frontend.ml
- File "frontend.ml", line 859, characters 10-39:
- 859 |           Fl_package_base.package_users predicates1 packages1
-                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- ocamlopt -I +compiler-libs -g -o ocamlfind_opt findlib.cmxa unix.cmxa \
- 	    ocaml_args.cmx frontend.cmx
- ocamlopt -I +compiler-libs -g -opaque   -c topfind.ml
- File "topfind.ml", line 126, characters 40-63:
- 126 |                      match Hashtbl.find Toploop.directive_table "ppx" with
-                                               ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 256, characters 4-27:
- 256 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 266, characters 4-27:
- 266 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 278, characters 4-27:
- 278 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 291, characters 4-27:
- 291 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 305, characters 4-27:
- 305 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 317, characters 4-27:
- 317 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- 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/5.0/.opam-switch/build/ocamlfind.1.9.3/src/findlib'
-> compiled  ocamlfind.1.9.3
Processing 19/21: [ocamlfind: make install]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/5.0/.opam-switch/build/ocamlfind.1.9.3)
- if [ "1" -eq 1 ]; then \
-     for x in camlp4 dbm graphics labltk num ocamlbuild; do \
-       if [ -f "/home/opam/.opam/5.0/lib/$x/META" ]; then \
-         if ! grep -Fq '[distributed with Ocaml]' "//home/opam/.opam/5.0/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/5.0/bin"
- mkdir -p "/home/opam/.opam/5.0/man"
- make install-config
- make[1]: Entering directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlfind.1.9.3'
- mkdir -p "`dirname \"/home/opam/.opam/5.0/lib/findlib.conf\"`"
- test -f "/home/opam/.opam/5.0/lib/findlib.conf" || cp findlib.conf "/home/opam/.opam/5.0/lib/findlib.conf"
- make[1]: Leaving directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlfind.1.9.3'
- for p in findlib; do ( cd src/$p; make install ); done
- make[1]: Entering directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlfind.1.9.3/src/findlib'
- mkdir -p "/home/opam/.opam/5.0/lib/findlib"
- mkdir -p "/home/opam/.opam/5.0/bin"
- test 1 -eq 0 || cp topfind "/home/opam/.opam/5.0/lib/ocaml"
- files=` ../../tools/collect_files ../../Makefile.config \
- findlib.cmi findlib.mli findlib.cma findlib.cmxa findlib.a findlib.cmxs \
- findlib_config.cmi findlib_config.ml topfind.cmi topfind.mli \
- fl_args.cmi fl_lint.cmi fl_meta.cmi fl_split.cmi fl_topo.cmi ocaml_args.cmi \
- fl_package_base.mli fl_package_base.cmi fl_metascanner.mli fl_metascanner.cmi \
- fl_metatoken.cmi findlib_top.cma findlib_top.cmxa findlib_top.a findlib_top.cmxs \
- findlib_dynload.cma findlib_dynload.cmxa findlib_dynload.a findlib_dynload.cmxs fl_dynload.mli fl_dynload.cmi \
- META` && \
- cp $files "/home/opam/.opam/5.0/lib/findlib"
- f="ocamlfind"; { test -f ocamlfind_opt && f="ocamlfind_opt"; }; \
- cp $f "/home/opam/.opam/5.0/bin/ocamlfind"
- # the following "if" block is only needed for 4.00beta2
- if [ 1 -eq 0 -a -f "/home/opam/.opam/5.0/lib/ocaml/compiler-libs/topdirs.cmi" ]; then \
-     cd "/home/opam/.opam/5.0/lib/ocaml/compiler-libs/"; \
-     cp topdirs.cmi toploop.cmi "/home/opam/.opam/5.0/lib/findlib/"; \
- fi
- make[1]: Leaving directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlfind.1.9.3/src/findlib'
- make install-meta
- make[1]: Entering directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlfind.1.9.3'
- for x in bytes compiler-libs dynlink ocamldoc stdlib str threads unix ; do mkdir -p "/home/opam/.opam/5.0/lib/$x"; cp site-lib-src/$x/META "/home/opam/.opam/5.0/lib/$x/META.tmp" && mv "/home/opam/.opam/5.0/lib/$x/META.tmp" "/home/opam/.opam/5.0/lib/$x/META"; done
- mkdir -p "/home/opam/.opam/5.0/lib/findlib"; cp Makefile.packages "/home/opam/.opam/5.0/lib/findlib/Makefile.packages"
- make[1]: Leaving directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlfind.1.9.3'
- 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/5.0/bin"
- make install-doc
- make[1]: Entering directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlfind.1.9.3'
- mkdir -p "/home/opam/.opam/5.0/man/man1" "/home/opam/.opam/5.0/man/man3" "/home/opam/.opam/5.0/man/man5"
- cp doc/ref-man/ocamlfind.1 "/home/opam/.opam/5.0/man/man1"
- cp doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 "/home/opam/.opam/5.0/man/man5"
- make[1]: Leaving directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlfind.1.9.3'
-> installed ocamlfind.1.9.3
Processing 20/21: [camlbz2: aclocal .]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "aclocal" "-I" "." (CWD=/home/opam/.opam/5.0/.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/5.0/.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/5.0" (CWD=/home/opam/.opam/5.0/.opam-switch/build/camlbz2.0.7.0)
- checking for ocamlc... ocamlc
- OCaml version is 5.0.0+dev0-2021-11-05
- OCaml library path is /home/opam/.opam/5.0/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/5.0/.opam-switch/build/camlbz2.0.7.0)
[ERROR] The compilation of camlbz2.0.7.0 failed at "make".

#=== ERROR while compiling camlbz2.0.7.0 ======================================#
# context              2.2.0~alpha~dev | linux/x86_64 | ocaml-variants.5.0.0+trunk | file:///home/opam/opam-repository
# path                 ~/.opam/5.0/.opam-switch/build/camlbz2.0.7.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build make
# exit-code            2
# env-file             ~/.opam/log/camlbz2-11-3cbec8.env
# output-file          ~/.opam/log/camlbz2-11-3cbec8.out
### output ###
# ocamlc.opt -ccopt "-D BZ_PREFIX  " -c c_bz.c
# c_bz.c: In function 'mlbz_error':
# c_bz.c:49:7: warning: implicit declaration of function 'invalid_argument'; did you mean 'caml_invalid_argument'? [-Wimplicit-function-declaration]
#    49 |       invalid_argument(msg) ; break ;
#       |       ^~~~~~~~~~~~~~~~
#       |       caml_invalid_argument
# c_bz.c:51:7: warning: implicit declaration of function 'raise_out_of_memory'; did you mean 'caml_raise_out_of_memory'? [-Wimplicit-function-declaration]
#    51 |       raise_out_of_memory() ; break ;
#       |       ^~~~~~~~~~~~~~~~~~~
#       |       caml_raise_out_of_memory
# c_bz.c:54:7: warning: implicit declaration of function 'raise_constant'; did you mean 'caml_raise_constant'? [-Wimplicit-function-declaration]
#    54 |       raise_constant(*caml_named_value("mlbz_data_exn")) ; break ;
#       |       ^~~~~~~~~~~~~~
#       |       caml_raise_constant
# c_bz.c:56:7: warning: implicit declaration of function 'raise_with_string'; did you mean 'caml_raise_with_string'? [-Wimplicit-function-declaration]
#    56 |       raise_with_string(*caml_named_value("mlbz_io_exn"),
#       |       ^~~~~~~~~~~~~~~~~
#       |       caml_raise_with_string
# c_bz.c:61:7: warning: implicit declaration of function 'failwith'; did you mean 'caml_failwith'? [-Wimplicit-function-declaration]
#    61 |       failwith(msg) ;
#       |       ^~~~~~~~
#       |       caml_failwith
# c_bz.c: In function 'Val_twoptr':
# c_bz.c:74:11: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration]
#    74 |   result= alloc_small(3, Abstract_tag);
#       |           ^~~~~~~~~~~
#       |           caml_alloc_small
# c_bz.c: In function 'mlbz_version':
# c_bz.c:105:10: warning: implicit declaration of function 'copy_string'; did you mean 'caml_copy_string'? [-Wimplicit-function-declaration]
#   105 |   return copy_string(BZ_P(bzlibVersion())) ;
#       |          ^~~~~~~~~~~
#       |          caml_copy_string
# 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:122:17: warning: implicit declaration of function 'string_length'; did you mean 'caml_string_length'? [-Wimplicit-function-declaration]
#   122 |     c_nunused = string_length(Field(unused, 0));
#       |                 ^~~~~~~~~~~~~
#       |                 caml_string_length
# c_bz.c: In function 'mlbz_read':
# c_bz.c:139:5: warning: implicit declaration of function 'raise_end_of_file'; did you mean 'caml_raise_end_of_file'? [-Wimplicit-function-declaration]
#   139 |     raise_end_of_file() ;
#       |     ^~~~~~~~~~~~~~~~~
#       |     caml_raise_end_of_file
# c_bz.c:143:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   143 |   c_buf = String_val(buf) + c_pos ;
#       |         ^
# c_bz.c: In function 'mlbz_readgetunused':
# c_bz.c:173:12: warning: implicit declaration of function 'alloc_string'; did you mean 'caml_alloc_string'? [-Wimplicit-function-declaration]
#   173 |   result = alloc_string(nunused) ;
#       |            ^~~~~~~~~~~~
#       |            caml_alloc_string
# In file included from c_bz.c:19:
# /home/opam/.opam/5.0/lib/ocaml/caml/mlvalues.h:316:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   316 | #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/5.0/lib/ocaml/caml/mlvalues.h:316:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   316 | #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/5.0/lib/ocaml/caml/mlvalues.h:316:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   316 | #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 ->
#                                                    ^^^^^^^^^^^^^^^^^^^^^
# Error: Unbound module Pervasives
# make: *** [Makefile:122: bz2.cmi] Error 2

- ocamlc.opt -ccopt "-D BZ_PREFIX  " -c c_bz.c
- c_bz.c: In function 'mlbz_error':
- c_bz.c:49:7: warning: implicit declaration of function 'invalid_argument'; did you mean 'caml_invalid_argument'? [-Wimplicit-function-declaration]
-    49 |       invalid_argument(msg) ; break ;
-       |       ^~~~~~~~~~~~~~~~
-       |       caml_invalid_argument
- c_bz.c:51:7: warning: implicit declaration of function 'raise_out_of_memory'; did you mean 'caml_raise_out_of_memory'? [-Wimplicit-function-declaration]
-    51 |       raise_out_of_memory() ; break ;
-       |       ^~~~~~~~~~~~~~~~~~~
-       |       caml_raise_out_of_memory
- c_bz.c:54:7: warning: implicit declaration of function 'raise_constant'; did you mean 'caml_raise_constant'? [-Wimplicit-function-declaration]
-    54 |       raise_constant(*caml_named_value("mlbz_data_exn")) ; break ;
-       |       ^~~~~~~~~~~~~~
-       |       caml_raise_constant
- c_bz.c:56:7: warning: implicit declaration of function 'raise_with_string'; did you mean 'caml_raise_with_string'? [-Wimplicit-function-declaration]
-    56 |       raise_with_string(*caml_named_value("mlbz_io_exn"),
-       |       ^~~~~~~~~~~~~~~~~
-       |       caml_raise_with_string
- c_bz.c:61:7: warning: implicit declaration of function 'failwith'; did you mean 'caml_failwith'? [-Wimplicit-function-declaration]
-    61 |       failwith(msg) ;
-       |       ^~~~~~~~
-       |       caml_failwith
- c_bz.c: In function 'Val_twoptr':
- c_bz.c:74:11: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration]
-    74 |   result= alloc_small(3, Abstract_tag);
-       |           ^~~~~~~~~~~
-       |           caml_alloc_small
- c_bz.c: In function 'mlbz_version':
- c_bz.c:105:10: warning: implicit declaration of function 'copy_string'; did you mean 'caml_copy_string'? [-Wimplicit-function-declaration]
-   105 |   return copy_string(BZ_P(bzlibVersion())) ;
-       |          ^~~~~~~~~~~
-       |          caml_copy_string
- 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:122:17: warning: implicit declaration of function 'string_length'; did you mean 'caml_string_length'? [-Wimplicit-function-declaration]
-   122 |     c_nunused = string_length(Field(unused, 0));
-       |                 ^~~~~~~~~~~~~
-       |                 caml_string_length
- c_bz.c: In function 'mlbz_read':
- c_bz.c:139:5: warning: implicit declaration of function 'raise_end_of_file'; did you mean 'caml_raise_end_of_file'? [-Wimplicit-function-declaration]
-   139 |     raise_end_of_file() ;
-       |     ^~~~~~~~~~~~~~~~~
-       |     caml_raise_end_of_file
- c_bz.c:143:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   143 |   c_buf = String_val(buf) + c_pos ;
-       |         ^
- c_bz.c: In function 'mlbz_readgetunused':
- c_bz.c:173:12: warning: implicit declaration of function 'alloc_string'; did you mean 'caml_alloc_string'? [-Wimplicit-function-declaration]
-   173 |   result = alloc_string(nunused) ;
-       |            ^~~~~~~~~~~~
-       |            caml_alloc_string
- In file included from c_bz.c:19:
- /home/opam/.opam/5.0/lib/ocaml/caml/mlvalues.h:316:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   316 | #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/5.0/lib/ocaml/caml/mlvalues.h:316:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   316 | #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/5.0/lib/ocaml/caml/mlvalues.h:316:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   316 | #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 ->
-                                                    ^^^^^^^^^^^^^^^^^^^^^
- Error: Unbound module Pervasives
- make: *** [Makefile:122: bz2.cmi] Error 2


<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build camlbz2 0.7.0
+- 
+- The following changes have been performed
| - install conf-aclocal  2
| - install conf-autoconf 0.1
| - install conf-automake 1
| - install conf-libbz2   1
| - install conf-which    1
| - install ocamlfind     1.9.3
+- 
# Run eval $(opam env) to update the current shell environment

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/5.0/.opam-switch/backup/state-20220303150821.export"
'opam install -vy camlbz2.0.7.0' failed.
"/bin/bash" "-c"
"
opam remove -y "camlbz2.0.7.0"
opam install -vy "camlbz2.0.7.0"
res=$?
if [ $res = 31 ]; then
    if opam show -f x-ci-accept-failures: "camlbz2.0.7.0" | grep -q '"debian-unstable"'; then
        echo "This package failed and has been disabled for CI using the 'x-ci-accept-failures' field."
        exit 69
    fi
fi


exit $res
" failed with exit status 31
Failed: Build failed