=>> Building textproc/ocaml-csv build started at Fri Apr 5 10:59:43 BST 2024 port directory: /usr/ports/textproc/ocaml-csv package name: ocaml-csv-1.2.1_3 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: tcrimi@gmail.com Makefile datestamp: -rw-r--r-- 1 root wheel 485 Jul 5 2023 /usr/ports/textproc/ocaml-csv/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 2b40e46093 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 12 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/12/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- tcrimi@gmail.com --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/textproc/ocaml-csv/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/textproc/ocaml-csv/work XDG_CACHE_HOME=/wrkdirs/usr/ports/textproc/ocaml-csv/work/.cache HOME=/wrkdirs/usr/ports/textproc/ocaml-csv/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/textproc/ocaml-csv/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/textproc/ocaml-csv/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- OCAMLFIND_DESTDIR="/wrkdirs/usr/ports/textproc/ocaml-csv/work/stage/usr/local/lib/ocaml/site-lib" OCAMLFIND_LDCONF="/usr/local/lib/ocaml/ld.conf" XDG_DATA_HOME=/wrkdirs/usr/ports/textproc/ocaml-csv/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/textproc/ocaml-csv/work XDG_CACHE_HOME=/wrkdirs/usr/ports/textproc/ocaml-csv/work/.cache HOME=/wrkdirs/usr/ports/textproc/ocaml-csv/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/textproc/ocaml-csv/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/textproc/ocaml-csv/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OCAML_SITELIBDIR="lib/ocaml/site-lib" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/ocaml-csv" EXAMPLESDIR="share/examples/ocaml-csv" DATADIR="share/ocaml-csv" WWWDIR="www/ocaml-csv" ETCDIR="etc/ocaml-csv" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/ocaml-csv DOCSDIR=/usr/local/share/doc/ocaml-csv EXAMPLESDIR=/usr/local/share/examples/ocaml-csv WWWDIR=/usr/local/www/ocaml-csv ETCDIR=/usr/local/etc/ocaml-csv --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ocaml-csv-1.2.1_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> ocaml-csv-1.2.1_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ocaml-csv-1.2.1_3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ocaml-csv-1.2.1_3 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ocaml-csv-1.2.1_3 for building => SHA256 Checksum OK for ocaml-csv-1.2.1.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ocaml-csv-1.2.1_3 depends on file: /usr/local/bin/ocamlc - not found ===> Installing existing package /packages/All/ocaml-4.14.1.pkg [pkg-builder.dan.net.uk] Installing ocaml-4.14.1... [pkg-builder.dan.net.uk] Extracting ocaml-4.14.1: .......... done ===> ocaml-csv-1.2.1_3 depends on file: /usr/local/bin/ocamlc - found ===> Returning to build of ocaml-csv-1.2.1_3 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ocaml-csv-1.2.1_3 for building ===> Extracting for ocaml-csv-1.2.1_3 => SHA256 Checksum OK for ocaml-csv-1.2.1.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ocaml-csv-1.2.1_3 depends on file: /usr/local/bin/ocamlc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for ocaml-csv-1.2.1_3 ===> Applying FreeBSD patches for ocaml-csv-1.2.1_3 from /usr/ports/textproc/ocaml-csv/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ocaml-csv-1.2.1_3 depends on file: /usr/local/bin/ocamlc - found ===> ocaml-csv-1.2.1_3 depends on file: /usr/local/bin/ocamlfind - not found ===> Installing existing package /packages/All/ocaml-findlib-1.9.6_2.pkg [pkg-builder.dan.net.uk] Installing ocaml-findlib-1.9.6_2... [pkg-builder.dan.net.uk] `-- Installing ocaml-labltk-8.06.12... [pkg-builder.dan.net.uk] | `-- Installing tcl86-8.6.14_1... [pkg-builder.dan.net.uk] | `-- Extracting tcl86-8.6.14_1: .......... done [pkg-builder.dan.net.uk] | `-- Installing tk86-8.6.14_1... [pkg-builder.dan.net.uk] | | `-- Installing fontconfig-2.15.0_2,1... [pkg-builder.dan.net.uk] | | `-- Installing expat-2.6.1... [pkg-builder.dan.net.uk] | | `-- Extracting expat-2.6.1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing freetype2-2.13.2... [pkg-builder.dan.net.uk] | | `-- Extracting freetype2-2.13.2: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting fontconfig-2.15.0_2,1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libX11-1.8.7_1,1... [pkg-builder.dan.net.uk] | | `-- Installing libxcb-1.16.1... [pkg-builder.dan.net.uk] | | | `-- Installing libXau-1.0.9_1... [pkg-builder.dan.net.uk] | | | `-- Extracting libXau-1.0.9_1: .......... done [pkg-builder.dan.net.uk] | | | `-- Installing libXdmcp-1.1.5... [pkg-builder.dan.net.uk] | | | `-- Installing xorgproto-2023.2... [pkg-builder.dan.net.uk] | | | `-- Extracting xorgproto-2023.2: .......... done [pkg-builder.dan.net.uk] | | | `-- Extracting libXdmcp-1.1.5: ...... done [pkg-builder.dan.net.uk] | | `-- Extracting libxcb-1.16.1: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting libX11-1.8.7_1,1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libXScrnSaver-1.2.4_1... [pkg-builder.dan.net.uk] | | `-- Installing libXext-1.3.6,1... [pkg-builder.dan.net.uk] | | `-- Extracting libXext-1.3.6,1: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting libXScrnSaver-1.2.4_1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libXft-2.3.7_1... [pkg-builder.dan.net.uk] | | `-- Installing libXrender-0.9.10_2... [pkg-builder.dan.net.uk] | | `-- Extracting libXrender-0.9.10_2: ....... done [pkg-builder.dan.net.uk] | | `-- Extracting libXft-2.3.7_1: .......... done [pkg-builder.dan.net.uk] | `-- Extracting tk86-8.6.14_1: .......... done [pkg-builder.dan.net.uk] `-- Extracting ocaml-labltk-8.06.12: .......... done [pkg-builder.dan.net.uk] Extracting ocaml-findlib-1.9.6_2: .......... done ==> 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). ===> ocaml-csv-1.2.1_3 depends on file: /usr/local/bin/ocamlfind - found ===> Returning to build of ocaml-csv-1.2.1_3 ===> ocaml-csv-1.2.1_3 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg-builder.dan.net.uk] Installing gmake-4.4.1... [pkg-builder.dan.net.uk] `-- Installing gettext-runtime-0.22.3_1... [pkg-builder.dan.net.uk] | `-- Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] | `-- Extracting indexinfo-0.3.1: . done [pkg-builder.dan.net.uk] `-- Extracting gettext-runtime-0.22.3_1: .......... done [pkg-builder.dan.net.uk] Extracting gmake-4.4.1: .......... done ===> ocaml-csv-1.2.1_3 depends on package: gmake>=4.4.1 - found ===> Returning to build of ocaml-csv-1.2.1_3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for ocaml-csv-1.2.1_3 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for ocaml-csv-1.2.1_3 gmake -C src byte gmake[1]: Entering directory '/wrkdirs/usr/ports/textproc/ocaml-csv/work/csv-1.2.1/src' Building .depend.ocaml ... ocamlc -dtypes -c csv.mli File "csv.mli", line 93, characters 2-23: 93 | Pervasives.in_channel -> in_channel ^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims File "csv.mli", line 112, characters 2-23: 112 | Pervasives.in_channel -> t ^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims File "csv.mli", line 164, characters 27-48: 164 | (string list -> unit) -> Pervasives.in_channel -> unit ^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims File "csv.mli", line 187, characters 2-24: 187 | Pervasives.out_channel -> out_channel ^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims File "csv.mli", line 200, characters 2-24: 200 | Pervasives.out_channel -> t -> unit ^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims File "csv.mli", line 216, characters 24-46: 216 | val save_out_readable : Pervasives.out_channel -> t -> unit ^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims ocamlc -dtypes -c csv.ml File "csv.ml", line 104, characters 11-24: 104 | in_buf = String.create buffer_len; ^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.create Use Bytes.create/BytesLabels.create instead. File "csv.ml", line 121, characters 19-35: 121 | let r = Pervasives.input fh s ofs len in ^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims File "csv.ml", line 125, characters 27-46: 125 | method close_in() = Pervasives.close_in fh ^^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims File "csv.ml", line 407, characters 2-6: 407 | iter f (of_channel ?separator ?excel_tricks ch) ^^^^ Warning 6 [labels-omitted]: label f was omitted in the application of this function. File "csv.ml", line 485, characters 18-31: 485 | let s = String.create (len + n) in ^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.create Use Bytes.create/BytesLabels.create instead. File "csv.ml", line 490, characters 14-31: 490 | String.unsafe_set s !j '"'; incr j; ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.unsafe_set File "csv.ml", line 491, characters 14-31: 491 | String.unsafe_set s !j '"'; incr j ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.unsafe_set File "csv.ml", line 494, characters 14-31: 494 | String.unsafe_set s !j '"'; incr j; ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.unsafe_set File "csv.ml", line 495, characters 14-31: 495 | String.unsafe_set s !j '0'; incr j ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.unsafe_set File "csv.ml", line 497, characters 18-35: 497 | else (String.unsafe_set s !j c; incr j) ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.unsafe_set File "csv.ml", line 748, characters 33-47: 748 | Invalid_argument "List.combine" -> ^^^^^^^^^^^^^^ Warning 52 [fragile-literal-pattern]: Code should not depend on the actual values of this constructor's arguments. They are only for information and may change in future versions. (See manual section 11.5) ocamlc -a -o csv.cma -dtypes csv.cmo gmake[1]: Leaving directory '/wrkdirs/usr/ports/textproc/ocaml-csv/work/csv-1.2.1/src' gmake -C src native gmake[1]: Entering directory '/wrkdirs/usr/ports/textproc/ocaml-csv/work/csv-1.2.1/src' ocamlopt -dtypes -inline 3 -w DEFPSVYZX -c csv.ml File "_none_", line 1: Alert ocaml_deprecated_cli: Setting a warning with a sequence of lowercase or uppercase letters, like 'DEFPSVYZX', is deprecated. Use the equivalent signed form: +D+E+F+P+S+V+Y+Z+X. Hint: Enabling or disabling a warning by its mnemonic name requires a + or - prefix. Hint: Did you make a spelling mistake when using a mnemonic name? File "csv.ml", line 104, characters 11-24: 104 | in_buf = String.create buffer_len; ^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.create Use Bytes.create/BytesLabels.create instead. File "csv.ml", line 121, characters 19-35: 121 | let r = Pervasives.input fh s ofs len in ^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims File "csv.ml", line 125, characters 27-46: 125 | method close_in() = Pervasives.close_in fh ^^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims File "csv.ml", line 407, characters 2-6: 407 | iter f (of_channel ?separator ?excel_tricks ch) ^^^^ Warning 6 [labels-omitted]: label f was omitted in the application of this function. File "csv.ml", line 485, characters 18-31: 485 | let s = String.create (len + n) in ^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.create Use Bytes.create/BytesLabels.create instead. File "csv.ml", line 490, characters 14-31: 490 | String.unsafe_set s !j '"'; incr j; ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.unsafe_set File "csv.ml", line 491, characters 14-31: 491 | String.unsafe_set s !j '"'; incr j ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.unsafe_set File "csv.ml", line 494, characters 14-31: 494 | String.unsafe_set s !j '"'; incr j; ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.unsafe_set File "csv.ml", line 495, characters 14-31: 495 | String.unsafe_set s !j '0'; incr j ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.unsafe_set File "csv.ml", line 497, characters 18-35: 497 | else (String.unsafe_set s !j c; incr j) ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.unsafe_set File "csv.ml", line 748, characters 33-47: 748 | Invalid_argument "List.combine" -> ^^^^^^^^^^^^^^ Warning 52 [fragile-literal-pattern]: Code should not depend on the actual values of this constructor's arguments. They are only for information and may change in future versions. (See manual section 11.5) ocamlopt -a -o csv.cmxa -dtypes -inline 3 -w DEFPSVYZX csv.cmx File "_none_", line 1: Alert ocaml_deprecated_cli: Setting a warning with a sequence of lowercase or uppercase letters, like 'DEFPSVYZX', is deprecated. Use the equivalent signed form: +D+E+F+P+S+V+Y+Z+X. Hint: Enabling or disabling a warning by its mnemonic name requires a + or - prefix. Hint: Did you make a spelling mistake when using a mnemonic name? gmake[1]: Leaving directory '/wrkdirs/usr/ports/textproc/ocaml-csv/work/csv-1.2.1/src' gmake: Nothing to be done for 'all'. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ocaml-csv-1.2.1_3 depends on file: /usr/local/bin/ocamlc - found ===> ocaml-csv-1.2.1_3 depends on file: /usr/local/bin/ocamlfind - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for ocaml-csv-1.2.1_3 ===> Generating temporary packing list gmake -C src byte gmake[1]: Entering directory '/wrkdirs/usr/ports/textproc/ocaml-csv/work/csv-1.2.1/src' gmake[1]: Nothing to be done for 'byte'. gmake[1]: Leaving directory '/wrkdirs/usr/ports/textproc/ocaml-csv/work/csv-1.2.1/src' gmake -C src native gmake[1]: Entering directory '/wrkdirs/usr/ports/textproc/ocaml-csv/work/csv-1.2.1/src' gmake[1]: Nothing to be done for 'native'. gmake[1]: Leaving directory '/wrkdirs/usr/ports/textproc/ocaml-csv/work/csv-1.2.1/src' gmake -C src install gmake[1]: Entering directory '/wrkdirs/usr/ports/textproc/ocaml-csv/work/csv-1.2.1/src' Updated "META". ocamlfind install csv META csv.mli csv.cmi csv.cma csv.cmx csv.a csv.cmxa Installed /wrkdirs/usr/ports/textproc/ocaml-csv/work/stage/usr/local/lib/ocaml/site-lib/csv/csv.cmxa Installed /wrkdirs/usr/ports/textproc/ocaml-csv/work/stage/usr/local/lib/ocaml/site-lib/csv/csv.a Installed /wrkdirs/usr/ports/textproc/ocaml-csv/work/stage/usr/local/lib/ocaml/site-lib/csv/csv.cmx Installed /wrkdirs/usr/ports/textproc/ocaml-csv/work/stage/usr/local/lib/ocaml/site-lib/csv/csv.cma Installed /wrkdirs/usr/ports/textproc/ocaml-csv/work/stage/usr/local/lib/ocaml/site-lib/csv/csv.cmi Installed /wrkdirs/usr/ports/textproc/ocaml-csv/work/stage/usr/local/lib/ocaml/site-lib/csv/csv.mli Installed /wrkdirs/usr/ports/textproc/ocaml-csv/work/stage/usr/local/lib/ocaml/site-lib/csv/META gmake[1]: Leaving directory '/wrkdirs/usr/ports/textproc/ocaml-csv/work/csv-1.2.1/src' ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-05T09:59:43+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=2b40e46093' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for ocaml-csv-1.2.1_3 ===> Building ocaml-csv-1.2.1_3 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for ocaml-csv-1.2.1_3 build of textproc/ocaml-csv | ocaml-csv-1.2.1_3 ended at Fri Apr 5 11:00:06 BST 2024 build time: 00:00:23