Building on summer (from freebsd) 2024-07-02 11:40.28 ---> using "77d5fe31836124b4684d554707425c4fde23f9ef3df0a804431a47419573778d" 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/local/bin/opam-dev /usr/local/bin/opam")) 2024-07-02 11:40.29 ---> using "a2b22593046b56fadc85e22b0da7b84e903c1f5aa4d42a7c481121ceec28b31f" 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 175a8ca8b27d9a46ed86ec5d7b1130c98a153055")) 2024-07-02 11:40.29 ---> using "12d681098b105578a67465aa7bc396c5d90e9ce4e3304a8d75f23641353fa26c" from cache /: (run (shell "rm -rf ~/.opam && opam init -ya --bare ~/opam-repository")) No configuration file found, using built-in defaults. Checking for available remotes: rsync and local, git. - you won't be able to use mercurial repositories unless you install the hg command on your system. - you won't be able to use darcs repositories unless you install the darcs command on your system. <><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><> [default] Initialised User configuration: ~/.profile is already up-to-date. [NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc. 2024-07-02 11:40.30 ---> using "cd58f29b8c142c1ae36c06cbe6d040fc45053855e85f74d3d710bce30c463662" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '4.14.1' 'ocaml-base-compiler.4.14.1'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.14.1"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocaml-config.2 (cached) -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed host-arch-x86_64.1 -> installed host-system-other.1 -> installed ocaml-options-vanilla.1 -> retrieved ocaml-base-compiler.4.14.1 (cached) -> installed ocaml-base-compiler.4.14.1 -> installed ocaml-config.2 -> installed ocaml.4.14.1 Done. # Run eval $(opam env --switch=4.14.1) to update the current shell environment 2024-07-02 11:40.31 ---> using "7b308b2584dc258233cfb37ad83354a0804ec90976555e191659bff7e597c170" from cache /: (run (network host) (shell "opam update --depexts")) [WARNING] Unknown update command for bsd, skipping system update 2024-07-02 11:40.31 ---> using "3f0c14f5761a225622a6acf1a058a90ab52281bdd9172d3eca06be38cd0468ad" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"advi.2.0.0\"\ \nopam install -vy \"advi.2.0.0\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"advi.2.0.0\" | grep -q '\"freebsd\"'; 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] advi.2.0.0 is not installed. Nothing to do. The following actions will be performed: === install 17 packages - install advi 2.0.0 - install base v0.16.3 [required by camlimages] - install camlimages 5.0.5 [required by advi] - install conf-bash 1 [required by base] - install conf-ghostscript 1 [required by advi] - install conf-libX11 1 [required by graphics] - install conf-pkg-config 3 [required by graphics] - install conf-texlive 1 [required by advi] - install conf-which 1 [required by advi] - install cppo 1.6.9 [required by camlimages] - install csexp 1.5.2 [required by dune-configurator] - install dune 3.16.0 [required by advi] - install dune-configurator 3.16.0 [required by camlimages] - install graphics 5.1.2 [required by advi] - install ocamlfind 1.9.6 [required by camlimages] - install sexplib0 v0.16.0 [required by base] - install stdio v0.16.0 [required by camlimages] The following system packages will first need to be installed: ghostscript10 libX11 tex-formats <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> opam believes some required external dependencies are missing. opam can: > 1. Run pkg to install them (may need root/sudo access) 2. Display the recommended pkg command and wait while you run it manually (e.g. in another terminal) 3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable 4. Abort the installation [1/2/3/4] 1 + /usr/local/bin/sudo "pkg" "install" "-y" "ghostscript10" "libX11" "tex-formats" - Updating FreeBSD repository catalogue... - [summer] Fetching data.pkg: .. - ...... - .. done - Processing entries: . - .. - .. - .. - .. - . done - FreeBSD repository update completed. 34081 packages processed. - All repositories are up to date. - The following 90 package(s) will be affected (of 0 checked): - - New packages to be INSTALLED: - avahi-app: 0.8_2 - brotli: 1.1.0,1 - cairo: 1.17.4_2,3 - cups: 2.4.8 - dbus: 1.14.10_5,1 - dbus-glib: 0.112_1 - fontconfig: 2.15.0_2,1 - freetype2: 2.13.2 - gdbm: 1.23 - ghostscript10: 10.03.0_1 - giflib: 5.2.1_1 - glib: 2.80.3,2 - gmp: 6.3.0 - gnome_subr: 1.0 - gnupg: 2.4.4_1 - gnutls: 3.8.5_1 - gpgme: 1.23.2 - gpgme-cpp: 1.23.2 - graphite2: 1.3.14 - harfbuzz: 8.4.0 - harfbuzz-icu: 8.4.0 - icu: 74.2_1,1 - jbig2dec: 0.20_1 - jbigkit: 2.1_2 - jpeg-turbo: 3.0.2 - lcms2: 2.16_1 - libICE: 1.1.0_2,1 - libSM: 1.2.3_1,1 - libX11: 1.8.7_1,1 - libXau: 1.0.9_1 - libXaw: 1.0.14_1,2 - libXdmcp: 1.1.5 - libXext: 1.3.6,1 - libXmu: 1.1.4,1 - libXpm: 3.5.17_1 - libXrender: 0.9.10_2 - libXt: 1.3.0,1 - libassuan: 2.5.6 - libdaemon: 0.14_1 - libdeflate: 1.20 - libedit: 3.1.20230828_1,1 - libevent: 2.1.12 - libfontenc: 1.1.8 - libgcrypt: 1.10.3_1 - libgd: 2.3.3_11,1 - libglvnd: 1.7.0 - libgpg-error: 1.48 - libidn: 1.38_1 - libksba: 1.6.6 - libpaper: 1.1.28_1 - libpotrace: 1.16 - libtasn1: 4.19.0_1 - libxcb: 1.16.1 - libxml2: 2.11.7 - mkfontscale: 1.2.3 - mpfr: 4.2.1,1 - nettle: 3.9.1 - npth: 1.6 - nspr: 4.35 - nss: 3.100 - openjpeg: 2.5.2 - p11-kit: 0.25.3_1 - p5-File-HomeDir: 1.006 - p5-File-Which: 1.27 - p5-YAML-Tiny: 1.74 - pinentry: 1.3.0 - pinentry-curses: 1.3.0 - pixman: 0.42.2 - png: 1.6.43 - poppler: 24.02.0 - poppler-data: 0.4.12 - psutils: 1.17_6 - py39-packaging: 23.2 - sqlite3: 3.45.1,1 - t1lib: 5.1.2_5,1 - teckit: 2.5.11_1 - tex-basic-engines: 20230313_1 - tex-formats: 20230313 - tex-kpathsea: 6.3.5_1 - tex-ptexenc: 1.4.3 - tex-web2c: 20230313_1 - texlive-base: 20230313_8 - texlive-texmf: 20230313 - texlive-tlmgr: 20230313 - tiff: 4.4.0_3 - urw-base35-fonts: 20200910 - webp: 1.3.2_1 - xorgproto: 2023.2 - xpdfopen: 0.86_3 - zziplib: 0.13.74 - - Number of packages to be installed: 90 - - The process will require 3 GiB more space. - 1 GiB to be downloaded. - [summer] [1/90] Fetching png-1.6.43.pkg: .. - ........ done - [summer] [2/90] Fetching libxcb-1.16.1.pkg: .......... done - [summer] [3/90] Fetching pinentry-curses-1.3.0.pkg: .... done - [summer] [4/90] Fetching freetype2-2.13.2.pkg: . - ......... done - [summer] [5/90] Fetching jpeg-turbo-3.0.2.pkg: ......... done - [summer] [6/90] Fetching gpgme-cpp-1.23.2.pkg: .......... done - [summer] [7/90] Fetching libXt-1.3.0,1.pkg: .......... done - [summer] [8/90] Fetching libglvnd-1.7.0.pkg: .......... done - [summer] [9/90] Fetching p5-File-Which-1.27.pkg: ... done - [summer] [10/90] Fetching cups-2.4.8.pkg: .......... done - [summer] [11/90] Fetching xpdfopen-0.86_3.pkg: .. done - [summer] [12/90] Fetching nettle-3.9.1.pkg: ...... - .... done - [summer] [13/90] Fetching lcms2-2.16_1.pkg: ...... - .... done - [summer] [14/90] Fetching nss-3.100.pkg: ... - ....... done - [summer] [15/90] Fetching libXaw-1.0.14_1,2.pkg: ......... done - [summer] [16/90] Fetching npth-1.6.pkg: .... done - [summer] [17/90] Fetching mkfontscale-1.2.3.pkg: ..... done - [summer] [18/90] Fetching libdeflate-1.20.pkg: ......... done - [summer] [19/90] Fetching libidn-1.38_1.pkg: .......... done - [summer] [20/90] Fetching tex-formats-20230313.pkg: - .. - ... - ... - .. done - [summer] [21/90] Fetching openjpeg-2.5.2.pkg: ..... - ..... done - [summer] [22/90] Fetching libtasn1-4.19.0_1.pkg: ....... done - [summer] [23/90] Fetching gnome_subr-1.0.pkg: .. done - [summer] [24/90] Fetching libxml2-2.11.7.pkg: .......... done - [summer] [25/90] Fetching p5-File-HomeDir-1.006.pkg: ..... done - [summer] [26/90] Fetching libksba-1.6.6.pkg: ....... done - [summer] [27/90] Fetching libgd-2.3.3_11,1.pkg: . - ......... done - [summer] [28/90] Fetching icu-74.2_1,1.pkg: .. - ... - ..... done - [summer] [29/90] Fetching gnutls-3.8.5_1.pkg: .... - ...... done - [summer] [30/90] Fetching teckit-2.5.11_1.pkg: ...... - .... done - [summer] [31/90] Fetching psutils-1.17_6.pkg: ........ done - [summer] [32/90] Fetching harfbuzz-icu-8.4.0.pkg: ..... done - [summer] [33/90] Fetching libpaper-1.1.28_1.pkg: ........ done - [summer] [34/90] Fetching libX11-1.8.7_1,1.pkg: - ...... - .... done - [summer] [35/90] Fetching giflib-5.2.1_1.pkg: .......... done - [summer] [36/90] Fetching libXrender-0.9.10_2.pkg: ... done - [summer] [37/90] Fetching xorgproto-2023.2.pkg: ....... done - [summer] [38/90] Fetching pinentry-1.3.0.pkg: ... done - [summer] [39/90] Fetching tex-kpathsea-6.3.5_1.pkg: .......... done - [summer] [40/90] Fetching urw-base35-fonts-20200910.pkg: - ... - .... - ... done - [summer] [41/90] Fetching webp-1.3.2_1.pkg: ........ - .. done - [summer] [42/90] Fetching cairo-1.17.4_2,3.pkg: .......... done - [summer] [43/90] Fetching libpotrace-1.16.pkg: ... done - [summer] [44/90] Fetching tex-ptexenc-1.4.3.pkg: .... done - [summer] [45/90] Fetching graphite2-1.3.14.pkg: ......... done - [summer] [46/90] Fetching harfbuzz-8.4.0.pkg: .. - ........ done - [summer] [47/90] Fetching libevent-2.1.12.pkg: ......... done - [summer] [48/90] Fetching gdbm-1.23.pkg: .......... done - [summer] [49/90] Fetching texlive-base-20230313_8.pkg: - ........ - .. done - [summer] [50/90] Fetching avahi-app-0.8_2.pkg: .......... done - [summer] [51/90] Fetching ghostscript10-10.03.0_1.pkg: . - ..... - .... done - [summer] [52/90] Fetching libassuan-2.5.6.pkg: ......... done - [summer] [53/90] Fetching dbus-1.14.10_5,1.pkg: .......... done - [summer] [54/90] Fetching zziplib-0.13.74.pkg: ...... - .... done - [summer] [55/90] Fetching libedit-3.1.20230828_1,1.pkg: .......... done - [summer] [56/90] Fetching libfontenc-1.1.8.pkg: ... done - [summer] [57/90] Fetching libgcrypt-1.10.3_1.pkg: - .......... done - [summer] [58/90] Fetching texlive-texmf-20230313.pkg: - . - . - . - . - . - . - . - . - . - . done - [summer] [59/90] Fetching texlive-tlmgr-20230313.pkg: ... - ....... done - [summer] [60/90] Fetching brotli-1.1.0,1.pkg: ......... done - [summer] [61/90] Fetching py39-packaging-23.2.pkg: ....... done - [summer] [62/90] Fetching libgpg-error-1.48.pkg: .......... done - [summer] [63/90] Fetching gmp-6.3.0.pkg: .......... done - [summer] [64/90] Fetching nspr-4.35.pkg: ......... - . done - [summer] [65/90] Fetching mpfr-4.2.1,1.pkg: .......... done - [summer] [66/90] Fetching poppler-24.02.0.pkg: .... - ...... done - [summer] [67/90] Fetching libXext-1.3.6,1.pkg: ........ done - [summer] [68/90] Fetching tex-basic-engines-20230313_1.pkg: ........ - .. done - [summer] [69/90] Fetching gnupg-2.4.4_1.pkg: ...... - .... done - [summer] [70/90] Fetching p11-kit-0.25.3_1.pkg: .......... done - [summer] [71/90] Fetching dbus-glib-0.112_1.pkg: ....... done - [summer] [72/90] Fetching jbig2dec-0.20_1.pkg: ......... done - [summer] [73/90] Fetching libXau-1.0.9_1.pkg: ..... done - [summer] [74/90] Fetching libICE-1.1.0_2,1.pkg: ........ done - [summer] [75/90] Fetching libXmu-1.1.4,1.pkg: ......... done - [summer] [76/90] Fetching p5-YAML-Tiny-1.74.pkg: ..... done - [summer] [77/90] Fetching fontconfig-2.15.0_2,1.pkg: .......... done - [summer] [78/90] Fetching pixman-0.42.2.pkg: ......... done - [summer] [79/90] Fetching sqlite3-3.45.1,1.pkg: - .......... done - [summer] [80/90] Fetching libSM-1.2.3_1,1.pkg: ... done - [summer] [81/90] Fetching t1lib-5.1.2_5,1.pkg: ..... - ..... done - [summer] [82/90] Fetching glib-2.80.3,2.pkg: ..... - ..... done - [summer] [83/90] Fetching jbigkit-2.1_2.pkg: ......... done - [summer] [84/90] Fetching libdaemon-0.14_1.pkg: ........ done - [summer] [85/90] Fetching libXpm-3.5.17_1.pkg: ......... done - [summer] [86/90] Fetching libXdmcp-1.1.5.pkg: .. done - [summer] [87/90] Fetching tiff-4.4.0_3.pkg: .......... done - [summer] [88/90] Fetching gpgme-1.23.2.pkg: ......... done - [summer] [89/90] Fetching poppler-data-0.4.12.pkg: . - ......... done - [summer] [90/90] Fetching tex-web2c-20230313_1.pkg: ..... - ..... done - Checking integrity... - done (0 conflicting) - [summer] [1/90] Installing xorgproto-2023.2... - [summer] [1/90] Extracting xorgproto-2023.2: .......... done - [summer] [2/90] Installing py39-packaging-23.2... - [summer] [2/90] Extracting py39-packaging-23.2: .......... done - [summer] [3/90] Installing libgpg-error-1.48... - [summer] [3/90] Extracting libgpg-error-1.48: .......... done - [summer] [4/90] Installing libXau-1.0.9_1... - [summer] [4/90] Extracting libXau-1.0.9_1: .......... done - [summer] [5/90] Installing libXdmcp-1.1.5... - [summer] [5/90] Extracting libXdmcp-1.1.5: ......... done - [summer] [6/90] Installing libxcb-1.16.1... - [summer] [6/90] Extracting libxcb-1.16.1: .......... done - [summer] [7/90] Installing libtasn1-4.19.0_1... - [summer] [7/90] Extracting libtasn1-4.19.0_1: .......... done - [summer] [8/90] Installing libassuan-2.5.6... - [summer] [8/90] Extracting libassuan-2.5.6: .......... done - [summer] [9/90] Installing gmp-6.3.0... - [summer] [9/90] Extracting gmp-6.3.0: .......... done - [summer] [10/90] Installing libICE-1.1.0_2,1... - [summer] [10/90] Extracting libICE-1.1.0_2,1: .......... done - [summer] [11/90] Installing glib-2.80.3,2... - [summer] [11/90] Extracting glib-2.80.3,2: .......... done - [summer] [12/90] Installing pinentry-curses-1.3.0... - [summer] [12/90] Extracting pinentry-curses-1.3.0: .... done - [summer] [13/90] Installing nettle-3.9.1... - [summer] [13/90] Extracting nettle-3.9.1: .......... done - [summer] [14/90] Installing libX11-1.8.7_1,1... - [summer] [14/90] Extracting libX11-1.8.7_1,1: .......... done - [summer] [15/90] Installing libedit-3.1.20230828_1,1... - [summer] [15/90] Extracting libedit-3.1.20230828_1,1: .......... done - [summer] [16/90] Installing p11-kit-0.25.3_1... - [summer] [16/90] Extracting p11-kit-0.25.3_1: .......... done - [summer] [17/90] Installing libSM-1.2.3_1,1... - [summer] [17/90] Extracting libSM-1.2.3_1,1: .......... done - [summer] [18/90] Installing png-1.6.43... - [summer] [18/90] Extracting png-1.6.43: .......... done - [summer] [19/90] Installing jpeg-turbo-3.0.2... - [summer] [19/90] Extracting jpeg-turbo-3.0.2: .......... done - [summer] [20/90] Installing npth-1.6... - [summer] [20/90] Extracting npth-1.6: ......... done - [summer] [21/90] Installing libdeflate-1.20... - [summer] [21/90] Extracting libdeflate-1.20: .......... done - [summer] [22/90] Installing libksba-1.6.6... - [summer] [22/90] Extracting libksba-1.6.6: .......... done - [summer] [23/90] Installing gnutls-3.8.5_1... - [summer] [23/90] Extracting gnutls-3.8.5_1: .......... done - [summer] [24/90] Installing pinentry-1.3.0... - [summer] [24/90] Extracting pinentry-1.3.0: ..... done - [summer] [25/90] Installing dbus-1.14.10_5,1... - ===> Creating groups. - Creating group 'messagebus' with gid '556'. - ===> Creating users - Creating user 'messagebus' with uid '556'. - [summer] [25/90] Extracting dbus-1.14.10_5,1: ......... done - [summer] [26/90] Installing libgcrypt-1.10.3_1... - [summer] [26/90] Extracting libgcrypt-1.10.3_1: .......... done - [summer] [27/90] Installing brotli-1.1.0,1... - [summer] [27/90] Extracting brotli-1.1.0,1: .......... done - [summer] [28/90] Installing sqlite3-3.45.1,1... - [summer] [28/90] Extracting sqlite3-3.45.1,1: .......... done - [summer] [29/90] Installing jbigkit-2.1_2... - [summer] [29/90] Extracting jbigkit-2.1_2: .......... done - [summer] [30/90] Installing freetype2-2.13.2... - [summer] [30/90] Extracting freetype2-2.13.2: .......... done - [summer] [31/90] Installing libXt-1.3.0,1... - [summer] [31/90] Extracting libXt-1.3.0,1: .......... done - [summer] [32/90] Installing gnome_subr-1.0... - [summer] [32/90] Extracting gnome_subr-1.0: .... done - [summer] [33/90] Installing libevent-2.1.12... - [summer] [33/90] Extracting libevent-2.1.12: .......... done - [summer] [34/90] Installing gdbm-1.23... - [summer] [34/90] Extracting gdbm-1.23: .......... done - [summer] [35/90] Installing libfontenc-1.1.8... - [summer] [35/90] Extracting libfontenc-1.1.8: ......... done - [summer] [36/90] Installing libXext-1.3.6,1... - [summer] [36/90] Extracting libXext-1.3.6,1: .......... done - [summer] [37/90] Installing gnupg-2.4.4_1... - [summer] [37/90] Extracting gnupg-2.4.4_1: .......... done - [summer] [38/90] Installing dbus-glib-0.112_1... - [summer] [38/90] Extracting dbus-glib-0.112_1: .......... done - [summer] [39/90] Installing libdaemon-0.14_1... - [summer] [39/90] Extracting libdaemon-0.14_1: .......... done - [summer] [40/90] Installing tiff-4.4.0_3... - [summer] [40/90] Extracting tiff-4.4.0_3: .......... done - [summer] [41/90] Installing libglvnd-1.7.0... - [summer] [41/90] Extracting libglvnd-1.7.0: .......... done - [summer] [42/90] Installing lcms2-2.16_1... - [summer] [42/90] Extracting lcms2-2.16_1: .......... done - [summer] [43/90] Installing mkfontscale-1.2.3... - [summer] [43/90] Extracting mkfontscale-1.2.3: ....... done - [summer] [44/90] Installing libpaper-1.1.28_1... - [summer] [44/90] Extracting libpaper-1.1.28_1: .......... done - [summer] [45/90] Installing giflib-5.2.1_1... - [summer] [45/90] Extracting giflib-5.2.1_1: .......... done - [summer] [46/90] Installing libXrender-0.9.10_2... - [summer] [46/90] Extracting libXrender-0.9.10_2: .......... done - [summer] [47/90] Installing tex-kpathsea-6.3.5_1... - [summer] [47/90] Extracting tex-kpathsea-6.3.5_1: .......... done - [summer] [48/90] Installing graphite2-1.3.14... - [summer] [48/90] Extracting graphite2-1.3.14: .......... done - [summer] [49/90] Installing avahi-app-0.8_2... - ===> Creating groups. - Creating group 'avahi' with gid '558'. - ===> Creating users - Creating user 'avahi' with uid '558'. - [summer] [49/90] Extracting avahi-app-0.8_2: .......... done - [summer] [50/90] Installing nspr-4.35... - [summer] [50/90] Extracting nspr-4.35: .......... done - [summer] [51/90] Installing libXmu-1.1.4,1... - [summer] [51/90] Extracting libXmu-1.1.4,1: .......... done - [summer] [52/90] Installing fontconfig-2.15.0_2,1... - [summer] [52/90] Extracting fontconfig-2.15.0_2,1: .......... done - [summer] [53/90] Installing pixman-0.42.2... - [summer] [53/90] Extracting pixman-0.42.2: .......... done - [summer] [54/90] Installing libXpm-3.5.17_1... - [summer] [54/90] Extracting libXpm-3.5.17_1: .......... done - [summer] [55/90] Installing gpgme-1.23.2... - [summer] [55/90] Extracting gpgme-1.23.2: .......... done - [summer] [56/90] Installing gpgme-cpp-1.23.2... - [summer] [56/90] Extracting gpgme-cpp-1.23.2: .......... done - [summer] [57/90] Installing p5-File-Which-1.27... - [summer] [57/90] Extracting p5-File-Which-1.27: ....... done - [summer] [58/90] Installing cups-2.4.8... - ===> Creating groups. - Creating group 'cups' with gid '193'. - ===> Creating users - Creating user 'cups' with uid '193'. - [summer] [58/90] Extracting cups-2.4.8: .......... done - [summer] [59/90] Installing nss-3.100... - [summer] [59/90] Extracting nss-3.100: .......... done - [summer] [60/90] Installing libXaw-1.0.14_1,2... - [summer] [60/90] Extracting libXaw-1.0.14_1,2: .......... done - [summer] [61/90] Installing libidn-1.38_1... - [summer] [61/90] Extracting libidn-1.38_1: .......... done - [summer] [62/90] Installing openjpeg-2.5.2... - [summer] [62/90] Extracting openjpeg-2.5.2: .......... done - [summer] [63/90] Installing libxml2-2.11.7... - [summer] [63/90] Extracting libxml2-2.11.7: .......... done - [summer] [64/90] Installing icu-74.2_1,1... - [summer] [64/90] Extracting icu-74.2_1,1: .......... done - [summer] [65/90] Installing urw-base35-fonts-20200910... - [summer] [65/90] Extracting urw-base35-fonts-20200910: .......... done - [summer] [66/90] Installing webp-1.3.2_1... - [summer] [66/90] Extracting webp-1.3.2_1: .......... done - [summer] [67/90] Installing cairo-1.17.4_2,3... - [summer] [67/90] Extracting cairo-1.17.4_2,3: .......... done - [summer] [68/90] Installing tex-ptexenc-1.4.3... - [summer] [68/90] Extracting tex-ptexenc-1.4.3: .......... done - [summer] [69/90] Installing harfbuzz-8.4.0... - [summer] [69/90] Extracting harfbuzz-8.4.0: .......... done - [summer] [70/90] Installing zziplib-0.13.74... - [summer] [70/90] Extracting zziplib-0.13.74: .......... done - [summer] [71/90] Installing mpfr-4.2.1,1... - [summer] [71/90] Extracting mpfr-4.2.1,1: .......... done - [summer] [72/90] Installing jbig2dec-0.20_1... - [summer] [72/90] Extracting jbig2dec-0.20_1: .......... done - [summer] [73/90] Installing poppler-data-0.4.12... - [summer] [73/90] Extracting poppler-data-0.4.12: .......... done - [summer] [74/90] Installing xpdfopen-0.86_3... - [summer] [74/90] Extracting xpdfopen-0.86_3: .... done - [summer] [75/90] Installing p5-File-HomeDir-1.006... - [summer] [75/90] Extracting p5-File-HomeDir-1.006: .......... done - [summer] [76/90] Installing libgd-2.3.3_11,1... - [summer] [76/90] Extracting libgd-2.3.3_11,1: .......... done - [summer] [77/90] Installing teckit-2.5.11_1... - [summer] [77/90] Extracting teckit-2.5.11_1: .......... done - [summer] [78/90] Installing psutils-1.17_6... - [summer] [78/90] Extracting psutils-1.17_6: .......... done - [summer] [79/90] Installing harfbuzz-icu-8.4.0... - [summer] [79/90] Extracting harfbuzz-icu-8.4.0: ........ done - [summer] [80/90] Installing libpotrace-1.16... - [summer] [80/90] Extracting libpotrace-1.16: ........ done - [summer] [81/90] Installing ghostscript10-10.03.0_1... - [summer] [81/90] Extracting ghostscript10-10.03.0_1: .. - ........ done - [summer] [82/90] Installing texlive-tlmgr-20230313... - [summer] [82/90] Extracting texlive-tlmgr-20230313: ......... done - [summer] [83/90] Installing poppler-24.02.0... - [summer] [83/90] Extracting poppler-24.02.0: .......... done - [summer] [84/90] Installing p5-YAML-Tiny-1.74... - [summer] [84/90] Extracting p5-YAML-Tiny-1.74: ....... done - [summer] [85/90] Installing t1lib-5.1.2_5,1... - [summer] [85/90] Extracting t1lib-5.1.2_5,1: .......... done - [summer] [86/90] Installing tex-web2c-20230313_1... - [summer] [86/90] Extracting tex-web2c-20230313_1: .......... done - [summer] [87/90] Installing texlive-base-20230313_8... - [summer] [87/90] Extracting texlive-base-20230313_8: .......... done - [summer] [88/90] Installing texlive-texmf-20230313... - [summer] [88/90] Extracting texlive-texmf-20230313: - . - . - . - . - . - . - . - . - . - . done - [summer] [89/90] Installing tex-basic-engines-20230313_1... - [summer] [89/90] Extracting tex-basic-engines-20230313_1: .......... done - [summer] [90/90] Installing tex-formats-20230313... - [summer] [90/90] Extracting tex-formats-20230313: .......... done - ==> Running trigger: glib-schemas.ucl - Compiling glib schemas - No schema files found: doing nothing. - ==> Running trigger: gio-modules.ucl - Generating GIO modules cache - ==> Running trigger: fontconfig.ucl - Running fc-cache to build fontconfig cache... - ===== - Message from freetype2-2.13.2: - - -- - The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as - the default, emulating a modern version of ClearType. This change inevitably - leads to different rendering results, and you might change port's options to - adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment - variable). - - The environment variable "FREETYPE_PROPERTIES" can be used to control the - driver properties. Example: - - FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ - cff:no-stem-darkening=1 \ - autofitter:warping=1 - - This allows to select, say, the subpixel hinting mode at runtime for a given - application. - - If LONG_PCF_NAMES port's option was enabled, the PCF family names may include - the foundry and information whether they contain wide characters. For example, - "Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at - run time with using pcf:no-long-family-names property, if needed. Example: - - FREETYPE_PROPERTIES=pcf:no-long-family-names=1 - - How to recreate fontconfig cache with using such environment variable, - if needed: - # env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv - - The controllable properties are listed in the section "Controlling FreeType - Modules" in the reference's table of contents - (/usr/local/share/doc/freetype2/reference/index.html, if documentation was installed). - ===== - Message from ghostscript10-10.03.0_1: - - -- - This package installs a script named dvipdf that depends on dvips. If you - want to use this script you need to install print/tex-dvipsk. <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/50: [advi.2.0.0: http] Processing 2/50: [advi.2.0.0: http] [base.v0.16.3: extract] Processing 3/50: [advi.2.0.0: http] [base.v0.16.3: extract] [camlimages.5.0.5: http] -> retrieved base.v0.16.3 (cached) Processing 3/50: [advi.2.0.0: http] [camlimages.5.0.5: http] Processing 4/50: [advi.2.0.0: http] [camlimages.5.0.5: http] Processing 5/50: [advi.2.0.0: http] [camlimages.5.0.5: http] Processing 6/50: [advi.2.0.0: http] [camlimages.5.0.5: http] Processing 7/50: [advi.2.0.0: http] [camlimages.5.0.5: http] Processing 8/50: [advi.2.0.0: http] [camlimages.5.0.5: http] Processing 9/50: [advi.2.0.0: http] [camlimages.5.0.5: http] Processing 10/50: [advi.2.0.0: http] [camlimages.5.0.5: http] [cppo.1.6.9: extract] Processing 11/50: [advi.2.0.0: http] [camlimages.5.0.5: http] [cppo.1.6.9: extract] [conf-bash: bash] Processing 12/50: [advi.2.0.0: http] [camlimages.5.0.5: http] [cppo.1.6.9: extract] [conf-bash: bash] [conf-ghostscript: gs] Processing 13/50: [advi.2.0.0: http] [camlimages.5.0.5: http] [cppo.1.6.9: extract] [conf-bash: bash] [conf-ghostscript: gs] [conf-pkg-config: pkg-config] Processing 14/50: [advi.2.0.0: http] [camlimages.5.0.5: http] [cppo.1.6.9: extract] [conf-bash: bash] [conf-ghostscript: gs] [conf-pkg-config: pkg-config] [conf-texlive: pdflatex] Processing 15/50: [advi.2.0.0: http] [camlimages.5.0.5: http] [cppo.1.6.9: extract] [conf-bash: bash] [conf-ghostscript: gs] [conf-pkg-config: pkg-config] [conf-texlive: pdflatex] [conf-which: which which] + /usr/local/bin/pkg-config "--help" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/conf-pkg-config.3) - usage: pkgconf [OPTIONS] [LIBRARIES] - - basic options: - - --help this message - --about print pkgconf version and license to stdout - --version print supported pkg-config version to stdout - --verbose print additional information - --atleast-pkgconfig-version check whether or not pkgconf is compatible - with a specified pkg-config version - --errors-to-stdout print all errors on stdout instead of stderr - --print-errors ensure all errors are printed - --short-errors be less verbose about some errors - --silence-errors explicitly be silent about errors - --list-all list all known packages - --list-package-names list all known package names - --simulate simulate walking the calculated dependency graph - --no-cache do not cache already seen packages when - walking the dependency graph - --log-file=filename write an audit log to a specified file - --with-path=path adds a directory to the search path - --define-prefix override the prefix variable with one that is guessed based on - the location of the .pc file - --dont-define-prefix do not override the prefix variable under any circumstances - --prefix-variable=varname sets the name of the variable that pkgconf considers - to be the package prefix - --relocate=path relocates a path and exits (mostly for testsuite) - --dont-relocate-paths disables path relocation support - - cross-compilation personality support: - - --personality=triplet|filename sets the personality to 'triplet' or a file named 'filename' - --dump-personality dumps details concerning selected personality - - checking specific pkg-config database entries: - - --atleast-version require a specific version of a module - --exact-version require an exact version of a module - --max-version require a maximum version of a module - --exists check whether or not a module exists - --uninstalled check whether or not an uninstalled module will be used - --no-uninstalled never use uninstalled modules when satisfying dependencies - --no-provides do not use 'provides' rules to resolve dependencies - --maximum-traverse-depth maximum allowed depth for dependency graph - --static be more aggressive when computing dependency graph - (for static linking) - --shared use a simplified dependency graph (usually default) - --pure optimize a static dependency graph as if it were a normal - dependency graph - --env-only look only for package entries in PKG_CONFIG_PATH - --ignore-conflicts ignore 'conflicts' rules in modules - --validate validate specific .pc files for correctness - - querying specific pkg-config database fields: - - --define-variable=varname=value define variable 'varname' as 'value' - --variable=varname print specified variable entry to stdout - --cflags print required CFLAGS to stdout - --cflags-only-I print required include-dir CFLAGS to stdout - --cflags-only-other print required non-include-dir CFLAGS to stdout - --libs print required linker flags to stdout - --libs-only-L print required LDPATH linker flags to stdout - --libs-only-l print required LIBNAME linker flags to stdout - --libs-only-other print required other linker flags to stdout - --print-requires print required dependency frameworks to stdout - --print-requires-private print required dependency frameworks for static - linking to stdout - --print-provides print provided dependencies to stdout - --print-variables print all known variables in module to stdout - --digraph print entire dependency graph in graphviz 'dot' format - --solution print dependency graph solution in a simple format - --keep-system-cflags keep -I/usr/include entries in cflags output - --keep-system-libs keep -L/usr/lib entries in libs output - --path show the exact filenames for any matching .pc files - --modversion print the specified module's version to stdout - --internal-cflags do not filter 'internal' cflags from output - --license print the specified module's license to stdout if known - - filtering output: - - --msvc-syntax print translatable fragments in MSVC syntax - --fragment-filter=types filter output fragments to the specified types - - report bugs to <https://github.com/pkgconf/pkgconf/issues/new>. -> compiled conf-pkg-config.3 Processing 15/50: [advi.2.0.0: http] [camlimages.5.0.5: http] [cppo.1.6.9: extract] [conf-bash: bash] [conf-ghostscript: gs] [conf-texlive: pdflatex] [conf-which: which which] -> installed conf-pkg-config.3 Processing 16/50: [advi.2.0.0: http] [camlimages.5.0.5: http] [cppo.1.6.9: extract] [conf-bash: bash] [conf-ghostscript: gs] [conf-texlive: pdflatex] [conf-which: which which] Processing 17/50: [advi.2.0.0: http] [camlimages.5.0.5: http] [cppo.1.6.9: extract] [conf-bash: bash] [conf-ghostscript: gs] [conf-libX11: pkg-config x11] [conf-texlive: pdflatex] [conf-which: which which] + /usr/bin/which "which" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/conf-which.1) - /usr/bin/which -> compiled conf-which.1 Processing 17/50: [advi.2.0.0: http] [camlimages.5.0.5: http] [cppo.1.6.9: extract] [conf-bash: bash] [conf-ghostscript: gs] [conf-libX11: pkg-config x11] [conf-texlive: pdflatex] -> installed conf-which.1 Processing 18/50: [advi.2.0.0: http] [camlimages.5.0.5: http] [cppo.1.6.9: extract] [conf-bash: bash] [conf-ghostscript: gs] [conf-libX11: pkg-config x11] [conf-texlive: pdflatex] + /usr/local/bin/pdflatex "-version" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/conf-texlive.1) - pdfTeX 3.141592653-2.6-1.40.25 (Web2C 2023) - kpathsea version 6.3.5 - Copyright 2023 Han The Thanh (pdfTeX) et al. - There is NO warranty. Redistribution of this software is - covered by the terms of both the pdfTeX copyright and - the Lesser GNU General Public License. - For more information about these matters, see the file - named COPYING and the pdfTeX source. - Primary author of pdfTeX: Han The Thanh (pdfTeX) et al. - Compiled with libpng 1.6.43; using libpng 1.6.43 - Compiled with zlib 1.3; using zlib 1.3 - Compiled with xpdf version 4.04 -> compiled conf-texlive.1 Processing 18/50: [advi.2.0.0: http] [camlimages.5.0.5: http] [cppo.1.6.9: extract] [conf-bash: bash] [conf-ghostscript: gs] [conf-libX11: pkg-config x11] -> installed conf-texlive.1 Processing 19/50: [advi.2.0.0: http] [camlimages.5.0.5: http] [cppo.1.6.9: extract] [conf-bash: bash] [conf-ghostscript: gs] [conf-libX11: pkg-config x11] + /usr/local/bin/bash "--version" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/conf-bash.1) - GNU bash, version 5.2.26(1)-release (amd64-portbld-freebsd14.0) - Copyright (C) 2022 Free Software Foundation, Inc. - License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> - - This is free software; you are free to change and redistribute it. - There is NO WARRANTY, to the extent permitted by law. -> compiled conf-bash.1 Processing 19/50: [advi.2.0.0: http] [camlimages.5.0.5: http] [cppo.1.6.9: extract] [conf-ghostscript: gs] [conf-libX11: pkg-config x11] -> installed conf-bash.1 Processing 20/50: [advi.2.0.0: http] [camlimages.5.0.5: http] [cppo.1.6.9: extract] [conf-ghostscript: gs] [conf-libX11: pkg-config x11] -> retrieved cppo.1.6.9 (cached) Processing 20/50: [advi.2.0.0: http] [camlimages.5.0.5: http] [conf-ghostscript: gs] [conf-libX11: pkg-config x11] Processing 21/50: [advi.2.0.0: http] [camlimages.5.0.5: http] [csexp.1.5.2: extract] [conf-ghostscript: gs] [conf-libX11: pkg-config x11] -> retrieved csexp.1.5.2 (cached) Processing 21/50: [advi.2.0.0: http] [camlimages.5.0.5: http] [conf-ghostscript: gs] [conf-libX11: pkg-config x11] Processing 22/50: [advi.2.0.0: http] [camlimages.5.0.5: http] [dune.3.16.0, dune-configurator.3.16.0: extract] [conf-ghostscript: gs] [conf-libX11: pkg-config x11] + /usr/local/bin/pkg-config "x11" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/conf-libX11.1) -> compiled conf-libX11.1 Processing 22/50: [advi.2.0.0: http] [camlimages.5.0.5: http] [dune.3.16.0, dune-configurator.3.16.0: extract] [conf-ghostscript: gs] -> installed conf-libX11.1 Processing 23/50: [advi.2.0.0: http] [camlimages.5.0.5: http] [dune.3.16.0, dune-configurator.3.16.0: extract] [conf-ghostscript: gs] Processing 23/50: [advi.2.0.0: http] [camlimages.5.0.5: extract] [dune.3.16.0, dune-configurator.3.16.0: extract] [conf-ghostscript: gs] -> retrieved camlimages.5.0.5 (https://gitlab.com/camlspotter/camlimages/-/archive/5.0.5/camlimages-5.0.5.tar.gz) Processing 23/50: [advi.2.0.0: http] [dune.3.16.0, dune-configurator.3.16.0: extract] [conf-ghostscript: gs] Processing 24/50: [advi.2.0.0: http] [dune.3.16.0, dune-configurator.3.16.0: extract] [graphics.5.1.2: extract] [conf-ghostscript: gs] -> retrieved graphics.5.1.2 (cached) Processing 24/50: [advi.2.0.0: http] [dune.3.16.0, dune-configurator.3.16.0: extract] [conf-ghostscript: gs] Processing 25/50: [advi.2.0.0: http] [dune.3.16.0, dune-configurator.3.16.0: extract] [ocamlfind.1.9.6: extract] [conf-ghostscript: gs] -> retrieved ocamlfind.1.9.6 (cached) Processing 25/50: [advi.2.0.0: http] [dune.3.16.0, dune-configurator.3.16.0: extract] [conf-ghostscript: gs] Processing 26/50: [advi.2.0.0: http] [dune.3.16.0, dune-configurator.3.16.0: extract] [sexplib0.v0.16.0: extract] [conf-ghostscript: gs] -> retrieved sexplib0.v0.16.0 (cached) Processing 26/50: [advi.2.0.0: http] [dune.3.16.0, dune-configurator.3.16.0: extract] [conf-ghostscript: gs] Processing 27/50: [advi.2.0.0: http] [dune.3.16.0, dune-configurator.3.16.0: extract] [stdio.v0.16.0: extract] [conf-ghostscript: gs] -> retrieved stdio.v0.16.0 (cached) Processing 27/50: [advi.2.0.0: http] [dune.3.16.0, dune-configurator.3.16.0: extract] [conf-ghostscript: gs] Processing 27/50: [advi.2.0.0: extract] [dune.3.16.0, dune-configurator.3.16.0: extract] [conf-ghostscript: gs] + /usr/local/bin/gs "--version" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/conf-ghostscript.1) - 10.03.0 -> compiled conf-ghostscript.1 Processing 27/50: [advi.2.0.0: extract] [dune.3.16.0, dune-configurator.3.16.0: extract] -> installed conf-ghostscript.1 Processing 28/50: [advi.2.0.0: extract] [dune.3.16.0, dune-configurator.3.16.0: extract] -> retrieved advi.2.0.0 (https://github.com/diremy/advi/archive/advi-2.0.0.tar.gz) Processing 28/50: [dune.3.16.0, dune-configurator.3.16.0: extract] -> retrieved dune.3.16.0, dune-configurator.3.16.0 (cached) Processing 29/50: [dune: ocaml 15] + /home/opam/.opam/4.14.1/bin/ocaml "boot/bootstrap.ml" "-j" "15" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/dune.3.16.0) - ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml - /tmp/camlobj6ef516.c:16582:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] - extern value caml_get_public_method(); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:236:18: note: conflicting prototype is here - CAMLextern value caml_get_public_method (value obj, value tag); - ^ - /tmp/camlobj6ef516.c:16764:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] - extern value caml_set_oo_id(); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:413:18: note: conflicting prototype is here - CAMLextern value caml_set_oo_id(value obj); - ^ - 2 warnings generated. - ./.duneboot.exe -j 15 - Processing 29/50: [dune: ./_boot/dune.exe build] + /home/opam/.opam/4.14.1/.opam-switch/build/dune.3.16.0/./_boot/dune.exe "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "15" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/dune.3.16.0) -> compiled dune.3.16.0 -> installed dune.3.16.0 Processing 31/50: [cppo: dune build] Processing 32/50: [cppo: dune build] [csexp: dune build] Processing 33/50: [cppo: dune build] [csexp: dune build] [sexplib0: dune build] + /home/opam/.opam/4.14.1/bin/dune "build" "-p" "csexp" "-j" "15" "@install" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/csexp.1.5.2) -> compiled csexp.1.5.2 Processing 33/50: [cppo: dune build] [sexplib0: dune build] -> installed csexp.1.5.2 Processing 34/50: [cppo: dune build] [sexplib0: dune build] Processing 35/50: [cppo: dune build] [dune-configurator: rm] [sexplib0: dune build] + /home/opam/.opam/4.14.1/bin/dune "build" "-p" "sexplib0" "-j" "15" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/sexplib0.v0.16.0) -> compiled sexplib0.v0.16.0 Processing 35/50: [cppo: dune build] [dune-configurator: rm] -> installed sexplib0.v0.16.0 Processing 36/50: [cppo: dune build] [dune-configurator: rm] + /bin/rm "-rf" "vendor/csexp" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/dune-configurator.3.16.0) + /home/opam/.opam/4.14.1/bin/dune "build" "-p" "cppo" "-j" "15" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/cppo.1.6.9) -> compiled cppo.1.6.9 Processing 36/50: [dune-configurator: rm] -> installed cppo.1.6.9 Processing 37/50: [dune-configurator: rm] + /bin/rm "-rf" "vendor/pp" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/dune-configurator.3.16.0) Processing 37/50: [dune-configurator: dune build] + /home/opam/.opam/4.14.1/bin/dune "build" "-p" "dune-configurator" "-j" "15" "@install" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/dune-configurator.3.16.0) -> compiled dune-configurator.3.16.0 -> installed dune-configurator.3.16.0 Processing 39/50: [base: dune build] Processing 40/50: [base: dune build] [graphics: dune build] + /home/opam/.opam/4.14.1/bin/dune "build" "-p" "graphics" "-j" "15" "@install" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/graphics.5.1.2) -> compiled graphics.5.1.2 Processing 40/50: [base: dune build] -> installed graphics.5.1.2 Processing 41/50: [base: dune build] [ocamlfind: patch] applying 0001-Harden-test-for-OCaml-5.patch Processing 42/50: [base: dune build] [ocamlfind: patch] Processing 42/50: [base: dune build] [ocamlfind: ./configure] + /home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6/./configure "-bindir" "/home/opam/.opam/4.14.1/bin" "-sitelib" "/home/opam/.opam/4.14.1/lib" "-mandir" "/home/opam/.opam/4.14.1/man" "-config" "/home/opam/.opam/4.14.1/lib/findlib.conf" "-no-custom" "-no-camlp4" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6) - Welcome to findlib version 1.9.6 - Configuring core... - Checking for #remove_directory... - Testing threading model... - systhread_supported: true - Testing DLLs... - Testing whether ppxopt can be supported... - Checking for ocamlc -opaque... - Checking for ocamlopt -g... - 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) - 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.1/lib/ocaml - Binaries: /home/opam/.opam/4.14.1/bin - Manual pages: /home/opam/.opam/4.14.1/man - Multi-threading type: posix - The directory of site-specific packages will be - site-lib: /home/opam/.opam/4.14.1/lib - The configuration file is written to: - findlib config file: /home/opam/.opam/4.14.1/lib/findlib.conf - Software will be installed: - Libraries: in <site-lib>/findlib - Binaries: /home/opam/.opam/4.14.1/bin - Manual pages: /home/opam/.opam/4.14.1/man - topfind script: /home/opam/.opam/4.14.1/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 42/50: [base: dune build] [ocamlfind: gmake all] + /usr/local/bin/gmake "all" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6) - for p in findlib; do ( cd src/$p; /usr/local/bin/gmake all ) || exit; done - gmake[1]: Entering directory '/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6/src/findlib' - ocamllex fl_meta.mll - 22 states, 392 transitions, table size 1700 bytes - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat findlib_config.mlp | \ - ../../tools/patch '@CONFIGFILE@' '/home/opam/.opam/4.14.1/lib/findlib.conf' | \ - ../../tools/patch '@STDLIB@' '/home/opam/.opam/4.14.1/lib/ocaml' | \ - sed -e 's;@AUTOLINK@;true;g' \ - -e 's;@SYSTEM@;freebsd;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 128, characters 40-63: - 128 | match Hashtbl.find Toploop.directive_table "ppx" with - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 258, characters 4-27: - 258 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 268, characters 4-27: - 268 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 280, characters 4-27: - 280 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 293, characters 4-27: - 293 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 307, characters 4-27: - 307 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 319, characters 4-27: - 319 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - ocamlc -I +compiler-libs -a -o findlib_top.cma topfind.cmo - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat topfind_rd1.p | \ - ../../tools/patch '@SITELIB@' '/home/opam/.opam/4.14.1/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 - gmake[1]: Leaving directory '/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6/src/findlib' - /usr/local/bin/gmake all-config - gmake[1]: Entering directory '/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6' - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat findlib.conf.in | \ - tools/patch '@SITELIB@' '/home/opam/.opam/4.14.1/lib' | \ - tools/patch '@FINDLIB_PATH@' '/home/opam/.opam/4.14.1/lib' -p >findlib.conf - if ./tools/cmd_from_same_dir ocamlc; then \ - echo 'ocamlc="ocamlc.opt"' >>findlib.conf; \ - fi - if ./tools/cmd_from_same_dir ocamlopt; then \ - echo 'ocamlopt="ocamlopt.opt"' >>findlib.conf; \ - fi - if ./tools/cmd_from_same_dir ocamldep; then \ - echo 'ocamldep="ocamldep.opt"' >>findlib.conf; \ - fi - if ./tools/cmd_from_same_dir ocamldoc; then \ - echo 'ocamldoc="ocamldoc.opt"' >>findlib.conf; \ - fi - gmake[1]: Leaving directory '/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6' Processing 42/50: [base: dune build] [ocamlfind: gmake opt] + /usr/local/bin/gmake "opt" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6) - for p in findlib; do ( cd src/$p; /usr/local/bin/gmake opt ) || exit; done - gmake[1]: Entering directory '/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6/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 128, characters 40-63: - 128 | match Hashtbl.find Toploop.directive_table "ppx" with - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 258, characters 4-27: - 258 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 268, characters 4-27: - 268 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 280, characters 4-27: - 280 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 293, characters 4-27: - 293 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 307, characters 4-27: - 307 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 319, characters 4-27: - 319 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - ocamlopt -I +compiler-libs -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 - gmake[1]: Leaving directory '/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6/src/findlib' -> compiled ocamlfind.1.9.6 Processing 42/50: [base: dune build] Processing 43/50: [base: dune build] [ocamlfind: gmake install] + /home/opam/.opam/4.14.1/bin/dune "build" "-p" "base" "-j" "15" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/base.v0.16.3) -> compiled base.v0.16.3 Processing 43/50: [ocamlfind: gmake install] + /usr/local/bin/gmake "install" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6) - if [ "1" -eq 1 ]; then \ - for x in camlp4 dbm graphics labltk num ocamlbuild; do \ - if [ -f "/home/opam/.opam/4.14.1/lib/$x/META" ]; then \ - if ! grep -Fq '[distributed with Ocaml]' "//home/opam/.opam/4.14.1/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.1/bin" - install -d "/home/opam/.opam/4.14.1/man" - /usr/local/bin/gmake install-config - gmake[1]: Entering directory '/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6' - install -d "`dirname \"/home/opam/.opam/4.14.1/lib/findlib.conf\"`" - test -f "/home/opam/.opam/4.14.1/lib/findlib.conf" || install -c findlib.conf "/home/opam/.opam/4.14.1/lib/findlib.conf" - gmake[1]: Leaving directory '/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6' - for p in findlib; do ( cd src/$p; /usr/local/bin/gmake install ); done - gmake[1]: Entering directory '/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6/src/findlib' - install -d "/home/opam/.opam/4.14.1/lib/findlib" - install -d "/home/opam/.opam/4.14.1/bin" - test 1 -eq 0 || install -d "/home/opam/.opam/4.14.1/lib/ocaml" - test 1 -eq 0 || install -c topfind "/home/opam/.opam/4.14.1/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.1/lib/findlib/" - f="ocamlfind"; { test -f ocamlfind_opt && f="ocamlfind_opt"; }; \ - install -c $f "/home/opam/.opam/4.14.1/bin/ocamlfind" - # the following "if" block is only needed for 4.00beta2 - if [ 1 -eq 0 -a -f "/home/opam/.opam/4.14.1/lib/ocaml/compiler-libs/topdirs.cmi" ]; then \ - cd "/home/opam/.opam/4.14.1/lib/ocaml/compiler-libs/"; \ - install -c topdirs.cmi toploop.cmi "/home/opam/.opam/4.14.1/lib/findlib/"; \ - fi - gmake[1]: Leaving directory '/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6/src/findlib' - /usr/local/bin/gmake install-meta - gmake[1]: Entering directory '/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6' - for x in bigarray bytes compiler-libs dynlink ocamldoc stdlib str threads unix ; do install -d "/home/opam/.opam/4.14.1/lib/$x"; install -c site-lib-src/$x/META "/home/opam/.opam/4.14.1/lib/$x/META.tmp" && mv "/home/opam/.opam/4.14.1/lib/$x/META.tmp" "/home/opam/.opam/4.14.1/lib/$x/META"; done - install -d "/home/opam/.opam/4.14.1/lib/findlib"; install -c Makefile.packages "/home/opam/.opam/4.14.1/lib/findlib/Makefile.packages" - gmake[1]: Leaving directory '/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6' - test ! -f 'site-lib-src/num-top/META' || { cd src/findlib; /usr/local/bin/gmake install-num-top; } - test ! -f 'site-lib-src/camlp4/META' || install -c tools/safe_camlp4 "/home/opam/.opam/4.14.1/bin" - /usr/local/bin/gmake install-doc - gmake[1]: Entering directory '/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6' - install -d "/home/opam/.opam/4.14.1/man/man1" "/home/opam/.opam/4.14.1/man/man3" "/home/opam/.opam/4.14.1/man/man5" - install -c doc/ref-man/ocamlfind.1 "/home/opam/.opam/4.14.1/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.1/man/man5" - gmake[1]: Leaving directory '/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6' -> installed ocamlfind.1.9.6 -> installed base.v0.16.3 Processing 45/50: [stdio: dune build] + /home/opam/.opam/4.14.1/bin/dune "build" "-p" "stdio" "-j" "15" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/stdio.v0.16.0) -> compiled stdio.v0.16.0 -> installed stdio.v0.16.0 Processing 47/50: [camlimages: dune build] + /home/opam/.opam/4.14.1/bin/dune "build" "-p" "camlimages" "-j" "15" "@install" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/camlimages.5.0.5) - (cd _build/default/config && ./ciconfig.exe) - Checking pkg-config in $PATH... (found) - Checking OCaml library lablgtk2... (not found) - Checking OCaml library graphics... (found : /home/opam/.opam/4.14.1/lib/graphics) - Checking program gs in $PATH... (found : /usr/local/bin/gs) - Checking pkg-config package libgif... (not found) - Checking library -lgif by using C compiler... (not found) - Checking pkg-config package libjpeg... (found : -L/usr/local/lib -ljpeg -I/usr/local/include) - Checking pkg-config package libpng... (found : -L/usr/local/lib -lpng16 -I/usr/local/include/libpng16) - Checking pkg-config package libtiff-4... (found : -L/usr/local/lib -ltiff -I/usr/local/include) - Checking pkg-config package freetype2... (found : -L/usr/local/lib -lfreetype -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include) - Checking pkg-config package libexif... (not found) - Checking library -lexif by using C compiler... (not found) - Checking pkg-config package xpm... (found : -L/usr/local/lib -lXpm -lX11 -I/usr/local/include -D_THREAD_SAFE) - Checking file rgb.txt...(not found) - (cd _build/default/gif && /usr/bin/cc -g -I /home/opam/.opam/4.14.1/lib/ocaml -I ../core -o gifread.o -c gifread.c) - In file included from gifread.c:267: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:46:9: warning: 'alloc' macro redefined [-Wmacro-redefined] - #define alloc CAML_DEPRECATED("alloc", "caml_alloc") caml_alloc /*SP*/ - ^ - ./compat.h:9:9: note: previous definition is here - #define alloc(a,b) caml_alloc(a,b) - ^ - In file included from gifread.c:267: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:47:9: warning: 'alloc_small' macro redefined [-Wmacro-redefined] - #define alloc_small CAML_DEPRECATED("alloc_small", "caml_alloc_small") caml_alloc_small - ^ - ./compat.h:2:9: note: previous definition is here - #define alloc_small(a,b) caml_alloc_small(a,b) - ^ - In file included from gifread.c:267: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:48:9: warning: 'alloc_tuple' macro redefined [-Wmacro-redefined] - #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple - ^ - ./compat.h:4:9: note: previous definition is here - #define alloc_tuple(a) caml_alloc_tuple(a) - ^ - In file included from gifread.c:267: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:49:9: warning: 'alloc_string' macro redefined [-Wmacro-redefined] - #define alloc_string CAML_DEPRECATED("alloc_string", "caml_alloc_string") caml_alloc_string - ^ - ./compat.h:7:9: note: previous definition is here - #define alloc_string(a) caml_alloc_string(a) - ^ - In file included from gifread.c:267: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:51:9: warning: 'copy_string' macro redefined [-Wmacro-redefined] - #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string - ^ - ./compat.h:10:9: note: previous definition is here - #define copy_string(a) caml_copy_string(a) - ^ - In file included from gifread.c:267: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:9: warning: 'failwith' macro redefined [-Wmacro-redefined] - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - ./compat.h:1:9: note: previous definition is here - #define failwith(s) caml_failwith(s) - ^ - In file included from gifread.c:267: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:131:9: warning: 'copy_double' macro redefined [-Wmacro-redefined] - #define copy_double CAML_DEPRECATED("copy_double", "caml_copy_double") caml_copy_double - ^ - ./compat.h:8:9: note: previous definition is here - #define copy_double(a) caml_copy_double(a) - ^ - In file included from gifread.c:267: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:231:9: warning: 'stat_alloc' macro redefined [-Wmacro-redefined] - #define stat_alloc CAML_DEPRECATED("stat_alloc", "caml_stat_alloc") caml_stat_alloc - ^ - ./compat.h:5:9: note: previous definition is here - #define stat_alloc(a) caml_stat_alloc(a) - ^ - In file included from gifread.c:267: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:232:9: warning: 'stat_free' macro redefined [-Wmacro-redefined] - #define stat_free CAML_DEPRECATED("stat_free", "caml_stat_free") caml_stat_free - ^ - ./compat.h:6:9: note: previous definition is here - #define stat_free(a) caml_stat_free(a) - ^ - In file included from gifread.c:267: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:289:9: warning: 'string_length' macro redefined [-Wmacro-redefined] - #define string_length CAML_DEPRECATED("string_length", "caml_string_length") caml_string_length - ^ - ./compat.h:3:9: note: previous definition is here - #define string_length(a) caml_string_length(a) - ^ - gifread.c:272:27: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - value Val_GifColorType(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:90:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - gifread.c:273:29: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - value Val_ColorMapObject(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:94:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - gifread.c:274:27: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - value Val_GifImageDesc(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:98:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - gifread.c:275:25: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - value Val_ScreenInfo(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:102:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - gifread.c:276:27: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - value dGifOpenFileName(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:106:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - gifread.c:277:24: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - value dGifCloseFile(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:110:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - gifread.c:278:28: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - value dGifGetRecordType(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:114:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - gifread.c:279:27: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - value dGifGetImageDesc(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:118:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - gifread.c:280:22: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - value dGifGetLine(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:122:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - gifread.c:281:27: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - value dGifGetExtension(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:126:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - gifread.c:282:27: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - value eGifOpenFileName(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:130:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - gifread.c:283:24: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - value eGifCloseFile(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:134:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - gifread.c:284:28: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - value eGifPutScreenDesc(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:3:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - gifread.c:285:27: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - value eGifPutImageDesc(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:7:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - gifread.c:286:22: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - value eGifPutLine(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:11:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - gifread.c:287:27: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - value eGifPutExtension(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:15:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - 26 warnings generated. - (cd _build/default/exif && /usr/bin/cc -g -I /home/opam/.opam/4.14.1/lib/ocaml -I ../core -o exif_c.o -c exif_c.c) - In file included from exif_c.c:360: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:46:9: warning: 'alloc' macro redefined [-Wmacro-redefined] - #define alloc CAML_DEPRECATED("alloc", "caml_alloc") caml_alloc /*SP*/ - ^ - ./compat.h:9:9: note: previous definition is here - #define alloc(a,b) caml_alloc(a,b) - ^ - In file included from exif_c.c:360: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:47:9: warning: 'alloc_small' macro redefined [-Wmacro-redefined] - #define alloc_small CAML_DEPRECATED("alloc_small", "caml_alloc_small") caml_alloc_small - ^ - ./compat.h:2:9: note: previous definition is here - #define alloc_small(a,b) caml_alloc_small(a,b) - ^ - In file included from exif_c.c:360: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:48:9: warning: 'alloc_tuple' macro redefined [-Wmacro-redefined] - #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple - ^ - ./compat.h:4:9: note: previous definition is here - #define alloc_tuple(a) caml_alloc_tuple(a) - ^ - In file included from exif_c.c:360: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:49:9: warning: 'alloc_string' macro redefined [-Wmacro-redefined] - #define alloc_string CAML_DEPRECATED("alloc_string", "caml_alloc_string") caml_alloc_string - ^ - ./compat.h:7:9: note: previous definition is here - #define alloc_string(a) caml_alloc_string(a) - ^ - In file included from exif_c.c:360: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:51:9: warning: 'copy_string' macro redefined [-Wmacro-redefined] - #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string - ^ - ./compat.h:10:9: note: previous definition is here - #define copy_string(a) caml_copy_string(a) - ^ - In file included from exif_c.c:360: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:9: warning: 'failwith' macro redefined [-Wmacro-redefined] - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - ./compat.h:1:9: note: previous definition is here - #define failwith(s) caml_failwith(s) - ^ - In file included from exif_c.c:360: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:131:9: warning: 'copy_double' macro redefined [-Wmacro-redefined] - #define copy_double CAML_DEPRECATED("copy_double", "caml_copy_double") caml_copy_double - ^ - ./compat.h:8:9: note: previous definition is here - #define copy_double(a) caml_copy_double(a) - ^ - In file included from exif_c.c:360: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:231:9: warning: 'stat_alloc' macro redefined [-Wmacro-redefined] - #define stat_alloc CAML_DEPRECATED("stat_alloc", "caml_stat_alloc") caml_stat_alloc - ^ - ./compat.h:5:9: note: previous definition is here - #define stat_alloc(a) caml_stat_alloc(a) - ^ - In file included from exif_c.c:360: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:232:9: warning: 'stat_free' macro redefined [-Wmacro-redefined] - #define stat_free CAML_DEPRECATED("stat_free", "caml_stat_free") caml_stat_free - ^ - ./compat.h:6:9: note: previous definition is here - #define stat_free(a) caml_stat_free(a) - ^ - In file included from exif_c.c:360: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:289:9: warning: 'string_length' macro redefined [-Wmacro-redefined] - #define string_length CAML_DEPRECATED("string_length", "caml_string_length") caml_string_length - ^ - ./compat.h:3:9: note: previous definition is here - #define string_length(a) caml_string_length(a) - ^ - exif_c.c:367:1: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - NA(Val_ExifBytes) - ^ - exif_c.c:365:26: note: expanded from macro 'NA' - #define NA(x) value x(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:90:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - exif_c.c:368:1: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - NA(Val_ExifSBytes) - ^ - exif_c.c:365:26: note: expanded from macro 'NA' - #define NA(x) value x(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:94:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - exif_c.c:369:1: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - NA(Val_ExifShorts) - ^ - exif_c.c:365:26: note: expanded from macro 'NA' - #define NA(x) value x(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:98:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - exif_c.c:370:1: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - NA(Val_ExifSShorts) - ^ - exif_c.c:365:26: note: expanded from macro 'NA' - #define NA(x) value x(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:102:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - exif_c.c:371:1: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - NA(Val_ExifLongs) - ^ - exif_c.c:365:26: note: expanded from macro 'NA' - #define NA(x) value x(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:106:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - exif_c.c:372:1: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - NA(Val_ExifSLongs) - ^ - exif_c.c:365:26: note: expanded from macro 'NA' - #define NA(x) value x(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:110:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - exif_c.c:373:1: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - NA(Val_ExifRationals) - ^ - exif_c.c:365:26: note: expanded from macro 'NA' - #define NA(x) value x(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:114:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - exif_c.c:374:1: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - NA(Val_ExifSRationals) - ^ - exif_c.c:365:26: note: expanded from macro 'NA' - #define NA(x) value x(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:118:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - exif_c.c:375:1: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - NA(Val_ExifFloats) - ^ - exif_c.c:365:26: note: expanded from macro 'NA' - #define NA(x) value x(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:122:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - exif_c.c:376:1: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - NA(Val_ExifDoubles) - ^ - exif_c.c:365:26: note: expanded from macro 'NA' - #define NA(x) value x(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:126:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - exif_c.c:377:1: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - NA(caml_exif_tag_get_name_in_ifd) - ^ - exif_c.c:365:26: note: expanded from macro 'NA' - #define NA(x) value x(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:130:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - exif_c.c:378:1: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - NA(caml_val_exif_data) - ^ - exif_c.c:365:26: note: expanded from macro 'NA' - #define NA(x) value x(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:134:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - exif_c.c:379:1: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - NA(caml_exif_set_byte_order) - ^ - exif_c.c:365:26: note: expanded from macro 'NA' - #define NA(x) value x(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:3:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - exif_c.c:380:1: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - NA(caml_exif_get_byte_order) - ^ - exif_c.c:365:26: note: expanded from macro 'NA' - #define NA(x) value x(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:7:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - exif_c.c:381:1: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - NA(caml_exif_data_fix) - ^ - exif_c.c:365:26: note: expanded from macro 'NA' - #define NA(x) value x(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:11:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - exif_c.c:382:1: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - NA(caml_exif_data_unref) - ^ - exif_c.c:365:26: note: expanded from macro 'NA' - #define NA(x) value x(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:15:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - exif_c.c:383:1: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - NA(caml_exif_data_dump) - ^ - exif_c.c:365:26: note: expanded from macro 'NA' - #define NA(x) value x(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:19:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - exif_c.c:384:1: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - NA(caml_exif_data_contents) - ^ - exif_c.c:365:26: note: expanded from macro 'NA' - #define NA(x) value x(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:23:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - exif_c.c:385:1: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - NA(caml_exif_content_unref) - ^ - exif_c.c:365:26: note: expanded from macro 'NA' - #define NA(x) value x(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:27:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - exif_c.c:386:1: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - NA(caml_exif_content_entries) - ^ - exif_c.c:365:26: note: expanded from macro 'NA' - #define NA(x) value x(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:31:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - exif_c.c:387:1: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - NA(caml_exif_entry_unref) - ^ - exif_c.c:365:26: note: expanded from macro 'NA' - #define NA(x) value x(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:35:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - exif_c.c:388:1: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - NA(caml_exif_decode_entry) - ^ - exif_c.c:365:26: note: expanded from macro 'NA' - #define NA(x) value x(){ failwith("unsupported"); } - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:39:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - 32 warnings generated. - File "gif/dune", lines 1-13, characters 0-316: - 1 | (library - 2 | (name camlimages_gif) - 3 | (public_name camlimages.gif) - .... - 11 | (:include ../config/gif_c_flags.sexp))) - 12 | (c_library_flags - 13 | (:include ../config/gif_c_library_flags.sexp))) - (cd _build/default && /home/opam/.opam/4.14.1/bin/ocamlmklib.opt -g -o gif/camlimages_gif_stubs gif/gifwrite.o gif/gifread.o) - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in gif/gifread.o - >>> referenced by gifread.c:272 - >>> gif/gifread.o:(Val_GifColorType) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in gif/gifread.o - >>> referenced by gifread.c:273 - >>> gif/gifread.o:(Val_ColorMapObject) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in gif/gifread.o - >>> referenced by gifread.c:274 - >>> gif/gifread.o:(Val_GifImageDesc) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in gif/gifread.o - >>> referenced by gifread.c:275 - >>> gif/gifread.o:(Val_ScreenInfo) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in gif/gifread.o - >>> referenced by gifread.c:276 - >>> gif/gifread.o:(dGifOpenFileName) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in gif/gifread.o - >>> referenced by gifread.c:277 - >>> gif/gifread.o:(dGifCloseFile) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in gif/gifread.o - >>> referenced by gifread.c:278 - >>> gif/gifread.o:(dGifGetRecordType) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in gif/gifread.o - >>> referenced by gifread.c:279 - >>> gif/gifread.o:(dGifGetImageDesc) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in gif/gifread.o - >>> referenced by gifread.c:280 - >>> gif/gifread.o:(dGifGetLine) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in gif/gifread.o - >>> referenced by gifread.c:281 - >>> gif/gifread.o:(dGifGetExtension) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in gif/gifread.o - >>> referenced by gifread.c:282 - >>> gif/gifread.o:(eGifOpenFileName) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in gif/gifread.o - >>> referenced by gifread.c:283 - >>> gif/gifread.o:(eGifCloseFile) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in gif/gifread.o - >>> referenced by gifread.c:284 - >>> gif/gifread.o:(eGifPutScreenDesc) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in gif/gifread.o - >>> referenced by gifread.c:285 - >>> gif/gifread.o:(eGifPutImageDesc) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in gif/gifread.o - >>> referenced by gifread.c:286 - >>> gif/gifread.o:(eGifPutLine) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in gif/gifread.o - >>> referenced by gifread.c:287 - >>> gif/gifread.o:(eGifPutExtension) - cc: error: linker command failed with exit code 1 (use -v to see invocation) - File "exif/dune", lines 1-14, characters 0-317: - 1 | (library - 2 | (name camlimages_exif) - 3 | (public_name camlimages.exif) - .... - 12 | (:include ../config/exif_c_flags.sexp))) - 13 | (c_library_flags - 14 | (:include ../config/exif_c_library_flags.sexp))) - (cd _build/default && /home/opam/.opam/4.14.1/bin/ocamlmklib.opt -g -o exif/camlimages_exif_stubs exif/exif_c.o) - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in exif/exif_c.o - >>> referenced by exif_c.c:367 - >>> exif/exif_c.o:(Val_ExifBytes) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in exif/exif_c.o - >>> referenced by exif_c.c:368 - >>> exif/exif_c.o:(Val_ExifSBytes) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in exif/exif_c.o - >>> referenced by exif_c.c:369 - >>> exif/exif_c.o:(Val_ExifShorts) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in exif/exif_c.o - >>> referenced by exif_c.c:370 - >>> exif/exif_c.o:(Val_ExifSShorts) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in exif/exif_c.o - >>> referenced by exif_c.c:371 - >>> exif/exif_c.o:(Val_ExifLongs) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in exif/exif_c.o - >>> referenced by exif_c.c:372 - >>> exif/exif_c.o:(Val_ExifSLongs) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in exif/exif_c.o - >>> referenced by exif_c.c:373 - >>> exif/exif_c.o:(Val_ExifRationals) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in exif/exif_c.o - >>> referenced by exif_c.c:374 - >>> exif/exif_c.o:(Val_ExifSRationals) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in exif/exif_c.o - >>> referenced by exif_c.c:375 - >>> exif/exif_c.o:(Val_ExifFloats) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in exif/exif_c.o - >>> referenced by exif_c.c:376 - >>> exif/exif_c.o:(Val_ExifDoubles) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in exif/exif_c.o - >>> referenced by exif_c.c:377 - >>> exif/exif_c.o:(caml_exif_tag_get_name_in_ifd) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in exif/exif_c.o - >>> referenced by exif_c.c:378 - >>> exif/exif_c.o:(caml_val_exif_data) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in exif/exif_c.o - >>> referenced by exif_c.c:379 - >>> exif/exif_c.o:(caml_exif_set_byte_order) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in exif/exif_c.o - >>> referenced by exif_c.c:380 - >>> exif/exif_c.o:(caml_exif_get_byte_order) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in exif/exif_c.o - >>> referenced by exif_c.c:381 - >>> exif/exif_c.o:(caml_exif_data_fix) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in exif/exif_c.o - >>> referenced by exif_c.c:382 - >>> exif/exif_c.o:(caml_exif_data_unref) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in exif/exif_c.o - >>> referenced by exif_c.c:383 - >>> exif/exif_c.o:(caml_exif_data_dump) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in exif/exif_c.o - >>> referenced by exif_c.c:384 - >>> exif/exif_c.o:(caml_exif_data_contents) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in exif/exif_c.o - >>> referenced by exif_c.c:385 - >>> exif/exif_c.o:(caml_exif_content_unref) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in exif/exif_c.o - >>> referenced by exif_c.c:386 - >>> exif/exif_c.o:(caml_exif_content_entries) - - ld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors) - cc: error: linker command failed with exit code 1 (use -v to see invocation) - File "tiff/dune", line 9, characters 10-19: - 9 | (names tiffwrite tiffread) - ^^^^^^^^^ - (cd _build/default/tiff && /usr/bin/cc -I/usr/local/include -g -I /home/opam/.opam/4.14.1/lib/ocaml -I ../core -o tiffwrite.o -c tiffwrite.c) - In file included from tiffwrite.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:46:9: warning: 'alloc' macro redefined [-Wmacro-redefined] - #define alloc CAML_DEPRECATED("alloc", "caml_alloc") caml_alloc /*SP*/ - ^ - ./compat.h:9:9: note: previous definition is here - #define alloc(a,b) caml_alloc(a,b) - ^ - In file included from tiffwrite.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:47:9: warning: 'alloc_small' macro redefined [-Wmacro-redefined] - #define alloc_small CAML_DEPRECATED("alloc_small", "caml_alloc_small") caml_alloc_small - ^ - ./compat.h:2:9: note: previous definition is here - #define alloc_small(a,b) caml_alloc_small(a,b) - ^ - In file included from tiffwrite.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:48:9: warning: 'alloc_tuple' macro redefined [-Wmacro-redefined] - #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple - ^ - ./compat.h:4:9: note: previous definition is here - #define alloc_tuple(a) caml_alloc_tuple(a) - ^ - In file included from tiffwrite.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:49:9: warning: 'alloc_string' macro redefined [-Wmacro-redefined] - #define alloc_string CAML_DEPRECATED("alloc_string", "caml_alloc_string") caml_alloc_string - ^ - ./compat.h:7:9: note: previous definition is here - #define alloc_string(a) caml_alloc_string(a) - ^ - In file included from tiffwrite.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:51:9: warning: 'copy_string' macro redefined [-Wmacro-redefined] - #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string - ^ - ./compat.h:10:9: note: previous definition is here - #define copy_string(a) caml_copy_string(a) - ^ - In file included from tiffwrite.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:9: warning: 'failwith' macro redefined [-Wmacro-redefined] - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - ./compat.h:1:9: note: previous definition is here - #define failwith(s) caml_failwith(s) - ^ - In file included from tiffwrite.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:131:9: warning: 'copy_double' macro redefined [-Wmacro-redefined] - #define copy_double CAML_DEPRECATED("copy_double", "caml_copy_double") caml_copy_double - ^ - ./compat.h:8:9: note: previous definition is here - #define copy_double(a) caml_copy_double(a) - ^ - In file included from tiffwrite.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:231:9: warning: 'stat_alloc' macro redefined [-Wmacro-redefined] - #define stat_alloc CAML_DEPRECATED("stat_alloc", "caml_stat_alloc") caml_stat_alloc - ^ - ./compat.h:5:9: note: previous definition is here - #define stat_alloc(a) caml_stat_alloc(a) - ^ - In file included from tiffwrite.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:232:9: warning: 'stat_free' macro redefined [-Wmacro-redefined] - #define stat_free CAML_DEPRECATED("stat_free", "caml_stat_free") caml_stat_free - ^ - ./compat.h:6:9: note: previous definition is here - #define stat_free(a) caml_stat_free(a) - ^ - In file included from tiffwrite.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:289:9: warning: 'string_length' macro redefined [-Wmacro-redefined] - #define string_length CAML_DEPRECATED("string_length", "caml_string_length") caml_string_length - ^ - ./compat.h:3:9: note: previous definition is here - #define string_length(a) caml_string_length(a) - ^ - tiffwrite.c:67:48: warning: 'uint32_tiff' is deprecated [-Wdeprecated-declarations] - TIFFSetField(tif, TIFFTAG_IMAGEWIDTH, (uint32) image_width); - ^ - tiffwrite.c:37:16: note: expanded from macro 'uint32' - #define uint32 uint32_tiff - ^ - /usr/local/include/tiff.h:84:45: note: 'uint32_tiff' has been explicitly marked deprecated here - typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; - ^ - /usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED' - #define TIFF_GCC_DEPRECATED __attribute__((deprecated)) - ^ - tiffwrite.c:68:49: warning: 'uint32_tiff' is deprecated [-Wdeprecated-declarations] - TIFFSetField(tif, TIFFTAG_IMAGELENGTH, (uint32) image_height); - ^ - tiffwrite.c:37:16: note: expanded from macro 'uint32' - #define uint32 uint32_tiff - ^ - /usr/local/include/tiff.h:84:45: note: 'uint32_tiff' has been explicitly marked deprecated here - typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; - ^ - /usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED' - #define TIFF_GCC_DEPRECATED __attribute__((deprecated)) - ^ - tiffwrite.c:82:21: warning: call to undeclared function 'Val_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - CAMLreturn( Val_ptr(tif) ); - ^ - tiffwrite.c:84:9: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("failed to open tiff file to write"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:104:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - tiffwrite.c:95:19: warning: call to undeclared function 'Ptr_val'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - TIFF *tiffh = Ptr_val(vtiffh); - ^ - tiffwrite.c:95:11: error: incompatible integer to pointer conversion initializing 'TIFF *' (aka 'struct tiff *') with an expression of type 'int' [-Wint-conversion] - TIFF *tiffh = Ptr_val(vtiffh); - ^ ~~~~~~~~~~~~~~~ - tiffwrite.c:88:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - value write_tiff_scanline( vtiffh, buf, row ) - ^ - 16 warnings and 1 error generated. - (cd _build/default/jpeg && /usr/bin/cc -I/usr/local/include -g -I /home/opam/.opam/4.14.1/lib/ocaml -I ../core -o jpegwrite.o -c jpegwrite.c) - In file included from jpegwrite.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:46:9: warning: 'alloc' macro redefined [-Wmacro-redefined] - #define alloc CAML_DEPRECATED("alloc", "caml_alloc") caml_alloc /*SP*/ - ^ - ./compat.h:9:9: note: previous definition is here - #define alloc(a,b) caml_alloc(a,b) - ^ - In file included from jpegwrite.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:47:9: warning: 'alloc_small' macro redefined [-Wmacro-redefined] - #define alloc_small CAML_DEPRECATED("alloc_small", "caml_alloc_small") caml_alloc_small - ^ - ./compat.h:2:9: note: previous definition is here - #define alloc_small(a,b) caml_alloc_small(a,b) - ^ - In file included from jpegwrite.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:48:9: warning: 'alloc_tuple' macro redefined [-Wmacro-redefined] - #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple - ^ - ./compat.h:4:9: note: previous definition is here - #define alloc_tuple(a) caml_alloc_tuple(a) - ^ - In file included from jpegwrite.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:49:9: warning: 'alloc_string' macro redefined [-Wmacro-redefined] - #define alloc_string CAML_DEPRECATED("alloc_string", "caml_alloc_string") caml_alloc_string - ^ - ./compat.h:7:9: note: previous definition is here - #define alloc_string(a) caml_alloc_string(a) - ^ - In file included from jpegwrite.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:51:9: warning: 'copy_string' macro redefined [-Wmacro-redefined] - #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string - ^ - ./compat.h:10:9: note: previous definition is here - #define copy_string(a) caml_copy_string(a) - ^ - In file included from jpegwrite.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:9: warning: 'failwith' macro redefined [-Wmacro-redefined] - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - ./compat.h:1:9: note: previous definition is here - #define failwith(s) caml_failwith(s) - ^ - In file included from jpegwrite.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:131:9: warning: 'copy_double' macro redefined [-Wmacro-redefined] - #define copy_double CAML_DEPRECATED("copy_double", "caml_copy_double") caml_copy_double - ^ - ./compat.h:8:9: note: previous definition is here - #define copy_double(a) caml_copy_double(a) - ^ - In file included from jpegwrite.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:231:9: warning: 'stat_alloc' macro redefined [-Wmacro-redefined] - #define stat_alloc CAML_DEPRECATED("stat_alloc", "caml_stat_alloc") caml_stat_alloc - ^ - ./compat.h:5:9: note: previous definition is here - #define stat_alloc(a) caml_stat_alloc(a) - ^ - In file included from jpegwrite.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:232:9: warning: 'stat_free' macro redefined [-Wmacro-redefined] - #define stat_free CAML_DEPRECATED("stat_free", "caml_stat_free") caml_stat_free - ^ - ./compat.h:6:9: note: previous definition is here - #define stat_free(a) caml_stat_free(a) - ^ - In file included from jpegwrite.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:289:9: warning: 'string_length' macro redefined [-Wmacro-redefined] - #define string_length CAML_DEPRECATED("string_length", "caml_string_length") caml_string_length - ^ - ./compat.h:3:9: note: previous definition is here - #define string_length(a) caml_string_length(a) - ^ - In file included from jpegwrite.c:36: - /usr/local/include/jpeglib.h:884:11: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] - void *(*alloc_small) (j_common_ptr cinfo, int pool_id, size_t sizeofobject); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:47:21: note: expanded from macro 'alloc_small' - #define alloc_small CAML_DEPRECATED("alloc_small", "caml_alloc_small") caml_alloc_small - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:90:6: note: expanded from here - GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" - ^ - jpegwrite.c:83:5: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("failed to open jpeg file"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:104:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - jpegwrite.c:98:5: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith(jpg_error_message); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:108:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - jpegwrite.c:112:9: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] - res = alloc_small(3,0); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:47:21: note: expanded from macro 'alloc_small' - #define alloc_small CAML_DEPRECATED("alloc_small", "caml_alloc_small") caml_alloc_small - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:112:6: note: expanded from here - GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" - ^ - jpegwrite.c:113:19: warning: call to undeclared function 'Val_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - Field(res, 0) = Val_ptr(cinfop); - ^ - jpegwrite.c:58:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - value open_jpeg_file_for_write_colorspace( name, width, height, qual, colorspace ) - ^ - jpegwrite.c:124:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - value open_jpeg_file_for_write( name, width, height, qual ) - ^ - jpegwrite.c:134:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - value open_jpeg_file_for_write_cmyk( name, width, height, qual ) - ^ - jpegwrite.c:147:46: warning: call to undeclared function 'Ptr_val'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - cinfop = (struct jpeg_compress_struct *) Ptr_val(Field( jpegh, 0 )); - ^ - jpegwrite.c:147:14: warning: cast to 'struct jpeg_compress_struct *' from smaller integer type 'int' [-Wint-to-pointer-cast] - cinfop = (struct jpeg_compress_struct *) Ptr_val(Field( jpegh, 0 )); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - jpegwrite.c:175:44: warning: call to undeclared function 'Ptr_val'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - cinfop = (struct jpeg_compress_struct *) Ptr_val(Field( jpegh, 0 )); - ^ - jpegwrite.c:175:12: warning: cast to 'struct jpeg_compress_struct *' from smaller integer type 'int' [-Wint-to-pointer-cast] - cinfop = (struct jpeg_compress_struct *) Ptr_val(Field( jpegh, 0 )); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - jpegwrite.c:169:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - value write_jpeg_scanline( jpegh, buf ) - ^ - jpegwrite.c:192:44: warning: call to undeclared function 'Ptr_val'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - cinfop = (struct jpeg_compress_struct *) Ptr_val(Field( jpegh, 0 )); - ^ - jpegwrite.c:192:12: warning: cast to 'struct jpeg_compress_struct *' from smaller integer type 'int' [-Wint-to-pointer-cast] - cinfop = (struct jpeg_compress_struct *) Ptr_val(Field( jpegh, 0 )); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - jpegwrite.c:193:13: warning: cast to 'FILE *' (aka 'struct __sFILE *') from smaller integer type 'int' [-Wint-to-pointer-cast] - outfile = (FILE *) Ptr_val( Field( jpegh, 1 ) ); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - jpegwrite.c:194:11: warning: cast to 'struct my_error_mgr *' from smaller integer type 'int' [-Wint-to-pointer-cast] - jerrp = (struct my_error_mgr *) Ptr_val( Field( jpegh, 2 ) ); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - jpegwrite.c:183:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - value close_jpeg_file_for_write( jpegh ) - ^ - 28 warnings generated. - (cd _build/default/xpm && /usr/bin/cc -I/usr/local/include -D_THREAD_SAFE -g -I /home/opam/.opam/4.14.1/lib/ocaml -I ../core -o xpmread.o -c xpmread.c) - In file included from xpmread.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:46:9: warning: 'alloc' macro redefined [-Wmacro-redefined] - #define alloc CAML_DEPRECATED("alloc", "caml_alloc") caml_alloc /*SP*/ - ^ - ./compat.h:9:9: note: previous definition is here - #define alloc(a,b) caml_alloc(a,b) - ^ - In file included from xpmread.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:47:9: warning: 'alloc_small' macro redefined [-Wmacro-redefined] - #define alloc_small CAML_DEPRECATED("alloc_small", "caml_alloc_small") caml_alloc_small - ^ - ./compat.h:2:9: note: previous definition is here - #define alloc_small(a,b) caml_alloc_small(a,b) - ^ - In file included from xpmread.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:48:9: warning: 'alloc_tuple' macro redefined [-Wmacro-redefined] - #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple - ^ - ./compat.h:4:9: note: previous definition is here - #define alloc_tuple(a) caml_alloc_tuple(a) - ^ - In file included from xpmread.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:49:9: warning: 'alloc_string' macro redefined [-Wmacro-redefined] - #define alloc_string CAML_DEPRECATED("alloc_string", "caml_alloc_string") caml_alloc_string - ^ - ./compat.h:7:9: note: previous definition is here - #define alloc_string(a) caml_alloc_string(a) - ^ - In file included from xpmread.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:51:9: warning: 'copy_string' macro redefined [-Wmacro-redefined] - #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string - ^ - ./compat.h:10:9: note: previous definition is here - #define copy_string(a) caml_copy_string(a) - ^ - In file included from xpmread.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:9: warning: 'failwith' macro redefined [-Wmacro-redefined] - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - ./compat.h:1:9: note: previous definition is here - #define failwith(s) caml_failwith(s) - ^ - In file included from xpmread.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:131:9: warning: 'copy_double' macro redefined [-Wmacro-redefined] - #define copy_double CAML_DEPRECATED("copy_double", "caml_copy_double") caml_copy_double - ^ - ./compat.h:8:9: note: previous definition is here - #define copy_double(a) caml_copy_double(a) - ^ - In file included from xpmread.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:231:9: warning: 'stat_alloc' macro redefined [-Wmacro-redefined] - #define stat_alloc CAML_DEPRECATED("stat_alloc", "caml_stat_alloc") caml_stat_alloc - ^ - ./compat.h:5:9: note: previous definition is here - #define stat_alloc(a) caml_stat_alloc(a) - ^ - In file included from xpmread.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:232:9: warning: 'stat_free' macro redefined [-Wmacro-redefined] - #define stat_free CAML_DEPRECATED("stat_free", "caml_stat_free") caml_stat_free - ^ - ./compat.h:6:9: note: previous definition is here - #define stat_free(a) caml_stat_free(a) - ^ - In file included from xpmread.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:289:9: warning: 'string_length' macro redefined [-Wmacro-redefined] - #define string_length CAML_DEPRECATED("string_length", "caml_string_length") caml_string_length - ^ - ./compat.h:3:9: note: previous definition is here - #define string_length(a) caml_string_length(a) - ^ - In file included from xpmread.c:25: - In file included from /usr/local/include/X11/xpm.h:77: - /usr/local/include/X11/Xlib.h:1237:13: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] - XIMProc callback; - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' - #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:100:6: note: expanded from here - GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" - ^ - In file included from xpmread.c:25: - In file included from /usr/local/include/X11/xpm.h:77: - /usr/local/include/X11/Xlib.h:1242:13: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] - XICProc callback; - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' - #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:104:6: note: expanded from here - GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" - ^ - xpmread.c:49:12: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] - cmap = alloc_tuple( image.ncolors ); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:48:21: note: expanded from macro 'alloc_tuple' - #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:129:6: note: expanded from here - GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" - ^ - xpmread.c:65:32: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] - Store_field(cmap, i, copy_string("null")); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:51:21: note: expanded from macro 'copy_string' - #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - xpmread.c:67:32: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] - Store_field(cmap, i, copy_string(color->c_color)); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:51:21: note: expanded from macro 'copy_string' - #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - xpmread.c:74:14: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] - imap = alloc_tuple( size ); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:48:21: note: expanded from macro 'alloc_tuple' - #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:141:6: note: expanded from here - GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" - ^ - xpmread.c:82:14: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] - result = alloc_small(4,0); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:47:21: note: expanded from macro 'alloc_small' - #define alloc_small CAML_DEPRECATED("alloc_small", "caml_alloc_small") caml_alloc_small - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:145:6: note: expanded from here - GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" - ^ - xpmread.c:92:5: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("failed to open xpm file"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:150:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - xpmread.c:29:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - value read_xpm_file( name ) - ^ - 19 warnings generated. - File "tiff/dune", line 9, characters 20-28: - 9 | (names tiffwrite tiffread) - ^^^^^^^^ - (cd _build/default/tiff && /usr/bin/cc -I/usr/local/include -g -I /home/opam/.opam/4.14.1/lib/ocaml -I ../core -o tiffread.o -c tiffread.c) - In file included from tiffread.c:21: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:46:9: warning: 'alloc' macro redefined [-Wmacro-redefined] - #define alloc CAML_DEPRECATED("alloc", "caml_alloc") caml_alloc /*SP*/ - ^ - ./compat.h:9:9: note: previous definition is here - #define alloc(a,b) caml_alloc(a,b) - ^ - In file included from tiffread.c:21: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:47:9: warning: 'alloc_small' macro redefined [-Wmacro-redefined] - #define alloc_small CAML_DEPRECATED("alloc_small", "caml_alloc_small") caml_alloc_small - ^ - ./compat.h:2:9: note: previous definition is here - #define alloc_small(a,b) caml_alloc_small(a,b) - ^ - In file included from tiffread.c:21: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:48:9: warning: 'alloc_tuple' macro redefined [-Wmacro-redefined] - #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple - ^ - ./compat.h:4:9: note: previous definition is here - #define alloc_tuple(a) caml_alloc_tuple(a) - ^ - In file included from tiffread.c:21: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:49:9: warning: 'alloc_string' macro redefined [-Wmacro-redefined] - #define alloc_string CAML_DEPRECATED("alloc_string", "caml_alloc_string") caml_alloc_string - ^ - ./compat.h:7:9: note: previous definition is here - #define alloc_string(a) caml_alloc_string(a) - ^ - In file included from tiffread.c:21: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:51:9: warning: 'copy_string' macro redefined [-Wmacro-redefined] - #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string - ^ - ./compat.h:10:9: note: previous definition is here - #define copy_string(a) caml_copy_string(a) - ^ - In file included from tiffread.c:21: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:9: warning: 'failwith' macro redefined [-Wmacro-redefined] - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - ./compat.h:1:9: note: previous definition is here - #define failwith(s) caml_failwith(s) - ^ - In file included from tiffread.c:21: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:131:9: warning: 'copy_double' macro redefined [-Wmacro-redefined] - #define copy_double CAML_DEPRECATED("copy_double", "caml_copy_double") caml_copy_double - ^ - ./compat.h:8:9: note: previous definition is here - #define copy_double(a) caml_copy_double(a) - ^ - In file included from tiffread.c:21: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:231:9: warning: 'stat_alloc' macro redefined [-Wmacro-redefined] - #define stat_alloc CAML_DEPRECATED("stat_alloc", "caml_stat_alloc") caml_stat_alloc - ^ - ./compat.h:5:9: note: previous definition is here - #define stat_alloc(a) caml_stat_alloc(a) - ^ - In file included from tiffread.c:21: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:232:9: warning: 'stat_free' macro redefined [-Wmacro-redefined] - #define stat_free CAML_DEPRECATED("stat_free", "caml_stat_free") caml_stat_free - ^ - ./compat.h:6:9: note: previous definition is here - #define stat_free(a) caml_stat_free(a) - ^ - In file included from tiffread.c:21: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:289:9: warning: 'string_length' macro redefined [-Wmacro-redefined] - #define string_length CAML_DEPRECATED("string_length", "caml_string_length") caml_string_length - ^ - ./compat.h:3:9: note: previous definition is here - #define string_length(a) caml_string_length(a) - ^ - tiffread.c:62:9: warning: 'uint32_tiff' is deprecated [-Wdeprecated-declarations] - uint32 imagelength; - ^ - tiffread.c:40:16: note: expanded from macro 'uint32' - #define uint32 uint32_tiff - ^ - /usr/local/include/tiff.h:84:45: note: 'uint32_tiff' has been explicitly marked deprecated here - typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; - ^ - /usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED' - #define TIFF_GCC_DEPRECATED __attribute__((deprecated)) - ^ - tiffread.c:63:9: warning: 'uint32_tiff' is deprecated [-Wdeprecated-declarations] - uint32 imagewidth; - ^ - tiffread.c:40:16: note: expanded from macro 'uint32' - #define uint32 uint32_tiff - ^ - /usr/local/include/tiff.h:84:45: note: 'uint32_tiff' has been explicitly marked deprecated here - typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; - ^ - /usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED' - #define TIFF_GCC_DEPRECATED __attribute__((deprecated)) - ^ - tiffread.c:64:9: warning: 'uint16_tiff' is deprecated [-Wdeprecated-declarations] - uint16 imagesample; - ^ - tiffread.c:38:16: note: expanded from macro 'uint16' - #define uint16 uint16_tiff - ^ - /usr/local/include/tiff.h:81:45: note: 'uint16_tiff' has been explicitly marked deprecated here - typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; - ^ - /usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED' - #define TIFF_GCC_DEPRECATED __attribute__((deprecated)) - ^ - tiffread.c:65:9: warning: 'uint16_tiff' is deprecated [-Wdeprecated-declarations] - uint16 imagebits; - ^ - tiffread.c:38:16: note: expanded from macro 'uint16' - #define uint16 uint16_tiff - ^ - /usr/local/include/tiff.h:81:45: note: 'uint16_tiff' has been explicitly marked deprecated here - typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; - ^ - /usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED' - #define TIFF_GCC_DEPRECATED __attribute__((deprecated)) - ^ - tiffread.c:68:9: warning: 'uint16_tiff' is deprecated [-Wdeprecated-declarations] - uint16 runit; - ^ - tiffread.c:38:16: note: expanded from macro 'uint16' - #define uint16 uint16_tiff - ^ - /usr/local/include/tiff.h:81:45: note: 'uint16_tiff' has been explicitly marked deprecated here - typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; - ^ - /usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED' - #define TIFF_GCC_DEPRECATED __attribute__((deprecated)) - ^ - tiffread.c:70:9: warning: 'uint16_tiff' is deprecated [-Wdeprecated-declarations] - uint16 photometric; - ^ - tiffread.c:38:16: note: expanded from macro 'uint16' - #define uint16 uint16_tiff - ^ - /usr/local/include/tiff.h:81:45: note: 'uint16_tiff' has been explicitly marked deprecated here - typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; - ^ - /usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED' - #define TIFF_GCC_DEPRECATED __attribute__((deprecated)) - ^ - tiffread.c:87:17: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("Sorry, tiff rgb file must be 24bit-color"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:123:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - tiffread.c:92:17: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("Sorry, tiff cmyk file must be 32bit-color"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:127:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - tiffread.c:99:13: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("Sorry, unsupported tiff format"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:131:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - tiffread.c:108:20: warning: "copy_double" is deprecated: use "caml_copy_double" instead [-W#pragma-messages] - r[2] = copy_double( xres ); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:131:21: note: expanded from macro 'copy_double' - #define copy_double CAML_DEPRECATED("copy_double", "caml_copy_double") caml_copy_double - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:135:6: note: expanded from here - GCC warning "\"copy_double\" is deprecated: use \"caml_copy_double\" instead" - ^ - tiffread.c:110:20: warning: "copy_double" is deprecated: use "caml_copy_double" instead [-W#pragma-messages] - r[2] = copy_double ( -1.0 ); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:131:21: note: expanded from macro 'copy_double' - #define copy_double CAML_DEPRECATED("copy_double", "caml_copy_double") caml_copy_double - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:139:6: note: expanded from here - GCC warning "\"copy_double\" is deprecated: use \"caml_copy_double\" instead" - ^ - tiffread.c:113:16: warning: call to undeclared function 'Val_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - r[4] = Val_ptr(tif); - ^ - tiffread.c:114:15: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] - res = alloc_small(5,0); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:47:21: note: expanded from macro 'alloc_small' - #define alloc_small CAML_DEPRECATED("alloc_small", "caml_alloc_small") caml_alloc_small - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:143:6: note: expanded from here - GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" - ^ - tiffread.c:119:9: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("failed to open tiff file"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:148:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - tiffread.c:48:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - value open_tiff_file_for_read( name ) - ^ - tiffread.c:130:19: warning: call to undeclared function 'Ptr_val'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - TIFF *tiffh = Ptr_val(vtiffh); - ^ - tiffread.c:130:11: error: incompatible integer to pointer conversion initializing 'TIFF *' (aka 'struct tiff *') with an expression of type 'int' [-Wint-conversion] - TIFF *tiffh = Ptr_val(vtiffh); - ^ ~~~~~~~~~~~~~~~ - tiffread.c:123:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - value read_tiff_scanline( vtiffh, buf, row ) - ^ - tiffread.c:141:19: warning: call to undeclared function 'Ptr_val'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - TIFF *tiffh = Ptr_val(vtiffh); - ^ - tiffread.c:141:11: error: incompatible integer to pointer conversion initializing 'TIFF *' (aka 'struct tiff *') with an expression of type 'int' [-Wint-conversion] - TIFF *tiffh = Ptr_val(vtiffh); - ^ ~~~~~~~~~~~~~~~ - tiffread.c:136:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - value close_tiff_file( vtiffh ) - ^ - 29 warnings and 2 errors generated. - (cd _build/default/jpeg && /usr/bin/cc -I/usr/local/include -g -I /home/opam/.opam/4.14.1/lib/ocaml -I ../core -o jpegread.o -c jpegread.c) - In file included from jpegread.c:22: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:46:9: warning: 'alloc' macro redefined [-Wmacro-redefined] - #define alloc CAML_DEPRECATED("alloc", "caml_alloc") caml_alloc /*SP*/ - ^ - ./compat.h:9:9: note: previous definition is here - #define alloc(a,b) caml_alloc(a,b) - ^ - In file included from jpegread.c:22: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:47:9: warning: 'alloc_small' macro redefined [-Wmacro-redefined] - #define alloc_small CAML_DEPRECATED("alloc_small", "caml_alloc_small") caml_alloc_small - ^ - ./compat.h:2:9: note: previous definition is here - #define alloc_small(a,b) caml_alloc_small(a,b) - ^ - In file included from jpegread.c:22: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:48:9: warning: 'alloc_tuple' macro redefined [-Wmacro-redefined] - #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple - ^ - ./compat.h:4:9: note: previous definition is here - #define alloc_tuple(a) caml_alloc_tuple(a) - ^ - In file included from jpegread.c:22: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:49:9: warning: 'alloc_string' macro redefined [-Wmacro-redefined] - #define alloc_string CAML_DEPRECATED("alloc_string", "caml_alloc_string") caml_alloc_string - ^ - ./compat.h:7:9: note: previous definition is here - #define alloc_string(a) caml_alloc_string(a) - ^ - In file included from jpegread.c:22: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:51:9: warning: 'copy_string' macro redefined [-Wmacro-redefined] - #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string - ^ - ./compat.h:10:9: note: previous definition is here - #define copy_string(a) caml_copy_string(a) - ^ - In file included from jpegread.c:22: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:9: warning: 'failwith' macro redefined [-Wmacro-redefined] - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - ./compat.h:1:9: note: previous definition is here - #define failwith(s) caml_failwith(s) - ^ - In file included from jpegread.c:22: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:131:9: warning: 'copy_double' macro redefined [-Wmacro-redefined] - #define copy_double CAML_DEPRECATED("copy_double", "caml_copy_double") caml_copy_double - ^ - ./compat.h:8:9: note: previous definition is here - #define copy_double(a) caml_copy_double(a) - ^ - In file included from jpegread.c:22: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:231:9: warning: 'stat_alloc' macro redefined [-Wmacro-redefined] - #define stat_alloc CAML_DEPRECATED("stat_alloc", "caml_stat_alloc") caml_stat_alloc - ^ - ./compat.h:5:9: note: previous definition is here - #define stat_alloc(a) caml_stat_alloc(a) - ^ - In file included from jpegread.c:22: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:232:9: warning: 'stat_free' macro redefined [-Wmacro-redefined] - #define stat_free CAML_DEPRECATED("stat_free", "caml_stat_free") caml_stat_free - ^ - ./compat.h:6:9: note: previous definition is here - #define stat_free(a) caml_stat_free(a) - ^ - In file included from jpegread.c:22: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:289:9: warning: 'string_length' macro redefined [-Wmacro-redefined] - #define string_length CAML_DEPRECATED("string_length", "caml_string_length") caml_string_length - ^ - ./compat.h:3:9: note: previous definition is here - #define string_length(a) caml_string_length(a) - ^ - In file included from jpegread.c:40: - /usr/local/include/jpeglib.h:884:11: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] - void *(*alloc_small) (j_common_ptr cinfo, int pool_id, size_t sizeofobject); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:47:21: note: expanded from macro 'alloc_small' - #define alloc_small CAML_DEPRECATED("alloc_small", "caml_alloc_small") caml_alloc_small - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:90:6: note: expanded from here - GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" - ^ - jpegread.c:85:48: warning: call to undeclared function 'Ptr_val'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - cinfop = (struct jpeg_decompress_struct *) Ptr_val(Field ( jpegh, 0 )); - ^ - jpegread.c:85:14: warning: cast to 'struct jpeg_decompress_struct *' from smaller integer type 'int' [-Wint-to-pointer-cast] - cinfop = (struct jpeg_decompress_struct *) Ptr_val(Field ( jpegh, 0 )); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - jpegread.c:78:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - CAMLprim value jpeg_set_scale_denom( jpegh, denom ) - ^ - jpegread.c:156:9: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("failed to open jpeg file"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:152:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - jpegread.c:183:9: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith(jpg_error_message); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:156:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - jpegread.c:210:25: warning: call to undeclared function 'Val_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - Store_field(hdl, 0, Val_ptr(cinfop)); - ^ - jpegread.c:211:25: warning: call to undeclared function 'Val_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - Store_field(hdl, 1, Val_ptr(infile)); - ^ - jpegread.c:212:25: warning: call to undeclared function 'Val_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - Store_field(hdl, 2, Val_ptr(myerrp)); - ^ - jpegread.c:133:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - CAMLprim value open_jpeg_file_for_read( name ) - ^ - jpegread.c:237:46: warning: call to undeclared function 'Ptr_val'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - cinfop = (struct jpeg_decompress_struct *) Ptr_val(Field( jpegh, 0 )); - ^ - jpegread.c:237:12: warning: cast to 'struct jpeg_decompress_struct *' from smaller integer type 'int' [-Wint-to-pointer-cast] - cinfop = (struct jpeg_decompress_struct *) Ptr_val(Field( jpegh, 0 )); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - jpegread.c:238:12: warning: cast to 'FILE *' (aka 'struct __sFILE *') from smaller integer type 'int' [-Wint-to-pointer-cast] - infile = (FILE *) Ptr_val(Field( jpegh, 1 )); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - jpegread.c:239:12: warning: cast to 'struct my_error_mgr *' from smaller integer type 'int' [-Wint-to-pointer-cast] - myerrp = (struct my_error_mgr *) Ptr_val(Field( jpegh, 2 )); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - jpegread.c:226:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - CAMLprim value open_jpeg_file_for_read_start( jpegh ) - ^ - jpegread.c:289:46: warning: call to undeclared function 'Ptr_val'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - cinfop = (struct jpeg_decompress_struct *) Ptr_val(Field( jpegh, 0 )); - ^ - jpegread.c:289:12: warning: cast to 'struct jpeg_decompress_struct *' from smaller integer type 'int' [-Wint-to-pointer-cast] - cinfop = (struct jpeg_decompress_struct *) Ptr_val(Field( jpegh, 0 )); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - jpegread.c:282:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - CAMLprim value read_jpeg_scanline( jpegh, buf, offset ) - ^ - jpegread.c:305:46: warning: call to undeclared function 'Ptr_val'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - cinfop = (struct jpeg_decompress_struct *) Ptr_val(Field( jpegh, 0 )); - ^ - jpegread.c:305:12: warning: cast to 'struct jpeg_decompress_struct *' from smaller integer type 'int' [-Wint-to-pointer-cast] - cinfop = (struct jpeg_decompress_struct *) Ptr_val(Field( jpegh, 0 )); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - jpegread.c:326:46: warning: call to undeclared function 'Ptr_val'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - cinfop = (struct jpeg_decompress_struct *) Ptr_val(Field( jpegh, 0 )); - ^ - jpegread.c:326:12: warning: cast to 'struct jpeg_decompress_struct *' from smaller integer type 'int' [-Wint-to-pointer-cast] - cinfop = (struct jpeg_decompress_struct *) Ptr_val(Field( jpegh, 0 )); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - jpegread.c:327:12: warning: cast to 'FILE *' (aka 'struct __sFILE *') from smaller integer type 'int' [-Wint-to-pointer-cast] - infile = (FILE *) Ptr_val(Field( jpegh, 1 )); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - jpegread.c:328:12: warning: cast to 'struct my_error_mgr *' from smaller integer type 'int' [-Wint-to-pointer-cast] - myerrp = (struct my_error_mgr *) Ptr_val(Field( jpegh, 2 )); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - jpegread.c:315:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - CAMLprim value close_jpeg_file_for_read( jpegh ) - ^ - 35 warnings generated. - (cd _build/default/png && /usr/bin/cc -I/usr/local/include/libpng16 -g -I /home/opam/.opam/4.14.1/lib/ocaml -I ../core -o pngwrite.o -c pngwrite.c) - In file included from pngwrite.c:24: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:46:9: warning: 'alloc' macro redefined [-Wmacro-redefined] - #define alloc CAML_DEPRECATED("alloc", "caml_alloc") caml_alloc /*SP*/ - ^ - ./compat.h:9:9: note: previous definition is here - #define alloc(a,b) caml_alloc(a,b) - ^ - In file included from pngwrite.c:24: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:47:9: warning: 'alloc_small' macro redefined [-Wmacro-redefined] - #define alloc_small CAML_DEPRECATED("alloc_small", "caml_alloc_small") caml_alloc_small - ^ - ./compat.h:2:9: note: previous definition is here - #define alloc_small(a,b) caml_alloc_small(a,b) - ^ - In file included from pngwrite.c:24: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:48:9: warning: 'alloc_tuple' macro redefined [-Wmacro-redefined] - #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple - ^ - ./compat.h:4:9: note: previous definition is here - #define alloc_tuple(a) caml_alloc_tuple(a) - ^ - In file included from pngwrite.c:24: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:49:9: warning: 'alloc_string' macro redefined [-Wmacro-redefined] - #define alloc_string CAML_DEPRECATED("alloc_string", "caml_alloc_string") caml_alloc_string - ^ - ./compat.h:7:9: note: previous definition is here - #define alloc_string(a) caml_alloc_string(a) - ^ - In file included from pngwrite.c:24: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:51:9: warning: 'copy_string' macro redefined [-Wmacro-redefined] - #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string - ^ - ./compat.h:10:9: note: previous definition is here - #define copy_string(a) caml_copy_string(a) - ^ - In file included from pngwrite.c:24: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:9: warning: 'failwith' macro redefined [-Wmacro-redefined] - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - ./compat.h:1:9: note: previous definition is here - #define failwith(s) caml_failwith(s) - ^ - In file included from pngwrite.c:24: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:131:9: warning: 'copy_double' macro redefined [-Wmacro-redefined] - #define copy_double CAML_DEPRECATED("copy_double", "caml_copy_double") caml_copy_double - ^ - ./compat.h:8:9: note: previous definition is here - #define copy_double(a) caml_copy_double(a) - ^ - In file included from pngwrite.c:24: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:231:9: warning: 'stat_alloc' macro redefined [-Wmacro-redefined] - #define stat_alloc CAML_DEPRECATED("stat_alloc", "caml_stat_alloc") caml_stat_alloc - ^ - ./compat.h:5:9: note: previous definition is here - #define stat_alloc(a) caml_stat_alloc(a) - ^ - In file included from pngwrite.c:24: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:232:9: warning: 'stat_free' macro redefined [-Wmacro-redefined] - #define stat_free CAML_DEPRECATED("stat_free", "caml_stat_free") caml_stat_free - ^ - ./compat.h:6:9: note: previous definition is here - #define stat_free(a) caml_stat_free(a) - ^ - In file included from pngwrite.c:24: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:289:9: warning: 'string_length' macro redefined [-Wmacro-redefined] - #define string_length CAML_DEPRECATED("string_length", "caml_string_length") caml_string_length - ^ - ./compat.h:3:9: note: previous definition is here - #define string_length(a) caml_string_length(a) - ^ - pngwrite.c:50:5: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("png file open failed"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:109:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - pngwrite.c:56:5: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("png_create_write_struct"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:113:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - pngwrite.c:62:5: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("png_create_info_struct"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:117:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - pngwrite.c:71:5: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("png write error"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:121:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - pngwrite.c:98:32: warning: "stat_alloc" is deprecated: use "caml_stat_alloc" instead [-W#pragma-messages] - row_pointers = (png_bytep*)stat_alloc(sizeof(png_bytep) * h); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:231:20: note: expanded from macro 'stat_alloc' - #define stat_alloc CAML_DEPRECATED("stat_alloc", "caml_stat_alloc") caml_stat_alloc - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:125:6: note: expanded from here - GCC warning "\"stat_alloc\" is deprecated: use \"caml_stat_alloc\" instead" - ^ - pngwrite.c:109:5: warning: "stat_free" is deprecated: use "caml_stat_free" instead [-W#pragma-messages] - stat_free((void*)row_pointers); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:232:19: note: expanded from macro 'stat_free' - #define stat_free CAML_DEPRECATED("stat_free", "caml_stat_free") caml_stat_free - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:129:6: note: expanded from here - GCC warning "\"stat_free\" is deprecated: use \"caml_stat_free\" instead" - ^ - pngwrite.c:29:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - value write_png_file_rgb( name, buffer, width, height, with_alpha ) - ^ - pngwrite.c:159:5: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("png file open failed"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:148:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - pngwrite.c:165:5: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("png_create_write_struct"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:152:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - pngwrite.c:171:5: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("png_create_info_struct"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:156:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - pngwrite.c:180:5: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("png write error"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:160:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - pngwrite.c:208:7: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("png write error (null colormap)"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:4:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - pngwrite.c:222:32: warning: "stat_alloc" is deprecated: use "caml_stat_alloc" instead [-W#pragma-messages] - row_pointers = (png_bytep*)stat_alloc(sizeof(png_bytep) * h); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:231:20: note: expanded from macro 'stat_alloc' - #define stat_alloc CAML_DEPRECATED("stat_alloc", "caml_stat_alloc") caml_stat_alloc - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:8:6: note: expanded from here - GCC warning "\"stat_alloc\" is deprecated: use \"caml_stat_alloc\" instead" - ^ - pngwrite.c:233:7: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("png write error (illegal byte/pixel)"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:12:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - pngwrite.c:240:5: warning: "stat_free" is deprecated: use "caml_stat_free" instead [-W#pragma-messages] - stat_free((void*)row_pointers); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:232:19: note: expanded from macro 'stat_free' - #define stat_free CAML_DEPRECATED("stat_free", "caml_stat_free") caml_stat_free - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:16:6: note: expanded from here - GCC warning "\"stat_free\" is deprecated: use \"caml_stat_free\" instead" - ^ - pngwrite.c:140:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - value write_png_file_index( name, buffer, cmap, width, height ) - ^ - 26 warnings generated. - (cd _build/default/png && /usr/bin/cc -I/usr/local/include/libpng16 -g -I /home/opam/.opam/4.14.1/lib/ocaml -I ../core -o pngread.o -c pngread.c) - In file included from pngread.c:26: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:46:9: warning: 'alloc' macro redefined [-Wmacro-redefined] - #define alloc CAML_DEPRECATED("alloc", "caml_alloc") caml_alloc /*SP*/ - ^ - ./compat.h:9:9: note: previous definition is here - #define alloc(a,b) caml_alloc(a,b) - ^ - In file included from pngread.c:26: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:47:9: warning: 'alloc_small' macro redefined [-Wmacro-redefined] - #define alloc_small CAML_DEPRECATED("alloc_small", "caml_alloc_small") caml_alloc_small - ^ - ./compat.h:2:9: note: previous definition is here - #define alloc_small(a,b) caml_alloc_small(a,b) - ^ - In file included from pngread.c:26: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:48:9: warning: 'alloc_tuple' macro redefined [-Wmacro-redefined] - #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple - ^ - ./compat.h:4:9: note: previous definition is here - #define alloc_tuple(a) caml_alloc_tuple(a) - ^ - In file included from pngread.c:26: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:49:9: warning: 'alloc_string' macro redefined [-Wmacro-redefined] - #define alloc_string CAML_DEPRECATED("alloc_string", "caml_alloc_string") caml_alloc_string - ^ - ./compat.h:7:9: note: previous definition is here - #define alloc_string(a) caml_alloc_string(a) - ^ - In file included from pngread.c:26: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:51:9: warning: 'copy_string' macro redefined [-Wmacro-redefined] - #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string - ^ - ./compat.h:10:9: note: previous definition is here - #define copy_string(a) caml_copy_string(a) - ^ - In file included from pngread.c:26: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:9: warning: 'failwith' macro redefined [-Wmacro-redefined] - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - ./compat.h:1:9: note: previous definition is here - #define failwith(s) caml_failwith(s) - ^ - In file included from pngread.c:26: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:131:9: warning: 'copy_double' macro redefined [-Wmacro-redefined] - #define copy_double CAML_DEPRECATED("copy_double", "caml_copy_double") caml_copy_double - ^ - ./compat.h:8:9: note: previous definition is here - #define copy_double(a) caml_copy_double(a) - ^ - In file included from pngread.c:26: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:231:9: warning: 'stat_alloc' macro redefined [-Wmacro-redefined] - #define stat_alloc CAML_DEPRECATED("stat_alloc", "caml_stat_alloc") caml_stat_alloc - ^ - ./compat.h:5:9: note: previous definition is here - #define stat_alloc(a) caml_stat_alloc(a) - ^ - In file included from pngread.c:26: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:232:9: warning: 'stat_free' macro redefined [-Wmacro-redefined] - #define stat_free CAML_DEPRECATED("stat_free", "caml_stat_free") caml_stat_free - ^ - ./compat.h:6:9: note: previous definition is here - #define stat_free(a) caml_stat_free(a) - ^ - In file included from pngread.c:26: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:289:9: warning: 'string_length' macro redefined [-Wmacro-redefined] - #define string_length CAML_DEPRECATED("string_length", "caml_string_length") caml_string_length - ^ - ./compat.h:3:9: note: previous definition is here - #define string_length(a) caml_string_length(a) - ^ - pngread.c:54:9: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("png file open failed"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:116:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - pngread.c:63:9: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("it is not a png file."); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:120:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - pngread.c:70:9: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("not enough memory"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:124:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - pngread.c:79:9: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("png read error"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:128:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - pngread.c:114:9: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("unsupported color type"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:132:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - pngread.c:123:9: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("png error: image contains oversized or bogus width and height"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:136:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - pngread.c:131:37: warning: "stat_alloc" is deprecated: use "caml_stat_alloc" instead [-W#pragma-messages] - row_pointers = (png_bytep*) stat_alloc(sizeof(png_bytep) * height); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:231:20: note: expanded from macro 'stat_alloc' - #define stat_alloc CAML_DEPRECATED("stat_alloc", "caml_stat_alloc") caml_stat_alloc - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:140:6: note: expanded from here - GCC warning "\"stat_alloc\" is deprecated: use \"caml_stat_alloc\" instead" - ^ - pngread.c:132:15: warning: "stat_alloc" is deprecated: use "caml_stat_alloc" instead [-W#pragma-messages] - buf = stat_alloc( rowbytes * height ); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:231:20: note: expanded from macro 'stat_alloc' - #define stat_alloc CAML_DEPRECATED("stat_alloc", "caml_stat_alloc") caml_stat_alloc - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:144:6: note: expanded from here - GCC warning "\"stat_alloc\" is deprecated: use \"caml_stat_alloc\" instead" - ^ - pngread.c:145:13: warning: "stat_free" is deprecated: use "caml_stat_free" instead [-W#pragma-messages] - stat_free(row_pointers); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:232:19: note: expanded from macro 'stat_free' - #define stat_free CAML_DEPRECATED("stat_free", "caml_stat_free") caml_stat_free - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:148:6: note: expanded from here - GCC warning "\"stat_free\" is deprecated: use \"caml_stat_free\" instead" - ^ - pngread.c:146:13: warning: "stat_free" is deprecated: use "caml_stat_free" instead [-W#pragma-messages] - stat_free(buf); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:232:19: note: expanded from macro 'stat_free' - #define stat_free CAML_DEPRECATED("stat_free", "caml_stat_free") caml_stat_free - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:152:6: note: expanded from here - GCC warning "\"stat_free\" is deprecated: use \"caml_stat_free\" instead" - ^ - pngread.c:154:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] - r = alloc_tuple(height); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:48:21: note: expanded from macro 'alloc_tuple' - #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:3:6: note: expanded from here - GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" - ^ - pngread.c:160:15: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] - res = alloc_small(3,0); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:47:21: note: expanded from macro 'alloc_small' - #define alloc_small CAML_DEPRECATED("alloc_small", "caml_alloc_small") caml_alloc_small - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:7:6: note: expanded from here - GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" - ^ - pngread.c:168:9: warning: "stat_free" is deprecated: use "caml_stat_free" instead [-W#pragma-messages] - stat_free((void*)row_pointers); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:232:19: note: expanded from macro 'stat_free' - #define stat_free CAML_DEPRECATED("stat_free", "caml_stat_free") caml_stat_free - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:11:6: note: expanded from here - GCC warning "\"stat_free\" is deprecated: use \"caml_stat_free\" instead" - ^ - pngread.c:169:9: warning: "stat_free" is deprecated: use "caml_stat_free" instead [-W#pragma-messages] - stat_free(buf); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:232:19: note: expanded from macro 'stat_free' - #define stat_free CAML_DEPRECATED("stat_free", "caml_stat_free") caml_stat_free - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:15:6: note: expanded from here - GCC warning "\"stat_free\" is deprecated: use \"caml_stat_free\" instead" - ^ - pngread.c:37:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - value read_png_file_as_rgb24( name ) - ^ - pngread.c:187:11: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] - res = alloc_small(3,0); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:47:21: note: expanded from macro 'alloc_small' - #define alloc_small CAML_DEPRECATED("alloc_small", "caml_alloc_small") caml_alloc_small - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:44:6: note: expanded from here - GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" - ^ - pngread.c:200:16: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] - cmap = alloc_tuple( len ); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:48:21: note: expanded from macro 'alloc_tuple' - #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:59:6: note: expanded from here - GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" - ^ - pngread.c:228:9: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("png file open failed"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:86:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - pngread.c:237:9: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("it is not a png file."); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:90:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - pngread.c:244:9: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("not enough memory"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:94:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - pngread.c:253:9: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("png read error"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:98:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - pngread.c:304:15: warning: "stat_alloc" is deprecated: use "caml_stat_alloc" instead [-W#pragma-messages] - buf = stat_alloc(rowbytes * height); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:231:20: note: expanded from macro 'stat_alloc' - #define stat_alloc CAML_DEPRECATED("stat_alloc", "caml_stat_alloc") caml_stat_alloc - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:102:6: note: expanded from here - GCC warning "\"stat_alloc\" is deprecated: use \"caml_stat_alloc\" instead" - ^ - pngread.c:305:36: warning: "stat_alloc" is deprecated: use "caml_stat_alloc" instead [-W#pragma-messages] - row_pointers = (png_bytep*)stat_alloc(sizeof(png_bytep) * height); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:231:20: note: expanded from macro 'stat_alloc' - #define stat_alloc CAML_DEPRECATED("stat_alloc", "caml_stat_alloc") caml_stat_alloc - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:106:6: note: expanded from here - GCC warning "\"stat_alloc\" is deprecated: use \"caml_stat_alloc\" instead" - ^ - pngread.c:317:13: warning: "stat_free" is deprecated: use "caml_stat_free" instead [-W#pragma-messages] - stat_free((void*)row_pointers); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:232:19: note: expanded from macro 'stat_free' - #define stat_free CAML_DEPRECATED("stat_free", "caml_stat_free") caml_stat_free - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:110:6: note: expanded from here - GCC warning "\"stat_free\" is deprecated: use \"caml_stat_free\" instead" - ^ - pngread.c:318:13: warning: "stat_free" is deprecated: use "caml_stat_free" instead [-W#pragma-messages] - stat_free(buf); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:232:19: note: expanded from macro 'stat_free' - #define stat_free CAML_DEPRECATED("stat_free", "caml_stat_free") caml_stat_free - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:2:6: note: expanded from here - GCC warning "\"stat_free\" is deprecated: use \"caml_stat_free\" instead" - ^ - pngread.c:319:13: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("png short file"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:6:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - pngread.c:324:15: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] - res = alloc_tuple(3); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:48:21: note: expanded from macro 'alloc_tuple' - #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:10:6: note: expanded from here - GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" - ^ - pngread.c:354:17: warning: "stat_free" is deprecated: use "caml_stat_free" instead [-W#pragma-messages] - stat_free(buf); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:232:19: note: expanded from macro 'stat_free' - #define stat_free CAML_DEPRECATED("stat_free", "caml_stat_free") caml_stat_free - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:14:6: note: expanded from here - GCC warning "\"stat_free\" is deprecated: use \"caml_stat_free\" instead" - ^ - pngread.c:355:17: warning: "stat_free" is deprecated: use "caml_stat_free" instead [-W#pragma-messages] - stat_free((void*)row_pointers); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:232:19: note: expanded from macro 'stat_free' - #define stat_free CAML_DEPRECATED("stat_free", "caml_stat_free") caml_stat_free - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:18:6: note: expanded from here - GCC warning "\"stat_free\" is deprecated: use \"caml_stat_free\" instead" - ^ - pngread.c:356:17: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith(mesg); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:22:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - pngread.c:359:18: warning: "alloc" is deprecated: use "caml_alloc" instead [-W#pragma-messages] - r1 = alloc( 2, tag ); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:46:15: note: expanded from macro 'alloc' - #define alloc CAML_DEPRECATED("alloc", "caml_alloc") caml_alloc /*SP*/ - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:26:6: note: expanded from here - GCC warning "\"alloc\" is deprecated: use \"caml_alloc\" instead" - ^ - pngread.c:360:18: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] - r2 = alloc_tuple(height); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:48:21: note: expanded from macro 'alloc_tuple' - #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:30:6: note: expanded from here - GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" - ^ - pngread.c:382:18: warning: "alloc" is deprecated: use "caml_alloc" instead [-W#pragma-messages] - r1 = alloc( 1, - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:46:15: note: expanded from macro 'alloc' - #define alloc CAML_DEPRECATED("alloc", "caml_alloc") caml_alloc /*SP*/ - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:34:6: note: expanded from here - GCC warning "\"alloc\" is deprecated: use \"caml_alloc\" instead" - ^ - pngread.c:385:18: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] - r2 = alloc_tuple( height ); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:48:21: note: expanded from macro 'alloc_tuple' - #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:38:6: note: expanded from here - GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" - ^ - pngread.c:400:13: warning: "stat_free" is deprecated: use "caml_stat_free" instead [-W#pragma-messages] - stat_free(buf); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:232:19: note: expanded from macro 'stat_free' - #define stat_free CAML_DEPRECATED("stat_free", "caml_stat_free") caml_stat_free - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:42:6: note: expanded from here - GCC warning "\"stat_free\" is deprecated: use \"caml_stat_free\" instead" - ^ - pngread.c:401:13: warning: "stat_free" is deprecated: use "caml_stat_free" instead [-W#pragma-messages] - stat_free((void*)row_pointers); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:232:19: note: expanded from macro 'stat_free' - #define stat_free CAML_DEPRECATED("stat_free", "caml_stat_free") caml_stat_free - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:46:6: note: expanded from here - GCC warning "\"stat_free\" is deprecated: use \"caml_stat_free\" instead" - ^ - pngread.c:402:13: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith(mesg); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:50:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - pngread.c:410:9: warning: "stat_free" is deprecated: use "caml_stat_free" instead [-W#pragma-messages] - stat_free(buf); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:232:19: note: expanded from macro 'stat_free' - #define stat_free CAML_DEPRECATED("stat_free", "caml_stat_free") caml_stat_free - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:54:6: note: expanded from here - GCC warning "\"stat_free\" is deprecated: use \"caml_stat_free\" instead" - ^ - pngread.c:411:9: warning: "stat_free" is deprecated: use "caml_stat_free" instead [-W#pragma-messages] - stat_free((void*)row_pointers); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:232:19: note: expanded from macro 'stat_free' - #define stat_free CAML_DEPRECATED("stat_free", "caml_stat_free") caml_stat_free - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:58:6: note: expanded from here - GCC warning "\"stat_free\" is deprecated: use \"caml_stat_free\" instead" - ^ - pngread.c:211:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - value read_png_file( name ) - ^ - 50 warnings generated. - File "jpeg/dune", lines 1-13, characters 0-322: - 1 | (library - 2 | (name camlimages_jpeg) - 3 | (public_name camlimages.jpeg) - .... - 11 | (:include ../config/jpeg_c_flags.sexp))) - 12 | (c_library_flags - 13 | (:include ../config/jpeg_c_library_flags.sexp))) - (cd _build/default && /home/opam/.opam/4.14.1/bin/ocamlmklib.opt -g -o jpeg/camlimages_jpeg_stubs jpeg/jpegwrite.o jpeg/jpegread.o -ldopt -L/usr/local/lib -ldopt -ljpeg) - ld: error: relocation R_X86_64_32S cannot be used against symbol 'Caml_state'; recompile with -fPIC - >>> defined in jpeg/jpegwrite.o - >>> referenced by jpegwrite.c:65 - >>> jpeg/jpegwrite.o:(open_jpeg_file_for_write_colorspace) - - ld: error: relocation R_X86_64_32S cannot be used against symbol 'Caml_state'; recompile with -fPIC - >>> defined in jpeg/jpegwrite.o - >>> referenced by jpegwrite.c:66 - >>> jpeg/jpegwrite.o:(open_jpeg_file_for_write_colorspace) - - ld: error: relocation R_X86_64_32S cannot be used against symbol 'Caml_state'; recompile with -fPIC - >>> defined in jpeg/jpegwrite.o - >>> referenced by jpegwrite.c:66 - >>> jpeg/jpegwrite.o:(open_jpeg_file_for_write_colorspace) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in jpeg/jpegwrite.o - >>> referenced by jpegwrite.c:82 - >>> jpeg/jpegwrite.o:(open_jpeg_file_for_write_colorspace) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in jpeg/jpegwrite.o - >>> referenced by jpegwrite.c:83 - >>> jpeg/jpegwrite.o:(open_jpeg_file_for_write_colorspace) - - ld: error: relocation R_X86_64_64 cannot be used against symbol 'my_error_exit'; recompile with -fPIC - >>> defined in jpeg/jpegread.o - >>> referenced by jpegwrite.c:89 - >>> jpeg/jpegwrite.o:(open_jpeg_file_for_write_colorspace) - - ld: error: relocation R_X86_64_64 cannot be used against symbol 'jpg_error_message'; recompile with -fPIC - >>> defined in jpeg/jpegread.o - >>> referenced by jpegwrite.c:98 - >>> jpeg/jpegwrite.o:(open_jpeg_file_for_write_colorspace) - - ld: error: relocation R_X86_64_32S cannot be used against symbol 'Caml_state'; recompile with -fPIC - >>> defined in jpeg/jpegwrite.o - >>> referenced by jpegwrite.c:121 - >>> jpeg/jpegwrite.o:(open_jpeg_file_for_write_colorspace) - - ld: error: relocation R_X86_64_64 cannot be used against symbol 'jpg_error_message'; recompile with -fPIC - >>> defined in jpeg/jpegread.o - >>> referenced by jpegread.c:72 - >>> jpeg/jpegread.o:(my_error_exit) - - ld: error: relocation R_X86_64_32S cannot be used against symbol 'Caml_state'; recompile with -fPIC - >>> defined in jpeg/jpegwrite.o - >>> referenced by jpegread.c:82 - >>> jpeg/jpegread.o:(jpeg_set_scale_denom) - - ld: error: relocation R_X86_64_32S cannot be used against symbol 'Caml_state'; recompile with -fPIC - >>> defined in jpeg/jpegwrite.o - >>> referenced by jpegread.c:82 - >>> jpeg/jpegread.o:(jpeg_set_scale_denom) - - ld: error: relocation R_X86_64_32S cannot be used against symbol 'Caml_state'; recompile with -fPIC - >>> defined in jpeg/jpegwrite.o - >>> referenced by jpegread.c:82 - >>> jpeg/jpegread.o:(jpeg_set_scale_denom) - - ld: error: relocation R_X86_64_32S cannot be used against symbol 'Caml_state'; recompile with -fPIC - >>> defined in jpeg/jpegwrite.o - >>> referenced by jpegread.c:88 - >>> jpeg/jpegread.o:(jpeg_set_scale_denom) - - ld: error: relocation R_X86_64_32S cannot be used against symbol 'Caml_state'; recompile with -fPIC - >>> defined in jpeg/jpegwrite.o - >>> referenced by jpegread.c:136 - >>> jpeg/jpegread.o:(open_jpeg_file_for_read) - - ld: error: relocation R_X86_64_32S cannot be used against symbol 'Caml_state'; recompile with -fPIC - >>> defined in jpeg/jpegwrite.o - >>> referenced by jpegread.c:136 - >>> jpeg/jpegread.o:(open_jpeg_file_for_read) - - ld: error: relocation R_X86_64_32S cannot be used against symbol 'Caml_state'; recompile with -fPIC - >>> defined in jpeg/jpegwrite.o - >>> referenced by jpegread.c:136 - >>> jpeg/jpegread.o:(open_jpeg_file_for_read) - - ld: error: relocation R_X86_64_32S cannot be used against symbol 'Caml_state'; recompile with -fPIC - >>> defined in jpeg/jpegwrite.o - >>> referenced by jpegread.c:137 - >>> jpeg/jpegread.o:(open_jpeg_file_for_read) - - ld: error: relocation R_X86_64_32S cannot be used against symbol 'Caml_state'; recompile with -fPIC - >>> defined in jpeg/jpegwrite.o - >>> referenced by jpegread.c:137 - >>> jpeg/jpegread.o:(open_jpeg_file_for_read) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in jpeg/jpegread.o - >>> referenced by jpegread.c:155 - >>> jpeg/jpegread.o:(open_jpeg_file_for_read) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in jpeg/jpegread.o - >>> referenced by jpegread.c:156 - >>> jpeg/jpegread.o:(open_jpeg_file_for_read) - - ld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors) - cc: error: linker command failed with exit code 1 (use -v to see invocation) - File "xpm/dune", lines 1-14, characters 0-322: - 1 | (library - 2 | (name camlimages_xpm) - 3 | (public_name camlimages.xpm) - .... - 12 | (:include ../config/xpm_c_flags.sexp))) - 13 | (c_library_flags - 14 | (:include ../config/xpm_c_library_flags.sexp))) - (cd _build/default && /home/opam/.opam/4.14.1/bin/ocamlmklib.opt -g -o xpm/camlimages_xpm_stubs xpm/xpmwrite.o xpm/xpmread.o -ldopt -L/usr/local/lib -ldopt -lXpm -ldopt -lX11) - ld: error: relocation R_X86_64_32S cannot be used against symbol 'Caml_state'; recompile with -fPIC - >>> defined in xpm/xpmread.o - >>> referenced by xpmread.c:32 - >>> xpm/xpmread.o:(read_xpm_file) - - ld: error: relocation R_X86_64_32S cannot be used against symbol 'Caml_state'; recompile with -fPIC - >>> defined in xpm/xpmread.o - >>> referenced by xpmread.c:32 - >>> xpm/xpmread.o:(read_xpm_file) - - ld: error: relocation R_X86_64_32S cannot be used against symbol 'Caml_state'; recompile with -fPIC - >>> defined in xpm/xpmread.o - >>> referenced by xpmread.c:32 - >>> xpm/xpmread.o:(read_xpm_file) - - ld: error: relocation R_X86_64_32S cannot be used against symbol 'Caml_state'; recompile with -fPIC - >>> defined in xpm/xpmread.o - >>> referenced by xpmread.c:33 - >>> xpm/xpmread.o:(read_xpm_file) - - ld: error: relocation R_X86_64_32S cannot be used against symbol 'Caml_state'; recompile with -fPIC - >>> defined in xpm/xpmread.o - >>> referenced by xpmread.c:33 - >>> xpm/xpmread.o:(read_xpm_file) - - ld: error: relocation R_X86_64_32S cannot be used against symbol '__stderrp'; recompile with -fPIC - >>> defined in /lib/libc.so.7 - >>> referenced by xpmread.c:64 - >>> xpm/xpmread.o:(read_xpm_file) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in xpm/xpmread.o - >>> referenced by xpmread.c:64 - >>> xpm/xpmread.o:(read_xpm_file) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in xpm/xpmread.o - >>> referenced by xpmread.c:65 - >>> xpm/xpmread.o:(read_xpm_file) - - ld: error: relocation R_X86_64_32S cannot be used against symbol 'Caml_state'; recompile with -fPIC - >>> defined in xpm/xpmread.o - >>> referenced by xpmread.c:90 - >>> xpm/xpmread.o:(read_xpm_file) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in xpm/xpmread.o - >>> referenced by xpmread.c:92 - >>> xpm/xpmread.o:(read_xpm_file) - cc: error: linker command failed with exit code 1 (use -v to see invocation) - File "png/dune", lines 1-14, characters 0-332: - 1 | (library - 2 | (name camlimages_png) - 3 | (public_name camlimages.png) - .... - 12 | (:include ../config/png_c_flags.sexp))) - 13 | (c_library_flags - 14 | (:include ../config/png_c_library_flags.sexp))) - (cd _build/default && /home/opam/.opam/4.14.1/bin/ocamlmklib.opt -g -o png/camlimages_png_stubs png/pngwrite.o png/pngread.o -ldopt -L/usr/local/lib -ldopt -lpng16) - ld: error: relocation R_X86_64_32S cannot be used against symbol 'Caml_state'; recompile with -fPIC - >>> defined in png/pngwrite.o - >>> referenced by pngwrite.c:36 - >>> png/pngwrite.o:(write_png_file_rgb) - - ld: error: relocation R_X86_64_32S cannot be used against symbol 'Caml_state'; recompile with -fPIC - >>> defined in png/pngwrite.o - >>> referenced by pngwrite.c:36 - >>> png/pngwrite.o:(write_png_file_rgb) - - ld: error: relocation R_X86_64_32S cannot be used against symbol 'Caml_state'; recompile with -fPIC - >>> defined in png/pngwrite.o - >>> referenced by pngwrite.c:36 - >>> png/pngwrite.o:(write_png_file_rgb) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in png/pngwrite.o - >>> referenced by pngwrite.c:49 - >>> png/pngwrite.o:(write_png_file_rgb) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in png/pngwrite.o - >>> referenced by pngwrite.c:50 - >>> png/pngwrite.o:(write_png_file_rgb) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in png/pngwrite.o - >>> referenced by pngwrite.c:53 - >>> png/pngwrite.o:(write_png_file_rgb) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in png/pngwrite.o - >>> referenced by pngwrite.c:56 - >>> png/pngwrite.o:(write_png_file_rgb) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in png/pngwrite.o - >>> referenced by pngwrite.c:62 - >>> png/pngwrite.o:(write_png_file_rgb) - - ld: error: relocation R_X86_64_32S cannot be used against symbol 'Caml_state'; recompile with -fPIC - >>> defined in png/pngwrite.o - >>> referenced by pngread.c:40 - >>> png/pngread.o:(read_png_file_as_rgb24) - - ld: error: relocation R_X86_64_64 cannot be used against symbol 'longjmp'; recompile with -fPIC - >>> defined in /lib/libc.so.7 - >>> referenced by pngwrite.c:66 - >>> png/pngwrite.o:(write_png_file_rgb) - - ld: error: relocation R_X86_64_32S cannot be used against symbol 'Caml_state'; recompile with -fPIC - >>> defined in png/pngwrite.o - >>> referenced by pngread.c:40 - >>> png/pngread.o:(read_png_file_as_rgb24) - - ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC - >>> defined in png/pngwrite.o - >>> referenced by pngwrite.c:71 - >>> png/pngwrite.o:(write_png_file_rgb) - - ld: error: relocation R_X86_64_32S cannot be used against symbol 'Caml_state'; recompile with -fPIC - >>> defined in png/pngwrite.o - >>> referenced by pngread.c:40 - >>> png/pngread.o:(read_png_file_as_rgb24) - - ld: error: relocation R_X86_64_32S cannot be used against symbol 'Caml_state'; recompile with -fPIC - >>> defined in png/pngwrite.o - >>> referenced by pngwrite.c:117 - >>> png/pngwrite.o:(write_png_file_rgb) - - ld: error: relocation R_X86_64_32S cannot be used against symbol 'Caml_state'; recompile with -fPIC - >>> defined in png/pngwrite.o - >>> referenced by pngread.c:41 - >>> png/pngread.o:(read_png_file_as_rgb24) - - ld: error: relocation R_X86_64_32S cannot be used against symbol 'caml_atom_table'; recompile with -fPIC - >>> defined in png/pngwrite.o - >>> referenced by pngwrite.c:124 - >>> png/pngwrite.o:(PngPalette_val) - - ld: error: relocation R_X86_64_32S cannot be used against symbol 'Caml_state'; recompile with -fPIC - >>> defined in png/pngwrite.o - >>> referenced by pngread.c:41 - >>> png/pngread.o:(read_png_file_as_rgb24) - - ld: error: relocation R_X86_64_32S cannot be used against symbol 'Caml_state'; recompile with -fPIC - >>> defined in png/pngwrite.o - >>> referenced by pngwrite.c:147 - >>> png/pngwrite.o:(write_png_file_index) - - ld: error: relocation R_X86_64_32S cannot be used against symbol 'Caml_state'; recompile with -fPIC - >>> defined in png/pngwrite.o - >>> referenced by pngwrite.c:147 - >>> png/pngwrite.o:(write_png_file_index) - - ld: error: relocation R_X86_64_32S cannot be used against symbol 'Caml_state'; recompile with -fPIC - >>> defined in png/pngwrite.o - >>> referenced by pngwrite.c:147 - >>> png/pngwrite.o:(write_png_file_index) - - ld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors) - cc: error: linker command failed with exit code 1 (use -v to see invocation) - File "freetype/dune", line 8, characters 10-16: - 8 | (names ftintf) - ^^^^^^ - (cd _build/default/freetype && /usr/bin/cc -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include -g -I /home/opam/.opam/4.14.1/lib/ocaml -I ../core -o ftintf.o -c ftintf.c) - In file included from ftintf.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:46:9: warning: 'alloc' macro redefined [-Wmacro-redefined] - #define alloc CAML_DEPRECATED("alloc", "caml_alloc") caml_alloc /*SP*/ - ^ - ./compat.h:9:9: note: previous definition is here - #define alloc(a,b) caml_alloc(a,b) - ^ - In file included from ftintf.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:47:9: warning: 'alloc_small' macro redefined [-Wmacro-redefined] - #define alloc_small CAML_DEPRECATED("alloc_small", "caml_alloc_small") caml_alloc_small - ^ - ./compat.h:2:9: note: previous definition is here - #define alloc_small(a,b) caml_alloc_small(a,b) - ^ - In file included from ftintf.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:48:9: warning: 'alloc_tuple' macro redefined [-Wmacro-redefined] - #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple - ^ - ./compat.h:4:9: note: previous definition is here - #define alloc_tuple(a) caml_alloc_tuple(a) - ^ - In file included from ftintf.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:49:9: warning: 'alloc_string' macro redefined [-Wmacro-redefined] - #define alloc_string CAML_DEPRECATED("alloc_string", "caml_alloc_string") caml_alloc_string - ^ - ./compat.h:7:9: note: previous definition is here - #define alloc_string(a) caml_alloc_string(a) - ^ - In file included from ftintf.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:51:9: warning: 'copy_string' macro redefined [-Wmacro-redefined] - #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string - ^ - ./compat.h:10:9: note: previous definition is here - #define copy_string(a) caml_copy_string(a) - ^ - In file included from ftintf.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:9: warning: 'failwith' macro redefined [-Wmacro-redefined] - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - ./compat.h:1:9: note: previous definition is here - #define failwith(s) caml_failwith(s) - ^ - In file included from ftintf.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:131:9: warning: 'copy_double' macro redefined [-Wmacro-redefined] - #define copy_double CAML_DEPRECATED("copy_double", "caml_copy_double") caml_copy_double - ^ - ./compat.h:8:9: note: previous definition is here - #define copy_double(a) caml_copy_double(a) - ^ - In file included from ftintf.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:231:9: warning: 'stat_alloc' macro redefined [-Wmacro-redefined] - #define stat_alloc CAML_DEPRECATED("stat_alloc", "caml_stat_alloc") caml_stat_alloc - ^ - ./compat.h:5:9: note: previous definition is here - #define stat_alloc(a) caml_stat_alloc(a) - ^ - In file included from ftintf.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:232:9: warning: 'stat_free' macro redefined [-Wmacro-redefined] - #define stat_free CAML_DEPRECATED("stat_free", "caml_stat_free") caml_stat_free - ^ - ./compat.h:6:9: note: previous definition is here - #define stat_free(a) caml_stat_free(a) - ^ - In file included from ftintf.c:20: - In file included from /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:20: - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:289:9: warning: 'string_length' macro redefined [-Wmacro-redefined] - #define string_length CAML_DEPRECATED("string_length", "caml_string_length") caml_string_length - ^ - ./compat.h:3:9: note: previous definition is here - #define string_length(a) caml_string_length(a) - ^ - In file included from ftintf.c:27: - In file included from /usr/local/include/freetype2/freetype/freetype.h:25: - In file included from /usr/local/include/freetype2/freetype/fttypes.h:25: - /usr/local/include/freetype2/freetype/ftsystem.h:172:22: warning: "alloc" is deprecated: use "caml_alloc" instead [-W#pragma-messages] - FT_Alloc_Func alloc; - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:46:15: note: expanded from macro 'alloc' - #define alloc CAML_DEPRECATED("alloc", "caml_alloc") caml_alloc /*SP*/ - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:95:6: note: expanded from here - GCC warning "\"alloc\" is deprecated: use \"caml_alloc\" instead" - ^ - ftintf.c:37:20: warning: "stat_alloc" is deprecated: use "caml_stat_alloc" instead [-W#pragma-messages] - if( (library = stat_alloc( sizeof(FT_Library) )) == NULL ){ - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:231:20: note: expanded from macro 'stat_alloc' - #define stat_alloc CAML_DEPRECATED("stat_alloc", "caml_stat_alloc") caml_stat_alloc - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:27:6: note: expanded from here - GCC warning "\"stat_alloc\" is deprecated: use \"caml_stat_alloc\" instead" - ^ - ftintf.c:38:9: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith( "init_FreeType: Memory over" ); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:31:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - ftintf.c:41:9: warning: "stat_free" is deprecated: use "caml_stat_free" instead [-W#pragma-messages] - stat_free(library); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:232:19: note: expanded from macro 'stat_free' - #define stat_free CAML_DEPRECATED("stat_free", "caml_stat_free") caml_stat_free - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:35:6: note: expanded from here - GCC warning "\"stat_free\" is deprecated: use \"caml_stat_free\" instead" - ^ - ftintf.c:42:9: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith( "FT_Init_FreeType" ); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:39:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - ftintf.c:45:17: warning: call to undeclared function 'Val_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - CAMLreturn( Val_ptr(library) ); - ^ - ftintf.c:53:27: warning: call to undeclared function 'Ptr_val'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - FT_Library* library = FT_Library_val(lib); - ^ - ftintf.c:29:41: note: expanded from macro 'FT_Library_val' - #define FT_Library_val(x) ((FT_Library*)Ptr_val(x)) - ^ - ftintf.c:53:27: warning: cast to 'FT_Library *' (aka 'struct FT_LibraryRec_ **') from smaller integer type 'int' [-Wint-to-pointer-cast] - FT_Library* library = FT_Library_val(lib); - ^~~~~~~~~~~~~~~~~~~ - ftintf.c:29:28: note: expanded from macro 'FT_Library_val' - #define FT_Library_val(x) ((FT_Library*)Ptr_val(x)) - ^~~~~~~~~~~~~~~~~~~~~~~ - ftintf.c:56:9: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith( "FT_Done_FreeType" ); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:54:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - ftintf.c:59:5: warning: "stat_free" is deprecated: use "caml_stat_free" instead [-W#pragma-messages] - stat_free( (void *) library ); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:232:19: note: expanded from macro 'stat_free' - #define stat_free CAML_DEPRECATED("stat_free", "caml_stat_free") caml_stat_free - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:58:6: note: expanded from here - GCC warning "\"stat_free\" is deprecated: use \"caml_stat_free\" instead" - ^ - ftintf.c:48:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - CAMLprim value done_FreeType( lib ) - ^ - ftintf.c:72:27: warning: call to undeclared function 'Ptr_val'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - FT_Library *library = FT_Library_val(lib); - ^ - ftintf.c:29:41: note: expanded from macro 'FT_Library_val' - #define FT_Library_val(x) ((FT_Library*)Ptr_val(x)) - ^ - ftintf.c:72:27: warning: cast to 'FT_Library *' (aka 'struct FT_LibraryRec_ **') from smaller integer type 'int' [-Wint-to-pointer-cast] - FT_Library *library = FT_Library_val(lib); - ^~~~~~~~~~~~~~~~~~~ - ftintf.c:29:28: note: expanded from macro 'FT_Library_val' - #define FT_Library_val(x) ((FT_Library*)Ptr_val(x)) - ^~~~~~~~~~~~~~~~~~~~~~~ - ftintf.c:75:17: warning: "stat_alloc" is deprecated: use "caml_stat_alloc" instead [-W#pragma-messages] - if( (face = stat_alloc( sizeof(FT_Face) )) == NULL ){ - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:231:20: note: expanded from macro 'stat_alloc' - #define stat_alloc CAML_DEPRECATED("stat_alloc", "caml_stat_alloc") caml_stat_alloc - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:75:6: note: expanded from here - GCC warning "\"stat_alloc\" is deprecated: use \"caml_stat_alloc\" instead" - ^ - ftintf.c:76:9: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith( "new_Face: Memory over" ); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:79:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - ftintf.c:79:9: warning: "stat_free" is deprecated: use "caml_stat_free" instead [-W#pragma-messages] - stat_free(face); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:232:19: note: expanded from macro 'stat_free' - #define stat_free CAML_DEPRECATED("stat_free", "caml_stat_free") caml_stat_free - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:83:6: note: expanded from here - GCC warning "\"stat_free\" is deprecated: use \"caml_stat_free\" instead" - ^ - ftintf.c:80:9: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith( "new_Face: Could not open face" ); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:87:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - ftintf.c:83:17: warning: call to undeclared function 'Val_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - CAMLreturn( Val_ptr(face) ); - ^ - ftintf.c:65:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - CAMLprim value new_Face( lib, fontpath, idx ) - ^ - ftintf.c:92:31: warning: call to undeclared function 'Ptr_val'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - FT_Face face = *(FT_Face*)Ptr_val(vface); - ^ - ftintf.c:92:21: warning: cast to 'FT_Face *' (aka 'struct FT_FaceRec_ **') from smaller integer type 'int' [-Wint-to-pointer-cast] - FT_Face face = *(FT_Face*)Ptr_val(vface); - ^~~~~~~~~~~~~~~~~~~~~~~~ - ftintf.c:94:11: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] - res = alloc_tuple(14); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:48:21: note: expanded from macro 'alloc_tuple' - #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:111:6: note: expanded from here - GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" - ^ - ftintf.c:97:25: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] - Store_field(res, 2, copy_string( face->family_name == NULL ? "" : face->family_name )); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:51:21: note: expanded from macro 'copy_string' - #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - ftintf.c:98:25: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] - Store_field(res, 3, copy_string( face->style_name == NULL ? "" : face->style_name )); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:51:21: note: expanded from macro 'copy_string' - #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - ftintf.c:86:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - CAMLprim value face_info( vface ) - ^ - ftintf.c:118:21: warning: call to undeclared function 'Ptr_val'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - FT_Face* face = Ptr_val(vface); - ^ - ftintf.c:118:14: error: incompatible integer to pointer conversion initializing 'FT_Face *' (aka 'struct FT_FaceRec_ **') with an expression of type 'int' [-Wint-conversion] - FT_Face* face = Ptr_val(vface); - ^ ~~~~~~~~~~~~~~ - ftintf.c:121:9: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("FT_Done_Face"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:19:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - ftintf.c:113:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - CAMLprim value done_Face( vface ) - ^ - ftintf.c:132:21: warning: call to undeclared function 'Ptr_val'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - FT_Face* face = Ptr_val(vface); - ^ - ftintf.c:132:14: error: incompatible integer to pointer conversion initializing 'FT_Face *' (aka 'struct FT_FaceRec_ **') with an expression of type 'int' [-Wint-conversion] - FT_Face* face = Ptr_val(vface); - ^ ~~~~~~~~~~~~~~ - ftintf.c:127:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - CAMLprim value get_num_glyphs( vface ) - ^ - ftintf.c:145:21: warning: call to undeclared function 'Ptr_val'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - FT_Face *face = Ptr_val(vface); - ^ - ftintf.c:145:14: error: incompatible integer to pointer conversion initializing 'FT_Face *' (aka 'struct FT_FaceRec_ **') with an expression of type 'int' [-Wint-conversion] - FT_Face *face = Ptr_val(vface); - ^ ~~~~~~~~~~~~~~ - ftintf.c:150:9: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("FT_Set_Char_Size"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:49:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - ftintf.c:138:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - CAMLprim value set_Char_Size( vface, char_w, char_h, res_h, res_v ) - ^ - ftintf.c:165:21: warning: call to undeclared function 'Ptr_val'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - FT_Face *face = Ptr_val(vface); - ^ - ftintf.c:165:14: error: incompatible integer to pointer conversion initializing 'FT_Face *' (aka 'struct FT_FaceRec_ **') with an expression of type 'int' [-Wint-conversion] - FT_Face *face = Ptr_val(vface); - ^ ~~~~~~~~~~~~~~ - ftintf.c:168:9: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("FT_Set_Pixel_Sizes"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:66:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - ftintf.c:159:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - CAMLprim value set_Pixel_Sizes( vface, pixel_w, pixel_h ) - ^ - ftintf.c:180:11: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] - res = alloc_tuple(2); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:48:21: note: expanded from macro 'alloc_tuple' - #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:81:6: note: expanded from here - GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" - ^ - ftintf.c:174:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - CAMLprim value val_CharMap( charmapp ) - ^ - ftintf.c:196:25: warning: call to undeclared function 'Ptr_val'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - face = *(FT_Face *)(Ptr_val(vface)); - ^ - ftintf.c:196:13: warning: cast to 'FT_Face *' (aka 'struct FT_FaceRec_ **') from smaller integer type 'int' [-Wint-to-pointer-cast] - face = *(FT_Face *)(Ptr_val(vface)); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - ftintf.c:201:20: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] - new_cell = alloc_tuple(2); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:48:21: note: expanded from macro 'alloc_tuple' - #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:107:6: note: expanded from here - GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" - ^ - ftintf.c:187:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - CAMLprim value get_CharMaps( vface ) - ^ - ftintf.c:227:26: warning: call to undeclared function 'Ptr_val'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - face = *(FT_Face *) (Ptr_val(vface)); - ^ - ftintf.c:227:13: warning: cast to 'FT_Face *' (aka 'struct FT_FaceRec_ **') from smaller integer type 'int' [-Wint-to-pointer-cast] - face = *(FT_Face *) (Ptr_val(vface)); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ftintf.c:236:17: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("FT_Set_Charmap"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:123:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - ftintf.c:244:5: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("freetype:set_charmaps: selected pid+eid do not exist"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:128:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - ftintf.c:216:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - CAMLprim value set_CharMap( vface, charmapv ) - ^ - ftintf.c:252:21: warning: call to undeclared function 'Ptr_val'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - FT_Face *face = Ptr_val(vface); - ^ - ftintf.c:252:14: error: incompatible integer to pointer conversion initializing 'FT_Face *' (aka 'struct FT_FaceRec_ **') with an expression of type 'int' [-Wint-conversion] - FT_Face *face = Ptr_val(vface); - ^ ~~~~~~~~~~~~~~ - ftintf.c:247:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - CAMLprim value get_Char_Index( vface, code ) - ^ - ftintf.c:263:21: warning: call to undeclared function 'Ptr_val'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - FT_Face *face = Ptr_val(vface); - ^ - ftintf.c:263:14: error: incompatible integer to pointer conversion initializing 'FT_Face *' (aka 'struct FT_FaceRec_ **') with an expression of type 'int' [-Wint-conversion] - FT_Face *face = Ptr_val(vface); - ^ ~~~~~~~~~~~~~~ - ftintf.c:266:9: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("FT_Load_Glyph"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:4:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - ftintf.c:269:11: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] - res = alloc_tuple(2); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:48:21: note: expanded from macro 'alloc_tuple' - #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:8:6: note: expanded from here - GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" - ^ - ftintf.c:257:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - CAMLprim value load_Glyph( vface, index, flags ) - ^ - ftintf.c:282:21: warning: call to undeclared function 'Ptr_val'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - FT_Face* face = Ptr_val(vface); - ^ - ftintf.c:282:14: error: incompatible integer to pointer conversion initializing 'FT_Face *' (aka 'struct FT_FaceRec_ **') with an expression of type 'int' [-Wint-conversion] - FT_Face* face = Ptr_val(vface); - ^ ~~~~~~~~~~~~~~ - ftintf.c:286:9: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("FT_Load_Char"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:34:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - ftintf.c:289:11: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] - res = alloc_tuple(2); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:48:21: note: expanded from macro 'alloc_tuple' - #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:38:6: note: expanded from here - GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" - ^ - ftintf.c:276:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - CAMLprim value load_Char( vface, code, flags ) - ^ - ftintf.c:302:31: warning: call to undeclared function 'Ptr_val'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - FT_Face *face = (FT_Face*)Ptr_val(vface); - ^ - ftintf.c:302:21: warning: cast to 'FT_Face *' (aka 'struct FT_FaceRec_ **') from smaller integer type 'int' [-Wint-to-pointer-cast] - FT_Face *face = (FT_Face*)Ptr_val(vface); - ^~~~~~~~~~~~~~~~~~~~~~~~ - ftintf.c:305:9: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("FT_Render_Glyph"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:54:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - ftintf.c:296:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - CAMLprim value render_Glyph_of_Face( vface, mode ) - ^ - ftintf.c:316:21: warning: call to undeclared function 'Ptr_val'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - FT_Face *face = Ptr_val(vface); - ^ - ftintf.c:316:14: error: incompatible integer to pointer conversion initializing 'FT_Face *' (aka 'struct FT_FaceRec_ **') with an expression of type 'int' [-Wint-conversion] - FT_Face *face = Ptr_val(vface); - ^ ~~~~~~~~~~~~~~ - ftintf.c:323:9: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("FT_Load_Char"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:81:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - ftintf.c:326:11: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] - res = alloc_tuple(2); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:48:21: note: expanded from macro 'alloc_tuple' - #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:85:6: note: expanded from here - GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" - ^ - ftintf.c:310:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - CAMLprim value render_Char( vface, code, flags, mode ) - ^ - ftintf.c:340:21: warning: call to undeclared function 'Ptr_val'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - FT_Face *face = Ptr_val(vface); - ^ - ftintf.c:340:14: error: incompatible integer to pointer conversion initializing 'FT_Face *' (aka 'struct FT_FaceRec_ **') with an expression of type 'int' [-Wint-conversion] - FT_Face *face = Ptr_val(vface); - ^ ~~~~~~~~~~~~~~ - ftintf.c:333:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - CAMLprim value set_Transform( vface, vmatrix, vpen ) - ^ - ftintf.c:360:21: warning: call to undeclared function 'Ptr_val'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - FT_Face *face = Ptr_val(vface); - ^ - ftintf.c:360:14: error: incompatible integer to pointer conversion initializing 'FT_Face *' (aka 'struct FT_FaceRec_ **') with an expression of type 'int' [-Wint-conversion] - FT_Face *face = Ptr_val(vface); - ^ ~~~~~~~~~~~~~~ - ftintf.c:368:13: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("get_Bitmap_Info: unknown num_grays"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:122:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - ftintf.c:374:9: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("get_Bitmap_Info: unknown pixel mode"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:126:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - ftintf.c:377:11: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] - res = alloc_tuple(5); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:48:21: note: expanded from macro 'alloc_tuple' - #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:130:6: note: expanded from here - GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" - ^ - ftintf.c:354:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - CAMLprim value get_Bitmap_Info( vface ) - ^ - ftintf.c:394:21: warning: call to undeclared function 'Ptr_val'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - FT_Face *face = Ptr_val(vface); - ^ - ftintf.c:394:14: error: incompatible integer to pointer conversion initializing 'FT_Face *' (aka 'struct FT_FaceRec_ **') with an expression of type 'int' [-Wint-conversion] - FT_Face *face = Ptr_val(vface); - ^ ~~~~~~~~~~~~~~ - ftintf.c:421:9: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] - failwith("read_Bitmap: unknown pixel mode"); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:111:18: note: expanded from macro 'failwith' - #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:6:6: note: expanded from here - GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" - ^ - ftintf.c:386:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - CAMLprim value read_Bitmap( vface, vx, vy ) /* This "y" is in Y upwards convention */ - ^ - ftintf.c:432:21: warning: call to undeclared function 'Ptr_val'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - FT_Face *face = Ptr_val(vface); - ^ - ftintf.c:432:14: error: incompatible integer to pointer conversion initializing 'FT_Face *' (aka 'struct FT_FaceRec_ **') with an expression of type 'int' [-Wint-conversion] - FT_Face *face = Ptr_val(vface); - ^ ~~~~~~~~~~~~~~ - ftintf.c:437:12: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] - res1 = alloc_tuple(3); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:48:21: note: expanded from macro 'alloc_tuple' - #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:31:6: note: expanded from here - GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" - ^ - ftintf.c:442:12: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] - res2 = alloc_tuple(3); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:48:21: note: expanded from macro 'alloc_tuple' - #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:35:6: note: expanded from here - GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" - ^ - ftintf.c:447:11: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] - res = alloc_tuple(4); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:48:21: note: expanded from macro 'alloc_tuple' - #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:39:6: note: expanded from here - GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" - ^ - ftintf.c:426:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - CAMLprim value get_Glyph_Metrics( vface ) - ^ - ftintf.c:462:21: warning: call to undeclared function 'Ptr_val'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - FT_Face *face = Ptr_val(vface); - ^ - ftintf.c:462:14: error: incompatible integer to pointer conversion initializing 'FT_Face *' (aka 'struct FT_FaceRec_ **') with an expression of type 'int' [-Wint-conversion] - FT_Face *face = Ptr_val(vface); - ^ ~~~~~~~~~~~~~~ - ftintf.c:465:11: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] - res = alloc_tuple(4); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:48:21: note: expanded from macro 'alloc_tuple' - #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:63:6: note: expanded from here - GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" - ^ - ftintf.c:456:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] - CAMLprim value get_Size_Metrics( vface ) - ^ - ftintf.c:491:21: warning: call to undeclared function 'Ptr_val'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - FT_Face *face = Ptr_val(vface); - ^ - ftintf.c:491:14: error: incompatible integer to pointer conversion initializing 'FT_Face *' (aka 'struct FT_FaceRec_ **') with an expression of type 'int' [-Wint-conversion] - FT_Face *face = Ptr_val(vface); - ^ ~~~~~~~~~~~~~~ - ftintf.c:497:16: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] - points = alloc_tuple(n_points); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:48:21: note: expanded from macro 'alloc_tuple' - #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:91:6: note: expanded from here - GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" - ^ - ftintf.c:498:16: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] - tags = alloc_tuple(n_points); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:48:21: note: expanded from macro 'alloc_tuple' - #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:95:6: note: expanded from here - GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" - ^ - ftintf.c:499:16: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] - contours = alloc_tuple(n_contours); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:48:21: note: expanded from macro 'alloc_tuple' - #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:99:6: note: expanded from here - GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" - ^ - ftintf.c:504:15: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] - tmp = alloc_tuple(2); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:48:21: note: expanded from macro 'alloc_tuple' - #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:103:6: note: expanded from here - GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" - ^ - ftintf.c:523:11: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] - res = alloc_tuple(5); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/compatibility.h:48:21: note: expanded from macro 'alloc_tuple' - #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' - CAML_PREPROWARNING(name1 is deprecated: use name2 instead) - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' - #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) - ^ - <scratch space>:107:6: note: expanded from here - GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" - ^ - 99 warnings and 14 errors generated. [ERROR] The compilation of camlimages.5.0.5 failed at "dune build -p camlimages -j 15 @install". #=== ERROR while compiling camlimages.5.0.5 ===================================# # context 2.2.0~rc1~dev | freebsd/x86_64 | ocaml-base-compiler.4.14.1 | file:///home/opam/opam-repository # path ~/.opam/4.14.1/.opam-switch/build/camlimages.5.0.5 # command ~/.opam/4.14.1/bin/dune build -p camlimages -j 15 @install # exit-code 1 # env-file ~/.opam/log/camlimages-35931-d66733.env # output-file ~/.opam/log/camlimages-35931-d66733.out ### output ### # [...] # #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple # ^ # /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' # CAML_PREPROWARNING(name1 is deprecated: use name2 instead) # ^ # /home/opam/.opam/4.14.1/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' # #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) # ^ # <scratch space>:107:6: note: expanded from here # GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" # ^ # 99 warnings and 14 errors generated. <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions were aborted | - install advi 2.0.0 +- +- The following actions failed | - build camlimages 5.0.5 +- +- The following changes have been performed (the rest was aborted) | - install base v0.16.3 | - install conf-bash 1 | - install conf-ghostscript 1 | - install conf-libX11 1 | - install conf-pkg-config 3 | - install conf-texlive 1 | - install conf-which 1 | - install cppo 1.6.9 | - install csexp 1.5.2 | - install dune 3.16.0 | - install dune-configurator 3.16.0 | - install graphics 5.1.2 | - install ocamlfind 1.9.6 | - install sexplib0 v0.16.0 | - install stdio v0.16.0 +- The former state can be restored with: /usr/local/bin/opam switch import "/home/opam/.opam/4.14.1/.opam-switch/backup/state-20240702114036.export" 'opam install -vy advi.2.0.0' failed. jail: /usr/bin/su -l opam -c cd '/' && env OPAMCRITERIA='+removed' OPAMEXTERNALSOLVER='builtin-0install' OPAMUTF8='never' OPAMPRECISETRACKING='1' '/usr/bin/env' 'bash' '-c' ' opam remove -y "advi.2.0.0" opam install -vy "advi.2.0.0" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "advi.2.0.0" | grep -q '\''"freebsd"'\''; then echo "This package failed and has been disabled for CI using the '\''x-ci-accept-failures'\'' field." exit 69 fi fi exit $res ': failed "jail" "-c" "name=obuilder_58868_6887" "mount.fstab=/tmp/obuilder-jail-7b215d/fstab" "mount.devfs" "path=/obuilder/result/da0f30127fe33ee1318a7c4cd2a33de857926c7088ad147ba960cceecd7be7f1/rootfs" "host=inherit" "ip6=inherit" "ip4=inherit" "command=/usr/bin/su" "-l" "opam" "-c" "cd '/' && env OPAMCRITERIA='+removed' OPAMEXTERNALSOLVER='builtin-0install' OPAMUTF8='never' OPAMPRECISETRACKING='1' '/usr/bin/env' 'bash' '-c' ' opam remove -y "advi.2.0.0" opam install -vy "advi.2.0.0" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "advi.2.0.0" | grep -q '\''"freebsd"'\''; then echo "This package failed and has been disabled for CI using the '\''x-ci-accept-failures'\'' field." exit 69 fi fi exit $res '" failed with exit status 1 Failed: Build failed