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


Building on x86-bm-1.ocamllabs.io

(from ocaml/opam:debian-unstable@sha256:196f72fefcbd1cd5857a4541b7054686b672ddbe3ce300ebf954f71a772a99f1)
Unable to find image 'ocaml/opam:debian-unstable@sha256:196f72fefcbd1cd5857a4541b7054686b672ddbe3ce300ebf954f71a772a99f1' locally
docker.io/ocaml/opam@sha256:196f72fefcbd1cd5857a4541b7054686b672ddbe3ce300ebf954f71a772a99f1: Pulling from ocaml/opam
88273bdcc4bc: Pulling fs layer
88273bdcc4bc: Verifying Checksum
88273bdcc4bc: Download complete
88273bdcc4bc: Pull complete
Digest: sha256:196f72fefcbd1cd5857a4541b7054686b672ddbe3ce300ebf954f71a772a99f1
Status: Downloaded newer image for ocaml/opam@sha256:196f72fefcbd1cd5857a4541b7054686b672ddbe3ce300ebf954f71a772a99f1
2022-10-12 11:23.00 ---> using "72789ea385c156750aa7dd96aa50ee44bc632bea844e975f245441d9aee8bfd2" 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-10-12 11:23.00 ---> using "00a95b0dc29356854a2323387bb3765564e1fe55593574ff6be6315935e9f655" 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 b1c9c96444d9fdc81f076b2f18ffaccd2f7c8f2f"))
2022-10-12 11:23.00 ---> using "78ae84c730ce1e5c34c37c027b1e573b31333de9c356d764a1de3654115799af" 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-10-12 11:23.00 ---> using "3910cf3733834024da3f31717f53c4d64ec6165d9ca48b4a2ad73da600e53b71" from cache

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

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> installed ocaml-options-vanilla.1
-> retrieved ocaml-base-compiler.4.14.0  (cached)
-> installed ocaml-base-compiler.4.14.0
-> installed ocaml-config.2
-> installed ocaml.4.14.0
Done.
# Run eval $(opam env --switch=4.14) to update the current shell environment
2022-10-12 11:23.00 ---> using "fb1eb500f11be569274ad29ee0db9fcc0909ae204e539c4aea07285e5410519c" from cache

/: (run (network host)
        (shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [161 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-10-11-2005.54-F-2022-10-10-1406.43.pdiff [117 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-10-11-2005.54-F-2022-10-10-1406.43.pdiff [117 kB]
- Fetched 341 kB in 3s (97.8 kB/s)
- Reading package lists...
- 
2022-10-12 11:23.00 ---> using "bb3fedd8441a3a40aad051f4d87b043f4b5b40252dccad127b059938a578d2b7" from cache

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

Nothing to do.
The following actions will be performed:
=== install 3 packages
  - install base-bytes base  [required by faad]
  - install faad       0.4.0
  - install ocamlfind  1.9.5 [required by faad]

The following system packages will first need to be installed:
    libfaad-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. 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" "libfaad-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libfaad2: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 ... 19690 files and directories currently installed.)
- Preparing to unpack .../libfaad2_2.10.0-2+b1_amd64.deb ...
- Unpacking libfaad2:amd64 (2.10.0-2+b1) ...
- Selecting previously unselected package libfaad-dev:amd64.
- Preparing to unpack .../libfaad-dev_2.10.0-2+b1_amd64.deb ...
- Unpacking libfaad-dev:amd64 (2.10.0-2+b1) ...
- Setting up libfaad2:amd64 (2.10.0-2+b1) ...
- Setting up libfaad-dev:amd64 (2.10.0-2+b1) ...
- Processing triggers for libc-bin (2.35-3) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/9:
Processing  3/9:
-> retrieved faad.0.4.0  (cached)
-> retrieved ocamlfind.1.9.5  (cached)
[ocamlfind: patch] applying 0001-Fix-bug-when-installing-with-a-system-compiler.patch
Processing  4/9: [ocamlfind: patch]
Processing  4/9: [ocamlfind: ./configure]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "-bindir" "/home/opam/.opam/4.14/bin" "-sitelib" "/home/opam/.opam/4.14/lib" "-mandir" "/home/opam/.opam/4.14/man" "-config" "/home/opam/.opam/4.14/lib/findlib.conf" "-no-custom" "-no-camlp4" (CWD=/home/opam/.opam/4.14/.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: 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)
- 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 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.14/lib/ocaml
-     Binaries:              /home/opam/.opam/4.14/bin
-     Manual pages:          /home/opam/.opam/4.14/man
-     Multi-threading type:  posix
- The directory of site-specific packages will be
-     site-lib:              /home/opam/.opam/4.14/lib
- The configuration file is written to:
-     findlib config file:   /home/opam/.opam/4.14/lib/findlib.conf
- Software will be installed:
-     Libraries:             in <site-lib>/findlib
-     Binaries:              /home/opam/.opam/4.14/bin
-     Manual pages:          /home/opam/.opam/4.14/man
-     topfind script:        /home/opam/.opam/4.14/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  4/9: [ocamlfind: make all]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "all" (CWD=/home/opam/.opam/4.14/.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.14/.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.14/lib/findlib.conf' | \
-          ../../tools/patch '@STDLIB@' '/home/opam/.opam/4.14/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
- File "fl_package_base.ml", line 304, characters 22-40:
- 304 | 	 let pkg_ancestors = query_requirements predlist pkg in
-       	                     ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- File "fl_package_base.ml", line 350, characters 18-36:
- 350 |   let ancestors = query_requirements predlist package_name in
-                         ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- File "fl_package_base.ml", line 375, characters 23-41:
- 375 | 	  let pkg_ancestors = query_requirements predlist pkg in
-       	                      ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- File "fl_package_base.ml", line 510, characters 16-35:
- 510 | 	     ( let c = package_definitions search_path pkg.package_name in
-       	               ^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label search_path was omitted in the application of this function.
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -c findlib.mli
- ocamlc -I +compiler-libs -opaque   -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 -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
- 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 -opaque   -I +unix -I +dynlink -c topfind.mli
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -g -c topfind.ml
- File "topfind.ml", line 126, characters 40-63:
- 126 |                      match Hashtbl.find Toploop.directive_table "ppx" with
-                                               ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 256, characters 4-27:
- 256 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 266, characters 4-27:
- 266 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 278, characters 4-27:
- 278 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 291, characters 4-27:
- 291 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 305, characters 4-27:
- 305 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 317, characters 4-27:
- 317 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- ocamlc -I +compiler-libs -a -o findlib_top.cma topfind.cmo
- USE_CYGPATH="0"; \
- export USE_CYGPATH; \
- cat topfind_rd1.p | \
-          ../../tools/patch '@SITELIB@' '/home/opam/.opam/4.14/lib' \
-     	    >topfind
- 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.14/.opam-switch/build/ocamlfind.1.9.5/src/findlib'
- make all-config
- make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.5'
- USE_CYGPATH="0"; \
- export USE_CYGPATH; \
- cat findlib.conf.in | \
-      tools/patch '@SITELIB@' '/home/opam/.opam/4.14/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.14/.opam-switch/build/ocamlfind.1.9.5'
Processing  4/9: [ocamlfind: make opt]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "opt" (CWD=/home/opam/.opam/4.14/.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.14/.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
- File "fl_package_base.ml", line 304, characters 22-40:
- 304 | 	 let pkg_ancestors = query_requirements predlist pkg in
-       	                     ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- File "fl_package_base.ml", line 350, characters 18-36:
- 350 |   let ancestors = query_requirements predlist package_name in
-                         ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- File "fl_package_base.ml", line 375, characters 23-41:
- 375 | 	  let pkg_ancestors = query_requirements predlist pkg in
-       	                      ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- File "fl_package_base.ml", line 510, characters 16-35:
- 510 | 	     ( let c = package_definitions search_path pkg.package_name in
-       	               ^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label search_path was omitted in the application of this function.
- ocamlopt -I +compiler-libs -g -opaque  -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 -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
- File "frontend.ml", line 859, characters 10-39:
- 859 |           Fl_package_base.package_users predicates1 packages1
-                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- ocamlopt -I +compiler-libs -g -o ocamlfind_opt findlib.cmxa unix.cmxa \
- 	   -I +unix -I +dynlink ocaml_args.cmx frontend.cmx
- ocamlopt -I +compiler-libs -g -opaque  -I +unix -I +dynlink -c topfind.ml
- File "topfind.ml", line 126, characters 40-63:
- 126 |                      match Hashtbl.find Toploop.directive_table "ppx" with
-                                               ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 256, characters 4-27:
- 256 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 266, characters 4-27:
- 266 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 278, characters 4-27:
- 278 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 291, characters 4-27:
- 291 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 305, characters 4-27:
- 305 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 317, characters 4-27:
- 317 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- ocamlopt -I +compiler-libs -g -a -o findlib_top.cmxa topfind.cmx
- if [ 1 -gt 0 ]; then \
-     ocamlopt -I +compiler-libs -g -shared -o findlib_top.cmxs topfind.cmx; \
- fi
- ocamlopt -I +compiler-libs -g -opaque  -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.14/.opam-switch/build/ocamlfind.1.9.5/src/findlib'
-> compiled  ocamlfind.1.9.5
Processing  5/9: [ocamlfind: make install]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/4.14/.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.14/lib/$x/META" ]; then \
-         if ! grep -Fq '[distributed with Ocaml]' "//home/opam/.opam/4.14/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.14/bin"
- install -d "/home/opam/.opam/4.14/man"
- make install-config
- make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.5'
- install -d "`dirname \"/home/opam/.opam/4.14/lib/findlib.conf\"`"
- test -f "/home/opam/.opam/4.14/lib/findlib.conf" || install -c findlib.conf "/home/opam/.opam/4.14/lib/findlib.conf"
- make[1]: Leaving directory '/home/opam/.opam/4.14/.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.14/.opam-switch/build/ocamlfind.1.9.5/src/findlib'
- install -d "/home/opam/.opam/4.14/lib/findlib"
- install -d "/home/opam/.opam/4.14/bin"
- test 1 -eq 0 || install -d "/home/opam/.opam/4.14/lib/ocaml"
- test 1 -eq 0 || install -c topfind "/home/opam/.opam/4.14/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.14/lib/findlib/"
- f="ocamlfind"; { test -f ocamlfind_opt && f="ocamlfind_opt"; }; \
- install -c $f "/home/opam/.opam/4.14/bin/ocamlfind"
- # the following "if" block is only needed for 4.00beta2
- if [ 1 -eq 0 -a -f "/home/opam/.opam/4.14/lib/ocaml/compiler-libs/topdirs.cmi" ]; then \
-     cd "/home/opam/.opam/4.14/lib/ocaml/compiler-libs/"; \
-     install -c topdirs.cmi toploop.cmi "/home/opam/.opam/4.14/lib/findlib/"; \
- fi
- make[1]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.5/src/findlib'
- make install-meta
- make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.5'
- for x in bigarray bytes compiler-libs dynlink ocamldoc stdlib str threads unix ; do install -d "/home/opam/.opam/4.14/lib/$x"; install -c site-lib-src/$x/META "/home/opam/.opam/4.14/lib/$x/META.tmp" && mv "/home/opam/.opam/4.14/lib/$x/META.tmp" "/home/opam/.opam/4.14/lib/$x/META"; done
- install -d "/home/opam/.opam/4.14/lib/findlib"; install -c Makefile.packages "/home/opam/.opam/4.14/lib/findlib/Makefile.packages"
- make[1]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.5'
- 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/4.14/bin"
- make install-doc
- make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.5'
- install -d "/home/opam/.opam/4.14/man/man1" "/home/opam/.opam/4.14/man/man3" "/home/opam/.opam/4.14/man/man5"
- install -c doc/ref-man/ocamlfind.1 "/home/opam/.opam/4.14/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.14/man/man5"
- make[1]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.5'
-> installed ocamlfind.1.9.5
-> installed base-bytes.base
Processing  8/9: [faad: ./configure]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "--prefix" "/home/opam/.opam/4.14" (CWD=/home/opam/.opam/4.14/.opam-switch/build/faad.0.4.0)
- configuring ocaml-faad 0.4.0
- 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 build system type... x86_64-pc-linux-gnu
- checking host system type... x86_64-pc-linux-gnu
- checking for a BSD-compatible install... /usr/bin/install -c
- checking target toolchain... linux
- 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 ar... ar
- checking for ocamlc... ocamlc
- OCaml version is 4.14.0
- checking if ocaml compiler supports first-class modules... yes
- OCaml library path is /home/opam/.opam/4.14/lib/ocaml
- checking for ocamlopt... ocamlopt
- checking for ocamlc.opt... ocamlc.opt
- checking for ocamlopt.opt... ocamlopt.opt
- checking for ocaml... ocaml
- checking for ocamldep... ocamldep
- checking for ocamldep.opt... ocamldep.opt
- checking for ocamlmktop... ocamlmktop
- checking for ocamlmklib... ocamlmklib
- checking for ocamldoc... ocamldoc
- checking for ocamldoc.opt... ocamldoc.opt
- checking for ocamlbuild... no
- checking for camlidl... no
- checking for ocamllex... ocamllex
- checking for ocamllex.opt... ocamllex.opt
- checking for ocamlyacc... ocamlyacc
- checking for camlp4... no
- checking for camlp4boot... no
- checking for camlp4o... no
- checking for camlp4of... no
- checking for camlp4oof... no
- checking for camlp4orf... no
- checking for camlp4prof... no
- checking for camlp4r... no
- checking for camlp4rf... no
- checking for ocamlfind... ocamlfind
- checking for ocaml standard library path... /home/opam/.opam/4.14/lib/ocaml
- checking for caml/threads.h... yes
- checking for gcc option to produce PIC... -fPIC
- 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 errno.h usability... yes
- checking errno.h presence... yes
- checking for errno.h... yes
- checking neaacdec.h usability... yes
- checking neaacdec.h presence... yes
- checking for neaacdec.h... yes
- checking for NeAACDecInit... yes
- checking for ocaml bytes module... ok
- configure: creating ./config.status
- config.status: creating Makefile
- config.status: creating src/META
- config.status: creating src/Makefile
- config.status: creating config.h
Processing  8/9: [faad: make]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" (CWD=/home/opam/.opam/4.14/.opam-switch/build/faad.0.4.0)
- make -C src all
- make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/faad.0.4.0/src'
- make[2]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/faad.0.4.0/src'
- ocamldep.opt faad.mli > ._bcdi/faad.di
- ocamldep.opt faad.ml > ._d/faad.d
- ocamlc.opt -c -cc "gcc" -ccopt "-fPIC -g -O2 -I/home/opam/.opam/4.14/include -I.. -DHAVE_CONFIG_H  -Wall -DCAML_NAME_SPACE -DUSE_TAGGING \
- 			-DPIC -fPIC -I/home/opam/.opam/4.14/include   \
- 			  -I/home/opam/.opam/4.14/lib/bytes  -o faad_stubs.o " faad_stubs.c
- In file included from /home/opam/.opam/4.14/lib/ocaml/caml/alloc.h:24,
-                  from faad_stubs.c:29:
- faad_stubs.c: In function 'ocaml_faad_mp4_read_sample':
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- faad_stubs.c:503:10: note: in expansion of macro 'String_val'
-   503 |   memcpy(String_val(ans), buf, buflen);
-       |          ^~~~~~~~~~
- In file included from faad_stubs.c:40:
- /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,
-       |                      ~~~~~~~~~~~~~~~~~^~~~~~
- ocamlc.opt -c -cc "gcc" -ccopt "-fPIC -g -O2 -I/home/opam/.opam/4.14/include -I.. -DHAVE_CONFIG_H  -Wall -DCAML_NAME_SPACE -DUSE_TAGGING \
- 			-DPIC -fPIC -I/home/opam/.opam/4.14/include   \
- 			  -I/home/opam/.opam/4.14/lib/bytes  -o mp4atom.o " mp4atom.c
- mp4atom.c: In function 'mp4ff_read_esds':
- mp4atom.c:343:57: warning: pointer targets in passing argument 2 of 'mp4ff_read_data' differ in signedness [-Wpointer-sign]
-   343 |         mp4ff_read_data(f, f->track[f->total_tracks - 1]->decoderConfig, f->track[f->total_tracks - 1]->decoderConfigLen);
-       |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
-       |                                                         |
-       |                                                         uint8_t * {aka unsigned char *}
- In file included from mp4atom.c:44:
- mp4ffint.h:142:45: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'}
-   142 | int32_t mp4ff_read_data(mp4ff_t *f, int8_t *data, uint32_t size);
-       |                                     ~~~~~~~~^~~~
- mp4atom.c: In function 'mp4ff_read_mp4a':
- mp4atom.c:354:14: warning: variable 'size' set but not used [-Wunused-but-set-variable]
-   354 |     uint64_t size;
-       |              ^~~~
- mp4ffint.h: At top level:
- mp4ffint.h:175:16: warning: 'mp4ff_chunk_of_sample' declared 'static' but never defined [-Wunused-function]
-   175 | static int32_t mp4ff_chunk_of_sample(const mp4ff_t *f, const int32_t track, const int32_t sample,
-       |                ^~~~~~~~~~~~~~~~~~~~~
- mp4ffint.h:177:16: warning: 'mp4ff_chunk_to_offset' declared 'static' but never defined [-Wunused-function]
-   177 | static int32_t mp4ff_chunk_to_offset(const mp4ff_t *f, const int32_t track, const int32_t chunk);
-       |                ^~~~~~~~~~~~~~~~~~~~~
- mp4ffint.h:178:16: warning: 'mp4ff_sample_range_size' declared 'static' but never defined [-Wunused-function]
-   178 | static int32_t mp4ff_sample_range_size(const mp4ff_t *f, const int32_t track,
-       |                ^~~~~~~~~~~~~~~~~~~~~~~
- mp4ffint.h:180:16: warning: 'mp4ff_sample_to_offset' declared 'static' but never defined [-Wunused-function]
-   180 | static int32_t mp4ff_sample_to_offset(const mp4ff_t *f, const int32_t track, const int32_t sample);
-       |                ^~~~~~~~~~~~~~~~~~~~~~
- mp4ffint.h:186:16: warning: 'mp4ff_tag_add_field' declared 'static' but never defined [-Wunused-function]
-   186 | static int32_t mp4ff_tag_add_field(mp4ff_metadata_t *tags, const char *item, const char *value, int32_t len);
-       |                ^~~~~~~~~~~~~~~~~~~
- mp4ffint.h:187:16: warning: 'mp4ff_tag_set_field' declared 'static' but never defined [-Wunused-function]
-   187 | static int32_t mp4ff_tag_set_field(mp4ff_metadata_t *tags, const char *item, const char *value);
-       |                ^~~~~~~~~~~~~~~~~~~
- mp4ffint.h:188:16: warning: 'mp4ff_set_metadata_name' declared 'static' but never defined [-Wunused-function]
-   188 | static int32_t mp4ff_set_metadata_name(mp4ff_t *f, const uint8_t atom_type, char **name);
-       |                ^~~~~~~~~~~~~~~~~~~~~~~
- mp4ffint.h:189:16: warning: 'mp4ff_parse_tag' declared 'static' but never defined [-Wunused-function]
-   189 | static int32_t mp4ff_parse_tag(mp4ff_t *f, const uint8_t parent_atom_type, const int32_t size);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:190:16: warning: 'mp4ff_meta_find_by_name' declared 'static' but never defined [-Wunused-function]
-   190 | static int32_t mp4ff_meta_find_by_name(const mp4ff_t *f, const char *item, char **value);
-       |                ^~~~~~~~~~~~~~~~~~~~~~~
- ocamlc.opt -c -cc "gcc" -ccopt "-fPIC -g -O2 -I/home/opam/.opam/4.14/include -I.. -DHAVE_CONFIG_H  -Wall -DCAML_NAME_SPACE -DUSE_TAGGING \
- 			-DPIC -fPIC -I/home/opam/.opam/4.14/include   \
- 			  -I/home/opam/.opam/4.14/lib/bytes  -o mp4ff.o " mp4ff.c
- mp4ff.c: In function 'mp4ff_read_sample':
- mp4ff.c:452:33: warning: pointer targets in passing argument 2 of 'mp4ff_read_data' differ in signedness [-Wpointer-sign]
-   452 |     result = mp4ff_read_data(f, *audio_buffer, *bytes);
-       |                                 ^~~~~~~~~~~~~
-       |                                 |
-       |                                 uint8_t * {aka unsigned char *}
- In file included from mp4ff.c:33:
- mp4ffint.h:142:45: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'}
-   142 | int32_t mp4ff_read_data(mp4ff_t *f, int8_t *data, uint32_t size);
-       |                                     ~~~~~~~~^~~~
- mp4ff.c: In function 'mp4ff_read_sample_v2':
- mp4ff.c:478:36: warning: pointer targets in passing argument 2 of 'mp4ff_read_data' differ in signedness [-Wpointer-sign]
-   478 |         result = mp4ff_read_data(f,buffer,size);
-       |                                    ^~~~~~
-       |                                    |
-       |                                    unsigned char *
- mp4ffint.h:142:45: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'unsigned char *'
-   142 | int32_t mp4ff_read_data(mp4ff_t *f, int8_t *data, uint32_t size);
-       |                                     ~~~~~~~~^~~~
- mp4ffint.h: At top level:
- mp4ffint.h:157:16: warning: 'mp4ff_atom_get_size' declared 'static' but never defined [-Wunused-function]
-   157 | static int32_t mp4ff_atom_get_size(const int8_t *data);
-       |                ^~~~~~~~~~~~~~~~~~~
- mp4ffint.h:158:16: warning: 'mp4ff_atom_compare' declared 'static' but never defined [-Wunused-function]
-   158 | static int32_t mp4ff_atom_compare(const int8_t a1, const int8_t b1, const int8_t c1, const int8_t d1,
-       |                ^~~~~~~~~~~~~~~~~~
- mp4ffint.h:160:16: warning: 'mp4ff_atom_name_to_type' declared 'static' but never defined [-Wunused-function]
-   160 | static uint8_t mp4ff_atom_name_to_type(const int8_t a, const int8_t b, const int8_t c, const int8_t d);
-       |                ^~~~~~~~~~~~~~~~~~~~~~~
- mp4ffint.h:162:16: warning: 'mp4ff_read_stsz' declared 'static' but never defined [-Wunused-function]
-   162 | static int32_t mp4ff_read_stsz(mp4ff_t *f);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:163:16: warning: 'mp4ff_read_esds' declared 'static' but never defined [-Wunused-function]
-   163 | static int32_t mp4ff_read_esds(mp4ff_t *f);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:164:16: warning: 'mp4ff_read_mp4a' declared 'static' but never defined [-Wunused-function]
-   164 | static int32_t mp4ff_read_mp4a(mp4ff_t *f);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:165:16: warning: 'mp4ff_read_stsd' declared 'static' but never defined [-Wunused-function]
-   165 | static int32_t mp4ff_read_stsd(mp4ff_t *f);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:166:16: warning: 'mp4ff_read_stsc' declared 'static' but never defined [-Wunused-function]
-   166 | static int32_t mp4ff_read_stsc(mp4ff_t *f);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:167:16: warning: 'mp4ff_read_stco' declared 'static' but never defined [-Wunused-function]
-   167 | static int32_t mp4ff_read_stco(mp4ff_t *f);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:168:16: warning: 'mp4ff_read_stts' declared 'static' but never defined [-Wunused-function]
-   168 | static int32_t mp4ff_read_stts(mp4ff_t *f);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:170:16: warning: 'mp4ff_read_meta' declared 'static' but never defined [-Wunused-function]
-   170 | static int32_t mp4ff_read_meta(mp4ff_t *f, const uint64_t size);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:175:16: warning: 'mp4ff_chunk_of_sample' declared 'static' but never defined [-Wunused-function]
-   175 | static int32_t mp4ff_chunk_of_sample(const mp4ff_t *f, const int32_t track, const int32_t sample,
-       |                ^~~~~~~~~~~~~~~~~~~~~
- mp4ffint.h:177:16: warning: 'mp4ff_chunk_to_offset' declared 'static' but never defined [-Wunused-function]
-   177 | static int32_t mp4ff_chunk_to_offset(const mp4ff_t *f, const int32_t track, const int32_t chunk);
-       |                ^~~~~~~~~~~~~~~~~~~~~
- mp4ffint.h:178:16: warning: 'mp4ff_sample_range_size' declared 'static' but never defined [-Wunused-function]
-   178 | static int32_t mp4ff_sample_range_size(const mp4ff_t *f, const int32_t track,
-       |                ^~~~~~~~~~~~~~~~~~~~~~~
- mp4ffint.h:180:16: warning: 'mp4ff_sample_to_offset' declared 'static' but never defined [-Wunused-function]
-   180 | static int32_t mp4ff_sample_to_offset(const mp4ff_t *f, const int32_t track, const int32_t sample);
-       |                ^~~~~~~~~~~~~~~~~~~~~~
- mp4ffint.h:186:16: warning: 'mp4ff_tag_add_field' declared 'static' but never defined [-Wunused-function]
-   186 | static int32_t mp4ff_tag_add_field(mp4ff_metadata_t *tags, const char *item, const char *value, int32_t len);
-       |                ^~~~~~~~~~~~~~~~~~~
- mp4ffint.h:187:16: warning: 'mp4ff_tag_set_field' declared 'static' but never defined [-Wunused-function]
-   187 | static int32_t mp4ff_tag_set_field(mp4ff_metadata_t *tags, const char *item, const char *value);
-       |                ^~~~~~~~~~~~~~~~~~~
- mp4ffint.h:188:16: warning: 'mp4ff_set_metadata_name' declared 'static' but never defined [-Wunused-function]
-   188 | static int32_t mp4ff_set_metadata_name(mp4ff_t *f, const uint8_t atom_type, char **name);
-       |                ^~~~~~~~~~~~~~~~~~~~~~~
- mp4ffint.h:189:16: warning: 'mp4ff_parse_tag' declared 'static' but never defined [-Wunused-function]
-   189 | static int32_t mp4ff_parse_tag(mp4ff_t *f, const uint8_t parent_atom_type, const int32_t size);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:190:16: warning: 'mp4ff_meta_find_by_name' declared 'static' but never defined [-Wunused-function]
-   190 | static int32_t mp4ff_meta_find_by_name(const mp4ff_t *f, const char *item, char **value);
-       |                ^~~~~~~~~~~~~~~~~~~~~~~
- ocamlc.opt -c -cc "gcc" -ccopt "-fPIC -g -O2 -I/home/opam/.opam/4.14/include -I.. -DHAVE_CONFIG_H  -Wall -DCAML_NAME_SPACE -DUSE_TAGGING \
- 			-DPIC -fPIC -I/home/opam/.opam/4.14/include   \
- 			  -I/home/opam/.opam/4.14/lib/bytes  -o mp4meta.o " mp4meta.c
- In file included from mp4meta.c:36:
- mp4ffint.h:157:16: warning: 'mp4ff_atom_get_size' declared 'static' but never defined [-Wunused-function]
-   157 | static int32_t mp4ff_atom_get_size(const int8_t *data);
-       |                ^~~~~~~~~~~~~~~~~~~
- mp4ffint.h:158:16: warning: 'mp4ff_atom_compare' declared 'static' but never defined [-Wunused-function]
-   158 | static int32_t mp4ff_atom_compare(const int8_t a1, const int8_t b1, const int8_t c1, const int8_t d1,
-       |                ^~~~~~~~~~~~~~~~~~
- mp4ffint.h:160:16: warning: 'mp4ff_atom_name_to_type' declared 'static' but never defined [-Wunused-function]
-   160 | static uint8_t mp4ff_atom_name_to_type(const int8_t a, const int8_t b, const int8_t c, const int8_t d);
-       |                ^~~~~~~~~~~~~~~~~~~~~~~
- mp4ffint.h:162:16: warning: 'mp4ff_read_stsz' declared 'static' but never defined [-Wunused-function]
-   162 | static int32_t mp4ff_read_stsz(mp4ff_t *f);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:163:16: warning: 'mp4ff_read_esds' declared 'static' but never defined [-Wunused-function]
-   163 | static int32_t mp4ff_read_esds(mp4ff_t *f);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:164:16: warning: 'mp4ff_read_mp4a' declared 'static' but never defined [-Wunused-function]
-   164 | static int32_t mp4ff_read_mp4a(mp4ff_t *f);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:165:16: warning: 'mp4ff_read_stsd' declared 'static' but never defined [-Wunused-function]
-   165 | static int32_t mp4ff_read_stsd(mp4ff_t *f);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:166:16: warning: 'mp4ff_read_stsc' declared 'static' but never defined [-Wunused-function]
-   166 | static int32_t mp4ff_read_stsc(mp4ff_t *f);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:167:16: warning: 'mp4ff_read_stco' declared 'static' but never defined [-Wunused-function]
-   167 | static int32_t mp4ff_read_stco(mp4ff_t *f);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:168:16: warning: 'mp4ff_read_stts' declared 'static' but never defined [-Wunused-function]
-   168 | static int32_t mp4ff_read_stts(mp4ff_t *f);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:170:16: warning: 'mp4ff_read_meta' declared 'static' but never defined [-Wunused-function]
-   170 | static int32_t mp4ff_read_meta(mp4ff_t *f, const uint64_t size);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:175:16: warning: 'mp4ff_chunk_of_sample' declared 'static' but never defined [-Wunused-function]
-   175 | static int32_t mp4ff_chunk_of_sample(const mp4ff_t *f, const int32_t track, const int32_t sample,
-       |                ^~~~~~~~~~~~~~~~~~~~~
- mp4ffint.h:177:16: warning: 'mp4ff_chunk_to_offset' declared 'static' but never defined [-Wunused-function]
-   177 | static int32_t mp4ff_chunk_to_offset(const mp4ff_t *f, const int32_t track, const int32_t chunk);
-       |                ^~~~~~~~~~~~~~~~~~~~~
- mp4ffint.h:178:16: warning: 'mp4ff_sample_range_size' declared 'static' but never defined [-Wunused-function]
-   178 | static int32_t mp4ff_sample_range_size(const mp4ff_t *f, const int32_t track,
-       |                ^~~~~~~~~~~~~~~~~~~~~~~
- mp4ffint.h:180:16: warning: 'mp4ff_sample_to_offset' declared 'static' but never defined [-Wunused-function]
-   180 | static int32_t mp4ff_sample_to_offset(const mp4ff_t *f, const int32_t track, const int32_t sample);
-       |                ^~~~~~~~~~~~~~~~~~~~~~
- mp4meta.c:169:16: warning: 'TrackToString' defined but not used [-Wunused-function]
-   169 | static int32_t TrackToString(char** str, const uint16_t track, const uint16_t totalTracks)
-       |                ^~~~~~~~~~~~~
- mp4meta.c:80:16: warning: 'mp4ff_tag_set_field' defined but not used [-Wunused-function]
-    80 | static int32_t mp4ff_tag_set_field(mp4ff_metadata_t *tags, const char *item, const char *value)
-       |                ^~~~~~~~~~~~~~~~~~~
- ocamlc.opt -c -cc "gcc" -ccopt "-fPIC -g -O2 -I/home/opam/.opam/4.14/include -I.. -DHAVE_CONFIG_H  -Wall -DCAML_NAME_SPACE -DUSE_TAGGING \
- 			-DPIC -fPIC -I/home/opam/.opam/4.14/include   \
- 			  -I/home/opam/.opam/4.14/lib/bytes  -o mp4sample.o " mp4sample.c
- In file included from mp4sample.c:32:
- mp4ffint.h:157:16: warning: 'mp4ff_atom_get_size' declared 'static' but never defined [-Wunused-function]
-   157 | static int32_t mp4ff_atom_get_size(const int8_t *data);
-       |                ^~~~~~~~~~~~~~~~~~~
- mp4ffint.h:158:16: warning: 'mp4ff_atom_compare' declared 'static' but never defined [-Wunused-function]
-   158 | static int32_t mp4ff_atom_compare(const int8_t a1, const int8_t b1, const int8_t c1, const int8_t d1,
-       |                ^~~~~~~~~~~~~~~~~~
- mp4ffint.h:160:16: warning: 'mp4ff_atom_name_to_type' declared 'static' but never defined [-Wunused-function]
-   160 | static uint8_t mp4ff_atom_name_to_type(const int8_t a, const int8_t b, const int8_t c, const int8_t d);
-       |                ^~~~~~~~~~~~~~~~~~~~~~~
- mp4ffint.h:162:16: warning: 'mp4ff_read_stsz' declared 'static' but never defined [-Wunused-function]
-   162 | static int32_t mp4ff_read_stsz(mp4ff_t *f);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:163:16: warning: 'mp4ff_read_esds' declared 'static' but never defined [-Wunused-function]
-   163 | static int32_t mp4ff_read_esds(mp4ff_t *f);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:164:16: warning: 'mp4ff_read_mp4a' declared 'static' but never defined [-Wunused-function]
-   164 | static int32_t mp4ff_read_mp4a(mp4ff_t *f);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:165:16: warning: 'mp4ff_read_stsd' declared 'static' but never defined [-Wunused-function]
-   165 | static int32_t mp4ff_read_stsd(mp4ff_t *f);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:166:16: warning: 'mp4ff_read_stsc' declared 'static' but never defined [-Wunused-function]
-   166 | static int32_t mp4ff_read_stsc(mp4ff_t *f);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:167:16: warning: 'mp4ff_read_stco' declared 'static' but never defined [-Wunused-function]
-   167 | static int32_t mp4ff_read_stco(mp4ff_t *f);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:168:16: warning: 'mp4ff_read_stts' declared 'static' but never defined [-Wunused-function]
-   168 | static int32_t mp4ff_read_stts(mp4ff_t *f);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:170:16: warning: 'mp4ff_read_meta' declared 'static' but never defined [-Wunused-function]
-   170 | static int32_t mp4ff_read_meta(mp4ff_t *f, const uint64_t size);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:186:16: warning: 'mp4ff_tag_add_field' declared 'static' but never defined [-Wunused-function]
-   186 | static int32_t mp4ff_tag_add_field(mp4ff_metadata_t *tags, const char *item, const char *value, int32_t len);
-       |                ^~~~~~~~~~~~~~~~~~~
- mp4ffint.h:187:16: warning: 'mp4ff_tag_set_field' declared 'static' but never defined [-Wunused-function]
-   187 | static int32_t mp4ff_tag_set_field(mp4ff_metadata_t *tags, const char *item, const char *value);
-       |                ^~~~~~~~~~~~~~~~~~~
- mp4ffint.h:188:16: warning: 'mp4ff_set_metadata_name' declared 'static' but never defined [-Wunused-function]
-   188 | static int32_t mp4ff_set_metadata_name(mp4ff_t *f, const uint8_t atom_type, char **name);
-       |                ^~~~~~~~~~~~~~~~~~~~~~~
- mp4ffint.h:189:16: warning: 'mp4ff_parse_tag' declared 'static' but never defined [-Wunused-function]
-   189 | static int32_t mp4ff_parse_tag(mp4ff_t *f, const uint8_t parent_atom_type, const int32_t size);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:190:16: warning: 'mp4ff_meta_find_by_name' declared 'static' but never defined [-Wunused-function]
-   190 | static int32_t mp4ff_meta_find_by_name(const mp4ff_t *f, const char *item, char **value);
-       |                ^~~~~~~~~~~~~~~~~~~~~~~
- In function 'mp4ff_sample_range_size',
-     inlined from 'mp4ff_sample_to_offset' at mp4sample.c:127:37,
-     inlined from 'mp4ff_set_sample_position' at mp4sample.c:151:14:
- mp4sample.c:105:24: warning: 'chunk_sample' may be used uninitialized [-Wmaybe-uninitialized]
-   105 |         return (sample - chunk_sample) * p_track->stsz_sample_size;
-       |                ~~~~~~~~^~~~~~~~~~~~~~~
- mp4sample.c: In function 'mp4ff_set_sample_position':
- mp4sample.c:122:20: note: 'chunk_sample' was declared here
-   122 |     int32_t chunk, chunk_sample, chunk_offset1, chunk_offset2;
-       |                    ^~~~~~~~~~~~
- In function 'mp4ff_chunk_to_offset',
-     inlined from 'mp4ff_sample_to_offset' at mp4sample.c:126:21,
-     inlined from 'mp4ff_set_sample_position' at mp4sample.c:151:14:
- mp4sample.c:89:42: warning: 'chunk' may be used uninitialized [-Wmaybe-uninitialized]
-    89 |         return p_track->stco_chunk_offset[chunk - 1];
-       |                                          ^
- mp4sample.c: In function 'mp4ff_set_sample_position':
- mp4sample.c:122:13: note: 'chunk' was declared here
-   122 |     int32_t chunk, chunk_sample, chunk_offset1, chunk_offset2;
-       |             ^~~~~
- ocamlc.opt -c -cc "gcc" -ccopt "-fPIC -g -O2 -I/home/opam/.opam/4.14/include -I.. -DHAVE_CONFIG_H  -Wall -DCAML_NAME_SPACE -DUSE_TAGGING \
- 			-DPIC -fPIC -I/home/opam/.opam/4.14/include   \
- 			  -I/home/opam/.opam/4.14/lib/bytes  -o mp4tagupdate.o " mp4tagupdate.c
- mp4tagupdate.c: In function 'membuffer_transfer_from_file':
- mp4tagupdate.c:146:57: warning: pointer targets in passing argument 2 of 'mp4ff_read_data' differ in signedness [-Wpointer-sign]
-   146 |         if ((unsigned)mp4ff_read_data(src,(char*)bufptr + oldsize,bytes)!=bytes)
-       |                                           ~~~~~~~~~~~~~~^~~~~~~~~
-       |                                                         |
-       |                                                         char *
- In file included from mp4tagupdate.c:3:
- mp4ffint.h:142:45: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'char *'
-   142 | int32_t mp4ff_read_data(mp4ff_t *f, int8_t *data, uint32_t size);
-       |                                     ~~~~~~~~^~~~
- mp4tagupdate.c: In function 'find_atom':
- mp4tagupdate.c:420:35: warning: pointer targets in passing argument 2 of 'mp4ff_read_data' differ in signedness [-Wpointer-sign]
-   420 |                 mp4ff_read_data(f,atom_name,4);
-       |                                   ^~~~~~~~~
-       |                                   |
-       |                                   char *
- mp4ffint.h:142:45: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'char *'
-   142 | int32_t mp4ff_read_data(mp4ff_t *f, int8_t *data, uint32_t size);
-       |                                     ~~~~~~~~^~~~
- mp4tagupdate.c: In function 'modify_moov':
- mp4tagupdate.c:587:35: warning: pointer targets in passing argument 2 of 'mp4ff_read_data' differ in signedness [-Wpointer-sign]
-   587 |                 mp4ff_read_data(f,p_out,(uint32_t)(udta_offset - total_base )); p_out += (uint32_t)(udta_offset - total_base );
-       |                                   ^~~~~
-       |                                   |
-       |                                   uint8_t * {aka unsigned char *}
- mp4ffint.h:142:45: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'}
-   142 | int32_t mp4ff_read_data(mp4ff_t *f, int8_t *data, uint32_t size);
-       |                                     ~~~~~~~~^~~~
- mp4tagupdate.c:589:35: warning: pointer targets in passing argument 2 of 'mp4ff_read_data' differ in signedness [-Wpointer-sign]
-   589 |                 mp4ff_read_data(f,p_out,4); p_out += 4;
-       |                                   ^~~~~
-       |                                   |
-       |                                   uint8_t * {aka unsigned char *}
- mp4ffint.h:142:45: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'}
-   142 | int32_t mp4ff_read_data(mp4ff_t *f, int8_t *data, uint32_t size);
-       |                                     ~~~~~~~~^~~~
- mp4tagupdate.c:590:35: warning: pointer targets in passing argument 2 of 'mp4ff_read_data' differ in signedness [-Wpointer-sign]
-   590 |                 mp4ff_read_data(f,p_out,(uint32_t)(meta_offset - udta_offset - 8)); p_out += (uint32_t)(meta_offset - udta_offset - 8);
-       |                                   ^~~~~
-       |                                   |
-       |                                   uint8_t * {aka unsigned char *}
- mp4ffint.h:142:45: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'}
-   142 | int32_t mp4ff_read_data(mp4ff_t *f, int8_t *data, uint32_t size);
-       |                                     ~~~~~~~~^~~~
- mp4tagupdate.c:592:35: warning: pointer targets in passing argument 2 of 'mp4ff_read_data' differ in signedness [-Wpointer-sign]
-   592 |                 mp4ff_read_data(f,p_out,4); p_out += 4;
-       |                                   ^~~~~
-       |                                   |
-       |                                   uint8_t * {aka unsigned char *}
- mp4ffint.h:142:45: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'}
-   142 | int32_t mp4ff_read_data(mp4ff_t *f, int8_t *data, uint32_t size);
-       |                                     ~~~~~~~~^~~~
- mp4tagupdate.c:593:35: warning: pointer targets in passing argument 2 of 'mp4ff_read_data' differ in signedness [-Wpointer-sign]
-   593 |                 mp4ff_read_data(f,p_out,(uint32_t)(ilst_offset - meta_offset - 8)); p_out += (uint32_t)(ilst_offset - meta_offset - 8);
-       |                                   ^~~~~
-       |                                   |
-       |                                   uint8_t * {aka unsigned char *}
- mp4ffint.h:142:45: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'}
-   142 | int32_t mp4ff_read_data(mp4ff_t *f, int8_t *data, uint32_t size);
-       |                                     ~~~~~~~~^~~~
- mp4tagupdate.c:595:35: warning: pointer targets in passing argument 2 of 'mp4ff_read_data' differ in signedness [-Wpointer-sign]
-   595 |                 mp4ff_read_data(f,p_out,4); p_out += 4;
-       |                                   ^~~~~
-       |                                   |
-       |                                   uint8_t * {aka unsigned char *}
- mp4ffint.h:142:45: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'}
-   142 | int32_t mp4ff_read_data(mp4ff_t *f, int8_t *data, uint32_t size);
-       |                                     ~~~~~~~~^~~~
- mp4tagupdate.c:601:35: warning: pointer targets in passing argument 2 of 'mp4ff_read_data' differ in signedness [-Wpointer-sign]
-   601 |                 mp4ff_read_data(f,p_out,(uint32_t)(total_size - (ilst_offset - total_base) - ilst_size));
-       |                                   ^~~~~
-       |                                   |
-       |                                   uint8_t * {aka unsigned char *}
- mp4ffint.h:142:45: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'}
-   142 | int32_t mp4ff_read_data(mp4ff_t *f, int8_t *data, uint32_t size);
-       |                                     ~~~~~~~~^~~~
- mp4tagupdate.c: In function 'mp4ff_meta_update':
- mp4tagupdate.c:636:30: warning: pointer targets in passing argument 2 of 'mp4ff_write_data' differ in signedness [-Wpointer-sign]
-   636 |         mp4ff_write_data(ff, free_data, 4);
-       |                              ^~~~~~~~~
-       |                              |
-       |                              char *
- mp4ffint.h:143:46: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'char *'
-   143 | int32_t mp4ff_write_data(mp4ff_t *f, int8_t *data, uint32_t size);
-       |                                      ~~~~~~~~^~~~
- mp4tagupdate.c:640:37: warning: pointer targets in passing argument 2 of 'mp4ff_write_data' differ in signedness [-Wpointer-sign]
-   640 |                 mp4ff_write_data(ff,"moov",4);
-       |                                     ^~~~~~
-       |                                     |
-       |                                     char *
- mp4ffint.h:143:46: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'char *'
-   143 | int32_t mp4ff_write_data(mp4ff_t *f, int8_t *data, uint32_t size);
-       |                                      ~~~~~~~~^~~~
- mp4tagupdate.c:647:37: warning: pointer targets in passing argument 2 of 'mp4ff_write_data' differ in signedness [-Wpointer-sign]
-   647 |                 mp4ff_write_data(ff,"moov",4);
-       |                                     ^~~~~~
-       |                                     |
-       |                                     char *
- mp4ffint.h:143:46: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'char *'
-   143 | int32_t mp4ff_write_data(mp4ff_t *f, int8_t *data, uint32_t size);
-       |                                      ~~~~~~~~^~~~
- mp4ffint.h: At top level:
- mp4ffint.h:157:16: warning: 'mp4ff_atom_get_size' declared 'static' but never defined [-Wunused-function]
-   157 | static int32_t mp4ff_atom_get_size(const int8_t *data);
-       |                ^~~~~~~~~~~~~~~~~~~
- mp4ffint.h:158:16: warning: 'mp4ff_atom_compare' declared 'static' but never defined [-Wunused-function]
-   158 | static int32_t mp4ff_atom_compare(const int8_t a1, const int8_t b1, const int8_t c1, const int8_t d1,
-       |                ^~~~~~~~~~~~~~~~~~
- mp4ffint.h:160:16: warning: 'mp4ff_atom_name_to_type' declared 'static' but never defined [-Wunused-function]
-   160 | static uint8_t mp4ff_atom_name_to_type(const int8_t a, const int8_t b, const int8_t c, const int8_t d);
-       |                ^~~~~~~~~~~~~~~~~~~~~~~
- mp4ffint.h:162:16: warning: 'mp4ff_read_stsz' declared 'static' but never defined [-Wunused-function]
-   162 | static int32_t mp4ff_read_stsz(mp4ff_t *f);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:163:16: warning: 'mp4ff_read_esds' declared 'static' but never defined [-Wunused-function]
-   163 | static int32_t mp4ff_read_esds(mp4ff_t *f);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:164:16: warning: 'mp4ff_read_mp4a' declared 'static' but never defined [-Wunused-function]
-   164 | static int32_t mp4ff_read_mp4a(mp4ff_t *f);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:165:16: warning: 'mp4ff_read_stsd' declared 'static' but never defined [-Wunused-function]
-   165 | static int32_t mp4ff_read_stsd(mp4ff_t *f);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:166:16: warning: 'mp4ff_read_stsc' declared 'static' but never defined [-Wunused-function]
-   166 | static int32_t mp4ff_read_stsc(mp4ff_t *f);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:167:16: warning: 'mp4ff_read_stco' declared 'static' but never defined [-Wunused-function]
-   167 | static int32_t mp4ff_read_stco(mp4ff_t *f);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:168:16: warning: 'mp4ff_read_stts' declared 'static' but never defined [-Wunused-function]
-   168 | static int32_t mp4ff_read_stts(mp4ff_t *f);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:170:16: warning: 'mp4ff_read_meta' declared 'static' but never defined [-Wunused-function]
-   170 | static int32_t mp4ff_read_meta(mp4ff_t *f, const uint64_t size);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:175:16: warning: 'mp4ff_chunk_of_sample' declared 'static' but never defined [-Wunused-function]
-   175 | static int32_t mp4ff_chunk_of_sample(const mp4ff_t *f, const int32_t track, const int32_t sample,
-       |                ^~~~~~~~~~~~~~~~~~~~~
- mp4ffint.h:177:16: warning: 'mp4ff_chunk_to_offset' declared 'static' but never defined [-Wunused-function]
-   177 | static int32_t mp4ff_chunk_to_offset(const mp4ff_t *f, const int32_t track, const int32_t chunk);
-       |                ^~~~~~~~~~~~~~~~~~~~~
- mp4ffint.h:178:16: warning: 'mp4ff_sample_range_size' declared 'static' but never defined [-Wunused-function]
-   178 | static int32_t mp4ff_sample_range_size(const mp4ff_t *f, const int32_t track,
-       |                ^~~~~~~~~~~~~~~~~~~~~~~
- mp4ffint.h:180:16: warning: 'mp4ff_sample_to_offset' declared 'static' but never defined [-Wunused-function]
-   180 | static int32_t mp4ff_sample_to_offset(const mp4ff_t *f, const int32_t track, const int32_t sample);
-       |                ^~~~~~~~~~~~~~~~~~~~~~
- mp4ffint.h:186:16: warning: 'mp4ff_tag_add_field' declared 'static' but never defined [-Wunused-function]
-   186 | static int32_t mp4ff_tag_add_field(mp4ff_metadata_t *tags, const char *item, const char *value, int32_t len);
-       |                ^~~~~~~~~~~~~~~~~~~
- mp4ffint.h:187:16: warning: 'mp4ff_tag_set_field' declared 'static' but never defined [-Wunused-function]
-   187 | static int32_t mp4ff_tag_set_field(mp4ff_metadata_t *tags, const char *item, const char *value);
-       |                ^~~~~~~~~~~~~~~~~~~
- mp4ffint.h:188:16: warning: 'mp4ff_set_metadata_name' declared 'static' but never defined [-Wunused-function]
-   188 | static int32_t mp4ff_set_metadata_name(mp4ff_t *f, const uint8_t atom_type, char **name);
-       |                ^~~~~~~~~~~~~~~~~~~~~~~
- mp4ffint.h:189:16: warning: 'mp4ff_parse_tag' declared 'static' but never defined [-Wunused-function]
-   189 | static int32_t mp4ff_parse_tag(mp4ff_t *f, const uint8_t parent_atom_type, const int32_t size);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:190:16: warning: 'mp4ff_meta_find_by_name' declared 'static' but never defined [-Wunused-function]
-   190 | static int32_t mp4ff_meta_find_by_name(const mp4ff_t *f, const char *item, char **value);
-       |                ^~~~~~~~~~~~~~~~~~~~~~~
- mp4tagupdate.c:23:17: warning: 'fix_byte_order_16' defined but not used [-Wunused-function]
-    23 | static uint16_t fix_byte_order_16(uint16_t src)
-       |                 ^~~~~~~~~~~~~~~~~
- ocamlc.opt -c -cc "gcc" -ccopt "-fPIC -g -O2 -I/home/opam/.opam/4.14/include -I.. -DHAVE_CONFIG_H  -Wall -DCAML_NAME_SPACE -DUSE_TAGGING \
- 			-DPIC -fPIC -I/home/opam/.opam/4.14/include   \
- 			  -I/home/opam/.opam/4.14/lib/bytes  -o mp4util.o " mp4util.c
- mp4util.c: In function 'mp4ff_write_int32':
- mp4util.c:78:31: warning: pointer targets in passing argument 2 of 'mp4ff_write_data' differ in signedness [-Wpointer-sign]
-    78 |     return mp4ff_write_data(f,(uint8_t*)&result,sizeof(result));
-       |                               ^~~~~~~~~~~~~~~~~
-       |                               |
-       |                               uint8_t * {aka unsigned char *}
- mp4util.c:53:46: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'}
-    53 | int32_t mp4ff_write_data(mp4ff_t *f, int8_t *data, uint32_t size)
-       |                                      ~~~~~~~~^~~~
- mp4util.c: In function 'mp4ff_read_int64':
- mp4util.c:100:24: warning: pointer targets in passing argument 2 of 'mp4ff_read_data' differ in signedness [-Wpointer-sign]
-   100 |     mp4ff_read_data(f, data, 8);
-       |                        ^~~~
-       |                        |
-       |                        uint8_t * {aka unsigned char *}
- mp4util.c:34:45: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'}
-    34 | int32_t mp4ff_read_data(mp4ff_t *f, int8_t *data, uint32_t size)
-       |                                     ~~~~~~~~^~~~
- mp4util.c: In function 'mp4ff_read_string':
- mp4util.c:160:49: warning: pointer targets in passing argument 2 of 'mp4ff_read_data' differ in signedness [-Wpointer-sign]
-   160 |                 if ((uint32_t)mp4ff_read_data(f,str,length)!=length)
-       |                                                 ^~~
-       |                                                 |
-       |                                                 char *
- mp4util.c:34:45: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'char *'
-    34 | int32_t mp4ff_read_data(mp4ff_t *f, int8_t *data, uint32_t size)
-       |                                     ~~~~~~~~^~~~
- mp4util.c: In function 'mp4ff_read_char':
- mp4util.c:176:24: warning: pointer targets in passing argument 2 of 'mp4ff_read_data' differ in signedness [-Wpointer-sign]
-   176 |     mp4ff_read_data(f, &output, 1);
-       |                        ^~~~~~~
-       |                        |
-       |                        uint8_t * {aka unsigned char *}
- mp4util.c:34:45: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'}
-    34 | int32_t mp4ff_read_data(mp4ff_t *f, int8_t *data, uint32_t size)
-       |                                     ~~~~~~~~^~~~
- In file included from mp4util.c:31:
- mp4ffint.h: At top level:
- mp4ffint.h:157:16: warning: 'mp4ff_atom_get_size' declared 'static' but never defined [-Wunused-function]
-   157 | static int32_t mp4ff_atom_get_size(const int8_t *data);
-       |                ^~~~~~~~~~~~~~~~~~~
- mp4ffint.h:158:16: warning: 'mp4ff_atom_compare' declared 'static' but never defined [-Wunused-function]
-   158 | static int32_t mp4ff_atom_compare(const int8_t a1, const int8_t b1, const int8_t c1, const int8_t d1,
-       |                ^~~~~~~~~~~~~~~~~~
- mp4ffint.h:160:16: warning: 'mp4ff_atom_name_to_type' declared 'static' but never defined [-Wunused-function]
-   160 | static uint8_t mp4ff_atom_name_to_type(const int8_t a, const int8_t b, const int8_t c, const int8_t d);
-       |                ^~~~~~~~~~~~~~~~~~~~~~~
- mp4ffint.h:162:16: warning: 'mp4ff_read_stsz' declared 'static' but never defined [-Wunused-function]
-   162 | static int32_t mp4ff_read_stsz(mp4ff_t *f);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:163:16: warning: 'mp4ff_read_esds' declared 'static' but never defined [-Wunused-function]
-   163 | static int32_t mp4ff_read_esds(mp4ff_t *f);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:164:16: warning: 'mp4ff_read_mp4a' declared 'static' but never defined [-Wunused-function]
-   164 | static int32_t mp4ff_read_mp4a(mp4ff_t *f);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:165:16: warning: 'mp4ff_read_stsd' declared 'static' but never defined [-Wunused-function]
-   165 | static int32_t mp4ff_read_stsd(mp4ff_t *f);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:166:16: warning: 'mp4ff_read_stsc' declared 'static' but never defined [-Wunused-function]
-   166 | static int32_t mp4ff_read_stsc(mp4ff_t *f);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:167:16: warning: 'mp4ff_read_stco' declared 'static' but never defined [-Wunused-function]
-   167 | static int32_t mp4ff_read_stco(mp4ff_t *f);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:168:16: warning: 'mp4ff_read_stts' declared 'static' but never defined [-Wunused-function]
-   168 | static int32_t mp4ff_read_stts(mp4ff_t *f);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:170:16: warning: 'mp4ff_read_meta' declared 'static' but never defined [-Wunused-function]
-   170 | static int32_t mp4ff_read_meta(mp4ff_t *f, const uint64_t size);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:175:16: warning: 'mp4ff_chunk_of_sample' declared 'static' but never defined [-Wunused-function]
-   175 | static int32_t mp4ff_chunk_of_sample(const mp4ff_t *f, const int32_t track, const int32_t sample,
-       |                ^~~~~~~~~~~~~~~~~~~~~
- mp4ffint.h:177:16: warning: 'mp4ff_chunk_to_offset' declared 'static' but never defined [-Wunused-function]
-   177 | static int32_t mp4ff_chunk_to_offset(const mp4ff_t *f, const int32_t track, const int32_t chunk);
-       |                ^~~~~~~~~~~~~~~~~~~~~
- mp4ffint.h:178:16: warning: 'mp4ff_sample_range_size' declared 'static' but never defined [-Wunused-function]
-   178 | static int32_t mp4ff_sample_range_size(const mp4ff_t *f, const int32_t track,
-       |                ^~~~~~~~~~~~~~~~~~~~~~~
- mp4ffint.h:180:16: warning: 'mp4ff_sample_to_offset' declared 'static' but never defined [-Wunused-function]
-   180 | static int32_t mp4ff_sample_to_offset(const mp4ff_t *f, const int32_t track, const int32_t sample);
-       |                ^~~~~~~~~~~~~~~~~~~~~~
- mp4ffint.h:186:16: warning: 'mp4ff_tag_add_field' declared 'static' but never defined [-Wunused-function]
-   186 | static int32_t mp4ff_tag_add_field(mp4ff_metadata_t *tags, const char *item, const char *value, int32_t len);
-       |                ^~~~~~~~~~~~~~~~~~~
- mp4ffint.h:187:16: warning: 'mp4ff_tag_set_field' declared 'static' but never defined [-Wunused-function]
-   187 | static int32_t mp4ff_tag_set_field(mp4ff_metadata_t *tags, const char *item, const char *value);
-       |                ^~~~~~~~~~~~~~~~~~~
- mp4ffint.h:188:16: warning: 'mp4ff_set_metadata_name' declared 'static' but never defined [-Wunused-function]
-   188 | static int32_t mp4ff_set_metadata_name(mp4ff_t *f, const uint8_t atom_type, char **name);
-       |                ^~~~~~~~~~~~~~~~~~~~~~~
- mp4ffint.h:189:16: warning: 'mp4ff_parse_tag' declared 'static' but never defined [-Wunused-function]
-   189 | static int32_t mp4ff_parse_tag(mp4ff_t *f, const uint8_t parent_atom_type, const int32_t size);
-       |                ^~~~~~~~~~~~~~~
- mp4ffint.h:190:16: warning: 'mp4ff_meta_find_by_name' declared 'static' but never defined [-Wunused-function]
-   190 | static int32_t mp4ff_meta_find_by_name(const mp4ff_t *f, const char *item, char **value);
-       |                ^~~~~~~~~~~~~~~~~~~~~~~
- ar rcs libfaad_stubs.a  faad_stubs.o mp4atom.o mp4ff.o mp4meta.o mp4sample.o mp4tagupdate.o mp4util.o
- ocamlc.opt -c -g -w +A-4@5-7@8-9@11@12@20-35-44-45-50 -I /home/opam/.opam/4.14/lib/bytes faad.mli
- ocamlc.opt -c -g -w +A-4@5-7@8-9@11@12@20-35-44-45-50 -I /home/opam/.opam/4.14/lib/bytes faad.ml
- ocamlmklib    -I /home/opam/.opam/4.14/lib/bytes  -L/home/opam/.opam/4.14/lib   \
- 			-o faad_stubs  faad_stubs.o mp4atom.o mp4ff.o mp4meta.o mp4sample.o mp4tagupdate.o mp4util.o -lfaad -lm  \
- 			
- ocamlc.opt -a -dllib dllfaad_stubs.so    -I /home/opam/.opam/4.14/lib/bytes   -ccopt -L/home/opam/.opam/4.14/lib  -ccopt -L/home/opam/.opam/4.14/lib    -cclib -lfaad_stubs -cclib -lfaad -cclib -lm   -o faad.cma faad.cmo
- make[2]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/faad.0.4.0/src'
- make[2]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/faad.0.4.0/src'
- ocamldep.opt -native faad.mli > ._ncdi/faad.di
- make[2]: 'libfaad_stubs.a' is up to date.
- ocamlopt.opt -c -g -w +A-4@5-7@8-9@11@12@20-35-44-45-50 -I /home/opam/.opam/4.14/lib/bytes faad.ml
- ocamlopt.opt -a     -I /home/opam/.opam/4.14/lib/bytes   -ccopt -L/home/opam/.opam/4.14/lib  -ccopt -L/home/opam/.opam/4.14/lib   -cclib -lfaad_stubs -cclib -lfaad -cclib -lm   -o faad.cmxa faad.cmx
- make[2]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/faad.0.4.0/src'
- make[1]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/faad.0.4.0/src'
-> compiled  faad.0.4.0
Processing  9/9: [faad: make install]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/4.14/.opam-switch/build/faad.0.4.0)
- make -C src install
- make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/faad.0.4.0/src'
- make[2]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/faad.0.4.0/src'
- make[2]: 'libfaad_stubs.a' is up to date.
- make[2]: 'faad.cma' is up to date.
- make[2]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/faad.0.4.0/src'
- make[2]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/faad.0.4.0/src'
- make[2]: 'libfaad_stubs.a' is up to date.
- make[2]: 'faad.cmxa' is up to date.
- make[2]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/faad.0.4.0/src'
- 
- Installing library with ocamlfind
- ocamlfind install  faad META faad.mli faad.cmi faad.cma faad.cmxa faad.cmx faad.a libfaad_stubs.a dllfaad_stubs.so
- Installed /home/opam/.opam/4.14/lib/faad/libfaad_stubs.a
- Installed /home/opam/.opam/4.14/lib/faad/faad.a
- Installed /home/opam/.opam/4.14/lib/faad/faad.cmx
- Installed /home/opam/.opam/4.14/lib/faad/faad.cmxa
- Installed /home/opam/.opam/4.14/lib/faad/faad.cma
- Installed /home/opam/.opam/4.14/lib/faad/faad.cmi
- Installed /home/opam/.opam/4.14/lib/faad/faad.mli
- Installed /home/opam/.opam/4.14/lib/stublibs/dllfaad_stubs.so
- Installed /home/opam/.opam/4.14/lib/stublibs/dllfaad_stubs.so.owner
- ocamlfind: [WARNING] You have installed DLLs but the directory /home/opam/.opam/4.14/lib/stublibs is not mentioned in ld.conf
- Installed /home/opam/.opam/4.14/lib/faad/META
- 
- Installation successful.
- make[1]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/faad.0.4.0/src'
-> installed faad.0.4.0
Done.
# Run eval $(opam env) to update the current shell environment
2022-10-12 11:23.32 ---> saved as "b2aee1d2a9d6955de0eb238b8d3ca8aa8f8228fb1e0d778050c45e86c8b1eeb3"
Job succeeded