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


Building on doris.caelum.ci.dev

(from ocaml/opam:debian-unstable)
Unable to find image 'ocaml/opam:debian-unstable' locally
debian-unstable: Pulling from ocaml/opam
Digest: sha256:a708df2d96414c61dc47c9f06e6c2d22e9a6350ad772417bd0e7a3550e440e73
Status: Downloaded newer image for ocaml/opam:debian-unstable
2024-08-05 06:07.32 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" from cache

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

/: (env OPAMPRECISETRACKING 1)

/: (env OPAMUTF8 never)

/: (env OPAMEXTERNALSOLVER builtin-0install)

/: (env OPAMCRITERIA +removed)

/: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-08-05 06:07.32 ---> using "65c3237f501f7c75f3828458ecf2342bc41c98aaef8c6a7fd82bf46a58cb258c" 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 fe8dffac61bbab376897c0f4e7cc5b7b8c4eecc1"))
2024-08-05 06:07.32 ---> using "828e9194b01b44f44dbe3a17fa70d9df857e6edbfbc28830335e417ee457f303" 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.

2024-08-05 06:07.32 ---> using "e4c5e8d9ee051813ad71799bcfd0cce33f59a36ff0befb5e5fbb9434b383bc16" from cache

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

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.3  (cached)
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> installed host-arch-x86_64.1
-> installed host-system-other.1
-> installed ocaml-options-vanilla.1
-> retrieved ocaml-base-compiler.5.2.0  (cached)
-> installed ocaml-base-compiler.5.2.0
-> installed ocaml-config.3
-> installed ocaml.5.2.0
-> installed base-domains.base
-> installed base-nnp.base
Done.
# Run eval $(opam env --switch=5.2) to update the current shell environment
2024-08-05 06:07.32 ---> using "44557c519dcb0a98d2187ae082639613b6affcc04630a7fbe43979079c9518ed" from cache

/: (run (network host)
        (shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [198 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-2024-08-04-1414.55-F-2024-07-29-1441.34.pdiff [496 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2024-08-04-1414.55-F-2024-07-29-1441.34.pdiff [496 kB]
- Fetched 758 kB in 2s (410 kB/s)
- Reading package lists...
- 
2024-08-05 06:07.32 ---> using "60e429f741cfa5b2c6876c6bc2125784d8047ba9ce99c12c9c2fbe936bb2acdb" from cache

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

The following actions will be performed:
=== install 2 packages
  - install ocaml-expat 1.1.0
  - install ocamlfind   1.9.6 [required by ocaml-expat]

The following system packages will first need to be installed:
    libexpat1-dev

<><> 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. Continue anyway, and, upon success, 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" "libexpat1-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libexpat1-dev: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 ... 19456 files and directories currently installed.)
- Preparing to unpack .../libexpat1-dev_2.6.2-1_amd64.deb ...
- Unpacking libexpat1-dev:amd64 (2.6.2-1) ...
- Setting up libexpat1-dev:amd64 (2.6.2-1) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/6: [ocaml-expat.1.1.0: http]
Processing  2/6: [ocaml-expat.1.1.0: http] [ocamlfind.1.9.6: extract]
-> retrieved ocamlfind.1.9.6  (cached)
Processing  2/6: [ocaml-expat.1.1.0: http]
[ocamlfind: patch] applying 0001-Harden-test-for-OCaml-5.patch
Processing  3/6: [ocaml-expat.1.1.0: http] [ocamlfind: patch]
Processing  3/6: [ocaml-expat.1.1.0: http] [ocamlfind: ./configure]
Processing  3/6: [ocaml-expat.1.1.0: extract] [ocamlfind: ./configure]
-> retrieved ocaml-expat.1.1.0  (https://github.com/whitequark/ocaml-expat/archive/v1.1.0.tar.gz)
Processing  3/6: [ocamlfind: ./configure]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "-bindir" "/home/opam/.opam/5.2/bin" "-sitelib" "/home/opam/.opam/5.2/lib" "-mandir" "/home/opam/.opam/5.2/man" "-config" "/home/opam/.opam/5.2/lib/findlib.conf" "-no-custom" "-no-camlp4" (CWD=/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6)
- Welcome to findlib version 1.9.6
- Configuring core...
- Checking for #remove_directory...
- Testing threading model...
- systhread_supported: true
- Testing DLLs...
- Testing whether ppxopt can be supported...
- Checking for ocamlc -opaque...
- Checking for ocamlopt -g...
- Configuring libraries...
- unix: found (in +unix)
- dynlink: found (in +dynlink)
- 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 (in +ocamldoc)
- raw_spacetime: not present (normal since 4.12)
- threads: found (in +threads)
- str: found (in +str)
- labltk: not present (normal since 4.02)
- native dynlink: found
- camlp4: disabled
- bytes: found, installing fake library
- 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.2/lib/ocaml
-     Binaries:              /home/opam/.opam/5.2/bin
-     Manual pages:          /home/opam/.opam/5.2/man
-     Multi-threading type:  posix
- The directory of site-specific packages will be
-     site-lib:              /home/opam/.opam/5.2/lib
- The configuration file is written to:
-     findlib config file:   /home/opam/.opam/5.2/lib/findlib.conf
- Software will be installed:
-     Libraries:             in <site-lib>/findlib
-     Binaries:              /home/opam/.opam/5.2/bin
-     Manual pages:          /home/opam/.opam/5.2/man
-     topfind script:        /home/opam/.opam/5.2/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  3/6: [ocamlfind: make all]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "all" (CWD=/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6)
- for p in findlib; do ( cd src/$p; make all ) || exit; done
- make[1]: Entering directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6/src/findlib'
- ocamllex fl_meta.mll
- 22 states, 392 transitions, table size 1700 bytes
- USE_CYGPATH="0"; \
- export USE_CYGPATH; \
- cat findlib_config.mlp | \
-          ../../tools/patch '@CONFIGFILE@' '/home/opam/.opam/5.2/lib/findlib.conf' | \
-          ../../tools/patch '@STDLIB@' '/home/opam/.opam/5.2/lib/ocaml' | \
- 	sed -e 's;@AUTOLINK@;true;g' \
- 	    -e 's;@SYSTEM@;linux;g' \
- 	     >findlib_config.ml
- if [ "true" = "true" ]; then                 \
- 	cp topfind.ml.in topfind.ml;                             \
- else                                                             \
- 	sed -e '/PPXOPT_BEGIN/,/PPXOPT_END/ d' topfind.ml.in     \
- 		> topfind.ml ;                                   \
- fi
- ocamldep *.ml *.mli >depend
- ocamlc -I +compiler-libs    -I +unix -I +dynlink -g -c findlib_config.ml
- ocamlc -I +compiler-libs    -I +unix -I +dynlink -g -c fl_split.ml
- ocamlc -I +compiler-libs    -I +unix -I +dynlink -g -c fl_metatoken.ml
- ocamlc -I +compiler-libs    -I +unix -I +dynlink -g -c fl_meta.ml
- ocamlc -I +compiler-libs    -I +unix -I +dynlink -c fl_metascanner.mli
- ocamlc -I +compiler-libs    -I +unix -I +dynlink -g -c fl_metascanner.ml
- ocamlc -I +compiler-libs    -I +unix -I +dynlink -c fl_topo.mli
- ocamlc -I +compiler-libs    -I +unix -I +dynlink -g -c fl_topo.ml
- ocamlc -I +compiler-libs    -I +unix -I +dynlink -c fl_package_base.mli
- ocamlc -I +compiler-libs    -I +unix -I +dynlink -g -c fl_package_base.ml
- 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    -I +unix -I +dynlink -c findlib.mli
- ocamlc -I +compiler-libs    -I +unix -I +dynlink -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    -I +unix -I +dynlink -g -c fl_args.ml
- ocamlc -I +compiler-libs    -I +unix -I +dynlink -g -c fl_lint.ml
- ocamlc -I +compiler-libs -a -o findlib.cma findlib_config.cmo fl_split.cmo fl_metatoken.cmo fl_meta.cmo fl_metascanner.cmo fl_topo.cmo fl_package_base.cmo findlib.cmo fl_args.cmo fl_lint.cmo
- ocamlc -I +compiler-libs    -I +unix -I +dynlink -g -c ocaml_args.ml
- ocamlc -I +compiler-libs    -I +unix -I +dynlink -g -c frontend.ml
- 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 \
-            -I +unix -I +dynlink ocaml_args.cmo frontend.cmo
- ocamlc -I +compiler-libs    -I +unix -I +dynlink -c topfind.mli
- ocamlc -I +compiler-libs    -I +unix -I +dynlink -g -c topfind.ml
- File "topfind.ml", line 128, characters 40-63:
- 128 |                      match Hashtbl.find Toploop.directive_table "ppx" with
-                                               ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- 
- File "topfind.ml", line 258, characters 4-27:
- 258 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- 
- File "topfind.ml", line 268, characters 4-27:
- 268 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- 
- File "topfind.ml", line 280, characters 4-27:
- 280 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- 
- File "topfind.ml", line 293, characters 4-27:
- 293 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- 
- File "topfind.ml", line 307, characters 4-27:
- 307 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- 
- File "topfind.ml", line 319, characters 4-27:
- 319 |     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.2/lib' \
-     	    >topfind
- ocamlc -I +compiler-libs    -I +unix -I +dynlink -c fl_dynload.mli
- ocamlc -I +compiler-libs    -I +unix -I +dynlink -g -c fl_dynload.ml
- ocamlc -I +compiler-libs -a -o findlib_dynload.cma fl_dynload.cmo
- make[1]: Leaving directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6/src/findlib'
- make all-config
- make[1]: Entering directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6'
- USE_CYGPATH="0"; \
- export USE_CYGPATH; \
- cat findlib.conf.in | \
-      tools/patch '@SITELIB@' '/home/opam/.opam/5.2/lib' | \
- 		 tools/patch '@FINDLIB_PATH@' '/home/opam/.opam/5.2/lib/ocaml:/home/opam/.opam/5.2/lib' -p >findlib.conf
- if ./tools/cmd_from_same_dir ocamlc; then \
- 	echo 'ocamlc="ocamlc.opt"' >>findlib.conf; \
- fi
- if ./tools/cmd_from_same_dir ocamlopt; then \
- 	echo 'ocamlopt="ocamlopt.opt"' >>findlib.conf; \
- fi
- if ./tools/cmd_from_same_dir ocamldep; then \
- 	echo 'ocamldep="ocamldep.opt"' >>findlib.conf; \
- fi
- if ./tools/cmd_from_same_dir ocamldoc; then \
- 	echo 'ocamldoc="ocamldoc.opt"' >>findlib.conf; \
- fi
- make[1]: Leaving directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6'
Processing  3/6: [ocamlfind: make opt]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "opt" (CWD=/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6)
- for p in findlib; do ( cd src/$p; make opt ) || exit; done
- make[1]: Entering directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6/src/findlib'
- ocamlopt -I +compiler-libs    -I +unix -I +dynlink -c findlib_config.ml
- ocamlopt -I +compiler-libs    -I +unix -I +dynlink -c fl_split.ml
- ocamlopt -I +compiler-libs    -I +unix -I +dynlink -c fl_metatoken.ml
- ocamlopt -I +compiler-libs    -I +unix -I +dynlink -c fl_meta.ml
- ocamlopt -I +compiler-libs    -I +unix -I +dynlink -c fl_metascanner.ml
- ocamlopt -I +compiler-libs    -I +unix -I +dynlink -c fl_topo.ml
- ocamlopt -I +compiler-libs    -I +unix -I +dynlink -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    -I +unix -I +dynlink -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    -I +unix -I +dynlink -c fl_args.ml
- ocamlopt -I +compiler-libs    -I +unix -I +dynlink -c fl_lint.ml
- ocamlopt -I +compiler-libs  -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  -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    -I +unix -I +dynlink -c ocaml_args.ml
- ocamlopt -I +compiler-libs    -I +unix -I +dynlink -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  -o ocamlfind_opt findlib.cmxa unix.cmxa \
- 	   -I +unix -I +dynlink ocaml_args.cmx frontend.cmx
- ocamlopt -I +compiler-libs    -I +unix -I +dynlink -c topfind.ml
- File "topfind.ml", line 128, characters 40-63:
- 128 |                      match Hashtbl.find Toploop.directive_table "ppx" with
-                                               ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- 
- File "topfind.ml", line 258, characters 4-27:
- 258 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- 
- File "topfind.ml", line 268, characters 4-27:
- 268 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- 
- File "topfind.ml", line 280, characters 4-27:
- 280 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- 
- File "topfind.ml", line 293, characters 4-27:
- 293 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- 
- File "topfind.ml", line 307, characters 4-27:
- 307 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- 
- File "topfind.ml", line 319, characters 4-27:
- 319 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- ocamlopt -I +compiler-libs  -a -o findlib_top.cmxa topfind.cmx
- if [ 1 -gt 0 ]; then \
-     ocamlopt -I +compiler-libs  -shared -o findlib_top.cmxs topfind.cmx; \
- fi
- ocamlopt -I +compiler-libs    -I +unix -I +dynlink -c fl_dynload.ml
- ocamlopt -I +compiler-libs  -a -o findlib_dynload.cmxa fl_dynload.cmx
- if [ 1 -gt 0 ]; then \
-     ocamlopt -I +compiler-libs  -shared -o findlib_dynload.cmxs fl_dynload.cmx; \
- fi
- make[1]: Leaving directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6/src/findlib'
-> compiled  ocamlfind.1.9.6
Processing  4/6: [ocamlfind: make install]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6)
- if [ "0" -eq 1 ]; then \
-     for x in camlp4 dbm graphics labltk num ocamlbuild; do \
-       if [ -f "/home/opam/.opam/5.2/lib/$x/META" ]; then \
-         if ! grep -Fq '[distributed with Ocaml]' "//home/opam/.opam/5.2/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/5.2/bin"
- install -d "/home/opam/.opam/5.2/man"
- make install-config
- make[1]: Entering directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6'
- install -d "`dirname \"/home/opam/.opam/5.2/lib/findlib.conf\"`"
- test -f "/home/opam/.opam/5.2/lib/findlib.conf" || install -c findlib.conf "/home/opam/.opam/5.2/lib/findlib.conf"
- make[1]: Leaving directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6'
- for p in findlib; do ( cd src/$p; make install ); done
- make[1]: Entering directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6/src/findlib'
- install -d "/home/opam/.opam/5.2/lib/findlib"
- install -d "/home/opam/.opam/5.2/bin"
- test 1 -eq 0 || install -d "/home/opam/.opam/5.2/lib/ocaml"
- test 1 -eq 0 || install -c topfind "/home/opam/.opam/5.2/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/5.2/lib/findlib/"
- f="ocamlfind"; { test -f ocamlfind_opt && f="ocamlfind_opt"; }; \
- install -c $f "/home/opam/.opam/5.2/bin/ocamlfind"
- # the following "if" block is only needed for 4.00beta2
- if [ 1 -eq 0 -a -f "/home/opam/.opam/5.2/lib/ocaml/compiler-libs/topdirs.cmi" ]; then \
-     cd "/home/opam/.opam/5.2/lib/ocaml/compiler-libs/"; \
-     install -c topdirs.cmi toploop.cmi "/home/opam/.opam/5.2/lib/findlib/"; \
- fi
- make[1]: Leaving directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6/src/findlib'
- make install-meta
- make[1]: Entering directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6'
- for x in bytes ; do install -d "/home/opam/.opam/5.2/lib/$x"; install -c site-lib-src/$x/META "/home/opam/.opam/5.2/lib/$x/META.tmp" && mv "/home/opam/.opam/5.2/lib/$x/META.tmp" "/home/opam/.opam/5.2/lib/$x/META"; done
- install -d "/home/opam/.opam/5.2/lib/findlib"; install -c Makefile.packages "/home/opam/.opam/5.2/lib/findlib/Makefile.packages"
- make[1]: Leaving directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6'
- test ! -f 'site-lib-src/num-top/META' || { cd src/findlib; make install-num-top; }
- test ! -f 'site-lib-src/camlp4/META' ||	install -c tools/safe_camlp4 "/home/opam/.opam/5.2/bin"
- make install-doc
- make[1]: Entering directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6'
- install -d "/home/opam/.opam/5.2/man/man1" "/home/opam/.opam/5.2/man/man3" "/home/opam/.opam/5.2/man/man5"
- install -c doc/ref-man/ocamlfind.1 "/home/opam/.opam/5.2/man/man1"
- install -c doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 "/home/opam/.opam/5.2/man/man5"
- make[1]: Leaving directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6'
-> installed ocamlfind.1.9.6
Processing  5/6: [ocaml-expat: make all]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "all" (CWD=/home/opam/.opam/5.2/.opam-switch/build/ocaml-expat.1.1.0)
- gcc -I /home/opam/.opam/5.2/lib/ocaml -MM *.c > depend
- ocamlfind ocamldep -package bytes *.mli *.ml >> depend
- ocamlfind ocamlc -package bytes -c -ccopt "-pthread" expat_stubs.c
- expat_stubs.c: In function 'Val_option_string':
- expat_stubs.c:64:16: error: implicit declaration of function 'alloc'; did you mean 'valloc'? [-Wimplicit-function-declaration]
-    64 |         some = alloc(1, 0);
-       |                ^~~~~
-       |                valloc
- expat_stubs.c:65:20: error: implicit declaration of function 'copy_string'; did you mean 'caml_copy_string'? [-Wimplicit-function-declaration]
-    65 |         some_str = copy_string(str);
-       |                    ^~~~~~~~~~~
-       |                    caml_copy_string
- In file included from expat_stubs.c:23:
- expat_stubs.c: In function 'String_option_val':
- /home/opam/.opam/5.2/lib/ocaml/caml/mlvalues.h:332:24: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   332 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- expat_stubs.c:78:16: note: in expansion of macro 'String_val'
-    78 |         return String_val(Field(string_option, 0));
-       |                ^~~~~~~~~~
- expat_stubs.c: In function 'xml_parser_finalize':
- expat_stubs.c:90:5: error: implicit declaration of function 'remove_global_root'; did you mean 'caml_remove_global_root'? [-Wimplicit-function-declaration]
-    90 |     remove_global_root(handlers);
-       |     ^~~~~~~~~~~~~~~~~~
-       |     caml_remove_global_root
- expat_stubs.c: In function 'create_ocaml_expat_parser':
- expat_stubs.c:135:14: error: implicit declaration of function 'alloc_custom'; did you mean 'caml_alloc_custom'? [-Wimplicit-function-declaration]
-   135 |     parser = alloc_custom(&xml_parser_ops, sizeof(XML_Parser), 1, 5000);
-       |              ^~~~~~~~~~~~
-       |              caml_alloc_custom
- expat_stubs.c:144:5: error: implicit declaration of function 'register_global_root'; did you mean 'caml_register_global_root'? [-Wimplicit-function-declaration]
-   144 |     register_global_root(handlers);
-       |     ^~~~~~~~~~~~~~~~~~~~
-       |     caml_register_global_root
- expat_stubs.c:149:17: error: implicit declaration of function 'alloc_tuple'; did you mean 'caml_alloc_tuple'? [-Wimplicit-function-declaration]
-   149 |     *handlers = alloc_tuple(NUM_HANDLERS);
-       |                 ^~~~~~~~~~~
-       |                 caml_alloc_tuple
- In file included from expat_stubs.c:26:
- expat_stubs.c: In function 'expat_XML_ErrorString':
- expat_stubs.c:337:21: error: implicit declaration of function 'alloc_string'; did you mean 'caml_alloc_string'? [-Wimplicit-function-declaration]
-   337 |         CAMLreturn (alloc_string(0));
-       |                     ^~~~~~~~~~~~
- /home/opam/.opam/5.2/lib/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT'
-   415 |   type caml__temp_result = (result); \
-       |                             ^~~~~~
- expat_stubs.c:337:9: note: in expansion of macro 'CAMLreturn'
-   337 |         CAMLreturn (alloc_string(0));
-       |         ^~~~~~~~~~
- expat_stubs.c: In function 'expat_error':
- expat_stubs.c:350:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   350 |         expat_error_exn = caml_named_value("expat_error");
-       |                         ^
- expat_stubs.c:352:13: error: implicit declaration of function 'invalid_argument'; did you mean 'caml_invalid_argument'? [-Wimplicit-function-declaration]
-   352 |             invalid_argument("Exception Expat_error not initialized");
-       |             ^~~~~~~~~~~~~~~~
-       |             caml_invalid_argument
- expat_stubs.c:356:5: error: implicit declaration of function 'raise_with_arg'; did you mean 'caml_raise_with_arg'? [-Wimplicit-function-declaration]
-   356 |     raise_with_arg(*expat_error_exn, Val_long(error_code));
-       |     ^~~~~~~~~~~~~~
-       |     caml_raise_with_arg
- expat_stubs.c: In function 'expat_XML_Parse':
- expat_stubs.c:368:51: error: implicit declaration of function 'string_length'; did you mean 'caml_string_length'? [-Wimplicit-function-declaration]
-   368 |     if(!XML_Parse(xml_parser, String_val(string), string_length(string), 0)) {
-       |                                                   ^~~~~~~~~~~~~
-       |                                                   caml_string_length
- expat_stubs.c: In function 'expat_XML_ParseSub':
- /home/opam/.opam/5.2/lib/ocaml/caml/mlvalues.h:332:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   332 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- expat_stubs.c:387:20: note: in expansion of macro 'String_val'
-   387 |     char *string = String_val(vstring);
-       |                    ^~~~~~~~~~
- expat_stubs.c: In function 'start_element_handler':
- expat_stubs.c:451:5: error: implicit declaration of function 'callback2' [-Wimplicit-function-declaration]
-   451 |     callback2(Field(*handlers, EXPAT_START_ELEMENT_HANDLER), tag, list);
-       |     ^~~~~~~~~
- expat_stubs.c: In function 'end_element_handler':
- expat_stubs.c:500:5: error: implicit declaration of function 'callback'; did you mean 'calloc'? [-Wimplicit-function-declaration]
-   500 |     callback(Field(*handlers, EXPAT_END_ELEMENT_HANDLER), tag);
-       |     ^~~~~~~~
-       |     calloc
- expat_stubs.c: In function 'character_data_handler':
- /home/opam/.opam/5.2/lib/ocaml/caml/mlvalues.h:332:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   332 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- expat_stubs.c:550:12: note: in expansion of macro 'String_val'
-   550 |     memcpy(String_val(str), data, len);
-       |            ^~~~~~~~~~
- In file included from expat_stubs.c:13:
- /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,
-       |                      ~~~~~~~~~~~~~~~~~^~~~~~
- expat_stubs.c: In function 'default_handler':
- /home/opam/.opam/5.2/lib/ocaml/caml/mlvalues.h:332:24: warning: passing argument 1 of 'memmove' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   332 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- expat_stubs.c:819:13: note: in expansion of macro 'String_val'
-   819 |     memmove(String_val(d), data, len);
-       |             ^~~~~~~~~~
- /usr/include/string.h:47:29: note: expected 'void *' but argument is of type 'const char *'
-    47 | extern void *memmove (void *__dest, const void *__src, size_t __n)
-       |                       ~~~~~~^~~~~~
- expat_stubs.c: In function 'external_entity_ref_handler':
- expat_stubs.c:891:5: error: implicit declaration of function 'callbackN' [-Wimplicit-function-declaration]
-   891 |     callbackN(Field(*handlers, EXPAT_EXTERNAL_ENTITY_REF_HANDLER), 4, arg);
-       |     ^~~~~~~~~
- make: *** [Makefile:111: expat_stubs.o] Error 2
[ERROR] The compilation of ocaml-expat.1.1.0 failed at "make all".

#=== ERROR while compiling ocaml-expat.1.1.0 ==================================#
# context              2.3.0~alpha~dev | linux/x86_64 | ocaml-base-compiler.5.2.0 | file:///home/opam/opam-repository
# path                 ~/.opam/5.2/.opam-switch/build/ocaml-expat.1.1.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build make all
# exit-code            2
# env-file             ~/.opam/log/ocaml-expat-8-92cce7.env
# output-file          ~/.opam/log/ocaml-expat-8-92cce7.out
### output ###
# gcc -I /home/opam/.opam/5.2/lib/ocaml -MM *.c > depend
# ocamlfind ocamldep -package bytes *.mli *.ml >> depend
# ocamlfind ocamlc -package bytes -c -ccopt "-pthread" expat_stubs.c
# expat_stubs.c: In function 'Val_option_string':
# expat_stubs.c:64:16: error: implicit declaration of function 'alloc'; did you mean 'valloc'? [-Wimplicit-function-declaration]
#    64 |         some = alloc(1, 0);
#       |                ^~~~~
#       |                valloc
# expat_stubs.c:65:20: error: implicit declaration of function 'copy_string'; did you mean 'caml_copy_string'? [-Wimplicit-function-declaration]
#    65 |         some_str = copy_string(str);
#       |                    ^~~~~~~~~~~
#       |                    caml_copy_string
# In file included from expat_stubs.c:23:
# expat_stubs.c: In function 'String_option_val':
# /home/opam/.opam/5.2/lib/ocaml/caml/mlvalues.h:332:24: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   332 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
# expat_stubs.c:78:16: note: in expansion of macro 'String_val'
#    78 |         return String_val(Field(string_option, 0));
#       |                ^~~~~~~~~~
# expat_stubs.c: In function 'xml_parser_finalize':
# expat_stubs.c:90:5: error: implicit declaration of function 'remove_global_root'; did you mean 'caml_remove_global_root'? [-Wimplicit-function-declaration]
#    90 |     remove_global_root(handlers);
#       |     ^~~~~~~~~~~~~~~~~~
#       |     caml_remove_global_root
# expat_stubs.c: In function 'create_ocaml_expat_parser':
# expat_stubs.c:135:14: error: implicit declaration of function 'alloc_custom'; did you mean 'caml_alloc_custom'? [-Wimplicit-function-declaration]
#   135 |     parser = alloc_custom(&xml_parser_ops, sizeof(XML_Parser), 1, 5000);
#       |              ^~~~~~~~~~~~
#       |              caml_alloc_custom
# expat_stubs.c:144:5: error: implicit declaration of function 'register_global_root'; did you mean 'caml_register_global_root'? [-Wimplicit-function-declaration]
#   144 |     register_global_root(handlers);
#       |     ^~~~~~~~~~~~~~~~~~~~
#       |     caml_register_global_root
# expat_stubs.c:149:17: error: implicit declaration of function 'alloc_tuple'; did you mean 'caml_alloc_tuple'? [-Wimplicit-function-declaration]
#   149 |     *handlers = alloc_tuple(NUM_HANDLERS);
#       |                 ^~~~~~~~~~~
#       |                 caml_alloc_tuple
# In file included from expat_stubs.c:26:
# expat_stubs.c: In function 'expat_XML_ErrorString':
# expat_stubs.c:337:21: error: implicit declaration of function 'alloc_string'; did you mean 'caml_alloc_string'? [-Wimplicit-function-declaration]
#   337 |         CAMLreturn (alloc_string(0));
#       |                     ^~~~~~~~~~~~
# /home/opam/.opam/5.2/lib/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT'
#   415 |   type caml__temp_result = (result); \
#       |                             ^~~~~~
# expat_stubs.c:337:9: note: in expansion of macro 'CAMLreturn'
#   337 |         CAMLreturn (alloc_string(0));
#       |         ^~~~~~~~~~
# expat_stubs.c: In function 'expat_error':
# expat_stubs.c:350:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   350 |         expat_error_exn = caml_named_value("expat_error");
#       |                         ^
# expat_stubs.c:352:13: error: implicit declaration of function 'invalid_argument'; did you mean 'caml_invalid_argument'? [-Wimplicit-function-declaration]
#   352 |             invalid_argument("Exception Expat_error not initialized");
#       |             ^~~~~~~~~~~~~~~~
#       |             caml_invalid_argument
# expat_stubs.c:356:5: error: implicit declaration of function 'raise_with_arg'; did you mean 'caml_raise_with_arg'? [-Wimplicit-function-declaration]
#   356 |     raise_with_arg(*expat_error_exn, Val_long(error_code));
#       |     ^~~~~~~~~~~~~~
#       |     caml_raise_with_arg
# expat_stubs.c: In function 'expat_XML_Parse':
# expat_stubs.c:368:51: error: implicit declaration of function 'string_length'; did you mean 'caml_string_length'? [-Wimplicit-function-declaration]
#   368 |     if(!XML_Parse(xml_parser, String_val(string), string_length(string), 0)) {
#       |                                                   ^~~~~~~~~~~~~
#       |                                                   caml_string_length
# expat_stubs.c: In function 'expat_XML_ParseSub':
# /home/opam/.opam/5.2/lib/ocaml/caml/mlvalues.h:332:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   332 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# expat_stubs.c:387:20: note: in expansion of macro 'String_val'
#   387 |     char *string = String_val(vstring);
#       |                    ^~~~~~~~~~
# expat_stubs.c: In function 'start_element_handler':
# expat_stubs.c:451:5: error: implicit declaration of function 'callback2' [-Wimplicit-function-declaration]
#   451 |     callback2(Field(*handlers, EXPAT_START_ELEMENT_HANDLER), tag, list);
#       |     ^~~~~~~~~
# expat_stubs.c: In function 'end_element_handler':
# expat_stubs.c:500:5: error: implicit declaration of function 'callback'; did you mean 'calloc'? [-Wimplicit-function-declaration]
#   500 |     callback(Field(*handlers, EXPAT_END_ELEMENT_HANDLER), tag);
#       |     ^~~~~~~~
#       |     calloc
# expat_stubs.c: In function 'character_data_handler':
# /home/opam/.opam/5.2/lib/ocaml/caml/mlvalues.h:332:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   332 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
# expat_stubs.c:550:12: note: in expansion of macro 'String_val'
#   550 |     memcpy(String_val(str), data, len);
#       |            ^~~~~~~~~~
# In file included from expat_stubs.c:13:
# /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,
#       |                      ~~~~~~~~~~~~~~~~~^~~~~~
# expat_stubs.c: In function 'default_handler':
# /home/opam/.opam/5.2/lib/ocaml/caml/mlvalues.h:332:24: warning: passing argument 1 of 'memmove' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   332 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
# expat_stubs.c:819:13: note: in expansion of macro 'String_val'
#   819 |     memmove(String_val(d), data, len);
#       |             ^~~~~~~~~~
# /usr/include/string.h:47:29: note: expected 'void *' but argument is of type 'const char *'
#    47 | extern void *memmove (void *__dest, const void *__src, size_t __n)
#       |                       ~~~~~~^~~~~~
# expat_stubs.c: In function 'external_entity_ref_handler':
# expat_stubs.c:891:5: error: implicit declaration of function 'callbackN' [-Wimplicit-function-declaration]
#   891 |     callbackN(Field(*handlers, EXPAT_EXTERNAL_ENTITY_REF_HANDLER), 4, arg);
#       |     ^~~~~~~~~
# make: *** [Makefile:111: expat_stubs.o] Error 2



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ocaml-expat 1.1.0
+- 
+- The following changes have been performed
| - install ocamlfind 1.9.6
+- 
# 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.2/.opam-switch/backup/state-20240805060733.export"
'opam install -vy ocaml-expat.1.1.0' failed.
"/usr/bin/env" "bash" "-c" "
opam remove -y "ocaml-expat.1.1.0"
opam install -vy "ocaml-expat.1.1.0"
res=$?
if [ $res = 31 ]; then
    if opam show -f x-ci-accept-failures: "ocaml-expat.1.1.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