From nobody Sun Dec 17 23:05:36 2023 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 4Stdpm6WcJz54PyQ for ; Sun, 17 Dec 2023 23:05:36 +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 4Stdpm4cwrz3dbV for ; Sun, 17 Dec 2023 23:05:36 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702854336; a=rsa-sha256; cv=none; b=ur4e4f3f5/Nz9eCHkmNACytHIvgbSzUjFD9wp36dk1Bs+yHF8HTPFPLEy3S83HiqO1tfSX 1cyXcsObvHNX1Oj22YQK9tvsjHTrXvTv3DfepYHAWSLoWTlBpEY/Ks3R78YAXu0G/E/AQR C5MiUw9lza7DJpMhEFtA4cDUbnnF1qv3MsrqzZGWhYyj4Mg4vh6TUfYxSRhB7Z04S7xCAN eTC2Xbkn5nRu0W62YdMLm6uNHRVFp4iS+Spk0Df/+JEEcOHl8MceQsBSUkp7GhhhKwZoX+ slx56GKq0vyXu+7Si/gdGjJyapWRlC9WHGCKeIMIOnrh50oVMYT59IjpVKu99g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702854336; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=eeNpPIaIONH4a92emWeM8yB2jtBMQ7yrCgnB5t7FM4I=; b=vxlVy6Unemkd5Pj6W0nPpc0sb9OoP5qwluiRztZCEofhdZgrPZpZ5RAHUf2BstnTt5PKQS +JdOp8SimEuAD6qhyBZaJ2RBoJoXH48IorfHfEnNYuUxfvDdmOSFi7OwUtagY02zL4m1yo RoRHBGXKDrlYuPHIZPv2Mrt/cPRIMSGYMSF6rV1wSxBhv77COsFWweVMj6YKtDviqZGxOr azyDq7/RYjmPcbT/tyI9vG0eJNXWtCL9weNkzBF3k+3PbNuEOEH69W2CgjdGJ1ycbNtOUP X+4wxZkMoHOM2UnAK4NtMj7yKgvFOUNHXYfzGnTE1dyyR3KMVNmi6cHK9O7diA== Received: from beefy17.nyi.freebsd.org (beefy17.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:20]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4Stdpm3kfrzxHx for ; Sun, 17 Dec 2023 23:05:36 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from root (uid 0) (envelope-from pkg-fallout@FreeBSD.org) id 13ee by beefy17.nyi.freebsd.org (DragonFly Mail Agent v0.13+ on beefy17.nyi.freebsd.org); Sun, 17 Dec 2023 23:05:36 +0000 To: michael.grunewald@laposte.net Subject: [package - main-i386-default][graphics/ocaml-images] Failed for ocaml-images-4.0.1_13,2 in build Cc: pkg-fallout@FreeBSD.org Date: Sun, 17 Dec 2023 23:05:36 +0000 Message-Id: <657f7ec0.13ee.5217dd04@beefy17.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/beefy17/data/main-i386-default/pd85c123861ba_s6f3e9bac4d/logs/ocaml-images-4.0.1_13,2.log Build URL: https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=pd85c123861ba_s6f3e9bac4d Log: =>> Building graphics/ocaml-images build started at Sun Dec 17 23:05:26 UTC 2023 port directory: /usr/ports/graphics/ocaml-images package name: ocaml-images-4.0.1_13,2 building for: FreeBSD main-i386-default-job-09 15.0-CURRENT FreeBSD 15.0-CURRENT 1500007 i386 maintained by: michael.grunewald@laposte.net Makefile datestamp: -rw-r--r-- 1 root wheel 2247 Nov 28 01:01 /usr/ports/graphics/ocaml-images/Makefile Ports top last git commit: d85c123861b Ports top unclean checkout: no Port dir last git commit: 1ab547de872 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.0 Host OSVERSION: 1500006 Jail OSVERSION: 1500007 Job Id: 09 !!! Jail is newer than host. (Jail: 1500007, Host: 1500006) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/sh BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 OSVERSION=1500007 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=15.0-CURRENT LOCALBASE=/usr/local UNAME_v=FreeBSD 15.0-CURRENT 1500007 USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.0 MASTERMNT=/usr/local/poudriere/data/.m/main-i386-default/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/main-i386-default/09/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=main-i386-default SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.0 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=15.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 ---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 [main-i386-default-job-09] Installing pkg-1.20.9... [main-i386-default-job-09] 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 [main-i386-default-job-09] Installing ocaml-4.08.1... [main-i386-default-job-09] `-- Installing binutils-2.40_4,1... [main-i386-default-job-09] | `-- Installing gettext-runtime-0.22.3... [main-i386-default-job-09] | | `-- Installing indexinfo-0.3.1... [main-i386-default-job-09] | | `-- Extracting indexinfo-0.3.1: .... done [main-i386-default-job-09] | `-- Extracting gettext-runtime-0.22.3: .......... done [main-i386-default-job-09] | `-- Installing zstd-1.5.5... [main-i386-default-job-09] | | `-- Installing liblz4-1.9.4,1... [main-i386-default-job-09] | | `-- Extracting liblz4-1.9.4,1: .......... done [main-i386-default-job-09] | `-- Extracting zstd-1.5.5: .......... done [main-i386-default-job-09] `-- Extracting binutils-2.40_4,1: .......... done [main-i386-default-job-09] `-- Installing libX11-1.8.7,1... [main-i386-default-job-09] | `-- Installing libxcb-1.15_1... [main-i386-default-job-09] | | `-- Installing libXau-1.0.9... [main-i386-default-job-09] | | `-- Extracting libXau-1.0.9: .......... done [main-i386-default-job-09] | | `-- Installing libXdmcp-1.1.3... [main-i386-default-job-09] | | `-- Installing xorgproto-2023.2... [main-i386-default-job-09] | | `-- Extracting xorgproto-2023.2: .......... done [main-i386-default-job-09] | | `-- Extracting libXdmcp-1.1.3: ......... done 452 | type caml__temp_result = (result); \ | ^ ~~~~~~~~ gifwrite.c:47:26: error: incompatible integer to pointer conversion returning 'value' (aka 'long') from a function with result type 'ColorMapObject *' (aka 'struct ColorMapObject *') [-Wint-conversion] 47 | if( cmap == Atom(0) ){ CAMLreturn(NULL); } | ^~~~~~~~~~~~~~~~ /usr/local/lib/ocaml/caml/memory.h:457:28: note: expanded from macro 'CAMLreturn' 457 | #define CAMLreturn(result) CAMLreturnT(value, result) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/ocaml/caml/memory.h:454:10: note: expanded from macro 'CAMLreturnT' 454 | return caml__temp_result; \ | ^~~~~~~~~~~~~~~~~ gifwrite.c:65:3: error: incompatible pointer to integer conversion initializing 'value' (aka 'long') with an expression of type 'ColorMapObject *' (aka 'struct ColorMapObject *') [-Wint-conversion] 65 | CAMLreturn(cmapobj); | ^~~~~~~~~~~~~~~~~~~ /usr/local/lib/ocaml/caml/memory.h:457:28: note: expanded from macro 'CAMLreturn' 457 | #define CAMLreturn(result) CAMLreturnT(value, result) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/ocaml/caml/memory.h:452:8: note: expanded from macro 'CAMLreturnT' 452 | type caml__temp_result = (result); \ | ^ ~~~~~~~~ gifwrite.c:65:3: error: incompatible integer to pointer conversion returning 'value' (aka 'long') from a function with result type 'ColorMapObject *' (aka 'struct ColorMapObject *') [-Wint-conversion] 65 | CAMLreturn(cmapobj); | ^~~~~~~~~~~~~~~~~~~ /usr/local/lib/ocaml/caml/memory.h:457:28: note: expanded from macro 'CAMLreturn' 457 | #define CAMLreturn(result) CAMLreturnT(value, result) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/ocaml/caml/memory.h:454:10: note: expanded from macro 'CAMLreturnT' 454 | return caml__temp_result; \ | ^~~~~~~~~~~~~~~~~ gifwrite.c:68:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 68 | value eGifOpenFileName( name ) | ^ gifwrite.c:146:32: warning: passing 'char *' to parameter of type 'GifPixelType *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 146 | if ( EGifPutLine(GifFileOut, String_val(buf), GifFileOut->Image.Width) | ^~~~~~~~~~~~~~~ /usr/local/lib/ocaml/caml/mlvalues.h:258:23: note: expanded from macro 'String_val' 258 | #define String_val(x) ((char *) Bp_val(x)) | ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/gif_lib.h:160:53: note: passing argument to parameter 'GifLine' here 160 | int EGifPutLine(GifFileType *GifFile, GifPixelType *GifLine, | ^ 2 warnings and 4 errors generated. ototype] 44 | value open_tiff_file_for_read( name ) | ^ 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] 123 | value read_tiff_scanline( tiffh, buf, row ) | ^ tiffread.c:133:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 133 | value close_tiff_file( tiffh ) | ^ 9 warnings generated. - 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] 28 | 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] 139 | value write_png_file_index( name, buffer, cmap, width, height ) | ^ 2 warnings generated. - build src units.o + ocamlfind ocamlopt -package graphics -unsafe-string -I . -o units.cmx -c units.ml File "units.ml", line 33, characters 19-35: 33 | (List.assoc (String.lowercase unit) units) *. float_of_string digit ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii instead. - build src gifread.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 gifread.o gifread.c gifread.c:209:28: warning: passing 'char *' to parameter of type 'GifPixelType *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 209 | if( DGifGetLine(GifFile, String_val(buf), GifFile->Image.Width ) | ^~~~~~~~~~~~~~~ /usr/local/lib/ocaml/caml/mlvalues.h:258:23: note: expanded from macro 'String_val' 258 | #define String_val(x) ((char *) Bp_val(x)) | ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/gif_lib.h:207:53: note: passing argument to parameter 'GifLine' here 207 | int DGifGetLine(GifFileType *GifFile, GifPixelType *GifLine, int GifLineLen); | ^ - build src ftintf.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 ftintf.o ftintf.c ftintf.c:41:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 41 | value done_FreeType( library ) | ^ ftintf.c:53:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 53 | value new_Face( library, fontpath, idx ) | ^ ftintf.c:70:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 70 | value face_info( facev ) | ^ - build src jpegwrite.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 jpegwrite.o jpegwrite.c jpegwrite.c:84:16: warning: assigning to 'JSAMPLE *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 84 | image_buffer = String_val(buffer); | ^ ~~~~~~~~~~~~~~~~~~ jpegwrite.c:203:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 203 | value open_jpeg_file_for_write_colorspace( name, width, height, qual, colorspace ) | ^ - build src bitmap.o + ocamlfind ocamlopt -package graphics -unsafe-string -I . -o bitmap.cmx -c bitmap.ml File "bitmap.ml", line 40, characters 6-19: 40 | try String.create s with Invalid_argument _ -> raise Out_of_memory;; ^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.create Use Bytes.create instead. - build src bitmap.cmo + ocamlfind ocamlc -package graphics -unsafe-string -I . -o bitmap.cmo -c bitmap.ml File "bitmap.ml", line 40, characters 6-19: 40 | try String.create s with Invalid_argument _ -> raise Out_of_memory;; ^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.create Use Bytes.create instead. ftintf.c:96:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 96 | value done_Face( face ) | ^ ftintf.c:106:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 106 | value get_num_glyphs( face ) | ^ jpegwrite.c:269:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 269 | value open_jpeg_file_for_write( name, width, height, qual ) | ^ jpegwrite.c:279:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 279 | value open_jpeg_file_for_write_cmyk( name, width, height, qual ) | ^ ftintf.c:114:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 114 | value set_Char_Size( face, char_w, char_h, res_h, res_v ) | ^ ftintf.c:131:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 131 | value set_Pixel_Sizes( face, pixel_w, pixel_h ) | ^ ftintf.c:143:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 143 | value val_CharMap( charmapp ) | ^ jpegwrite.c:297:10: warning: assigning to 'JSAMPROW' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 297 | row[0] = String_val( buf ); | ^ ~~~~~~~~~~~~~~~~~ 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] 289 | 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] 303 | value close_jpeg_file_for_write( jpegh ) | ^ ftintf.c:156:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 156 | value get_CharMaps( facev ) | ^ ftintf.c:184:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 184 | value set_CharMap( facev, charmapv ) | ^ ftintf.c:213:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 213 | value get_Char_Index( face, code ) | ^ ftintf.c:220:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 220 | value load_Glyph( face, index, flags ) | ^ ftintf.c:237:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 237 | value load_Char( face, code, flags ) | ^ ftintf.c:255:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 255 | value render_Glyph_of_Face( face, mode ) | ^ ftintf.c:266:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] File "bitmap.ml", line 280, characters 6-27: 280 | test_block.[0] <- '0'; ^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. 266 | value render_Char( face, code, flags, mode ) | ^ File "bitmap.ml", line 280, characters 6-27: 280 | test_block.[0] <- '0'; ^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. ftintf.c:287:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 287 | value set_Transform( face, vmatrix, vpen ) | ^ 7 warnings generated. ftintf.c:306:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 306 | value get_Bitmap_Info( vface ) | ^ 1 warning generated. ftintf.c:336:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 336 | value read_Bitmap( vface, vx, vy ) /* This "y" is in Y upwards convention */ | ^ ftintf.c:374:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 374 | value get_Glyph_Metrics( face ) | ^ ftintf.c:402:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 402 | value get_Size_Metrics( face ) | ^ 20 warnings generated. *** omake: 392/661 targets are up to date *** omake: failed (0.76 sec, 104/104 scans, 55/66 rules, 224/291 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