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


Building on clete.ocamllabs.io

(from ocaml/opam:debian-unstable@sha256:a20618cee40a09b4c7604919411db28c4ae473b9780730085f91824e8dd5f205)
Unable to find image 'ocaml/opam:debian-unstable@sha256:a20618cee40a09b4c7604919411db28c4ae473b9780730085f91824e8dd5f205' locally
docker.io/ocaml/opam@sha256:a20618cee40a09b4c7604919411db28c4ae473b9780730085f91824e8dd5f205: Pulling from ocaml/opam
f8f85475deda: Pulling fs layer
f8f85475deda: Download complete
f8f85475deda: Pull complete
Digest: sha256:a20618cee40a09b4c7604919411db28c4ae473b9780730085f91824e8dd5f205
Status: Downloaded newer image for ocaml/opam@sha256:a20618cee40a09b4c7604919411db28c4ae473b9780730085f91824e8dd5f205
2022-09-04 01:40.18 ---> using "00583e82ec888c922d57db664b8acb62b642829c5a4a94b17a44e5693b1db2de" 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-09-04 01:40.18 ---> using "f816199fc982412d3ea70ae1ae1bab135eea82bc7670ac5d731bc57d0733e3c4" 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 418227c38ed4e28a0827786e5e9e50b9547c0b27"))
2022-09-04 01:40.18 ---> using "4cabcce7a0cb6de31986471b51abc9f1f3fec6a75be6e83e549da867c7605e5a" 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-09-04 01:40.18 ---> using "d451da695ab21573c7bdead4176eec083b0218f568c4ccf5f5b38b162d64d4d7" from cache

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

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> retrieved ocaml-base-compiler.4.03.0  (cached)
-> installed ocaml-base-compiler.4.03.0
-> installed ocaml-config.1
-> installed ocaml.4.03.0
Done.
# Run eval $(opam env --switch=4.03) to update the current shell environment
2022-09-04 01:40.18 ---> using "0ccae567b41c2395705a7eea3797593b766fb52ea3c537231e0ad712fb4b6e5b" from cache

/: (run (network host)
        (shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [192 kB]
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-09-02-2004.24-F-2022-08-29-1405.22.pdiff [289 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-09-02-2004.24-F-2022-08-29-1405.22.pdiff [289 kB]
- Fetched 544 kB in 3s (211 kB/s)
- Reading package lists...
- 
2022-09-04 01:40.18 ---> using "a71cc74f873c7ec72bdb3124a81382e32639a6ec91dc1ccf29bbe300ab8dddfe" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "opam install -y ocaml-secondary-compiler"))
The following actions will be performed:
=== install 1 package
  - install ocaml-secondary-compiler 4.08.1-1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-secondary-compiler.4.08.1-1  (cached)
-> installed ocaml-secondary-compiler.4.08.1-1
Done.
# Run eval $(opam env) to update the current shell environment
2022-09-04 01:40.18 ---> using "a563d3df39850b6115eca1bd0d738abc4fd1b95d0b006c9a02a564548de8d50e" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell  "\
               \nopam remove -y \"ssl.0.5.2\"\
               \nopam install -vy \"ssl.0.5.2\"\
               \nres=$?\
               \nif [ $res = 31 ]; then\
               \n    if opam show -f x-ci-accept-failures: \"ssl.0.5.2\" | 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] ssl.0.5.2 is not installed.

The following actions will be performed:
=== install 5 packages
  - install conf-libssl     4     [required by ssl]
  - install conf-pkg-config 2     [required by conf-libssl]
  - install conf-which      1     [required by ssl]
  - install ocamlfind       1.9.5 [required by ssl]
  - install ssl             0.5.2

The following system packages will first need to be installed:
    libssl-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" "libssl-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libglib2.0-0:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 19664 files and directories currently installed.)
- Preparing to unpack .../0-libglib2.0-0_2.73.3-3_amd64.deb ...
- Unpacking libglib2.0-0:amd64 (2.73.3-3) ...
- Selecting previously unselected package libglib2.0-data.
- Preparing to unpack .../1-libglib2.0-data_2.73.3-3_all.deb ...
- Unpacking libglib2.0-data (2.73.3-3) ...
- Selecting previously unselected package libicu71:amd64.
- Preparing to unpack .../2-libicu71_71.1-3_amd64.deb ...
- Unpacking libicu71:amd64 (71.1-3) ...
- Selecting previously unselected package libssl-dev:amd64.
- Preparing to unpack .../3-libssl-dev_3.0.5-2_amd64.deb ...
- Unpacking libssl-dev:amd64 (3.0.5-2) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../4-libxml2_2.9.14+dfsg-1+b1_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.14+dfsg-1+b1) ...
- Selecting previously unselected package pkg-config.
- Preparing to unpack .../5-pkg-config_0.29.2-1_amd64.deb ...
- Unpacking pkg-config (0.29.2-1) ...
- Selecting previously unselected package shared-mime-info.
- Preparing to unpack .../6-shared-mime-info_2.2-1_amd64.deb ...
- Unpacking shared-mime-info (2.2-1) ...
- Selecting previously unselected package xdg-user-dirs.
- Preparing to unpack .../7-xdg-user-dirs_0.17-2_amd64.deb ...
- Unpacking xdg-user-dirs (0.17-2) ...
- Setting up libicu71:amd64 (71.1-3) ...
- Setting up xdg-user-dirs (0.17-2) ...
- Setting up libglib2.0-0:amd64 (2.73.3-3) ...
- No schema files found: doing nothing.
- Setting up libglib2.0-data (2.73.3-3) ...
- Setting up libssl-dev:amd64 (3.0.5-2) ...
- Setting up pkg-config (0.29.2-1) ...
- Setting up libxml2:amd64 (2.9.14+dfsg-1+b1) ...
- Setting up shared-mime-info (2.2-1) ...
- Processing triggers for libc-bin (2.34-7) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  4/15:
Processing  5/15: [ssl.0.5.2: http]
Processing  6/15: [ssl.0.5.2: http] [conf-pkg-config: pkg-config]
Processing  7/15: [ssl.0.5.2: http] [conf-pkg-config: pkg-config] [conf-which: which which]
-> retrieved ocamlfind.1.9.5  (cached)
[ocamlfind: patch] applying 0001-Fix-bug-when-installing-with-a-system-compiler.patch
Processing  8/15: [ssl.0.5.2: http] [conf-pkg-config: pkg-config] [conf-which: which which] [ocamlfind: patch]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "pkg-config" "--help" (CWD=/home/opam/.opam/4.03/.opam-switch/build/conf-pkg-config.2)
- Usage:
-   pkg-config [OPTION?]
- 
- Help Options:
-   -h, --help                              Show help options
- 
- Application Options:
-   --version                               output version of pkg-config
-   --modversion                            output version for package
-   --atleast-pkgconfig-version=VERSION     require given version of pkg-config
-   --libs                                  output all linker flags
-   --static                                output linker flags for static linking
-   --short-errors                          print short errors
-   --libs-only-l                           output -l flags
-   --libs-only-other                       output other libs (e.g. -pthread)
-   --libs-only-L                           output -L flags
-   --cflags                                output all pre-processor and compiler flags
-   --cflags-only-I                         output -I flags
-   --cflags-only-other                     output cflags not covered by the cflags-only-I option
-   --variable=NAME                         get the value of variable named NAME
-   --define-variable=NAME=VALUE            set variable NAME to VALUE
-   --exists                                return 0 if the module(s) exist
-   --print-variables                       output list of variables defined by the module
-   --uninstalled                           return 0 if the uninstalled version of one or more module(s) or their dependencies will be used
-   --atleast-version=VERSION               return 0 if the module is at least version VERSION
-   --exact-version=VERSION                 return 0 if the module is at exactly version VERSION
-   --max-version=VERSION                   return 0 if the module is at no newer than version VERSION
-   --list-all                              list all known packages
-   --debug                                 show verbose debug information
-   --print-errors                          show verbose information about missing or conflicting packages (default unless --exists or --atleast/exact/max-version given on the command line)
-   --silence-errors                        be silent about errors (default when --exists or --atleast/exact/max-version given on the command line)
-   --errors-to-stdout                      print errors from --print-errors to stdout not stderr
-   --print-provides                        print which packages the package provides
-   --print-requires                        print which packages the package requires
-   --print-requires-private                print which packages the package requires for static linking
-   --validate                              validate a package's .pc file
-   --define-prefix                         try to override the value of prefix for each .pc file found with a guesstimated value based on the location of the .pc file
-   --dont-define-prefix                    don't try to override the value of prefix for each .pc file found with a guesstimated value based on the location of the .pc file
-   --prefix-variable=PREFIX                set the name of the variable that pkg-config automatically sets
- 
-> compiled  conf-pkg-config.2
Processing  8/15: [ssl.0.5.2: http] [conf-which: which which] [ocamlfind: patch]
Processing  9/15: [ssl.0.5.2: http] [conf-which: which which] [ocamlfind: patch] [conf-pkg-config: mkdir]
Processing  9/15: [conf-which: which which] [ocamlfind: patch] [conf-pkg-config: mkdir]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "which" "which" (CWD=/home/opam/.opam/4.03/.opam-switch/build/conf-which.1)
- /usr/bin/which
-> compiled  conf-which.1
Processing  9/15: [ocamlfind: patch] [conf-pkg-config: mkdir]
Processing  9/15: [ocamlfind: ./configure] [conf-pkg-config: mkdir]
-> retrieved ssl.0.5.2  (http://downloads.sourceforge.net/project/savonet/ocaml-ssl/0.5.2/ocaml-ssl-0.5.2.tar.gz)
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "mkdir" "-p" "/home/opam/.opam/4.03/lib/pkgconfig" (CWD=/home/opam/.opam/4.03/.opam-switch/build/conf-pkg-config.2)
-> installed conf-pkg-config.2
Processing  9/15: [ocamlfind: ./configure]
Processing 10/15: [conf-libssl: pkg-config openssl] [ocamlfind: ./configure]
-> installed conf-which.1
Processing 11/15: [conf-libssl: pkg-config openssl] [ocamlfind: ./configure]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "pkg-config" "--print-errors" "--exists" "openssl" (CWD=/home/opam/.opam/4.03/.opam-switch/build/conf-libssl.4)
-> compiled  conf-libssl.4
Processing 11/15: [ocamlfind: ./configure]
-> installed conf-libssl.4
Processing 12/15: [ocamlfind: ./configure]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "-bindir" "/home/opam/.opam/4.03/bin" "-sitelib" "/home/opam/.opam/4.03/lib" "-mandir" "/home/opam/.opam/4.03/man" "-config" "/home/opam/.opam/4.03/lib/findlib.conf" "-no-custom" "-no-camlp4" (CWD=/home/opam/.opam/4.03/.opam-switch/build/ocamlfind.1.9.5)
- Welcome to findlib version 1.9.5
- Configuring core...
- Checking for #remove_directory...
- Testing threading model...
- systhread_supported: true
- Testing DLLs...
- Testing whether ppxopt can be supported...
- Checking for ocamlc -opaque...
- Querying installation: META list not found
- make install will double-check installed META files
- Configuring libraries...
- unix: found
- dynlink: found
- bigarray: found
- compiler-libs: found
- dbm: not present (normal since 4.00)
- graphics: found
- num: found
- ocamlbuild: not present (normal since 4.03)
- ocamldoc: found (in +ocamldoc)
- raw_spacetime: not present (normal since 4.12)
- threads: found (in +threads)
- runtime_events: not present
- str: found
- labltk: not present (normal since 4.02)
- native dynlink: found
- camlp4: disabled
- bytes: found, installing fake library
- Configuration for stdlib written to site-lib-src/stdlib/META
- Configuration for unix written to site-lib-src/unix/META
- Configuration for dynlink written to site-lib-src/dynlink/META
- Configuration for bigarray written to site-lib-src/bigarray/META
- Configuration for compiler-libs written to site-lib-src/compiler-libs/META
- Configuration for graphics written to site-lib-src/graphics/META
- Configuration for num written to site-lib-src/num/META
- Configuration for num-top written to site-lib-src/num-top/META
- Configuration for 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.03/lib/ocaml
-     Binaries:              /home/opam/.opam/4.03/bin
-     Manual pages:          /home/opam/.opam/4.03/man
-     Multi-threading type:  posix
- The directory of site-specific packages will be
-     site-lib:              /home/opam/.opam/4.03/lib
- The configuration file is written to:
-     findlib config file:   /home/opam/.opam/4.03/lib/findlib.conf
- Software will be installed:
-     Libraries:             in <site-lib>/findlib
-     Binaries:              /home/opam/.opam/4.03/bin
-     Manual pages:          /home/opam/.opam/4.03/man
-     topfind script:        /home/opam/.opam/4.03/lib/ocaml
- Topfind ppxopt support:    yes
- Toolbox:                   no
- Link custom runtime:       no
- Need bytes compatibility:  no
- 
- Configuration has been written to Makefile.config
- 
- You can now do 'make all', and optionally 'make opt', to build ocamlfind.
Processing 12/15: [ocamlfind: make all]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "all" (CWD=/home/opam/.opam/4.03/.opam-switch/build/ocamlfind.1.9.5)
- for p in findlib; do ( cd src/$p; make all ) || exit; done
- make[1]: Entering directory '/home/opam/.opam/4.03/.opam-switch/build/ocamlfind.1.9.5/src/findlib'
- ocamllex fl_meta.mll
- 22 states, 392 transitions, table size 1700 bytes
- USE_CYGPATH="0"; \
- export USE_CYGPATH; \
- cat findlib_config.mlp | \
-          ../../tools/patch '@CONFIGFILE@' '/home/opam/.opam/4.03/lib/findlib.conf' | \
-          ../../tools/patch '@STDLIB@' '/home/opam/.opam/4.03/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   -I +unix -I +dynlink -g -c findlib_config.ml
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -g -c fl_split.ml
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -g -c fl_metatoken.ml
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -g -c fl_meta.ml
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -c fl_metascanner.mli
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -g -c fl_metascanner.ml
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -c fl_topo.mli
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -g -c fl_topo.ml
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -c fl_package_base.mli
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -g -c fl_package_base.ml
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -c findlib.mli
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -g -c findlib.ml
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -g -c fl_args.ml
- ocamlc -I +compiler-libs -opaque   -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 -opaque   -I +unix -I +dynlink -g -c ocaml_args.ml
- ocamlc -I +compiler-libs -opaque   -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 -opaque   -I +unix -I +dynlink -c topfind.mli
- ocamlc -I +compiler-libs -opaque   -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.03/lib' \
-     	    >topfind
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -c num_top_printers.mli
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -g -c num_top_printers.ml
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -c num_top.mli
- ocamlc -I +compiler-libs -opaque   -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 -opaque   -I +unix -I +dynlink -c fl_dynload.mli
- ocamlc -I +compiler-libs -opaque   -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.03/.opam-switch/build/ocamlfind.1.9.5/src/findlib'
- make all-config
- make[1]: Entering directory '/home/opam/.opam/4.03/.opam-switch/build/ocamlfind.1.9.5'
- USE_CYGPATH="0"; \
- export USE_CYGPATH; \
- cat findlib.conf.in | \
-      tools/patch '@SITELIB@' '/home/opam/.opam/4.03/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.03/.opam-switch/build/ocamlfind.1.9.5'
Processing 12/15: [ocamlfind: make opt]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "opt" (CWD=/home/opam/.opam/4.03/.opam-switch/build/ocamlfind.1.9.5)
- for p in findlib; do ( cd src/$p; make opt ) || exit; done
- make[1]: Entering directory '/home/opam/.opam/4.03/.opam-switch/build/ocamlfind.1.9.5/src/findlib'
- ocamlopt -I +compiler-libs -g -opaque  -I +unix -I +dynlink -c findlib_config.ml
- ocamlopt -I +compiler-libs -g -opaque  -I +unix -I +dynlink -c fl_split.ml
- ocamlopt -I +compiler-libs -g -opaque  -I +unix -I +dynlink -c fl_metatoken.ml
- ocamlopt -I +compiler-libs -g -opaque  -I +unix -I +dynlink -c fl_meta.ml
- ocamlopt -I +compiler-libs -g -opaque  -I +unix -I +dynlink -c fl_metascanner.ml
- ocamlopt -I +compiler-libs -g -opaque  -I +unix -I +dynlink -c fl_topo.ml
- ocamlopt -I +compiler-libs -g -opaque  -I +unix -I +dynlink -c fl_package_base.ml
- ocamlopt -I +compiler-libs -g -opaque  -I +unix -I +dynlink -c findlib.ml
- ocamlopt -I +compiler-libs -g -opaque  -I +unix -I +dynlink -c fl_args.ml
- ocamlopt -I +compiler-libs -g -opaque  -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 -opaque  -I +unix -I +dynlink -c ocaml_args.ml
- ocamlopt -I +compiler-libs -g -opaque  -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 -opaque  -I +unix -I +dynlink -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  -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.03/.opam-switch/build/ocamlfind.1.9.5/src/findlib'
-> compiled  ocamlfind.1.9.5
Processing 13/15: [ocamlfind: make install]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/4.03/.opam-switch/build/ocamlfind.1.9.5)
- if [ "1" -eq 1 ]; then \
-     for x in camlp4 dbm graphics labltk num ocamlbuild; do \
-       if [ -f "/home/opam/.opam/4.03/lib/$x/META" ]; then \
-         if ! grep -Fq '[distributed with Ocaml]' "//home/opam/.opam/4.03/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.03/bin"
- install -d "/home/opam/.opam/4.03/man"
- make install-config
- make[1]: Entering directory '/home/opam/.opam/4.03/.opam-switch/build/ocamlfind.1.9.5'
- install -d "`dirname \"/home/opam/.opam/4.03/lib/findlib.conf\"`"
- test -f "/home/opam/.opam/4.03/lib/findlib.conf" || install -c findlib.conf "/home/opam/.opam/4.03/lib/findlib.conf"
- make[1]: Leaving directory '/home/opam/.opam/4.03/.opam-switch/build/ocamlfind.1.9.5'
- for p in findlib; do ( cd src/$p; make install ); done
- make[1]: Entering directory '/home/opam/.opam/4.03/.opam-switch/build/ocamlfind.1.9.5/src/findlib'
- install -d "/home/opam/.opam/4.03/lib/findlib"
- install -d "/home/opam/.opam/4.03/bin"
- test 1 -eq 0 || install -d "/home/opam/.opam/4.03/lib/ocaml"
- test 1 -eq 0 || install -c topfind "/home/opam/.opam/4.03/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.03/lib/findlib/"
- f="ocamlfind"; { test -f ocamlfind_opt && f="ocamlfind_opt"; }; \
- install -c $f "/home/opam/.opam/4.03/bin/ocamlfind"
- # the following "if" block is only needed for 4.00beta2
- if [ 1 -eq 0 -a -f "/home/opam/.opam/4.03/lib/ocaml/compiler-libs/topdirs.cmi" ]; then \
-     cd "/home/opam/.opam/4.03/lib/ocaml/compiler-libs/"; \
-     install -c topdirs.cmi toploop.cmi "/home/opam/.opam/4.03/lib/findlib/"; \
- fi
- make[1]: Leaving directory '/home/opam/.opam/4.03/.opam-switch/build/ocamlfind.1.9.5/src/findlib'
- make install-meta
- make[1]: Entering directory '/home/opam/.opam/4.03/.opam-switch/build/ocamlfind.1.9.5'
- for x in bigarray bytes compiler-libs dynlink graphics num num-top ocamldoc stdlib str threads unix ; do install -d "/home/opam/.opam/4.03/lib/$x"; install -c site-lib-src/$x/META "/home/opam/.opam/4.03/lib/$x/META.tmp" && mv "/home/opam/.opam/4.03/lib/$x/META.tmp" "/home/opam/.opam/4.03/lib/$x/META"; done
- install -d "/home/opam/.opam/4.03/lib/findlib"; install -c Makefile.packages "/home/opam/.opam/4.03/lib/findlib/Makefile.packages"
- make[1]: Leaving directory '/home/opam/.opam/4.03/.opam-switch/build/ocamlfind.1.9.5'
- test ! -f 'site-lib-src/num-top/META' || { cd src/findlib; make install-num-top; }
- make[1]: Entering directory '/home/opam/.opam/4.03/.opam-switch/build/ocamlfind.1.9.5/src/findlib'
- install -d "/home/opam/.opam/4.03/lib/num-top"
- install -c num_top.cma num_top.cmi num_top_printers.cmi \
- 	"/home/opam/.opam/4.03/lib/num-top/"
- make[1]: Leaving directory '/home/opam/.opam/4.03/.opam-switch/build/ocamlfind.1.9.5/src/findlib'
- test ! -f 'site-lib-src/camlp4/META' ||	install -c tools/safe_camlp4 "/home/opam/.opam/4.03/bin"
- make install-doc
- make[1]: Entering directory '/home/opam/.opam/4.03/.opam-switch/build/ocamlfind.1.9.5'
- install -d "/home/opam/.opam/4.03/man/man1" "/home/opam/.opam/4.03/man/man3" "/home/opam/.opam/4.03/man/man5"
- install -c doc/ref-man/ocamlfind.1 "/home/opam/.opam/4.03/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.03/man/man5"
- make[1]: Leaving directory '/home/opam/.opam/4.03/.opam-switch/build/ocamlfind.1.9.5'
-> installed ocamlfind.1.9.5
Processing 14/15: [ssl: ./configure]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "--prefix" "/home/opam/.opam/4.03" (CWD=/home/opam/.opam/4.03/.opam-switch/build/ssl.0.5.2)
- configuring ocaml-ssl 0.5.2
- 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 we are using the GNU C compiler... yes
- checking whether gcc accepts -g... yes
- checking for gcc option to accept ISO C89... none needed
- checking for pthread_create in -lpthread... yes
- checking for ocamlc... /home/opam/.opam/4.03/bin/ocamlc
- ocaml version is 4.03.0
- ocaml library path is /home/opam/.opam/4.03/lib/ocaml
- checking for ocamlopt... /home/opam/.opam/4.03/bin/ocamlopt
- checking ocamlopt version... ok
- checking for ocamlc.opt... /home/opam/.opam/4.03/bin/ocamlc.opt
- checking ocamlc.opt version... ok
- checking for ocamlopt.opt... /home/opam/.opam/4.03/bin/ocamlopt.opt
- checking ocamlc.opt version... ok
- checking for ocamldep... /home/opam/.opam/4.03/bin/ocamldep
- checking for ocamllex... /home/opam/.opam/4.03/bin/ocamllex
- checking for ocamlyacc... /home/opam/.opam/4.03/bin/ocamlyacc
- checking for ocamldoc... /home/opam/.opam/4.03/bin/ocamldoc
- checking for ocamlmktop... /home/opam/.opam/4.03/bin/ocamlmktop
- checking for gcc... (cached) gcc
- checking whether we are using the GNU C compiler... (cached) yes
- checking whether gcc accepts -g... (cached) yes
- checking for gcc option to accept ISO C89... (cached) none needed
- checking for SSL_new in -lssl... yes
- checking how to run the C preprocessor... gcc -E
- checking for grep that handles long lines and -e... /usr/bin/grep
- checking for egrep... /usr/bin/grep -E
- checking for ANSI C header files... 
- yes
- checking for sys/types.h... yes
- checking for sys/stat.h... yes
- checking for stdlib.h... yes
- checking for string.h... yes
- checking for memory.h... yes
- checking for strings.h... yes
- checking for inttypes.h... yes
- checking for stdint.h... yes
- checking for unistd.h... yes
- checking openssl/ssl.h usability... yes
- checking openssl/ssl.h presence... yes
- checking for openssl/ssl.h... yes
- checking for TLSv1_1_method in -lssl... yes
- checking for TLSv1_2_method in -lssl... yes
- checking for EC_KEY_free in -lcrypto... yes
- checking whether SSL_set_tlsext_host_name is declared... 
- yes
- checking for ocamlfind... /home/opam/.opam/4.03/bin/ocamlfind
- checking for ocamlcp... /home/opam/.opam/4.03/bin/ocamlcp
- checking for latex... no
- checking for dvips... no
- checking for ps2pdf... no
- configure: creating ./config.status
- config.status: creating src/Makefile
- config.status: creating src/META
Processing 14/15: [ssl: make]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" (CWD=/home/opam/.opam/4.03/.opam-switch/build/ssl.0.5.2)
- make -C src all
- make[1]: Entering directory '/home/opam/.opam/4.03/.opam-switch/build/ssl.0.5.2/src'
- make[2]: Entering directory '/home/opam/.opam/4.03/.opam-switch/build/ssl.0.5.2/src'
- make[3]: Entering directory '/home/opam/.opam/4.03/.opam-switch/build/ssl.0.5.2/src'
- make[4]: Entering directory '/home/opam/.opam/4.03/.opam-switch/build/ssl.0.5.2/src'
- making ._bcdi/ssl.di from ssl.mli
- making ._d/ssl.d from ssl.ml
- ocamlc -c -cc "gcc" -ccopt "-fPIC -g -O2 -DHAVE_TLS11 -DHAVE_TLS12 -DHAVE_EC -DHAVE_SNI -ansi -DCAML_NAME_SPACE -Wall \
- 			-DPIC   \
- 			    -o ssl_stubs.o " ssl_stubs.c 
- ssl_stubs.c: In function 'get_method':
- ssl_stubs.c:315:11: warning: 'TLSv1_client_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations]
-   315 |           method = TLSv1_client_method();
-       |           ^~~~~~
- In file included from ssl_stubs.c:48:
- /usr/include/openssl/ssl.h:2017:50: note: declared here
-  2017 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_client_method(void);
-       |                                                  ^~~~~~~~~~~~~~~~~~~
- ssl_stubs.c:319:11: warning: 'TLSv1_server_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations]
-   319 |           method = TLSv1_server_method();
-       |           ^~~~~~
- /usr/include/openssl/ssl.h:2016:50: note: declared here
-  2016 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_server_method(void);
-       |                                                  ^~~~~~~~~~~~~~~~~~~
- ssl_stubs.c:323:11: warning: 'TLSv1_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations]
-   323 |           method = TLSv1_method();
-       |           ^~~~~~
- /usr/include/openssl/ssl.h:2015:50: note: declared here
-  2015 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_method(void); /* TLSv1.0 */
-       |                                                  ^~~~~~~~~~~~
- ssl_stubs.c:333:11: warning: 'TLSv1_1_client_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations]
-   333 |           method = TLSv1_1_client_method();
-       |           ^~~~~~
- /usr/include/openssl/ssl.h:2025:50: note: declared here
-  2025 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_1_client_method(void);
-       |                                                  ^~~~~~~~~~~~~~~~~~~~~
- ssl_stubs.c:337:11: warning: 'TLSv1_1_server_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations]
-   337 |           method = TLSv1_1_server_method();
-       |           ^~~~~~
- /usr/include/openssl/ssl.h:2024:50: note: declared here
-  2024 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_1_server_method(void);
-       |                                                  ^~~~~~~~~~~~~~~~~~~~~
- ssl_stubs.c:341:11: warning: 'TLSv1_1_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations]
-   341 |           method = TLSv1_1_method();
-       |           ^~~~~~
- /usr/include/openssl/ssl.h:2023:50: note: declared here
-  2023 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_1_method(void); /* TLSv1.1 */
-       |                                                  ^~~~~~~~~~~~~~
- ssl_stubs.c:352:11: warning: 'TLSv1_2_client_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations]
-   352 |           method = TLSv1_2_client_method();
-       |           ^~~~~~
- /usr/include/openssl/ssl.h:2033:50: note: declared here
-  2033 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_2_client_method(void);
-       |                                                  ^~~~~~~~~~~~~~~~~~~~~
- ssl_stubs.c:356:11: warning: 'TLSv1_2_server_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations]
-   356 |           method = TLSv1_2_server_method();
-       |           ^~~~~~
- /usr/include/openssl/ssl.h:2032:50: note: declared here
-  2032 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_2_server_method(void);
-       |                                                  ^~~~~~~~~~~~~~~~~~~~~
- ssl_stubs.c:360:11: warning: 'TLSv1_2_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations]
-   360 |           method = TLSv1_2_method();
-       |           ^~~~~~
- /usr/include/openssl/ssl.h:2031:50: note: declared here
-  2031 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_2_method(void); /* TLSv1.2 */
-       |                                                  ^~~~~~~~~~~~~~
- ssl_stubs.c: In function 'ocaml_ssl_get_cipher_version':
- ssl_stubs.c:663:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   663 |   version = SSL_CIPHER_get_version(cipher);
-       |           ^
- ssl_stubs.c: In function 'ocaml_ssl_ctx_init_dh_from_file':
- ssl_stubs.c:688:5: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
-   688 |     DH_free(dh);
-       |     ^~~~~~~
- In file included from /usr/include/openssl/dsa.h:51,
-                  from /usr/include/openssl/x509.h:37,
-                  from /usr/include/openssl/ssl.h:31:
- /usr/include/openssl/dh.h:200:28: note: declared here
-   200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
-       |                            ^~~~~~~
- ssl_stubs.c: In function 'ocaml_ssl_ctx_init_ec_from_named_curve':
- ssl_stubs.c:715:3: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
-   715 |   ecdh = EC_KEY_new_by_curve_name(nid);
-       |   ^~~~
- In file included from /usr/include/openssl/x509.h:33:
- /usr/include/openssl/ec.h:998:31: note: declared here
-   998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
-       |                               ^~~~~~~~~~~~~~~~~~~~~~~~
- ssl_stubs.c:723:5: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
-   723 |     EC_KEY_free(ecdh);
-       |     ^~~~~~~~~~~
- /usr/include/openssl/ec.h:1003:28: note: declared here
-  1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
-       |                            ^~~~~~~~~~~
- ssl_stubs.c: In function 'client_verify_callback':
- ssl_stubs.c:1231:14: error: invalid use of incomplete typedef 'X509_STORE_CTX' {aka 'struct x509_store_ctx_st'}
-  1231 |   depth = ctx->error_depth;
-       |              ^~
- ssl_stubs.c:1232:14: error: invalid use of incomplete typedef 'X509_STORE_CTX' {aka 'struct x509_store_ctx_st'}
-  1232 |   error = ctx->error;
-       |              ^~
- ssl_stubs.c: In function 'load_dh_param':
- ssl_stubs.c:1349:3: warning: 'PEM_read_bio_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
-  1349 |   ret=PEM_read_bio_DHparams(bio,NULL,NULL,NULL);
-       |   ^~~
- In file included from /usr/include/openssl/ssl.h:36:
- /usr/include/openssl/pem.h:469:1: note: declared here
-   469 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH)
-       | ^~~~~~~~~~~~~~~~~~~
- ssl_stubs.c: At top level:
- ssl_stubs.c:198:13: warning: 'dyn_destroy_function' defined but not used [-Wunused-function]
-   198 | static void dyn_destroy_function(struct CRYPTO_dynlock_value *l, const char *file, int line)
-       |             ^~~~~~~~~~~~~~~~~~~~
- ssl_stubs.c:190:13: warning: 'dyn_lock_function' defined but not used [-Wunused-function]
-   190 | static void dyn_lock_function(int mode, struct CRYPTO_dynlock_value *l, const char *file, int line)
-       |             ^~~~~~~~~~~~~~~~~
- ssl_stubs.c:178:37: warning: 'dyn_create_function' defined but not used [-Wunused-function]
-   178 | static struct CRYPTO_dynlock_value *dyn_create_function(const char *file, int line)
-       |                                     ^~~~~~~~~~~~~~~~~~~
- ssl_stubs.c:173:22: warning: 'id_function' defined but not used [-Wunused-function]
-   173 | static unsigned long id_function(void)
-       |                      ^~~~~~~~~~~
- ssl_stubs.c:165:13: warning: 'locking_function' defined but not used [-Wunused-function]
-   165 | static void locking_function(int mode, int n, const char *file, int line)
-       |             ^~~~~~~~~~~~~~~~
- make[4]: *** [OCamlMakefile:1013: ssl_stubs.o] Error 2
- make[4]: Leaving directory '/home/opam/.opam/4.03/.opam-switch/build/ssl.0.5.2/src'
- make[3]: *** [OCamlMakefile:716: byte-code-library] Error 2
- make[3]: Leaving directory '/home/opam/.opam/4.03/.opam-switch/build/ssl.0.5.2/src'
- make[2]: *** [OCamlMakefile:1094: subproj_ssl] Error 2
- make[2]: Leaving directory '/home/opam/.opam/4.03/.opam-switch/build/ssl.0.5.2/src'
- make[1]: *** [Makefile:73: bcl] Error 2
- make[1]: Leaving directory '/home/opam/.opam/4.03/.opam-switch/build/ssl.0.5.2/src'
- make: *** [Makefile:9: all] Error 2
[ERROR] The compilation of ssl.0.5.2 failed at "make".

#=== ERROR while compiling ssl.0.5.2 ==========================================#
# context              2.2.0~alpha~dev | linux/x86_64 | ocaml-base-compiler.4.03.0 | file:///home/opam/opam-repository
# path                 ~/.opam/4.03/.opam-switch/build/ssl.0.5.2
# command              ~/.opam/opam-init/hooks/sandbox.sh build make
# exit-code            2
# env-file             ~/.opam/log/ssl-8-5e1a7d.env
# output-file          ~/.opam/log/ssl-8-5e1a7d.out
### output ###
# make -C src all
# make[1]: Entering directory '/home/opam/.opam/4.03/.opam-switch/build/ssl.0.5.2/src'
# make[2]: Entering directory '/home/opam/.opam/4.03/.opam-switch/build/ssl.0.5.2/src'
# make[3]: Entering directory '/home/opam/.opam/4.03/.opam-switch/build/ssl.0.5.2/src'
# make[4]: Entering directory '/home/opam/.opam/4.03/.opam-switch/build/ssl.0.5.2/src'
# making ._bcdi/ssl.di from ssl.mli
# making ._d/ssl.d from ssl.ml
# ocamlc -c -cc "gcc" -ccopt "-fPIC -g -O2 -DHAVE_TLS11 -DHAVE_TLS12 -DHAVE_EC -DHAVE_SNI -ansi -DCAML_NAME_SPACE -Wall \
# 			-DPIC   \
# 			    -o ssl_stubs.o " ssl_stubs.c 
# ssl_stubs.c: In function 'get_method':
# ssl_stubs.c:315:11: warning: 'TLSv1_client_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations]
#   315 |           method = TLSv1_client_method();
#       |           ^~~~~~
# In file included from ssl_stubs.c:48:
# /usr/include/openssl/ssl.h:2017:50: note: declared here
#  2017 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_client_method(void);
#       |                                                  ^~~~~~~~~~~~~~~~~~~
# ssl_stubs.c:319:11: warning: 'TLSv1_server_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations]
#   319 |           method = TLSv1_server_method();
#       |           ^~~~~~
# /usr/include/openssl/ssl.h:2016:50: note: declared here
#  2016 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_server_method(void);
#       |                                                  ^~~~~~~~~~~~~~~~~~~
# ssl_stubs.c:323:11: warning: 'TLSv1_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations]
#   323 |           method = TLSv1_method();
#       |           ^~~~~~
# /usr/include/openssl/ssl.h:2015:50: note: declared here
#  2015 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_method(void); /* TLSv1.0 */
#       |                                                  ^~~~~~~~~~~~
# ssl_stubs.c:333:11: warning: 'TLSv1_1_client_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations]
#   333 |           method = TLSv1_1_client_method();
#       |           ^~~~~~
# /usr/include/openssl/ssl.h:2025:50: note: declared here
#  2025 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_1_client_method(void);
#       |                                                  ^~~~~~~~~~~~~~~~~~~~~
# ssl_stubs.c:337:11: warning: 'TLSv1_1_server_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations]
#   337 |           method = TLSv1_1_server_method();
#       |           ^~~~~~
# /usr/include/openssl/ssl.h:2024:50: note: declared here
#  2024 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_1_server_method(void);
#       |                                                  ^~~~~~~~~~~~~~~~~~~~~
# ssl_stubs.c:341:11: warning: 'TLSv1_1_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations]
#   341 |           method = TLSv1_1_method();
#       |           ^~~~~~
# /usr/include/openssl/ssl.h:2023:50: note: declared here
#  2023 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_1_method(void); /* TLSv1.1 */
#       |                                                  ^~~~~~~~~~~~~~
# ssl_stubs.c:352:11: warning: 'TLSv1_2_client_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations]
#   352 |           method = TLSv1_2_client_method();
#       |           ^~~~~~
# /usr/include/openssl/ssl.h:2033:50: note: declared here
#  2033 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_2_client_method(void);
#       |                                                  ^~~~~~~~~~~~~~~~~~~~~
# ssl_stubs.c:356:11: warning: 'TLSv1_2_server_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations]
#   356 |           method = TLSv1_2_server_method();
#       |           ^~~~~~
# /usr/include/openssl/ssl.h:2032:50: note: declared here
#  2032 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_2_server_method(void);
#       |                                                  ^~~~~~~~~~~~~~~~~~~~~
# ssl_stubs.c:360:11: warning: 'TLSv1_2_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations]
#   360 |           method = TLSv1_2_method();
#       |           ^~~~~~
# /usr/include/openssl/ssl.h:2031:50: note: declared here
#  2031 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_2_method(void); /* TLSv1.2 */
#       |                                                  ^~~~~~~~~~~~~~
# ssl_stubs.c: In function 'ocaml_ssl_get_cipher_version':
# ssl_stubs.c:663:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   663 |   version = SSL_CIPHER_get_version(cipher);
#       |           ^
# ssl_stubs.c: In function 'ocaml_ssl_ctx_init_dh_from_file':
# ssl_stubs.c:688:5: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
#   688 |     DH_free(dh);
#       |     ^~~~~~~
# In file included from /usr/include/openssl/dsa.h:51,
#                  from /usr/include/openssl/x509.h:37,
#                  from /usr/include/openssl/ssl.h:31:
# /usr/include/openssl/dh.h:200:28: note: declared here
#   200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
#       |                            ^~~~~~~
# ssl_stubs.c: In function 'ocaml_ssl_ctx_init_ec_from_named_curve':
# ssl_stubs.c:715:3: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
#   715 |   ecdh = EC_KEY_new_by_curve_name(nid);
#       |   ^~~~
# In file included from /usr/include/openssl/x509.h:33:
# /usr/include/openssl/ec.h:998:31: note: declared here
#   998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
#       |                               ^~~~~~~~~~~~~~~~~~~~~~~~
# ssl_stubs.c:723:5: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
#   723 |     EC_KEY_free(ecdh);
#       |     ^~~~~~~~~~~
# /usr/include/openssl/ec.h:1003:28: note: declared here
#  1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
#       |                            ^~~~~~~~~~~
# ssl_stubs.c: In function 'client_verify_callback':
# ssl_stubs.c:1231:14: error: invalid use of incomplete typedef 'X509_STORE_CTX' {aka 'struct x509_store_ctx_st'}
#  1231 |   depth = ctx->error_depth;
#       |              ^~
# ssl_stubs.c:1232:14: error: invalid use of incomplete typedef 'X509_STORE_CTX' {aka 'struct x509_store_ctx_st'}
#  1232 |   error = ctx->error;
#       |              ^~
# ssl_stubs.c: In function 'load_dh_param':
# ssl_stubs.c:1349:3: warning: 'PEM_read_bio_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
#  1349 |   ret=PEM_read_bio_DHparams(bio,NULL,NULL,NULL);
#       |   ^~~
# In file included from /usr/include/openssl/ssl.h:36:
# /usr/include/openssl/pem.h:469:1: note: declared here
#   469 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH)
#       | ^~~~~~~~~~~~~~~~~~~
# ssl_stubs.c: At top level:
# ssl_stubs.c:198:13: warning: 'dyn_destroy_function' defined but not used [-Wunused-function]
#   198 | static void dyn_destroy_function(struct CRYPTO_dynlock_value *l, const char *file, int line)
#       |             ^~~~~~~~~~~~~~~~~~~~
# ssl_stubs.c:190:13: warning: 'dyn_lock_function' defined but not used [-Wunused-function]
#   190 | static void dyn_lock_function(int mode, struct CRYPTO_dynlock_value *l, const char *file, int line)
#       |             ^~~~~~~~~~~~~~~~~
# ssl_stubs.c:178:37: warning: 'dyn_create_function' defined but not used [-Wunused-function]
#   178 | static struct CRYPTO_dynlock_value *dyn_create_function(const char *file, int line)
#       |                                     ^~~~~~~~~~~~~~~~~~~
# ssl_stubs.c:173:22: warning: 'id_function' defined but not used [-Wunused-function]
#   173 | static unsigned long id_function(void)
#       |                      ^~~~~~~~~~~
# ssl_stubs.c:165:13: warning: 'locking_function' defined but not used [-Wunused-function]
#   165 | static void locking_function(int mode, int n, const char *file, int line)
#       |             ^~~~~~~~~~~~~~~~
# make[4]: *** [OCamlMakefile:1013: ssl_stubs.o] Error 2
# make[4]: Leaving directory '/home/opam/.opam/4.03/.opam-switch/build/ssl.0.5.2/src'
# make[3]: *** [OCamlMakefile:716: byte-code-library] Error 2
# make[3]: Leaving directory '/home/opam/.opam/4.03/.opam-switch/build/ssl.0.5.2/src'
# make[2]: *** [OCamlMakefile:1094: subproj_ssl] Error 2
# make[2]: Leaving directory '/home/opam/.opam/4.03/.opam-switch/build/ssl.0.5.2/src'
# make[1]: *** [Makefile:73: bcl] Error 2
# make[1]: Leaving directory '/home/opam/.opam/4.03/.opam-switch/build/ssl.0.5.2/src'
# make: *** [Makefile:9: all] Error 2



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ssl 0.5.2
+- 
+- The following changes have been performed
| - install conf-libssl     4
| - install conf-pkg-config 2
| - install conf-which      1
| - install ocamlfind       1.9.5
+- 
# 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/4.03/.opam-switch/backup/state-20220904014020.export"
'opam install -vy ssl.0.5.2' failed.
"/bin/bash" "-c"
"
opam remove -y "ssl.0.5.2"
opam install -vy "ssl.0.5.2"
res=$?
if [ $res = 31 ]; then
    if opam show -f x-ci-accept-failures: "ssl.0.5.2" | 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