From nobody Tue Mar 05 01:16:10 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 4Tpd1Q3x81z5DfLh for ; Tue, 5 Mar 2024 01:16:10 +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 4Tpd1Q1Rzxz4Rt2 for ; Tue, 5 Mar 2024 01:16:10 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709601370; a=rsa-sha256; cv=none; b=tmG5lPKb8j+ukqH8ZOiRnGiCQBfnbOvIm4ZNdaT0uwjfF2ycRwtjmaV8MiG8sd3kt3QkHq HYMaDusfsH2zBSwRoRFV63O5kXxCZ562zZTBWyLja0ATk7Zx7ukt8eIRa8WjK0aBAj0tLf IHpE7fDqMXrQTv6xdgvWjzszzN6DezUGPVpo+cZGJ5weoIfT1MSvC0KBvhbhhcDpcCHzY6 NRp6U34nsTeSF8mhHG4DXJ6tlpCc14+u/19k/AtH03q91BjS5LJwWy2O697IHI6Wwrv03c DbsmUv1KiG9pI7LQvA1W58AD/ze8BGNbreg4Wt3obY3OHyXzVHZgetYN9lOLaA== 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=1709601370; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=OnO55Uu8/gCxsxW37csvHNHCaOIAyIf3TZXEv2Shk2o=; b=dky/kemYN/VM6BaNERbSkSIq0gvIDE1EdKafHGA87DBxQe9F4BRwJ84rJF70k5SVld5xBQ XD8Z2UnhJcejEhJ9JgzhJ6c5jeA4cRdmkiALfvQodPhkafSEkWX2M8yfoTr6L/GdpEJiVz spv9HVPaLlSEHg6EUMHZfF7fkgbu093rY4VL3bKUC9CwiBlxwR+oDfQ2Fr0I/zGNmx5JSF 3H35tUEjs6B96QfdIUc8EPoxPDf41mQ+u6nNg1jgh8CPXXbV5H22rXB6fUXnSbmKYsQhmo GO33LckOt0pGc+lqmhhDG7iEDKlmLV0OM/plzwZAsajHVntFvtrmSIDRRvmiqQ== Received: from beefy8.nyi.freebsd.org (beefy8.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:17]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4Tpd1Q0QYQzl5p for ; Tue, 5 Mar 2024 01:16:10 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from root (uid 0) (envelope-from pkg-fallout@FreeBSD.org) id aac4 by beefy8.nyi.freebsd.org (DragonFly Mail Agent v0.13+ on beefy8.nyi.freebsd.org); Tue, 05 Mar 2024 01:16:10 +0000 To: michael.grunewald@laposte.net Subject: [package - 140amd64-quarterly][graphics/ocaml-images] Failed for ocaml-images-4.0.1_13,2 in build Cc: pkg-fallout@FreeBSD.org Date: Tue, 05 Mar 2024 01:16:10 +0000 Message-Id: <65e6725a.aac4.53627c82@beefy8.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/beefy8/data/140amd64-quarterly/b8e5ba2f138f/logs/ocaml-images-4.0.1_13,2.log Build URL: https://pkg-status.freebsd.org/beefy8/build.html?mastername=140amd64-quarterly&build=b8e5ba2f138f Log: =>> Building graphics/ocaml-images build started at Tue Mar 5 01:15:58 UTC 2024 port directory: /usr/ports/graphics/ocaml-images package name: ocaml-images-4.0.1_13,2 building for: FreeBSD 140amd64-quarterly-job-12 14.0-RELEASE-p5 FreeBSD 14.0-RELEASE-p5 amd64 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: b8e5ba2f1 Ports top unclean checkout: no Port dir last git commit: 756e18783 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.1-1-g1e9f97d6 Host OSVERSION: 1500006 Jail OSVERSION: 1400097 Job Id: 12 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1400097 UNAME_v=FreeBSD 14.0-RELEASE-p5 UNAME_r=14.0-RELEASE-p5 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.1-1-g1e9f97d6 MASTERMNT=/usr/local/poudriere/data/.m/140amd64-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/140amd64-quarterly/12/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=140amd64-quarterly SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/140amd64-quarterly/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.1-1-g1e9f97d6 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 #### #### # 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) 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-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 [140amd64-quarterly-job-12] Installing pkg-1.20.9... [140amd64-quarterly-job-12] 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 [140amd64-quarterly-job-12] Installing ocaml-4.08.1... [140amd64-quarterly-job-12] `-- Installing binutils-2.40_4,1... [140amd64-quarterly-job-12] | `-- Installing gettext-runtime-0.22.3... [140amd64-quarterly-job-12] | | `-- Installing indexinfo-0.3.1... [140amd64-quarterly-job-12] | | `-- Extracting indexinfo-0.3.1: .... done [140amd64-quarterly-job-12] | `-- Extracting gettext-runtime-0.22.3: .......... done [140amd64-quarterly-job-12] | `-- Installing zstd-1.5.5... [140amd64-quarterly-job-12] | | `-- Installing liblz4-1.9.4,1... [140amd64-quarterly-job-12] | | `-- Extracting liblz4-1.9.4,1: .......... done [140amd64-quarterly-job-12] | `-- Extracting zstd-1.5.5: .......... done [140amd64-quarterly-job-12] `-- Extracting binutils-2.40_4,1: .......... done [140amd64-quarterly-job-12] `-- Installing libX11-1.8.7,1... [140amd64-quarterly-job-12] | `-- Installing libxcb-1.15_1... [140amd64-quarterly-job-12] | | `-- Installing libXau-1.0.9... [140amd64-quarterly-job-12] | | `-- Extracting libXau-1.0.9: .......... done [140amd64-quarterly-job-12] | | `-- Installing libXdmcp-1.1.3... [140amd64-quarterly-job-12] | | `-- Installing xorgproto-2023.2... [140amd64-quarterly-job-12] | | `-- Extracting xorgproto-2023.2: .......... done [140amd64-quarterly-job-12] | | `-- Extracting libXdmcp-1.1.3: ......... done [140amd64-quarterly-job-12] | `-- Extracting libxcb-1.15_1: .......... done [140amd64-quarterly-job-12] `-- Extracting libX11-1.8.7,1: .......... done [140amd64-quarterly-job-12] 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 ===> Extracting for ocaml-images-4.0.1_13,2 => SHA256 Checksum OK for ocaml-images/v4.0.1.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "rgb24.ml", line 30, characters 14-27: 30 | let str = String.create bytes_per_pixel in ^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.create Use Bytes.create instead. 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. - build src tiffwrite.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 tiffwrite.o tiffwrite.c tiffwrite.c:87: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( tiffh, buf, row ) ^ - build src index8.cmo + ocamlfind ocamlc -package graphics -unsafe-string -I . -o index8.cmo -c index8.ml File "index8.ml", line 24, characters 4-30: 24 | str.[pos] <- char_of_int t ^^^^^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "index8.ml", line 26, characters 14-27: 26 | let str = String.create bytes_per_pixel in ^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.create Use Bytes.create instead. - build src index16.cmo + ocamlfind ocamlc -package graphics -unsafe-string -I . -o index16.cmo -c index16.ml File "index16.ml", line 25, characters 4-42: 25 | str.[pos ] <- char_of_int (t / 256); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "index16.ml", line 26, characters 4-44: 26 | str.[pos + 1] <- char_of_int (t mod 256) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "index16.ml", line 28, characters 14-27: 28 | let str = String.create bytes_per_pixel in ^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.create Use Bytes.create instead. 1 warning generated. - build src jpegread.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 jpegread.o jpegread.c jpegread.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] value jpeg_set_scale_denom( jpegh, denom ) ^ jpegread.c:250: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_read( name ) ^ jpegread.c:326: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_read_start( jpegh ) ^ jpegread.c:398: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] row[0] = String_val( buf ) + Int_val( offset ); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jpegread.c:390: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_jpeg_scanline( jpegh, buf, offset ) ^ jpegread.c:412: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] row[0] = String_val(buf) + Int_val(offset); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jpegread.c:423: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_read( jpegh ) ^ 7 warnings generated. - build src gifwrite.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 gifwrite.o gifwrite.c gifwrite.c:47:26: error: incompatible pointer to integer conversion initializing 'value' (aka 'long') with an expression of type 'void *' [-Wint-conversion] if( cmap == Atom(0) ){ CAMLreturn(NULL); } ^~~~~~~~~~~~~~~~ /usr/local/lib/ocaml/caml/memory.h:457:28: note: expanded from macro 'CAMLreturn' #define CAMLreturn(result) CAMLreturnT(value, result) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/ocaml/caml/memory.h:452:8: note: expanded from macro 'CAMLreturnT' 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] if( cmap == Atom(0) ){ CAMLreturn(NULL); } ^~~~~~~~~~~~~~~~ /usr/local/lib/ocaml/caml/memory.h:457:28: note: expanded from macro 'CAMLreturn' #define CAMLreturn(result) CAMLreturnT(value, result) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/ocaml/caml/memory.h:454:10: note: expanded from macro 'CAMLreturnT' 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] CAMLreturn(cmapobj); ^~~~~~~~~~~~~~~~~~~ /usr/local/lib/ocaml/caml/memory.h:457:28: note: expanded from macro 'CAMLreturn' #define CAMLreturn(result) CAMLreturnT(value, result) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/ocaml/caml/memory.h:452:8: note: expanded from macro 'CAMLreturnT' 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] CAMLreturn(cmapobj); ^~~~~~~~~~~~~~~~~~~ /usr/local/lib/ocaml/caml/memory.h:457:28: note: expanded from macro 'CAMLreturn' #define CAMLreturn(result) CAMLreturnT(value, result) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/ocaml/caml/memory.h:454:10: note: expanded from macro 'CAMLreturnT' 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] 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] if ( EGifPutLine(GifFileOut, String_val(buf), GifFileOut->Image.Width) ^~~~~~~~~~~~~~~ /usr/local/lib/ocaml/caml/mlvalues.h:258:23: note: expanded from macro 'String_val' #define String_val(x) ((char *) Bp_val(x)) ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/gif_lib.h:160:53: note: passing argument to parameter 'GifLine' here int EGifPutLine(GifFileType *GifFile, GifPixelType *GifLine, ^ 2 warnings and 4 errors generated. - build src images.cmo + ocamlfind ocamlc -package graphics -unsafe-string -I . -o images.cmo -c images.ml File "images.ml", line 105, characters 10-26: 105 | let s = String.lowercase s in ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii instead. - 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] 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] 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] value face_info( facev ) ^ 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] 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] value get_num_glyphs( face ) ^ 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] 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] 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] value val_CharMap( charmapp ) ^ 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] 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] 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] 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] 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] 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] 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] value render_Char( face, code, flags, mode ) ^ 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] value set_Transform( face, vmatrix, vpen ) ^ 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] value get_Bitmap_Info( vface ) ^ 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] 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] 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] value get_Size_Metrics( face ) ^ 20 warnings generated. *** omake: 393/661 targets are up to date *** omake: failed (0.67 sec, 94/94 scans, 73/90 rules, 235/302 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