From nobody Tue Feb 06 01:17:44 2024 X-Original-To: pkg-fallout@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TTQN917Pdz59RKC for ; Tue, 6 Feb 2024 01:17:45 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TTQN84PgMz4KV3 for ; Tue, 6 Feb 2024 01:17:44 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707182264; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=PUjfovaq4bAtWUnlTgPPuCUST8smDe+ePVtRpaZwH5s=; b=MIqvf33IX4XSk9B6v9bp4LALRo7AKT97UBi/9Fs5rtYF0leuoyenfNX0G7AcVdzgrYMdZM 5vuRrSOOmSgexQitnSZuhgbI70raUVEBC73xf650+/Zi2oHdAOcpH3ORFmjSNbRyI7noLr RyrmlK7+OUKC/jvHvZhfq8UGlbars8Bcp49xdpQrwbBtmbWnJiceYuVss6kAMOREbtZN02 YM0bx+MoQPh8QpcA9ksFNJS+2XfIe6GZuKUWj9F62826H1Ou/XfxC2VqNLaq0gvi4yfqec NaLcHF8Mt6t3qe1nm7uuKJvb8RKKVYhzA+dkQsik1Vwx0z7rFSjEHkCYR7w6ag== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707182264; a=rsa-sha256; cv=none; b=dJvhEtveChsCPC00izHjt6Tu+jNWI4B1ut5wfxp6pdQRf3uVQ/9o6vIXlHHzANyu0fbaCE 3Xku5bPcnmKKT9mv72JFjJaink2dZ1OumWqBuZwEu6B3tE3K/+UrbVK2xiKwi62owRI+Bc ilmzixi9M5MZf4H2okyHGrj0F/FMwAbAS0KXCWf3bQULj6XhVcag5pHqBJnzEVBs7YLTEC 4EW6OtZ8x1vN4ZxCYsEO2YC5k4W9rPyaBTURzrraX5LB9qzKf+6IH1u6LAqH/CzGsBA2TG 8FW3jXcTdDvn50xzVeHYMOk4oZVqTYVDWArXFyd4uSnw97INrZIU8H2HUoOShg== Received: from beefy7.nyi.freebsd.org (beefy7.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:16]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4TTQN83TXxz13L8 for ; Tue, 6 Feb 2024 01:17:44 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from root (uid 0) (envelope-from pkg-fallout@FreeBSD.org) id 7b26 by beefy7.nyi.freebsd.org (DragonFly Mail Agent v0.13+ on beefy7.nyi.freebsd.org); Tue, 06 Feb 2024 01:17:44 +0000 To: michael.grunewald@laposte.net Subject: [package - 140i386-quarterly][graphics/ocaml-images] Failed for ocaml-images-4.0.1_13,2 in build Cc: pkg-fallout@FreeBSD.org Date: Tue, 06 Feb 2024 01:17:44 +0000 Message-Id: <65c188b8.7b26.1f904db3@beefy7.nyi.freebsd.org> From: List-Id: Fallout logs from package building List-Archive: https://lists.freebsd.org/archives/freebsd-pkg-fallout List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg-fallout@freebsd.org You are receiving this mail as a port that you maintain is failing to build on the FreeBSD package build server. Please investigate the failure and submit a PR to fix build. Maintainer: michael.grunewald@laposte.net Log URL: https://pkg-status.freebsd.org/beefy7/data/140i386-quarterly/867a62d38c21/logs/ocaml-images-4.0.1_13,2.log Build URL: https://pkg-status.freebsd.org/beefy7/build.html?mastername=140i386-quarterly&build=867a62d38c21 Log: =>> Building graphics/ocaml-images build started at Tue Feb 6 01:17:36 UTC 2024 port directory: /usr/ports/graphics/ocaml-images package name: ocaml-images-4.0.1_13,2 building for: FreeBSD 140i386-quarterly-job-07 14.0-RELEASE-p4 FreeBSD 14.0-RELEASE-p4 i386 maintained by: michael.grunewald@laposte.net Makefile datestamp: -rw-r--r-- 1 root wheel 2247 Jan 6 01:02 /usr/ports/graphics/ocaml-images/Makefile Ports top last git commit: 867a62d38 Ports top unclean checkout: no Port dir last git commit: 756e18783 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.1 Host OSVERSION: 1500006 Jail OSVERSION: 1400097 Job Id: 07 ---Begin Environment--- SHELL=/bin/sh BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 OSVERSION=1400097 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 UNAME_m=i386 UNAME_p=i386 UNAME_r=14.0-RELEASE-p4 LOCALBASE=/usr/local UNAME_v=FreeBSD 14.0-RELEASE-p4 USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.1 MASTERMNT=/usr/local/poudriere/data/.m/140i386-quarterly/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/140i386-quarterly/07/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=140i386-quarterly SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/140i386-quarterly/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.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--- ===> The following configuration options are available for ocaml-images-4.0.1_13,2: DOCS=on: Build and/or install documentation FREETYPE=on: TrueType font rendering support GHOSTSCRIPT=on: Ghostscript support GIF=on: GIF image format support GTK2=off: GTK 2 GUI toolkit support JPEG=on: JPEG image format support PNG=on: PNG image format support TIFF=on: TIFF image format support XPM=on: XPM pixmap image format support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- michael.grunewald@laposte.net --End MAINTAINER-- --CONFIGURE_ARGS-- --with-freetype --with-gs --with-gif --without-liblgtk2 --with-jpeg --with-png --with-tiff --with-xpm --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/ocaml-images/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/ocaml-images/work XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/ocaml-images/work/.cache HOME=/wrkdirs/usr/ports/graphics/ocaml-images/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/ocaml-images/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/ocaml-images/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- OCAMLFIND_DESTDIR="/wrkdirs/usr/ports/graphics/ocaml-images/work/stage/usr/local/lib/ocaml/site-lib" OCAMLFIND_LDCONF="/usr/local/lib/ocaml/ld.conf" XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/ocaml-images/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/ocaml-images/work XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/ocaml-images/work/.cache HOME=/wrkdirs/usr/ports/graphics/ocaml-images/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/ocaml-images/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/ocaml-images/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-s trong -fno-strict-aliasing " MANPREFIX="/usr/local" 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-- PORTDOCS="" DOCS="" NO_DOCS="@comment " FREETYPE="" NO_FREETYPE="@comment " GHOSTSCRIPT="" NO_GHOSTSCRIPT="@comment " GIF="" NO_GIF="@comment " GTK2="@comment " NO_GTK2="" JPEG="" NO_JPEG="@comment " PNG="" NO_PNG="@comment " TIFF="" NO_TIFF="@comment " XPM="" NO_XPM="@comment " OCAML_SITELIBDIR="lib/ocaml/site-lib" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/images" EXAMPLESDIR="share/examples/images" DATADIR="share/images" WWWDIR="www/images" ETCDIR="etc/images" --End PLIST_SUB-- --SUB_LIST-- DOCS="" NO_DOCS="@comment " FREETYPE="" NO_FREETYPE="@comment " GHOSTSCRIPT="" NO_GHOSTSCRIPT="@comment " GIF="" NO_GIF="@comment " GTK2="@comment " NO_GTK2="" JPEG="" NO_JPEG="@comment " PNG="" NO_PNG="@comment " TIFF="" NO_TIFF="@comment " XPM="" NO_XPM="@comment " PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/images DOCSDIR=/usr/local/share/doc/images EXAMPLESDIR=/usr/local/share/examples/images WWWDIR=/usr/local/www/images ETCDIR=/usr/local/etc/images --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes MACHINE=i386 MACHINE_ARCH=i386 ARCH=${MACHINE_ARCH} #### #### # XXX: We really need this but cannot use it while 'make checksum' does not # try the next mirror on checksum failure. It currently retries the same # failed mirror and then fails rather then trying another. It *does* # try the next if the size is mismatched though. #MASTER_SITE_FREEBSD=yes # Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs MAKE_JOBS_NUMBER=3 #### 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) 524288 stack size (kbytes, -s) 65536 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-images-4.0.1_13,2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9.pkg [140i386-quarterly-job-07] Installing pkg-1.20.9... [140i386-quarterly-job-07] Extracting pkg-1.20.9: .......... done ===> ocaml-images-4.0.1_13,2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ocaml-images-4.0.1_13,2 =========================================================================== =================================================== ===== 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-images-4.0.1_13,2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ocaml-images-4.0.1_13,2 for building => SHA256 Checksum OK for ocaml-images/v4.0.1.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ocaml-images-4.0.1_13,2 depends on file: /usr/local/bin/ocamlc - not found ===> Installing existing package /packages/All/ocaml-4.08.1.pkg [140i386-quarterly-job-07] Installing ocaml-4.08.1... [140i386-quarterly-job-07] `-- Installing binutils-2.40_4,1... [140i386-quarterly-job-07] | `-- Installing gettext-runtime-0.22.3... [140i386-quarterly-job-07] | | `-- Installing indexinfo-0.3.1... [140i386-quarterly-job-07] | | `-- Extracting indexinfo-0.3.1: .... done [140i386-quarterly-job-07] | `-- Extracting gettext-runtime-0.22.3: .......... done [140i386-quarterly-job-07] | `-- Installing zstd-1.5.5... [140i386-quarterly-job-07] | | `-- Installing liblz4-1.9.4,1... [140i386-quarterly-job-07] | | `-- Extracting liblz4-1.9.4,1: .......... done [140i386-quarterly-job-07] | `-- Extracting zstd-1.5.5: .......... done [140i386-quarterly-job-07] `-- Extracting binutils-2.40_4,1: .......... done [140i386-quarterly-job-07] `-- Installing libX11-1.8.7,1... [140i386-quarterly-job-07] | `-- Installing libxcb-1.15_1... [140i386-quarterly-job-07] | | `-- Installing libXau-1.0.9... [140i386-quarterly-job-07] | | `-- Extracting libXau-1.0.9: .......... done [140i386-quarterly-job-07] | | `-- Installing libXdmcp-1.1.3... [140i386-quarterly-job-07] | | `-- Installing xorgproto-2023.2... [140i386-quarterly-job-07] | | `-- Extracting xorgproto-2023.2: .......... done [140i386-quarterly-job-07] | | `-- Extracting libXdmcp-1.1.3: ......... done [140i386-quarterly-job-07] | `-- Extracting libxcb-1.15_1: .......... done [140i386-quarterly-job-07] `-- Extracting libX11-1.8.7,1: .......... done [140i386-quarterly-job-07] Extracting ocaml-4.08.1: .......... done ===> ocaml-images-4.0.1_13,2 depends on file: /usr/local/bin/ocamlc - found ===> Returning to build of ocaml-images-4.0.1_13,2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ocaml-images-4.0.1_13,2 for building jpegwrite.c:289: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:303: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 ) ^ 7 warnings generated. 20 warnings generated. - build src bmp.cmo + ocamlfind ocamlc -package graphics -unsafe-string -I . -o bmp.cmo -c bmp.ml File "bmp.ml", line 224, characters 14-27: 224 | let bitmap = String.create (bih.biWidth * bih.biHeight) in ^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.create Use Bytes.create instead. File "bmp.ml", line 235, characters 33-59: 235 | if j < bih.biWidth then bitmap.[!bitmapindex] <- c; ^^^^^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "bmp.ml", line 276, characters 17-53: 276 | bitmap.[!bitmapindex] <- Char.chr c1; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "bmp.ml", line 287, characters 13-49: 287 | bitmap.[!bitmapindex] <- Char.chr c1; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "bmp.ml", line 298, characters 14-27: 298 | let bitmap = String.create (bih.biWidth * bih.biHeight) in ^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.create Use Bytes.create instead. File "bmp.ml", line 314, characters 7-76: 314 | bitmap.[!bitmapindex] <- if !c land 0x80 <> 0 then '\001' else '\000'; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "bmp.ml", line 325, characters 14-27: 325 | let bitmap = String.create (bih.biWidth * bih.biHeight) in ^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.create Use Bytes.create instead. File "bmp.ml", line 344, characters 10-66: 344 | bitmap.[!bitmapindex] <- Char.chr ((!c land 0xf0) lsr 4); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "bmp.ml", line 383, characters 16-63: 383 | bitmap.[!bitmapindex] <- Char.chr (c land 0x0F); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "bmp.ml", line 398, characters 12-47: 398 | bitmap.[!bitmapindex] <- Char.chr c; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "bmp.ml", line 410, characters 15-28: 410 | let bitmap = String.create ((bih.biWidth * bih.biHeight) * 3) in ^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.create Use Bytes.create instead. - build src jpeg.cmo + ocamlfind ocamlc -package graphics -unsafe-string -I . -o jpeg.cmo -c jpeg.ml File "jpeg.ml", line 98, characters 21-34: 98 | let scanline = String.create (w * 3) in ^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.create Use Bytes.create instead. File "jpeg.ml", line 144, characters 14-27: 144 | let buf = String.create (width * 4) in ^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.create Use Bytes.create instead. File "jpeg.ml", line 150, characters 6-46: 150 | buf.[x * 4 + 0] <- char_of_int (255 - c); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "jpeg.ml", line 151, characters 6-46: 151 | buf.[x * 4 + 1] <- char_of_int (255 - m); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "jpeg.ml", line 152, characters 6-46: 152 | buf.[x * 4 + 2] <- char_of_int (255 - y); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "jpeg.ml", line 153, characters 6-46: 153 | buf.[x * 4 + 3] <- char_of_int (255 - k) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "jpeg.ml", line 182, characters 12-25: 182 | let s = String.create (256 * 4) in ^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.create Use Bytes.create instead. File "jpeg.ml", line 185, characters 6-36: 185 | s.[x * 4 + 0] <- char_of_int c; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "jpeg.ml", line 186, characters 6-36: 186 | s.[x * 4 + 1] <- char_of_int m; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "jpeg.ml", line 187, characters 6-36: 187 | s.[x * 4 + 2] <- char_of_int y; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "jpeg.ml", line 188, characters 6-36: 188 | s.[x * 4 + 3] <- char_of_int k; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "jpeg.ml", line 210, characters 14-27: 210 | let str = String.create 4 in ^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.create Use Bytes.create instead. File "jpeg.ml", line 223, characters 14-27: 223 | let s = String.create (blocklen - 2) in ^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.create Use Bytes.create instead. File "jpeg.ml", line 233, characters 14-27: 233 | let str = String.create len in ^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.create Use Bytes.create instead. File "jpeg.ml", line 244, characters 6-25: 244 | Pervasives.close_in ic; ^^^^^^^^^^^^^^^^^^^ 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 "jpeg.ml", line 252, characters 6-25: 252 | Pervasives.close_in ic; ^^^^^^^^^^^^^^^^^^^ 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 7 warnings generated. File "bmp.ml", line 416, characters 6-49: 416 | bitmap.[!pp + 2] <- Char.chr (read_byte ic); (* Blue *) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "bmp.ml", line 417, characters 6-49: 417 | bitmap.[!pp + 1] <- Char.chr (read_byte ic); (* Green *) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "bmp.ml", line 418, characters 6-45: 418 | bitmap.[!pp] <- Char.chr (read_byte ic); (* Red *) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. - build src pngwrite.o + cc -I /usr/local/include -I /usr/local/include/X11 -I /usr/local/include/libpng15 -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/libpng16 -fPIC -I /usr/local/lib/ocaml -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/libpng15 -c -o pngwrite.o pngwrite.c pngwrite.c:28: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:139: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 ) ^ 2 warnings generated. - build src pngread.o + cc -I /usr/local/include -I /usr/local/include/X11 -I /usr/local/include/libpng15 -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/libpng16 -fPIC -I /usr/local/lib/ocaml -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/libpng15 -c -o pngread.o pngread.c pngread.c:155:7: warning: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] memcpy(String_val(tmp), buf+rowbytes*i, rowbytes); ^ pngread.c:155:7: note: include the header or explicitly provide a declaration for 'memcpy' pngread.c:35: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:209: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 ) ^ 3 warnings generated. *** omake: 400/661 targets are up to date *** omake: failed (0.55 sec, 93/93 scans, 86/106 rules, 245/312 digests) *** omake: targets were not rebuilt because of errors: src/gifwrite.o depends on: src/gifwrite.c *** Error code 1 Stop. make: stopped in /usr/ports/graphics/ocaml-images