Building on apache.ocamllabs.io (from ocurrent/opam:debian-unstable) WARNING: Error loading config file: .dockercfg: $HOME is not defined 2021-07-03 16:47.15 ---> using "ec5d5faa8619574bfe663422158251f52f4b465bd9d157e348e692194b4f4a2a" from cache /: (user (uid 1000) (gid 1000)) /: (env OPAMPRECISETRACKING 1) /: (env OPAMDEPEXTYES 1) /: (env OPAMUTF8 never) /: (run (network host) (shell "\ \n set -e\ \n git clone -q git://github.com/kit-ty-kate/opam.git /tmp/opam\ \n git -C /tmp/opam checkout -q '72695bfac80dbcd1d2f10287b2626d18d4acc9f2'\ \n opam remote set-url default git://github.com/ocaml/opam-repository.git\ \n opam pin add -yn /tmp/opam > /dev/null\ \n opam install -y opam-devel opam-0install-cudf 'ocamlfind>=1.9'\ \n sudo mv \"$(opam var opam-devel:lib)/opam\" /usr/bin/opam\ \n rm -rf /tmp/opam /tmp/depext.txt ~/.opam\ \n if ! test -d ~/opam-repository; then\ \n git clone -q git://github.com/ocaml/opam-repository.git ~/opam-repository\ \n else\ \n git -C ~/opam-repository pull -q origin master\ \n fi\ \n git -C ~/opam-repository checkout -q '9c3fe9d253394788e95360e5c2bcb22722fae6f5'\ \n ")) [default] Initialised <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [opam-devel.2.1.0~beta4] no changes from git+file:///tmp/opam#HEAD The following actions will be performed: - install ocamlfind 1.9.1 - install seq base [required by re] - install cmdliner 1.0.4 [required by opam-devel] - install dune 2.9.0 [required by opam-0install-cudf, opam-devel] - install ocamlbuild 0.14.0 [required by cudf] - install base-bytes base [required by extlib] - install stdlib-shims 0.3.0 [required by ocamlgraph] - install re 1.9.0 [required by opam-client] - install opam-file-format 2.1.3 [required by opam-format] - install cppo 1.6.7 [required by extlib] - install 0install-solver 2.17 [required by opam-0install-cudf] - install ocamlgraph 2.0.0 [required by dose3] - install extlib 1.7.7-1 [required by cudf, opam-client] - install opam-core 2.1.0~beta4* [required by opam-format] - install cudf 0.9-1 [required by opam-0install-cudf] - install opam-format 2.1.0~beta4* [required by opam-repository, opam-solver] - install opam-0install-cudf 0.4.2 - install mccs 1.1+13 [required by opam-solver] - install dose3 5.0.1-1 [required by opam-solver] - install opam-repository 2.1.0~beta4* [required by opam-client] - install opam-solver 2.1.0~beta4* [required by opam-client] - install opam-state 2.1.0~beta4* [required by opam-client] - install opam-client 2.1.0~beta4* [required by opam-devel] - install opam-devel 2.1.0~beta4* ===== 24 to install ===== <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><> [cppo.1.6.7] downloaded from https://github.com/ocaml-community/cppo/releases/download/v1.6.7/cppo-v1.6.7.tbz [0install-solver.2.17] downloaded from https://github.com/0install/0install/releases/download/v2.17/0install-v2.17.tbz [cmdliner.1.0.4] downloaded from http://erratique.ch/software/cmdliner/releases/cmdliner-1.0.4.tbz [cudf.0.9-1] downloaded from https://gforge.inria.fr/frs/download.php/36602/cudf-0.9.tar.gz [dose3.5.0.1-1] downloaded from https://gforge.inria.fr/frs/download.php/file/36063/dose3-5.0.1.tar.gz [dune.2.9.0] downloaded from https://github.com/ocaml/dune/releases/download/2.9.0/dune-2.9.0.tbz [extlib.1.7.7-1] downloaded from https://ygrek.org/p/release/ocaml-extlib/extlib-1.7.7.tar.gz [mccs.1.1+13] downloaded from https://github.com/AltGr/ocaml-mccs/archive/1.1+13.tar.gz [ocamlbuild.0.14.0] downloaded from https://github.com/ocaml/ocamlbuild/archive/0.14.0.tar.gz [ocamlfind.1.9.1] downloaded from http://download.camlcity.org/download/findlib-1.9.1.tar.gz [ocamlgraph.2.0.0] downloaded from https://github.com/backtracking/ocamlgraph/releases/download/2.0.0/ocamlgraph-2.0.0.tbz [opam-0install-cudf.0.4.2] downloaded from https://github.com/ocaml-opam/opam-0install-solver/releases/download/v0.4.2/opam-0install-cudf-v0.4.2.tbz [re.1.9.0] downloaded from https://github.com/ocaml/ocaml-re/releases/download/1.9.0/re-1.9.0.tbz [stdlib-shims.0.3.0] downloaded from https://github.com/ocaml/stdlib-shims/releases/download/0.3.0/stdlib-shims-0.3.0.tbz [opam-file-format.2.1.3] downloaded from https://github.com/ocaml/opam-file-format/archive/2.1.3.tar.gz <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed seq.base -> installed cmdliner.1.0.4 -> installed ocamlfind.1.9.1 -> installed base-bytes.base -> installed ocamlbuild.0.14.0 -> installed dune.2.9.0 -> installed stdlib-shims.0.3.0 -> installed 0install-solver.2.17 -> installed cppo.1.6.7 -> installed opam-file-format.2.1.3 -> installed re.1.9.0 -> installed ocamlgraph.2.0.0 -> installed extlib.1.7.7-1 -> installed opam-core.2.1.0~beta4 -> installed cudf.0.9-1 -> installed opam-0install-cudf.0.4.2 -> installed mccs.1.1+13 -> installed opam-format.2.1.0~beta4 -> installed opam-repository.2.1.0~beta4 -> installed dose3.5.0.1-1 -> installed opam-solver.2.1.0~beta4 -> installed opam-state.2.1.0~beta4 -> installed opam-client.2.1.0~beta4 -> installed opam-devel.2.1.0~beta4 Done. <><> opam-devel.2.1.0~beta4 installed successfully ><><><><><><><><><><><><><><> => The development version of opam has been successfully compiled into /home/opam/.opam/4.11/lib/opam-devel. You should not run it from there, please install the binaries to your PATH, e.g. with sudo cp /home/opam/.opam/4.11/lib/opam-devel/opam /usr/local/bin If you just want to give it a try without altering your current installation, you could use instead: alias opam2="OPAMROOT=~/.opam2 /home/opam/.opam/4.11/lib/opam-devel/opam" # Run eval $(opam env) to update the current shell environment Updating files: 98% (11983/12211) Updating files: 99% (12089/12211) Updating files: 100% (12211/12211) Updating files: 100% (12211/12211), done. 2021-07-03 16:47.15 ---> using "307be9aa5cdafafceded4bdc6f1d2d6cc6421661c3851f395cf39dd0065265a9" from cache /: (env OPAMEXTERNALSOLVER builtin-0install) /: (env OPAMCRITERIA +removed) /: (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. 2021-07-03 16:47.15 ---> using "f9d18559158c26cb0236b11f8c3f1aca1927d54f77b8b978800f7461ab605d60" from cache /: (run (network host) (shell "git clone -q 'git://github.com/ocaml/ocaml-beta-repository.git' ~/'beta' && git -C ~/'beta' checkout -q 79aeeadd813bdae424ab53f882f08bee0a4e0b89")) 2021-07-03 16:47.15 ---> using "0123e084a7b7841fc01d674ea3cc62b640a19885601c401c0149be13108a5da4" from cache /: (run (shell "opam repository add --dont-select 'beta' ~/'beta'")) [beta] Initialised 2021-07-03 16:47.15 ---> using "4382217c65ee8c899c1e38e76fe879b949ffb708f73e6e0a95f0a3814d01dd54" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=beta,default 4.04.2")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.04.2"} | "ocaml-system" {= "4.04.2"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> retrieved ocaml-base-compiler.4.04.2 (cached) -> installed ocaml-base-compiler.4.04.2 -> installed ocaml-config.1 -> installed ocaml.4.04.2 Done. # Run eval $(opam env --switch=4.04.2) to update the current shell environment 2021-07-03 16:47.15 ---> using "8703de1c7b99ec1bccd0c06b261b0e55052b497436a26880a990dbff476827ed" 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] - Ign:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages [8640 kB] - Fetched 8865 kB in 2s (4832 kB/s) - Reading package lists... - 2021-07-03 16:47.15 ---> using "cba8f6aafb248dedbca3e4d941c0dbf98f1fc89381534119d0455baef974cead" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install -y ocaml-secondary-compiler")) The following actions will be performed: - install ocaml-secondary-compiler 4.08.1-1 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocaml-secondary-compiler.4.08.1-1 (cached) -> installed ocaml-secondary-compiler.4.08.1-1 Done. # Run eval $(opam env) to update the current shell environment 2021-07-03 16:47.15 ---> using "eed16c76ab0084d118e148007233264ec504a4684379a9da8e6e68fa8fb87e4a" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"faad.0.5.0\"\ \nopam install -vy \"faad.0.5.0\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"faad.0.5.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.5.0 is not installed. Nothing to do. The following actions will be performed: - install conf-m4 1 [required by ocamlfind] - install ocamlfind 1.8.1 [required by ocamlfind-secondary] - install ocamlfind-secondary 1.8.1 [required by dune] - install dune 2.9.0 [required by faad] - install result 1.5 [required by dune-configurator] - install csexp 1.5.1 [required by dune-configurator] - install dune-configurator 2.9.0 [required by faad] - install faad 0.5.0 ===== 8 to install ===== The following system packages will first need to be installed: libfaad-dev m4 <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> Let opam run your package manager to install the required system packages? [Y/n] y + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libfaad-dev" "m4" - 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 ... 17845 files and directories currently installed.) - Preparing to unpack .../libfaad2_2.10.0-1_amd64.deb ... - Unpacking libfaad2:amd64 (2.10.0-1) ... - Selecting previously unselected package libfaad-dev:amd64. - Preparing to unpack .../libfaad-dev_2.10.0-1_amd64.deb ... - Unpacking libfaad-dev:amd64 (2.10.0-1) ... - Selecting previously unselected package libsigsegv2:amd64. - Preparing to unpack .../libsigsegv2_2.13-1_amd64.deb ... - Unpacking libsigsegv2:amd64 (2.13-1) ... - Selecting previously unselected package m4. - Preparing to unpack .../archives/m4_1.4.18-5_amd64.deb ... - Unpacking m4 (1.4.18-5) ... - Setting up libsigsegv2:amd64 (2.13-1) ... - Setting up libfaad2:amd64 (2.10.0-1) ... - Setting up libfaad-dev:amd64 (2.10.0-1) ... - Setting up m4 (1.4.18-5) ... - Processing triggers for libc-bin (2.31-4) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 2/24: Processing 3/24: Processing 4/24: Processing 5/24: [conf-m4: sh echo | m4] -> retrieved csexp.1.5.1 (cached) Processing 6/24: [conf-m4: sh echo | m4] -> retrieved dune.2.9.0 (cached) Processing 7/24: [conf-m4: sh echo | m4] -> retrieved dune-configurator.2.9.0 (cached) Processing 8/24: [conf-m4: sh echo | m4] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "sh" "-exc" "echo | m4" (CWD=/home/opam/.opam/4.04.2/.opam-switch/build/conf-m4.1) - + echo - + m4 - - + echo - + m4 - -> compiled conf-m4.1 Processing 8/24: -> installed conf-m4.1 Processing 9/24: -> retrieved faad.0.5.0 (cached) Processing 10/24: -> retrieved ocamlfind.1.8.1 (cached) Processing 11/24: [ocamlfind: ./configure] -> retrieved ocamlfind-secondary.1.8.1 (cached) -> retrieved result.1.5 (cached) + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "-bindir" "/home/opam/.opam/4.04.2/bin" "-sitelib" "/home/opam/.opam/4.04.2/lib" "-mandir" "/home/opam/.opam/4.04.2/man" "-config" "/home/opam/.opam/4.04.2/lib/findlib.conf" "-no-custom" "-no-camlp4" (CWD=/home/opam/.opam/4.04.2/.opam-switch/build/ocamlfind.1.8.1) - Welcome to findlib version 1.8.1 - Configuring core... - Checking for #remove_directory... - Testing threading model... - systhread_supported: true - Testing DLLs... - Testing whether ppxopt can be supported... - Checking for ocamlc -opaque... - Configuring libraries... - native dynlink: found - labltk: not present - ocamlbuild: not present - camlp4: disabled - compiler-libs: found - dbm: not present (normal since OCaml-4.00) - num: found but not as package - bytes: found, installing fake library - spacetime: found - graphics: found - Configuration for dynlink written to site-lib-src/dynlink/META - Configuration for graphics written to site-lib-src/graphics/META - Configuration for num written to site-lib-src/num/META - Configuration for num-top written to site-lib-src/num-top/META - Configuration for str written to site-lib-src/str/META - Configuration for threads written to site-lib-src/threads/META - Configuration for unix written to site-lib-src/unix/META - Configuration for stdlib written to site-lib-src/stdlib/META - Configuration for bigarray written to site-lib-src/bigarray/META - Configuration for ocamldoc written to site-lib-src/ocamldoc/META - Configuration for compiler-libs written to site-lib-src/compiler-libs/META - Configuration for bytes written to site-lib-src/bytes/META - Configuration for raw_spacetime written to site-lib-src/raw_spacetime/META - Detecting compiler arguments: (extractor built) ok - - About the OCAML core installation: - Standard library: /home/opam/.opam/4.04.2/lib/ocaml - Binaries: /home/opam/.opam/4.04.2/bin - Manual pages: /home/opam/.opam/4.04.2/man - Multi-threading type: posix - The directory of site-specific packages will be - site-lib: /home/opam/.opam/4.04.2/lib - The configuration file is written to: - findlib config file: /home/opam/.opam/4.04.2/lib/findlib.conf - Software will be installed: - Libraries: in <site-lib>/findlib - Binaries: /home/opam/.opam/4.04.2/bin - Manual pages: /home/opam/.opam/4.04.2/man - topfind script: /home/opam/.opam/4.04.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 11/24: [ocamlfind: make all] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "all" (CWD=/home/opam/.opam/4.04.2/.opam-switch/build/ocamlfind.1.8.1) - for p in findlib; do ( cd src/$p; make all ) || exit; done - make[1]: Entering directory '/home/opam/.opam/4.04.2/.opam-switch/build/ocamlfind.1.8.1/src/findlib' - ocamllex fl_meta.mll - 22 states, 392 transitions, table size 1700 bytes - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat findlib_config.mlp | \ - ../../tools/patch '@CONFIGFILE@' '/home/opam/.opam/4.04.2/lib/findlib.conf' | \ - ../../tools/patch '@STDLIB@' '/home/opam/.opam/4.04.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 -opaque -g -c findlib_config.ml - ocamlc -I +compiler-libs -opaque -g -c fl_split.ml - ocamlc -I +compiler-libs -opaque -g -c fl_metatoken.ml - ocamlc -I +compiler-libs -opaque -g -c fl_meta.ml - ocamlc -I +compiler-libs -opaque -c fl_metascanner.mli - ocamlc -I +compiler-libs -opaque -g -c fl_metascanner.ml - ocamlc -I +compiler-libs -opaque -c fl_topo.mli - ocamlc -I +compiler-libs -opaque -g -c fl_topo.ml - ocamlc -I +compiler-libs -opaque -c fl_package_base.mli - ocamlc -I +compiler-libs -opaque -g -c fl_package_base.ml - ocamlc -I +compiler-libs -opaque -c findlib.mli - ocamlc -I +compiler-libs -opaque -g -c findlib.ml - ocamlc -I +compiler-libs -opaque -g -c fl_args.ml - ocamlc -I +compiler-libs -opaque -g -c fl_lint.ml - ocamlc -I +compiler-libs -a -o findlib.cma findlib_config.cmo fl_split.cmo fl_metatoken.cmo fl_meta.cmo fl_metascanner.cmo fl_topo.cmo fl_package_base.cmo findlib.cmo fl_args.cmo fl_lint.cmo - ocamlc -I +compiler-libs -opaque -g -c ocaml_args.ml - ocamlc -I +compiler-libs -opaque -g -c frontend.ml - File "frontend.ml", line 1826, characters 16-29: - Warning 3: deprecated: String.create - Use Bytes.create instead. - ocamlc -I +compiler-libs -o ocamlfind -g findlib.cma unix.cma \ - ocaml_args.cmo frontend.cmo - ocamlc -I +compiler-libs -opaque -c topfind.mli - ocamlc -I +compiler-libs -opaque -g -c topfind.ml - ocamlc -I +compiler-libs -a -o findlib_top.cma topfind.cmo - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat topfind_rd1.p | \ - ../../tools/patch '@SITELIB@' '/home/opam/.opam/4.04.2/lib' \ - >topfind - ocamlc -I +compiler-libs -opaque -c num_top_printers.mli - ocamlc -I +compiler-libs -opaque -g -c num_top_printers.ml - ocamlc -I +compiler-libs -opaque -c num_top.mli - ocamlc -I +compiler-libs -opaque -g -c num_top.ml - ocamlc -I +compiler-libs -a -o num_top.cma num_top_printers.cmo num_top.cmo - ocamlc -I +compiler-libs -opaque -c fl_dynload.mli - ocamlc -I +compiler-libs -opaque -g -c fl_dynload.ml - ocamlc -I +compiler-libs -a -o findlib_dynload.cma fl_dynload.cmo - make[1]: Leaving directory '/home/opam/.opam/4.04.2/.opam-switch/build/ocamlfind.1.8.1/src/findlib' - make all-config - make[1]: Entering directory '/home/opam/.opam/4.04.2/.opam-switch/build/ocamlfind.1.8.1' - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat findlib.conf.in | \ - tools/patch '@SITELIB@' '/home/opam/.opam/4.04.2/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.04.2/.opam-switch/build/ocamlfind.1.8.1' Processing 11/24: [ocamlfind: make opt] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "opt" (CWD=/home/opam/.opam/4.04.2/.opam-switch/build/ocamlfind.1.8.1) - for p in findlib; do ( cd src/$p; make opt ) || exit; done - make[1]: Entering directory '/home/opam/.opam/4.04.2/.opam-switch/build/ocamlfind.1.8.1/src/findlib' - ocamlopt -I +compiler-libs -g -opaque -c findlib_config.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_split.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_metatoken.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_meta.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_metascanner.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_topo.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_package_base.ml - ocamlopt -I +compiler-libs -g -opaque -c findlib.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_args.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_lint.ml - ocamlopt -I +compiler-libs -g -a -o findlib.cmxa findlib_config.cmx fl_split.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx - if [ 1 -gt 0 ]; then \ - ocamlopt -I +compiler-libs -g -shared -o findlib.cmxs findlib_config.cmx fl_split.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx; \ - fi - ocamlopt -I +compiler-libs -g -opaque -c ocaml_args.ml - ocamlopt -I +compiler-libs -g -opaque -c frontend.ml - File "frontend.ml", line 1826, characters 16-29: - Warning 3: deprecated: String.create - Use Bytes.create instead. - ocamlopt -I +compiler-libs -g -o ocamlfind_opt findlib.cmxa unix.cmxa \ - ocaml_args.cmx frontend.cmx - ocamlopt -I +compiler-libs -g -opaque -c topfind.ml - File "_none_", line 1: - Warning 58: no cmx file was found in path for module Topdirs, and its interface was not compiled with -opaque - File "_none_", line 1: - Warning 58: no cmx file was found in path for module Toploop, and its interface was not compiled with -opaque - ocamlopt -I +compiler-libs -g -a -o findlib_top.cmxa topfind.cmx - if [ 1 -gt 0 ]; then \ - ocamlopt -I +compiler-libs -g -shared -o findlib_top.cmxs topfind.cmx; \ - fi - ocamlopt -I +compiler-libs -g -opaque -c fl_dynload.ml - ocamlopt -I +compiler-libs -g -a -o findlib_dynload.cmxa fl_dynload.cmx - if [ 1 -gt 0 ]; then \ - ocamlopt -I +compiler-libs -g -shared -o findlib_dynload.cmxs fl_dynload.cmx; \ - fi - make[1]: Leaving directory '/home/opam/.opam/4.04.2/.opam-switch/build/ocamlfind.1.8.1/src/findlib' -> compiled ocamlfind.1.8.1 Processing 12/24: [ocamlfind: ./configure] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "./configure" "-bindir" "/home/opam/.opam/4.04.2/bin" "-sitelib" "/home/opam/.opam/4.04.2/lib" "-mandir" "/home/opam/.opam/4.04.2/man" "-config" "/home/opam/.opam/4.04.2/lib/findlib.conf" "-no-custom" "-no-camlp4" (CWD=/home/opam/.opam/4.04.2/.opam-switch/build/ocamlfind.1.8.1) - Welcome to findlib version 1.8.1 - Configuring core... - Checking for #remove_directory... - Testing threading model... - systhread_supported: true - Testing DLLs... - Testing whether ppxopt can be supported... - Checking for ocamlc -opaque... - Configuring libraries... - native dynlink: found - labltk: not present - ocamlbuild: not present - camlp4: disabled - compiler-libs: found - dbm: not present (normal since OCaml-4.00) - num: found but not as package - bytes: found, installing fake library - spacetime: found - graphics: found - Configuration for dynlink written to site-lib-src/dynlink/META - Configuration for graphics written to site-lib-src/graphics/META - Configuration for num written to site-lib-src/num/META - Configuration for num-top written to site-lib-src/num-top/META - Configuration for str written to site-lib-src/str/META - Configuration for threads written to site-lib-src/threads/META - Configuration for unix written to site-lib-src/unix/META - Configuration for stdlib written to site-lib-src/stdlib/META - Configuration for bigarray written to site-lib-src/bigarray/META - Configuration for ocamldoc written to site-lib-src/ocamldoc/META - Configuration for compiler-libs written to site-lib-src/compiler-libs/META - Configuration for bytes written to site-lib-src/bytes/META - Configuration for raw_spacetime written to site-lib-src/raw_spacetime/META - Detecting compiler arguments: (extractor built) ok - - About the OCAML core installation: - Standard library: /home/opam/.opam/4.04.2/lib/ocaml - Binaries: /home/opam/.opam/4.04.2/bin - Manual pages: /home/opam/.opam/4.04.2/man - Multi-threading type: posix - The directory of site-specific packages will be - site-lib: /home/opam/.opam/4.04.2/lib - The configuration file is written to: - findlib config file: /home/opam/.opam/4.04.2/lib/findlib.conf - Software will be installed: - Libraries: in <site-lib>/findlib - Binaries: /home/opam/.opam/4.04.2/bin - Manual pages: /home/opam/.opam/4.04.2/man - topfind script: /home/opam/.opam/4.04.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 12/24: [ocamlfind: make install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/4.04.2/.opam-switch/build/ocamlfind.1.8.1) - mkdir -p "/home/opam/.opam/4.04.2/bin" - mkdir -p "/home/opam/.opam/4.04.2/man" - make install-config - make[1]: Entering directory '/home/opam/.opam/4.04.2/.opam-switch/build/ocamlfind.1.8.1' - mkdir -p "`dirname \"/home/opam/.opam/4.04.2/lib/findlib.conf\"`" - test -f "/home/opam/.opam/4.04.2/lib/findlib.conf" || cp findlib.conf "/home/opam/.opam/4.04.2/lib/findlib.conf" - make[1]: Leaving directory '/home/opam/.opam/4.04.2/.opam-switch/build/ocamlfind.1.8.1' - for p in findlib; do ( cd src/$p; make install ); done - make[1]: Entering directory '/home/opam/.opam/4.04.2/.opam-switch/build/ocamlfind.1.8.1/src/findlib' - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat findlib_config.mlp | \ - ../../tools/patch '@CONFIGFILE@' '/home/opam/.opam/4.04.2/lib/findlib.conf' | \ - ../../tools/patch '@STDLIB@' '/home/opam/.opam/4.04.2/lib/ocaml' | \ - sed -e 's;@AUTOLINK@;true;g' \ - -e 's;@SYSTEM@;linux;g' \ - >findlib_config.ml - ocamldep *.ml *.mli >depend - ocamlc -I +compiler-libs -opaque -g -c findlib_config.ml - ocamlc -I +compiler-libs -opaque -g -c findlib.ml - ocamlc -I +compiler-libs -a -o findlib.cma findlib_config.cmo fl_split.cmo fl_metatoken.cmo fl_meta.cmo fl_metascanner.cmo fl_topo.cmo fl_package_base.cmo findlib.cmo fl_args.cmo fl_lint.cmo - ocamlc -I +compiler-libs -opaque -g -c ocaml_args.ml - ocamlc -I +compiler-libs -opaque -g -c frontend.ml - File "frontend.ml", line 1826, characters 16-29: - Warning 3: deprecated: String.create - Use Bytes.create instead. - ocamlc -I +compiler-libs -o ocamlfind -g findlib.cma unix.cma \ - ocaml_args.cmo frontend.cmo - mkdir -p "/home/opam/.opam/4.04.2/lib/findlib" - mkdir -p "/home/opam/.opam/4.04.2/bin" - test 1 -eq 0 || cp topfind "/home/opam/.opam/4.04.2/lib/ocaml" - files=` ../../tools/collect_files ../../Makefile.config findlib.cmi findlib.mli findlib.cma findlib.cmxa findlib.a findlib.cmxs topfind.cmi topfind.mli fl_package_base.mli fl_package_base.cmi fl_metascanner.mli fl_metascanner.cmi fl_metatoken.cmi findlib_top.cma findlib_top.cmxa findlib_top.a findlib_top.cmxs findlib_dynload.cma findlib_dynload.cmxa findlib_dynload.a findlib_dynload.cmxs fl_dynload.mli fl_dynload.cmi META` && \ - cp $files "/home/opam/.opam/4.04.2/lib/findlib" - f="ocamlfind"; { test -f ocamlfind_opt && f="ocamlfind_opt"; }; \ - cp $f "/home/opam/.opam/4.04.2/bin/ocamlfind" - # the following "if" block is only needed for 4.00beta2 - if [ 1 -eq 0 -a -f "/home/opam/.opam/4.04.2/lib/ocaml/compiler-libs/topdirs.cmi" ]; then \ - cd "/home/opam/.opam/4.04.2/lib/ocaml/compiler-libs/"; \ - cp topdirs.cmi toploop.cmi "/home/opam/.opam/4.04.2/lib/findlib/"; \ - fi - make[1]: Leaving directory '/home/opam/.opam/4.04.2/.opam-switch/build/ocamlfind.1.8.1/src/findlib' - make install-meta - make[1]: Entering directory '/home/opam/.opam/4.04.2/.opam-switch/build/ocamlfind.1.8.1' - for x in `ls site-lib-src`; do if [ -f "site-lib-src/$x/META" ]; then mkdir -p "/home/opam/.opam/4.04.2/lib/$x"; cp site-lib-src/$x/META "/home/opam/.opam/4.04.2/lib/$x"; fi; done - make[1]: Leaving directory '/home/opam/.opam/4.04.2/.opam-switch/build/ocamlfind.1.8.1' - test -z "num-top" || { cd src/findlib; make install-num-top; } - make[1]: Entering directory '/home/opam/.opam/4.04.2/.opam-switch/build/ocamlfind.1.8.1/src/findlib' - mkdir -p "/home/opam/.opam/4.04.2/lib/num-top" - cp num_top.cma num_top.cmi num_top_printers.cmi \ - "/home/opam/.opam/4.04.2/lib/num-top" - make[1]: Leaving directory '/home/opam/.opam/4.04.2/.opam-switch/build/ocamlfind.1.8.1/src/findlib' - if [ 0 -eq 1 ]; then \ - cp tools/safe_camlp4 "/home/opam/.opam/4.04.2/bin"; \ - fi - make install-doc - make[1]: Entering directory '/home/opam/.opam/4.04.2/.opam-switch/build/ocamlfind.1.8.1' - mkdir -p "/home/opam/.opam/4.04.2/man/man1" "/home/opam/.opam/4.04.2/man/man3" "/home/opam/.opam/4.04.2/man/man5" - cp doc/ref-man/ocamlfind.1 "/home/opam/.opam/4.04.2/man/man1" - cp doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 "/home/opam/.opam/4.04.2/man/man5" - make[1]: Leaving directory '/home/opam/.opam/4.04.2/.opam-switch/build/ocamlfind.1.8.1' -> installed ocamlfind.1.8.1 [ocamlfind-secondary: subst] expanding opam variables in META.in, generating META [ocamlfind-secondary: subst] expanding opam variables in ocaml-secondary-compiler.conf.in, generating ocaml-secondary-compiler.conf Processing 13/24: [ocamlfind-secondary: ./configure] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "-sitelib" "/home/opam/.opam/4.04.2/share/ocaml-secondary-compiler/lib" "-no-camlp4" (CWD=/home/opam/.opam/4.04.2/.opam-switch/build/ocamlfind-secondary.1.8.1) - Welcome to findlib version 1.8.1 - Configuring core... - Checking for #remove_directory... - Testing threading model... - systhread_supported: true - Testing DLLs... - Testing whether ppxopt can be supported... - Checking for ocamlc -opaque... - Configuring libraries... - native dynlink: found - labltk: not present - ocamlbuild: not present - camlp4: disabled - compiler-libs: found - dbm: not present (normal since OCaml-4.00) - num: found but not as package - bytes: found, installing fake library - spacetime: found - graphics: found - Configuration for dynlink written to site-lib-src/dynlink/META - Configuration for graphics written to site-lib-src/graphics/META - Configuration for num written to site-lib-src/num/META - Configuration for num-top written to site-lib-src/num-top/META - Configuration for str written to site-lib-src/str/META - Configuration for threads written to site-lib-src/threads/META - Configuration for unix written to site-lib-src/unix/META - Configuration for stdlib written to site-lib-src/stdlib/META - Configuration for bigarray written to site-lib-src/bigarray/META - Configuration for ocamldoc written to site-lib-src/ocamldoc/META - Configuration for compiler-libs written to site-lib-src/compiler-libs/META - Configuration for bytes written to site-lib-src/bytes/META - Configuration for raw_spacetime written to site-lib-src/raw_spacetime/META - Detecting compiler arguments: (extractor built) ok - - About the OCAML core installation: - Standard library: /home/opam/.opam/4.04.2/lib/ocaml - Binaries: /home/opam/.opam/4.04.2/bin - Manual pages: /home/opam/.opam/4.04.2/man - Multi-threading type: posix - The directory of site-specific packages will be - site-lib: /home/opam/.opam/4.04.2/share/ocaml-secondary-compiler/lib - The configuration file is written to: - findlib config file: /home/opam/.opam/4.04.2/lib/findlib.conf - Software will be installed: - Libraries: in <site-lib>/findlib - Binaries: /home/opam/.opam/4.04.2/bin - Manual pages: /home/opam/.opam/4.04.2/man - topfind script: /home/opam/.opam/4.04.2/lib/ocaml - Topfind ppxopt support: yes - Toolbox: no - Link custom runtime: yes - Need bytes compatibility: no - - Configuration has been written to Makefile.config - - You can now do 'make all', and optionally 'make opt', to build ocamlfind. -> compiled ocamlfind-secondary.1.8.1 Processing 14/24: [ocamlfind-secondary: make install-meta] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install-meta" (CWD=/home/opam/.opam/4.04.2/.opam-switch/build/ocamlfind-secondary.1.8.1) - for x in `ls site-lib-src`; do if [ -f "site-lib-src/$x/META" ]; then mkdir -p "/home/opam/.opam/4.04.2/share/ocaml-secondary-compiler/lib/$x"; cp site-lib-src/$x/META "/home/opam/.opam/4.04.2/share/ocaml-secondary-compiler/lib/$x"; fi; done Processing 14/24: [ocamlfind-secondary: mkdir] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "mkdir" "-p" "/home/opam/.opam/4.04.2/lib/findlib.conf.d/" (CWD=/home/opam/.opam/4.04.2/.opam-switch/build/ocamlfind-secondary.1.8.1) Processing 14/24: [ocamlfind-secondary: cp ocaml-secondary-compiler.conf] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "cp" "ocaml-secondary-compiler.conf" "/home/opam/.opam/4.04.2/lib/findlib.conf.d/" (CWD=/home/opam/.opam/4.04.2/.opam-switch/build/ocamlfind-secondary.1.8.1) Processing 14/24: [ocamlfind-secondary: mkdir] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "mkdir" "-p" "/home/opam/.opam/4.04.2/share/ocaml-secondary-compiler/lib/ocaml" (CWD=/home/opam/.opam/4.04.2/.opam-switch/build/ocamlfind-secondary.1.8.1) Processing 14/24: [ocamlfind-secondary: cp META] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "cp" "META" "/home/opam/.opam/4.04.2/share/ocaml-secondary-compiler/lib/ocaml" (CWD=/home/opam/.opam/4.04.2/.opam-switch/build/ocamlfind-secondary.1.8.1) -> installed ocamlfind-secondary.1.8.1 Processing 15/24: [dune: ocaml bootstrap.ml] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "bootstrap.ml" "-j" "127" (CWD=/home/opam/.opam/4.04.2/.opam-switch/build/dune.2.9.0) - ocamlfind -toolchain secondary ocamlc 2>.duneboot.ocamlfind-output - - ocamlfind -toolchain secondary ocamlc -custom -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml - ./.duneboot.exe --secondary -j 127 - Processing 15/24: [dune: ./dune.exe build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./dune.exe" "build" "-p" "dune" "--profile" "dune-bootstrap" "-j" "127" (CWD=/home/opam/.opam/4.04.2/.opam-switch/build/dune.2.9.0) -> compiled dune.2.9.0 -> installed dune.2.9.0 Processing 17/24: [csexp: dune build] Processing 18/24: [csexp: dune build] [result: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "csexp" "-j" "127" "@install" (CWD=/home/opam/.opam/4.04.2/.opam-switch/build/csexp.1.5.1) -> compiled csexp.1.5.1 Processing 18/24: [result: dune build] -> installed csexp.1.5.1 Processing 19/24: [result: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "result" "-j" "127" (CWD=/home/opam/.opam/4.04.2/.opam-switch/build/result.1.5) -> compiled result.1.5 -> installed result.1.5 Processing 21/24: [dune-configurator: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "dune-configurator" "-j" "127" "@install" (CWD=/home/opam/.opam/4.04.2/.opam-switch/build/dune-configurator.2.9.0) -> compiled dune-configurator.2.9.0 -> installed dune-configurator.2.9.0 Processing 23/24: [faad: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "faad" "-j" "127" "@install" (CWD=/home/opam/.opam/4.04.2/.opam-switch/build/faad.0.5.0) - gcc src/mp4sample.o - In file included from mp4sample.c:32: - mp4ffint.h:153:16: warning: 'mp4ff_atom_get_size' declared 'static' but never defined [-Wunused-function] - 153 | static int32_t mp4ff_atom_get_size(const int8_t *data); - | ^~~~~~~~~~~~~~~~~~~ - mp4ffint.h:154:16: warning: 'mp4ff_atom_compare' declared 'static' but never defined [-Wunused-function] - 154 | static int32_t mp4ff_atom_compare(const int8_t a1, const int8_t b1, const int8_t c1, const int8_t d1, - | ^~~~~~~~~~~~~~~~~~ - mp4ffint.h:156:16: warning: 'mp4ff_atom_name_to_type' declared 'static' but never defined [-Wunused-function] - 156 | 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:158:16: warning: 'mp4ff_read_stsz' declared 'static' but never defined [-Wunused-function] - 158 | static int32_t mp4ff_read_stsz(mp4ff_t *f); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:159:16: warning: 'mp4ff_read_esds' declared 'static' but never defined [-Wunused-function] - 159 | static int32_t mp4ff_read_esds(mp4ff_t *f); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:160:16: warning: 'mp4ff_read_mp4a' declared 'static' but never defined [-Wunused-function] - 160 | static int32_t mp4ff_read_mp4a(mp4ff_t *f); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:161:16: warning: 'mp4ff_read_stsd' declared 'static' but never defined [-Wunused-function] - 161 | static int32_t mp4ff_read_stsd(mp4ff_t *f); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:162:16: warning: 'mp4ff_read_stsc' declared 'static' but never defined [-Wunused-function] - 162 | static int32_t mp4ff_read_stsc(mp4ff_t *f); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:163:16: warning: 'mp4ff_read_stco' declared 'static' but never defined [-Wunused-function] - 163 | static int32_t mp4ff_read_stco(mp4ff_t *f); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:164:16: warning: 'mp4ff_read_stts' declared 'static' but never defined [-Wunused-function] - 164 | static int32_t mp4ff_read_stts(mp4ff_t *f); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:166:16: warning: 'mp4ff_read_meta' declared 'static' but never defined [-Wunused-function] - 166 | static int32_t mp4ff_read_meta(mp4ff_t *f, const uint64_t size); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:182:16: warning: 'mp4ff_tag_add_field' declared 'static' but never defined [-Wunused-function] - 182 | static int32_t mp4ff_tag_add_field(mp4ff_metadata_t *tags, const char *item, const char *value, int32_t len); - | ^~~~~~~~~~~~~~~~~~~ - mp4ffint.h:183:16: warning: 'mp4ff_tag_set_field' declared 'static' but never defined [-Wunused-function] - 183 | static int32_t mp4ff_tag_set_field(mp4ff_metadata_t *tags, const char *item, const char *value); - | ^~~~~~~~~~~~~~~~~~~ - mp4ffint.h:184:16: warning: 'mp4ff_set_metadata_name' declared 'static' but never defined [-Wunused-function] - 184 | static int32_t mp4ff_set_metadata_name(mp4ff_t *f, const uint8_t atom_type, char **name); - | ^~~~~~~~~~~~~~~~~~~~~~~ - mp4ffint.h:185:16: warning: 'mp4ff_parse_tag' declared 'static' but never defined [-Wunused-function] - 185 | static int32_t mp4ff_parse_tag(mp4ff_t *f, const uint8_t parent_atom_type, const int32_t size); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:186:16: warning: 'mp4ff_meta_find_by_name' declared 'static' but never defined [-Wunused-function] - 186 | static int32_t mp4ff_meta_find_by_name(const mp4ff_t *f, const char *item, char **value); - | ^~~~~~~~~~~~~~~~~~~~~~~ - mp4sample.c: In function 'mp4ff_set_sample_position': - mp4sample.c:122:20: warning: 'chunk_sample' may be used uninitialized in this function [-Wmaybe-uninitialized] - 122 | int32_t chunk, chunk_sample, chunk_offset1, chunk_offset2; - | ^~~~~~~~~~~~ - mp4sample.c:89:49: warning: 'chunk' may be used uninitialized in this function [-Wmaybe-uninitialized] - 89 | return p_track->stco_chunk_offset[chunk - 1]; - | ~~~~~~^~~ - mp4sample.c:122:13: note: 'chunk' was declared here - 122 | int32_t chunk, chunk_sample, chunk_offset1, chunk_offset2; - | ^~~~~ - gcc src/mp4util.o - 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:35: 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: - mp4util.c: At top level: - mp4ffint.h:153:16: warning: 'mp4ff_atom_get_size' declared 'static' but never defined [-Wunused-function] - 153 | static int32_t mp4ff_atom_get_size(const int8_t *data); - | ^~~~~~~~~~~~~~~~~~~ - mp4ffint.h:154:16: warning: 'mp4ff_atom_compare' declared 'static' but never defined [-Wunused-function] - 154 | static int32_t mp4ff_atom_compare(const int8_t a1, const int8_t b1, const int8_t c1, const int8_t d1, - | ^~~~~~~~~~~~~~~~~~ - mp4ffint.h:156:16: warning: 'mp4ff_atom_name_to_type' declared 'static' but never defined [-Wunused-function] - 156 | 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:158:16: warning: 'mp4ff_read_stsz' declared 'static' but never defined [-Wunused-function] - 158 | static int32_t mp4ff_read_stsz(mp4ff_t *f); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:159:16: warning: 'mp4ff_read_esds' declared 'static' but never defined [-Wunused-function] - 159 | static int32_t mp4ff_read_esds(mp4ff_t *f); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:160:16: warning: 'mp4ff_read_mp4a' declared 'static' but never defined [-Wunused-function] - 160 | static int32_t mp4ff_read_mp4a(mp4ff_t *f); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:161:16: warning: 'mp4ff_read_stsd' declared 'static' but never defined [-Wunused-function] - 161 | static int32_t mp4ff_read_stsd(mp4ff_t *f); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:162:16: warning: 'mp4ff_read_stsc' declared 'static' but never defined [-Wunused-function] - 162 | static int32_t mp4ff_read_stsc(mp4ff_t *f); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:163:16: warning: 'mp4ff_read_stco' declared 'static' but never defined [-Wunused-function] - 163 | static int32_t mp4ff_read_stco(mp4ff_t *f); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:164:16: warning: 'mp4ff_read_stts' declared 'static' but never defined [-Wunused-function] - 164 | static int32_t mp4ff_read_stts(mp4ff_t *f); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:166:16: warning: 'mp4ff_read_meta' declared 'static' but never defined [-Wunused-function] - 166 | static int32_t mp4ff_read_meta(mp4ff_t *f, const uint64_t size); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:171:16: warning: 'mp4ff_chunk_of_sample' declared 'static' but never defined [-Wunused-function] - 171 | static int32_t mp4ff_chunk_of_sample(const mp4ff_t *f, const int32_t track, const int32_t sample, - | ^~~~~~~~~~~~~~~~~~~~~ - mp4ffint.h:173:16: warning: 'mp4ff_chunk_to_offset' declared 'static' but never defined [-Wunused-function] - 173 | static int32_t mp4ff_chunk_to_offset(const mp4ff_t *f, const int32_t track, const int32_t chunk); - | ^~~~~~~~~~~~~~~~~~~~~ - mp4ffint.h:174:16: warning: 'mp4ff_sample_range_size' declared 'static' but never defined [-Wunused-function] - 174 | static int32_t mp4ff_sample_range_size(const mp4ff_t *f, const int32_t track, - | ^~~~~~~~~~~~~~~~~~~~~~~ - mp4ffint.h:176:16: warning: 'mp4ff_sample_to_offset' declared 'static' but never defined [-Wunused-function] - 176 | static int32_t mp4ff_sample_to_offset(const mp4ff_t *f, const int32_t track, const int32_t sample); - | ^~~~~~~~~~~~~~~~~~~~~~ - mp4ffint.h:182:16: warning: 'mp4ff_tag_add_field' declared 'static' but never defined [-Wunused-function] - 182 | static int32_t mp4ff_tag_add_field(mp4ff_metadata_t *tags, const char *item, const char *value, int32_t len); - | ^~~~~~~~~~~~~~~~~~~ - mp4ffint.h:183:16: warning: 'mp4ff_tag_set_field' declared 'static' but never defined [-Wunused-function] - 183 | static int32_t mp4ff_tag_set_field(mp4ff_metadata_t *tags, const char *item, const char *value); - | ^~~~~~~~~~~~~~~~~~~ - mp4ffint.h:184:16: warning: 'mp4ff_set_metadata_name' declared 'static' but never defined [-Wunused-function] - 184 | static int32_t mp4ff_set_metadata_name(mp4ff_t *f, const uint8_t atom_type, char **name); - | ^~~~~~~~~~~~~~~~~~~~~~~ - mp4ffint.h:185:16: warning: 'mp4ff_parse_tag' declared 'static' but never defined [-Wunused-function] - 185 | static int32_t mp4ff_parse_tag(mp4ff_t *f, const uint8_t parent_atom_type, const int32_t size); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:186:16: warning: 'mp4ff_meta_find_by_name' declared 'static' but never defined [-Wunused-function] - 186 | static int32_t mp4ff_meta_find_by_name(const mp4ff_t *f, const char *item, char **value); - | ^~~~~~~~~~~~~~~~~~~~~~~ - gcc src/mp4ff.o - 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:138:45: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 138 | 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:29: 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 * - In file included from mp4ff.c:33: - mp4ffint.h:138:45: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'unsigned char *' - 138 | int32_t mp4ff_read_data(mp4ff_t *f, int8_t *data, uint32_t size); - | ~~~~~~~~^~~~ - mp4ff.c: At top level: - mp4ffint.h:153:16: warning: 'mp4ff_atom_get_size' declared 'static' but never defined [-Wunused-function] - 153 | static int32_t mp4ff_atom_get_size(const int8_t *data); - | ^~~~~~~~~~~~~~~~~~~ - mp4ffint.h:154:16: warning: 'mp4ff_atom_compare' declared 'static' but never defined [-Wunused-function] - 154 | static int32_t mp4ff_atom_compare(const int8_t a1, const int8_t b1, const int8_t c1, const int8_t d1, - | ^~~~~~~~~~~~~~~~~~ - mp4ffint.h:156:16: warning: 'mp4ff_atom_name_to_type' declared 'static' but never defined [-Wunused-function] - 156 | 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:158:16: warning: 'mp4ff_read_stsz' declared 'static' but never defined [-Wunused-function] - 158 | static int32_t mp4ff_read_stsz(mp4ff_t *f); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:159:16: warning: 'mp4ff_read_esds' declared 'static' but never defined [-Wunused-function] - 159 | static int32_t mp4ff_read_esds(mp4ff_t *f); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:160:16: warning: 'mp4ff_read_mp4a' declared 'static' but never defined [-Wunused-function] - 160 | static int32_t mp4ff_read_mp4a(mp4ff_t *f); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:161:16: warning: 'mp4ff_read_stsd' declared 'static' but never defined [-Wunused-function] - 161 | static int32_t mp4ff_read_stsd(mp4ff_t *f); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:162:16: warning: 'mp4ff_read_stsc' declared 'static' but never defined [-Wunused-function] - 162 | static int32_t mp4ff_read_stsc(mp4ff_t *f); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:163:16: warning: 'mp4ff_read_stco' declared 'static' but never defined [-Wunused-function] - 163 | static int32_t mp4ff_read_stco(mp4ff_t *f); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:164:16: warning: 'mp4ff_read_stts' declared 'static' but never defined [-Wunused-function] - 164 | static int32_t mp4ff_read_stts(mp4ff_t *f); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:166:16: warning: 'mp4ff_read_meta' declared 'static' but never defined [-Wunused-function] - 166 | static int32_t mp4ff_read_meta(mp4ff_t *f, const uint64_t size); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:171:16: warning: 'mp4ff_chunk_of_sample' declared 'static' but never defined [-Wunused-function] - 171 | static int32_t mp4ff_chunk_of_sample(const mp4ff_t *f, const int32_t track, const int32_t sample, - | ^~~~~~~~~~~~~~~~~~~~~ - mp4ffint.h:173:16: warning: 'mp4ff_chunk_to_offset' declared 'static' but never defined [-Wunused-function] - 173 | static int32_t mp4ff_chunk_to_offset(const mp4ff_t *f, const int32_t track, const int32_t chunk); - | ^~~~~~~~~~~~~~~~~~~~~ - mp4ffint.h:174:16: warning: 'mp4ff_sample_range_size' declared 'static' but never defined [-Wunused-function] - 174 | static int32_t mp4ff_sample_range_size(const mp4ff_t *f, const int32_t track, - | ^~~~~~~~~~~~~~~~~~~~~~~ - mp4ffint.h:176:16: warning: 'mp4ff_sample_to_offset' declared 'static' but never defined [-Wunused-function] - 176 | static int32_t mp4ff_sample_to_offset(const mp4ff_t *f, const int32_t track, const int32_t sample); - | ^~~~~~~~~~~~~~~~~~~~~~ - mp4ffint.h:182:16: warning: 'mp4ff_tag_add_field' declared 'static' but never defined [-Wunused-function] - 182 | static int32_t mp4ff_tag_add_field(mp4ff_metadata_t *tags, const char *item, const char *value, int32_t len); - | ^~~~~~~~~~~~~~~~~~~ - mp4ffint.h:183:16: warning: 'mp4ff_tag_set_field' declared 'static' but never defined [-Wunused-function] - 183 | static int32_t mp4ff_tag_set_field(mp4ff_metadata_t *tags, const char *item, const char *value); - | ^~~~~~~~~~~~~~~~~~~ - mp4ffint.h:184:16: warning: 'mp4ff_set_metadata_name' declared 'static' but never defined [-Wunused-function] - 184 | static int32_t mp4ff_set_metadata_name(mp4ff_t *f, const uint8_t atom_type, char **name); - | ^~~~~~~~~~~~~~~~~~~~~~~ - mp4ffint.h:185:16: warning: 'mp4ff_parse_tag' declared 'static' but never defined [-Wunused-function] - 185 | static int32_t mp4ff_parse_tag(mp4ff_t *f, const uint8_t parent_atom_type, const int32_t size); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:186:16: warning: 'mp4ff_meta_find_by_name' declared 'static' but never defined [-Wunused-function] - 186 | static int32_t mp4ff_meta_find_by_name(const mp4ff_t *f, const char *item, char **value); - | ^~~~~~~~~~~~~~~~~~~~~~~ - gcc src/mp4tagupdate.o - mp4tagupdate.c: In function 'membuffer_transfer_from_file': - mp4tagupdate.c:146:50: 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:138:45: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'char *' - 138 | int32_t mp4ff_read_data(mp4ff_t *f, int8_t *data, uint32_t size); - | ~~~~~~~~^~~~ - mp4tagupdate.c: In function 'find_atom': - mp4tagupdate.c:420:21: 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 * - In file included from mp4tagupdate.c:3: - mp4ffint.h:138:45: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'char *' - 138 | int32_t mp4ff_read_data(mp4ff_t *f, int8_t *data, uint32_t size); - | ~~~~~~~~^~~~ - mp4tagupdate.c: In function 'modify_moov': - mp4tagupdate.c:587:21: 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 *} - In file included from mp4tagupdate.c:3: - mp4ffint.h:138:45: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 138 | int32_t mp4ff_read_data(mp4ff_t *f, int8_t *data, uint32_t size); - | ~~~~~~~~^~~~ - mp4tagupdate.c:589:21: 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 *} - In file included from mp4tagupdate.c:3: - mp4ffint.h:138:45: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 138 | int32_t mp4ff_read_data(mp4ff_t *f, int8_t *data, uint32_t size); - | ~~~~~~~~^~~~ - mp4tagupdate.c:590:21: 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 *} - In file included from mp4tagupdate.c:3: - mp4ffint.h:138:45: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 138 | int32_t mp4ff_read_data(mp4ff_t *f, int8_t *data, uint32_t size); - | ~~~~~~~~^~~~ - mp4tagupdate.c:592:21: 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 *} - In file included from mp4tagupdate.c:3: - mp4ffint.h:138:45: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 138 | int32_t mp4ff_read_data(mp4ff_t *f, int8_t *data, uint32_t size); - | ~~~~~~~~^~~~ - mp4tagupdate.c:593:21: 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 *} - In file included from mp4tagupdate.c:3: - mp4ffint.h:138:45: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 138 | int32_t mp4ff_read_data(mp4ff_t *f, int8_t *data, uint32_t size); - | ~~~~~~~~^~~~ - mp4tagupdate.c:595:21: 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 *} - In file included from mp4tagupdate.c:3: - mp4ffint.h:138:45: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 138 | int32_t mp4ff_read_data(mp4ff_t *f, int8_t *data, uint32_t size); - | ~~~~~~~~^~~~ - mp4tagupdate.c:601:21: 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 *} - In file included from mp4tagupdate.c:3: - mp4ffint.h:138:45: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 138 | 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 * - In file included from mp4tagupdate.c:3: - mp4ffint.h:139:46: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'char *' - 139 | int32_t mp4ff_write_data(mp4ff_t *f, int8_t *data, uint32_t size); - | ~~~~~~~~^~~~ - mp4tagupdate.c:640:23: warning: pointer targets in passing argument 2 of 'mp4ff_write_data' differ in signedness [-Wpointer-sign] - 640 | mp4ff_write_data(ff,"moov",4); - | ^~~~~~ - | | - | char * - In file included from mp4tagupdate.c:3: - mp4ffint.h:139:46: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'char *' - 139 | int32_t mp4ff_write_data(mp4ff_t *f, int8_t *data, uint32_t size); - | ~~~~~~~~^~~~ - mp4tagupdate.c:647:23: warning: pointer targets in passing argument 2 of 'mp4ff_write_data' differ in signedness [-Wpointer-sign] - 647 | mp4ff_write_data(ff,"moov",4); - | ^~~~~~ - | | - | char * - In file included from mp4tagupdate.c:3: - mp4ffint.h:139:46: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'char *' - 139 | int32_t mp4ff_write_data(mp4ff_t *f, int8_t *data, uint32_t size); - | ~~~~~~~~^~~~ - mp4tagupdate.c: At top level: - mp4ffint.h:153:16: warning: 'mp4ff_atom_get_size' declared 'static' but never defined [-Wunused-function] - 153 | static int32_t mp4ff_atom_get_size(const int8_t *data); - | ^~~~~~~~~~~~~~~~~~~ - mp4ffint.h:154:16: warning: 'mp4ff_atom_compare' declared 'static' but never defined [-Wunused-function] - 154 | static int32_t mp4ff_atom_compare(const int8_t a1, const int8_t b1, const int8_t c1, const int8_t d1, - | ^~~~~~~~~~~~~~~~~~ - mp4ffint.h:156:16: warning: 'mp4ff_atom_name_to_type' declared 'static' but never defined [-Wunused-function] - 156 | 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:158:16: warning: 'mp4ff_read_stsz' declared 'static' but never defined [-Wunused-function] - 158 | static int32_t mp4ff_read_stsz(mp4ff_t *f); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:159:16: warning: 'mp4ff_read_esds' declared 'static' but never defined [-Wunused-function] - 159 | static int32_t mp4ff_read_esds(mp4ff_t *f); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:160:16: warning: 'mp4ff_read_mp4a' declared 'static' but never defined [-Wunused-function] - 160 | static int32_t mp4ff_read_mp4a(mp4ff_t *f); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:161:16: warning: 'mp4ff_read_stsd' declared 'static' but never defined [-Wunused-function] - 161 | static int32_t mp4ff_read_stsd(mp4ff_t *f); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:162:16: warning: 'mp4ff_read_stsc' declared 'static' but never defined [-Wunused-function] - 162 | static int32_t mp4ff_read_stsc(mp4ff_t *f); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:163:16: warning: 'mp4ff_read_stco' declared 'static' but never defined [-Wunused-function] - 163 | static int32_t mp4ff_read_stco(mp4ff_t *f); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:164:16: warning: 'mp4ff_read_stts' declared 'static' but never defined [-Wunused-function] - 164 | static int32_t mp4ff_read_stts(mp4ff_t *f); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:166:16: warning: 'mp4ff_read_meta' declared 'static' but never defined [-Wunused-function] - 166 | static int32_t mp4ff_read_meta(mp4ff_t *f, const uint64_t size); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:171:16: warning: 'mp4ff_chunk_of_sample' declared 'static' but never defined [-Wunused-function] - 171 | static int32_t mp4ff_chunk_of_sample(const mp4ff_t *f, const int32_t track, const int32_t sample, - | ^~~~~~~~~~~~~~~~~~~~~ - mp4ffint.h:173:16: warning: 'mp4ff_chunk_to_offset' declared 'static' but never defined [-Wunused-function] - 173 | static int32_t mp4ff_chunk_to_offset(const mp4ff_t *f, const int32_t track, const int32_t chunk); - | ^~~~~~~~~~~~~~~~~~~~~ - mp4ffint.h:174:16: warning: 'mp4ff_sample_range_size' declared 'static' but never defined [-Wunused-function] - 174 | static int32_t mp4ff_sample_range_size(const mp4ff_t *f, const int32_t track, - | ^~~~~~~~~~~~~~~~~~~~~~~ - mp4ffint.h:176:16: warning: 'mp4ff_sample_to_offset' declared 'static' but never defined [-Wunused-function] - 176 | static int32_t mp4ff_sample_to_offset(const mp4ff_t *f, const int32_t track, const int32_t sample); - | ^~~~~~~~~~~~~~~~~~~~~~ - mp4ffint.h:182:16: warning: 'mp4ff_tag_add_field' declared 'static' but never defined [-Wunused-function] - 182 | static int32_t mp4ff_tag_add_field(mp4ff_metadata_t *tags, const char *item, const char *value, int32_t len); - | ^~~~~~~~~~~~~~~~~~~ - mp4ffint.h:183:16: warning: 'mp4ff_tag_set_field' declared 'static' but never defined [-Wunused-function] - 183 | static int32_t mp4ff_tag_set_field(mp4ff_metadata_t *tags, const char *item, const char *value); - | ^~~~~~~~~~~~~~~~~~~ - mp4ffint.h:184:16: warning: 'mp4ff_set_metadata_name' declared 'static' but never defined [-Wunused-function] - 184 | static int32_t mp4ff_set_metadata_name(mp4ff_t *f, const uint8_t atom_type, char **name); - | ^~~~~~~~~~~~~~~~~~~~~~~ - mp4ffint.h:185:16: warning: 'mp4ff_parse_tag' declared 'static' but never defined [-Wunused-function] - 185 | static int32_t mp4ff_parse_tag(mp4ff_t *f, const uint8_t parent_atom_type, const int32_t size); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:186:16: warning: 'mp4ff_meta_find_by_name' declared 'static' but never defined [-Wunused-function] - 186 | 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) - | ^~~~~~~~~~~~~~~~~ - gcc src/mp4meta.o - In file included from mp4meta.c:36: - mp4ffint.h:153:16: warning: 'mp4ff_atom_get_size' declared 'static' but never defined [-Wunused-function] - 153 | static int32_t mp4ff_atom_get_size(const int8_t *data); - | ^~~~~~~~~~~~~~~~~~~ - mp4ffint.h:154:16: warning: 'mp4ff_atom_compare' declared 'static' but never defined [-Wunused-function] - 154 | static int32_t mp4ff_atom_compare(const int8_t a1, const int8_t b1, const int8_t c1, const int8_t d1, - | ^~~~~~~~~~~~~~~~~~ - mp4ffint.h:156:16: warning: 'mp4ff_atom_name_to_type' declared 'static' but never defined [-Wunused-function] - 156 | 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:158:16: warning: 'mp4ff_read_stsz' declared 'static' but never defined [-Wunused-function] - 158 | static int32_t mp4ff_read_stsz(mp4ff_t *f); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:159:16: warning: 'mp4ff_read_esds' declared 'static' but never defined [-Wunused-function] - 159 | static int32_t mp4ff_read_esds(mp4ff_t *f); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:160:16: warning: 'mp4ff_read_mp4a' declared 'static' but never defined [-Wunused-function] - 160 | static int32_t mp4ff_read_mp4a(mp4ff_t *f); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:161:16: warning: 'mp4ff_read_stsd' declared 'static' but never defined [-Wunused-function] - 161 | static int32_t mp4ff_read_stsd(mp4ff_t *f); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:162:16: warning: 'mp4ff_read_stsc' declared 'static' but never defined [-Wunused-function] - 162 | static int32_t mp4ff_read_stsc(mp4ff_t *f); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:163:16: warning: 'mp4ff_read_stco' declared 'static' but never defined [-Wunused-function] - 163 | static int32_t mp4ff_read_stco(mp4ff_t *f); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:164:16: warning: 'mp4ff_read_stts' declared 'static' but never defined [-Wunused-function] - 164 | static int32_t mp4ff_read_stts(mp4ff_t *f); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:166:16: warning: 'mp4ff_read_meta' declared 'static' but never defined [-Wunused-function] - 166 | static int32_t mp4ff_read_meta(mp4ff_t *f, const uint64_t size); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:171:16: warning: 'mp4ff_chunk_of_sample' declared 'static' but never defined [-Wunused-function] - 171 | static int32_t mp4ff_chunk_of_sample(const mp4ff_t *f, const int32_t track, const int32_t sample, - | ^~~~~~~~~~~~~~~~~~~~~ - mp4ffint.h:173:16: warning: 'mp4ff_chunk_to_offset' declared 'static' but never defined [-Wunused-function] - 173 | static int32_t mp4ff_chunk_to_offset(const mp4ff_t *f, const int32_t track, const int32_t chunk); - | ^~~~~~~~~~~~~~~~~~~~~ - mp4ffint.h:174:16: warning: 'mp4ff_sample_range_size' declared 'static' but never defined [-Wunused-function] - 174 | static int32_t mp4ff_sample_range_size(const mp4ff_t *f, const int32_t track, - | ^~~~~~~~~~~~~~~~~~~~~~~ - mp4ffint.h:176:16: warning: 'mp4ff_sample_to_offset' declared 'static' but never defined [-Wunused-function] - 176 | 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) - | ^~~~~~~~~~~~~~~~~~~ - gcc src/mp4atom.o - mp4atom.c: In function 'mp4ff_read_esds': - mp4atom.c:338:57: warning: pointer targets in passing argument 2 of 'mp4ff_read_data' differ in signedness [-Wpointer-sign] - 338 | 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:39: - mp4ffint.h:138:45: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 138 | int32_t mp4ff_read_data(mp4ff_t *f, int8_t *data, uint32_t size); - | ~~~~~~~~^~~~ - mp4atom.c: In function 'mp4ff_read_mp4a': - mp4atom.c:349:14: warning: variable 'size' set but not used [-Wunused-but-set-variable] - 349 | uint64_t size; - | ^~~~ - In file included from mp4atom.c:39: - mp4atom.c: At top level: - mp4ffint.h:171:16: warning: 'mp4ff_chunk_of_sample' declared 'static' but never defined [-Wunused-function] - 171 | static int32_t mp4ff_chunk_of_sample(const mp4ff_t *f, const int32_t track, const int32_t sample, - | ^~~~~~~~~~~~~~~~~~~~~ - mp4ffint.h:173:16: warning: 'mp4ff_chunk_to_offset' declared 'static' but never defined [-Wunused-function] - 173 | static int32_t mp4ff_chunk_to_offset(const mp4ff_t *f, const int32_t track, const int32_t chunk); - | ^~~~~~~~~~~~~~~~~~~~~ - mp4ffint.h:174:16: warning: 'mp4ff_sample_range_size' declared 'static' but never defined [-Wunused-function] - 174 | static int32_t mp4ff_sample_range_size(const mp4ff_t *f, const int32_t track, - | ^~~~~~~~~~~~~~~~~~~~~~~ - mp4ffint.h:176:16: warning: 'mp4ff_sample_to_offset' declared 'static' but never defined [-Wunused-function] - 176 | static int32_t mp4ff_sample_to_offset(const mp4ff_t *f, const int32_t track, const int32_t sample); - | ^~~~~~~~~~~~~~~~~~~~~~ - mp4ffint.h:182:16: warning: 'mp4ff_tag_add_field' declared 'static' but never defined [-Wunused-function] - 182 | static int32_t mp4ff_tag_add_field(mp4ff_metadata_t *tags, const char *item, const char *value, int32_t len); - | ^~~~~~~~~~~~~~~~~~~ - mp4ffint.h:183:16: warning: 'mp4ff_tag_set_field' declared 'static' but never defined [-Wunused-function] - 183 | static int32_t mp4ff_tag_set_field(mp4ff_metadata_t *tags, const char *item, const char *value); - | ^~~~~~~~~~~~~~~~~~~ - mp4ffint.h:184:16: warning: 'mp4ff_set_metadata_name' declared 'static' but never defined [-Wunused-function] - 184 | static int32_t mp4ff_set_metadata_name(mp4ff_t *f, const uint8_t atom_type, char **name); - | ^~~~~~~~~~~~~~~~~~~~~~~ - mp4ffint.h:185:16: warning: 'mp4ff_parse_tag' declared 'static' but never defined [-Wunused-function] - 185 | static int32_t mp4ff_parse_tag(mp4ff_t *f, const uint8_t parent_atom_type, const int32_t size); - | ^~~~~~~~~~~~~~~ - mp4ffint.h:186:16: warning: 'mp4ff_meta_find_by_name' declared 'static' but never defined [-Wunused-function] - 186 | static int32_t mp4ff_meta_find_by_name(const mp4ff_t *f, const char *item, char **value); - | ^~~~~~~~~~~~~~~~~~~~~~~ -> compiled faad.0.5.0 -> installed faad.0.5.0 Done. # Run eval $(opam env) to update the current shell environment 2021-07-03 16:48.00 ---> saved as "8732cc5ba7b9666ac5d1cb54196bde970702107d07e59ee65021b6b8de689b11" Job succeeded