+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/camlimages-4.0.1nb120/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/camlimages-4.0.1nb120/work.log ===> Building for camlimages-4.0.1nb120 cd /home/pbulk/build/graphics/camlimages/work/camlspotter-camlimages-c803efa9d5d3 && /opt/pkg/bin/omake --configure --verbose *** omake: reading OMakefiles OMake warning: could not create and/or lock a cache file for /opt/pkg/lib/omake/Pervasives.om OMake warning: could not create and/or lock a cache file for /opt/pkg/lib/omake/build/C.om OMake warning: could not create and/or lock a cache file for /opt/pkg/lib/omake/build/Common.om OMake warning: could not create and/or lock a cache file for /opt/pkg/lib/omake/configure/Configure.om OMake warning: could not create and/or lock a cache file for /opt/pkg/lib/omake/build/OCaml.om OMake warning: could not create and/or lock a cache file for /opt/pkg/lib/omake/build/LaTeX.om --- Checking for ocamlfind... (found /home/pbulk/build/graphics/camlimages/work/.buildlink/bin/ocamlfind) --- Checking for ocamlc.opt... (found /home/pbulk/build/graphics/camlimages/work/.buildlink/bin/ocamlc.opt) --- Checking for ocamlopt.opt... (found /home/pbulk/build/graphics/camlimages/work/.buildlink/bin/ocamlopt.opt) --- Checking for ocamldep.opt... (found /opt/pkg/bin/ocamldep.opt) --- Checking for ocamllex.opt... (found /opt/pkg/bin/ocamllex.opt) --- Checking whether ocamlc understands the "z" warnings... (yes) --- Checking whether ocamlopt can create cmxs plugins... (yes) File OMyMakeroot: line 169, characters 18-85: Warning: old-style fun expression. This expression should use a => binding. File src/OMakefile: line 73, characters 2-34: Warning: old-style foreach expression. This expression should use a => binding. File src/OMakefile: line 77, characters 2-24: Warning: old-style foreach expression. This expression should use a => binding. File src/OMakefile: line 143, characters 2-34: Warning: old-style foreach expression. This expression should use a => binding. File src/OMakefile: line 147, characters 2-24: Warning: old-style foreach expression. This expression should use a => binding. File src/OMakefile: line 171, characters 2-34: Warning: old-style foreach expression. This expression should use a => binding. File src/OMakefile: line 178, characters 2-24: Warning: old-style foreach expression. This expression should use a => binding. File src/OMakefile: line 237, characters 70-136: Warning: old-style foreach expression. This expression should use a => binding. --- Checking for ocamlmklib... (found /home/pbulk/build/graphics/camlimages/work/.buildlink/bin/ocamlmklib) --- Checking for gif_lib.h... --- Checking for gcc... (found /home/pbulk/build/graphics/camlimages/work/.cwrapper/bin/gcc) --- Checking for g++... (found /home/pbulk/build/graphics/camlimages/work/.cwrapper/bin/g++) --- Checking for gcc... (found /home/pbulk/build/graphics/camlimages/work/.cwrapper/bin/gcc) --- Checking for g++... (found /home/pbulk/build/graphics/camlimages/work/.cwrapper/bin/g++) --- Checking for gcc... (found /home/pbulk/build/graphics/camlimages/work/.cwrapper/bin/gcc) --- Checking for ld... (found /home/pbulk/build/graphics/camlimages/work/.cwrapper/bin/ld) --- Checking for as... (found /home/pbulk/build/graphics/camlimages/work/.cwrapper/bin/as) (found) --- Checking for function DGifOpenFileName in library gif... (found) --- Checking for zlib.h... (found) --- Checking for function zlibVersion in library z... (found) --- Checking for png.h... (found) --- Checking for function png_create_read_struct in library png16... (found) --- Checking for jpeglib.h... (found) --- Checking for function jpeg_read_header in library jpeg... (found) --- Checking for tiff.h... (found) --- Checking for function TIFFOpen in library tiff... (found) --- Checking for xpm.h... (NOT found) --- Checking for gs... (found /opt/pkg/bin/gs) --- Checking lablgtk2... /opt/pkg/lib/ocaml/site-lib/lablgtk2 (found) --- Checking graphics compilability: open Graphics... (yes) --- Checking for freetype-config... (found /home/pbulk/build/graphics/camlimages/work/.buildlink/bin/freetype-config) SUPPORT_FREETYPE=true! --- Checking for rgb.txt... (FAILED - no rgb.txt found) --- Configuring wordsize 8 --- C libraries libgif: true libpng: true libjpeg: true libtiff: true libxpm: false libz: true --- Subpackages gif: true (-lgif) png: true (-lpng16 -lz) jpeg: true (-ljpeg) tiff: true (-ltiff -ljpeg -lz ) xpm: false () freetype: true (/home/pbulk/build/graphics/camlimages/work/.buildlink/bin/freetype-config) (-Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lfreetype) ps: true (/opt/pkg/bin/gs) rgb.txt: false (/etc/X11 /usr/share/X11 /opt/pkg/lib/X11) lablgtk2: true graphics: true --- Summary supported subpackages: gif png jpeg tiff ps lablgtk2 graphics freetype supported formats: gif png jpeg tiff ps supported non-formats: lablgtk2 graphics freetype CFLAGS: LDFLAGS: -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/opt/pkg/lib/nspr -Wl,-R/opt/pkg/lib/nspr -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 --- --- Checking if ocamldep understands -modules... (yes) *** omake: finished reading OMakefiles (2.09 sec) - scan src scan-ocaml-graphic_image.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules graphic_image.mli - scan src scan-ocaml-graphic_image.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules graphic_image.ml - scan src scan-ocaml-oGraphic.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules oGraphic.ml - scan src scan-ocaml-imagegdk.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules imagegdk.mli - scan src scan-ocaml-imagegdk.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules imagegdk.ml - scan src scan-ocaml-oXimage2.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules oXimage2.ml - scan src scan-ocaml-ximage2.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules ximage2.ml - scan src scan-ocaml-oXimage.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules oXimage.mli - scan src scan-ocaml-oXimage.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules oXimage.ml - scan src scan-ocaml-ximage.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules ximage.mli - scan src scan-ocaml-ximage.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules ximage.ml - build . config.h + public.stdout = $(public.fopen $(public.file), "w") public.fsubst(, ($(public.file), ".in")) public.close($(public.stdout)) - scan src scan-ocaml-oFreetype.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules oFreetype.ml - scan src scan-ocaml-freetype.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules freetype.mli - scan src scan-ocaml-freetype.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules freetype.ml - scan src scan-ocaml-fttext.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules fttext.mli - scan src scan-ocaml-fttext.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules fttext.ml - scan src scan-ocaml-ftlow.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules ftlow.mli - scan src scan-ocaml-ftlow.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules ftlow.ml - scan src scan-ocaml-jis_unicode.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules jis_unicode.mli - scan src scan-ocaml-jis_unicode.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules jis_unicode.ml - build src camlimages.ml + public.stdout = $(public.fopen $(public.file), "w") public.fsubst(, ($(public.file), ".in")) public.close($(public.stdout)) - scan src scan-ocaml-colorhist.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules colorhist.mli - scan src scan-ocaml-colorhist.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules colorhist.ml - scan src scan-ocaml-jis_table.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules jis_table.ml - scan src scan-ocaml-genimage.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules genimage.mli - scan src scan-ocaml-genimage.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules genimage.ml - scan src scan-ocaml-oXvthumb.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules oXvthumb.mli - scan src scan-ocaml-oXvthumb.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules oXvthumb.ml - scan src scan-ocaml-geometry.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules geometry.mli - scan src scan-ocaml-geometry.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules geometry.ml - scan src scan-ocaml-xvthumb.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules xvthumb.mli - exit src camlimages.ml, 0.15 sec, code 0 - scan src scan-ocaml-camlimages.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules camlimages.ml - exit . config.h, 0.19 sec, code 0 - scan src scan-c-ftintf.c + gcc -I /usr/include/X11 -I /usr/local/include -I /opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -fPIC -I /opt/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/opt/pkg/include -MM ftintf.c - exit src scan-ocaml-geometry.mli, 0.06 sec, code 0 - build src geometry.cmi + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c geometry.mli - exit src scan-ocaml-oXvthumb.mli, 0.09 sec, code 0 - scan src scan-ocaml-xvthumb.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules xvthumb.ml - exit src scan-ocaml-genimage.ml, 0.12 sec, code 0 - scan src scan-ocaml-image_intf.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules image_intf.mli - exit src scan-ocaml-genimage.mli, 0.13 sec, code 0 - scan src scan-ocaml-tmpfile.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules tmpfile.mli - exit src scan-ocaml-jis_table.ml, 0.14 sec, code 0 - build src jis_table.o + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c jis_table.ml - exit src scan-ocaml-colorhist.ml, 0.14 sec, code 0 - scan src scan-ocaml-tmpfile.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules tmpfile.ml - exit src scan-ocaml-colorhist.mli, 0.15 sec, code 0 - scan src scan-ocaml-index16.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules index16.mli - exit src scan-ocaml-jis_unicode.ml, 0.18 sec, code 0 - scan src scan-ocaml-index16.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules index16.ml - exit src scan-ocaml-jis_unicode.mli, 0.18 sec, code 0 - build src jis_unicode.cmi + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c jis_unicode.mli - exit src scan-ocaml-ftlow.ml, 0.19 sec, code 0 - scan src scan-ocaml-mstring.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules mstring.mli - exit src scan-ocaml-ftlow.mli, 0.19 sec, code 0 - build src ftlow.cmi + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c ftlow.mli - exit src scan-ocaml-fttext.ml, 0.19 sec, code 0 - scan src scan-ocaml-mstring.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules mstring.ml - exit src scan-ocaml-fttext.mli, 0.21 sec, code 0 - scan src scan-ocaml-oImages.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules oImages.mli - exit src scan-ocaml-freetype.ml, 0.21 sec, code 0 - scan src scan-ocaml-oImages.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules oImages.ml - exit src scan-ocaml-freetype.mli, 0.21 sec, code 0 - build src freetype.cmi + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c freetype.mli - exit src scan-ocaml-oFreetype.ml, 0.21 sec, code 0 - scan src scan-ocaml-cmyk32.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules cmyk32.mli - exit src scan-ocaml-ximage.ml, 0.22 sec, code 0 - scan src scan-ocaml-cmyk32.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules cmyk32.ml - exit src scan-ocaml-ximage.mli, 0.25 sec, code 0 - scan src scan-ocaml-rgba32.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules rgba32.mli - exit src scan-ocaml-oXimage.ml, 0.27 sec, code 0 - scan src scan-ocaml-rgba32.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules rgba32.ml - exit src scan-ocaml-oXimage.mli, 0.27 sec, code 0 - scan src scan-ocaml-reduce.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules reduce.mli - exit src scan-ocaml-ximage2.ml, 0.28 sec, code 0 - scan src scan-ocaml-reduce.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules reduce.ml - exit src scan-ocaml-oXimage2.ml, 0.30 sec, code 0 - scan src scan-ocaml-region.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules region.mli - exit src scan-ocaml-imagegdk.ml, 0.30 sec, code 0 - scan src scan-ocaml-region.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules region.ml - exit src scan-ocaml-imagegdk.mli, 0.31 sec, code 0 - scan src scan-ocaml-bitmap.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules bitmap.mli - exit src scan-ocaml-oGraphic.ml, 0.32 sec, code 0 - scan src scan-ocaml-bitmap.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules bitmap.ml - exit src scan-ocaml-graphic_image.ml, 0.32 sec, code 0 - scan src scan-ocaml-index8.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules index8.mli - exit src scan-ocaml-graphic_image.mli, 0.33 sec, code 0 - scan src scan-ocaml-index8.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules index8.ml - build src jis_table.o + ocamlfind ocamlopt -package lablgtk2,graphics -I . -c jis_table.ml - exit src freetype.cmi, 0.21 sec, code 0 - scan src scan-ocaml-images.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules images.mli - exit src ftlow.cmi, 0.25 sec, code 0 - build src freetype.cmo + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c freetype.ml - exit src jis_unicode.cmi, 0.28 sec, code 0 - build src ftlow.cmo + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c ftlow.ml - exit src geometry.cmi, 0.34 sec, code 0 - build src ftlow.cmx + ocamlfind ocamlopt -package lablgtk2,graphics -I . -c ftlow.ml - exit src scan-ocaml-xvthumb.mli, 0.40 sec, code 0 - scan src scan-ocaml-images.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules images.ml - exit src scan-ocaml-geometry.ml, 0.41 sec, code 0 - build src geometry.cmo + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c geometry.ml - exit src scan-ocaml-oXvthumb.ml, 0.42 sec, code 0 - build src geometry.o + ocamlfind ocamlopt -package lablgtk2,graphics -I . -c geometry.ml - exit src scan-ocaml-bitmap.mli, 0.17 sec, code 0 - build src bitmap.cmi + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c bitmap.mli - exit src scan-ocaml-region.ml, 0.18 sec, code 0 - scan src scan-ocaml-oColor.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules oColor.mli - exit src scan-ocaml-region.mli, 0.20 sec, code 0 - build src region.cmi + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c region.mli - exit src scan-ocaml-reduce.ml, 0.21 sec, code 0 - scan src scan-ocaml-oColor.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules oColor.ml - exit src scan-ocaml-reduce.mli, 0.23 sec, code 0 - scan src scan-ocaml-color.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules color.mli - exit src scan-ocaml-rgba32.ml, 0.24 sec, code 0 - scan src scan-ocaml-info.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules info.mli - exit src scan-ocaml-rgba32.mli, 0.25 sec, code 0 - scan src scan-ocaml-color.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules color.ml - exit src scan-ocaml-cmyk32.ml, 0.26 sec, code 0 - scan src scan-ocaml-rgb24.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules rgb24.mli - exit src scan-ocaml-cmyk32.mli, 0.29 sec, code 0 - scan src scan-ocaml-rgb24.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules rgb24.ml - exit src scan-ocaml-oImages.ml, 0.32 sec, code 0 - scan src scan-ocaml-units.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules units.ml - exit src scan-ocaml-oImages.mli, 0.33 sec, code 0 - scan src scan-ocaml-blend.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules blend.mli - exit src scan-ocaml-mstring.ml, 0.33 sec, code 0 - scan src scan-ocaml-blend.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules blend.ml - exit src scan-ocaml-mstring.mli, 0.36 sec, code 0 - build src mstring.cmi + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c mstring.mli - exit src scan-ocaml-index16.ml, 0.38 sec, code 0 - scan src scan-ocaml-oPpm.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules oPpm.ml - exit src scan-ocaml-index16.mli, 0.39 sec, code 0 - scan src scan-ocaml-oBmp.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules oBmp.ml - exit src scan-ocaml-tmpfile.ml, 0.39 sec, code 0 - scan src scan-ocaml-bmp.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules bmp.mli - exit src scan-ocaml-tmpfile.mli, 0.42 sec, code 0 - build src tmpfile.cmi + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c tmpfile.mli - exit src scan-ocaml-image_intf.mli, 0.43 sec, code 0 - scan src scan-ocaml-bmp.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules bmp.ml - exit src scan-ocaml-xvthumb.ml, 0.44 sec, code 0 - scan src scan-ocaml-ppm.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules ppm.mli - exit src scan-c-ftintf.c, 0.46 sec, code 0 - build src ftintf.o + gcc -I /usr/include/X11 -I /usr/local/include -I /opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -fPIC -I /opt/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/opt/pkg/include -c -o ftintf.o ftintf.c - exit src scan-ocaml-camlimages.ml, 0.47 sec, code 0 - build src camlimages.o + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c camlimages.ml - exit src tmpfile.cmi, 0.07 sec, code 0 - build src tmpfile.cmx + ocamlfind ocamlopt -package lablgtk2,graphics -I . -c tmpfile.ml - exit src mstring.cmi, 0.13 sec, code 0 - build src mstring.cmx + ocamlfind ocamlopt -package lablgtk2,graphics -I . -c mstring.ml - exit src region.cmi, 0.22 sec, code 0 - build src region.cmo + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c region.ml - exit src bitmap.cmi, 0.24 sec, code 0 - build src region.cmx + ocamlfind ocamlopt -package lablgtk2,graphics -I . -c region.ml - exit src geometry.o, 0.26 sec, code 0 - build src mstring.cmo + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c mstring.ml - exit src geometry.cmo, 0.27 sec, code 0 - build src tmpfile.cmo + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c tmpfile.ml - exit src scan-ocaml-images.ml, 0.28 sec, code 0 - scan src scan-ocaml-ppm.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules ppm.ml - exit src ftlow.cmx, 0.29 sec, code 0 - build src freetype.cmx + ocamlfind ocamlopt -package lablgtk2,graphics -I . -c freetype.ml - exit src ftlow.cmo, 0.31 sec, code 0 - scan src scan-c-jpegwrite.c + gcc -I /usr/include/X11 -I /usr/local/include -I /opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -fPIC -I /opt/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/opt/pkg/include -MM jpegwrite.c - exit src freetype.cmo, 0.32 sec, code 0 - scan src scan-c-jpegread.c + gcc -I /usr/include/X11 -I /usr/local/include -I /opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -fPIC -I /opt/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/opt/pkg/include -MM jpegread.c - exit src scan-ocaml-images.mli, 0.33 sec, code 0 - scan src scan-ocaml-oJpeg.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules oJpeg.mli - exit src scan-ocaml-index8.ml, 0.35 sec, code 0 - scan src scan-ocaml-oJpeg.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules oJpeg.ml - exit src scan-ocaml-index8.mli, 0.36 sec, code 0 - scan src scan-ocaml-jpeg.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules jpeg.mli - exit src scan-ocaml-bitmap.ml, 0.36 sec, code 0 - scan src scan-ocaml-jpeg.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules jpeg.ml - exit src jis_table.o, 0.65 sec, code 0 - build src jis_unicode.cmx + ocamlfind ocamlopt -package lablgtk2,graphics -I . -c jis_unicode.ml In file included from /home/pbulk/build/graphics/camlimages/work/.buildlink/include/freetype2/freetype/fttypes.h:25, from /home/pbulk/build/graphics/camlimages/work/.buildlink/include/freetype2/freetype/freetype.h:25, from ftintf.c:25: /home/pbulk/build/graphics/camlimages/work/.buildlink/include/freetype2/freetype/ftsystem.h:172:13: warning: "alloc" is deprecated: use "caml_alloc" instead 172 | FT_Alloc_Func alloc; | ^~~~~~~~~~~~~~~ ftintf.c: In function 'init_FreeType': ftintf.c:32:13: warning: "stat_alloc" is deprecated: use "caml_stat_alloc" instead 32 | if( (library = stat_alloc( sizeof(FT_Library) )) == NULL ){ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftintf.c:33:13: warning: "failwith" is deprecated: use "caml_failwith" instead 33 | failwith( "init_FreeType: Memory over" ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftintf.c:36:13: warning: "failwith" is deprecated: use "caml_failwith" instead 36 | failwith( "FT_Init_FreeType" ); | ^~~~~~~~~~~~~~~~~~~~~~~ ftintf.c: In function 'done_FreeType': ftintf.c:46:13: warning: "failwith" is deprecated: use "caml_failwith" instead 46 | failwith( "FT_Done_FreeType" ); | ^~~~~~~~~~~~~~~~~~~~~~~ ftintf.c:48:13: warning: "stat_free" is deprecated: use "caml_stat_free" instead 48 | stat_free( (void *) library ); | ^~~~~~~~~~~~~~~~~~~~ ftintf.c: In function 'new_Face': ftintf.c:61:13: warning: "stat_alloc" is deprecated: use "caml_stat_alloc" instead 61 | if( (face = stat_alloc( sizeof(FT_Face) )) == NULL ){ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftintf.c:62:13: warning: "failwith" is deprecated: use "caml_failwith" instead 62 | failwith( "new_Face: Memory over" ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftintf.c:65:13: warning: "failwith" is deprecated: use "caml_failwith" instead 65 | failwith( "new_Face: Could not open face" ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftintf.c: In function 'face_info': ftintf.c:77:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 77 | res = alloc_tuple(14); | ^~~~~~~~~~~~ ftintf.c:80:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead 80 | Store_field(res, 2, copy_string( face->family_name == NULL ? "" : face->family_name )); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftintf.c:81:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead 81 | Store_field(res, 3, copy_string( face->style_name == NULL ? "" : face->style_name )); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftintf.c: In function 'done_Face': ftintf.c:101:13: warning: "failwith" is deprecated: use "caml_failwith" instead 101 | failwith("FT_Done_Face"); | ^~~~~~~~~~~~~~~~~ ftintf.c: In function 'set_Char_Size': ftintf.c:123:13: warning: "failwith" is deprecated: use "caml_failwith" instead 123 | failwith("FT_Set_Char_Size"); | ^~~~~~~~~~~~~~~~~~~~~ ftintf.c: In function 'set_Pixel_Sizes': ftintf.c:138:13: warning: "failwith" is deprecated: use "caml_failwith" instead 138 | failwith("FT_Set_Pixel_Sizes"); | ^~~~~~~~~~~~~~~~~~~~~~~ ftintf.c: In function 'val_CharMap': ftintf.c:149:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 149 | res = alloc_tuple(2); | ^~~~~~~~~~~ - build src camlimages.o + ocamlfind ocamlopt -package lablgtk2,graphics -I . -c camlimages.ml - exit src tmpfile.cmo, 0.15 sec, code 0 - build src jis_unicode.cmo + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c jis_unicode.ml - exit src mstring.cmo, 0.15 sec, code 0 - scan src scan-c-tiffwrite.c + gcc -I /usr/include/X11 -I /usr/local/include -I /opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -fPIC -I /opt/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/opt/pkg/include -MM tiffwrite.c - exit src region.cmo, 0.22 sec, code 0 - scan src scan-c-tiffread.c + gcc -I /usr/include/X11 -I /usr/local/include -I /opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -fPIC -I /opt/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/opt/pkg/include -MM tiffread.c - exit src mstring.cmx, 0.24 sec, code 0 - scan src scan-ocaml-oTiff.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules oTiff.ml - exit src tmpfile.cmx, 0.26 sec, code 0 - scan src scan-ocaml-tiff.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules tiff.mli - exit src scan-ocaml-ppm.mli, 0.30 sec, code 0 - scan src scan-ocaml-tiff.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules tiff.ml - exit src scan-ocaml-bmp.ml, 0.31 sec, code 0 - scan src scan-c-pngwrite.c + gcc -I /usr/include/X11 -I /usr/local/include -I /opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -fPIC -I /opt/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/opt/pkg/include -MM pngwrite.c - exit src scan-ocaml-bmp.mli, 0.36 sec, code 0 - scan src scan-c-gifwrite.c + gcc -I /usr/include/X11 -I /usr/local/include -I /opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -fPIC -I /opt/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/opt/pkg/include -MM gifwrite.c - exit src scan-ocaml-oBmp.ml, 0.37 sec, code 0 - scan src scan-c-pngread.c + gcc -I /usr/include/X11 -I /usr/local/include -I /opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -fPIC -I /opt/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/opt/pkg/include -MM pngread.c - exit src scan-ocaml-oPpm.ml, 0.38 sec, code 0 - scan src scan-c-gifread.c + gcc -I /usr/include/X11 -I /usr/local/include -I /opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -fPIC -I /opt/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/opt/pkg/include -MM gifread.c - exit src scan-ocaml-blend.ml, 0.40 sec, code 0 - scan src scan-ocaml-oGif.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules oGif.ml - exit src scan-ocaml-blend.mli, 0.40 sec, code 0 - scan src scan-ocaml-oPng.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules oPng.mli - exit src scan-ocaml-units.ml, 0.41 sec, code 0 - build src units.o + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c units.ml - exit src scan-ocaml-rgb24.ml, 0.42 sec, code 0 - scan src scan-ocaml-oPng.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules oPng.ml - exit src scan-ocaml-rgb24.mli, 0.43 sec, code 0 - scan src scan-ocaml-png.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules png.mli - exit src scan-ocaml-color.ml, 0.44 sec, code 0 - scan src scan-ocaml-png.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules png.ml - exit src scan-ocaml-info.mli, 0.45 sec, code 0 - build src info.cmi + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c info.mli - exit src scan-ocaml-color.mli, 0.46 sec, code 0 - build src color.cmi + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c color.mli - exit src scan-ocaml-oColor.ml, 0.47 sec, code 0 - scan src scan-ocaml-gif.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules gif.mli - exit src scan-ocaml-oColor.mli, 0.49 sec, code 0 - scan src scan-ocaml-gif.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules gif.ml File "jis_unicode.ml", line 18, characters 15-27: 18 | let answer = Array.create (String.length s / 2) 0 in ^^^^^^^^^^^^ Alert deprecated: Stdlib.Array.create Use Array.make/ArrayLabels.make instead. File "jis_unicode.ml", line 18, characters 15-27: 18 | let answer = Array.create (String.length s / 2) 0 in ^^^^^^^^^^^^ Alert deprecated: Stdlib.Array.create Use Array.make/ArrayLabels.make instead. ftintf.c: In function 'get_CharMaps': ftintf.c:169:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 169 | new_cell = alloc_tuple(2); | ^~~~~~~~~~~~~~~~~~ ftintf.c: In function 'set_CharMap': ftintf.c:203:20: warning: "failwith" is deprecated: use "caml_failwith" instead 203 | failwith("FT_Set_Charmap"); | ^~~~~~~~~~~~~~~~ ftintf.c:210:13: warning: "failwith" is deprecated: use "caml_failwith" instead 210 | failwith("freetype:set_charmaps: selected pid+eid do not exist"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftintf.c: In function 'load_Glyph': ftintf.c:227:13: warning: "failwith" is deprecated: use "caml_failwith" instead 227 | failwith("FT_Load_Glyph"); | ^~~~~~~~~~~~~~~~~~ ftintf.c:230:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 230 | res = alloc_tuple(2); | ^~~~~~~~~~~ ftintf.c: In function 'load_Char': ftintf.c:245:13: warning: "failwith" is deprecated: use "caml_failwith" instead 245 | failwith("FT_Load_Char"); | ^~~~~~~~~~~~~~~~~ ftintf.c:248:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 248 | res = alloc_tuple(2); | ^~~~~~~~~~~ ftintf.c: In function 'render_Glyph_of_Face': ftintf.c:261:13: warning: "failwith" is deprecated: use "caml_failwith" instead 261 | failwith("FT_Render_Glyph"); | ^~~~~~~~~~~~~~~~~~~~ ftintf.c: In function 'render_Char': ftintf.c:277:13: warning: "failwith" is deprecated: use "caml_failwith" instead 277 | failwith("FT_Load_Char"); | ^~~~~~~~~~~~~~~~~ ftintf.c:280:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 280 | res = alloc_tuple(2); | ^~~~~~~~~~~ ftintf.c: In function 'get_Bitmap_Info': ftintf.c:318:13: warning: "failwith" is deprecated: use "caml_failwith" instead 318 | failwith("get_Bitmap_Info: unknown num_grays"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftintf.c:324:13: warning: "failwith" is deprecated: use "caml_failwith" instead 324 | failwith("get_Bitmap_Info: unknown pixel mode"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftintf.c:327:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 327 | res = alloc_tuple(5); | ^~~~~~~~~~~ ftintf.c: In function 'read_Bitmap': ftintf.c:369:13: warning: "failwith" is deprecated: use "caml_failwith" instead 369 | failwith("read_Bitmap: unknown pixel mode"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftintf.c: In function 'get_Glyph_Metrics': ftintf.c:383:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 383 | res1 = alloc_tuple(3); | ^~~~~~~~~~~~ ftintf.c:388:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 388 | res2 = alloc_tuple(3); | ^~~~~~~~~~~~ ftintf.c:393:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 393 | res = alloc_tuple(4); | ^~~~~~~~~~~ ftintf.c: In function 'get_Size_Metrics': ftintf.c:410:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 410 | res = alloc_tuple(4); | ^~~~~~~~~~~ - exit src scan-ocaml-oJpeg.mli, 0.31 sec, code 0 - scan src scan-ocaml-oPs.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules oPs.ml - exit src scan-c-jpegwrite.c, 0.35 sec, code 0 - build src jpegwrite.o + gcc -I /usr/include/X11 -I /usr/local/include -I /opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -fPIC -I /opt/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/opt/pkg/include -c -o jpegwrite.o jpegwrite.c - exit src freetype.cmx, 0.37 sec, code 0 - scan src scan-ocaml-ps.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules ps.mli - exit src scan-ocaml-ppm.ml, 0.40 sec, code 0 - scan src scan-ocaml-ps.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules ps.ml - exit src region.cmx, 0.48 sec, code 0 - scan src scan-ocaml-oXpm.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules oXpm.ml - exit src camlimages.o, 0.55 sec, code 0 - build src bitmap.cmo + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c bitmap.ml ftintf.c: In function 'get_Outline_Contents': ftintf.c:439:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 439 | points = alloc_tuple(n_points); | ^~~~~~~~~~~~~~~~~~~~~~~ ftintf.c:440:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 440 | tags = alloc_tuple(n_points); | ^~~~~~~~~~~~~~~~~~~~~~~ ftintf.c:441:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 441 | contours = alloc_tuple(n_contours); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ftintf.c:446:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 446 | tmp = alloc_tuple(2); | ^~~~~~~~~~~~~ ftintf.c:465:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 465 | res = alloc_tuple(5); | ^~~~~~~~~~~ - build src units.o + ocamlfind ocamlopt -package lablgtk2,graphics -I . -c units.ml - exit src color.cmi, 0.11 sec, code 0 - build src image_intf.cmi + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c image_intf.mli - exit src info.cmi, 0.11 sec, code 0 - build src cmyk32.cmi + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c cmyk32.mli - exit src scan-ocaml-png.ml, 0.12 sec, code 0 - build src rgba32.cmi + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c rgba32.mli - exit src scan-ocaml-png.mli, 0.12 sec, code 0 - build src oColor.cmi + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c oColor.mli - exit src scan-ocaml-oPng.ml, 0.15 sec, code 0 - build src color.cmo + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c color.ml - exit src scan-ocaml-oPng.mli, 0.16 sec, code 0 - build src blend.cmi + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c blend.mli - exit src scan-ocaml-oGif.ml, 0.18 sec, code 0 - build src bitmap.cmx + ocamlfind ocamlopt -package lablgtk2,graphics -I . -c bitmap.ml - exit src scan-c-pngread.c, 0.22 sec, code 0 - build src pngread.o + gcc -I /usr/include/X11 -I /usr/local/include -I /opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -fPIC -I /opt/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/opt/pkg/include -c -o pngread.o pngread.c - exit src scan-c-gifwrite.c, 0.23 sec, code 0 - build src gifwrite.o + gcc -I /usr/include/X11 -I /usr/local/include -I /opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -fPIC -I /opt/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/opt/pkg/include -c -o gifwrite.o gifwrite.c - exit src scan-c-pngwrite.c, 0.25 sec, code 0 - build src pngwrite.o + gcc -I /usr/include/X11 -I /usr/local/include -I /opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -fPIC -I /opt/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/opt/pkg/include -c -o pngwrite.o pngwrite.c - exit src scan-ocaml-tiff.ml, 0.26 sec, code 0 - build src color.cmx + ocamlfind ocamlopt -package lablgtk2,graphics -I . -c color.ml - exit src scan-ocaml-tiff.mli, 0.27 sec, code 0 - scan src scan-ocaml-xpm.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules xpm.mli - exit src scan-ocaml-oTiff.ml, 0.28 sec, code 0 - scan src scan-ocaml-xpm.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules xpm.ml - exit src scan-c-tiffread.c, 0.30 sec, code 0 - build src tiffread.o + gcc -I /usr/include/X11 -I /usr/local/include -I /opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -fPIC -I /opt/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/opt/pkg/include -c -o tiffread.o tiffread.c - exit src scan-c-tiffwrite.c, 0.30 sec, code 0 - build src tiffwrite.o + gcc -I /usr/include/X11 -I /usr/local/include -I /opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -fPIC -I /opt/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/opt/pkg/include -c -o tiffwrite.o tiffwrite.c - exit src jis_unicode.cmo, 0.32 sec, code 0 - scan src scan-c-xpm_na.c + gcc -I /usr/include/X11 -I /usr/local/include -I /opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -fPIC -I /opt/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/opt/pkg/include -MM xpm_na.c - exit src jis_unicode.cmx, 0.34 sec, code 0 - build src META + public.stdout = $(public.fopen $(public.file), "w") public.fsubst(, ($(public.file), ".in")) public.close($(public.stdout)) - exit src scan-ocaml-jpeg.ml, 0.35 sec, code 0 - exit src scan-ocaml-jpeg.mli, 0.36 sec, code 0 - exit src scan-ocaml-oJpeg.ml, 0.37 sec, code 0 - exit src scan-c-jpegread.c, 0.40 sec, code 0 - build src jpegread.o + gcc -I /usr/include/X11 -I /usr/local/include -I /opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -fPIC -I /opt/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/opt/pkg/include -c -o jpegread.o jpegread.c In file included from jpegwrite.c:34: /home/pbulk/build/graphics/camlimages/work/.buildlink/include/jpeglib.h:899:13: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead 899 | void *(*alloc_small) (j_common_ptr cinfo, int pool_id, size_t sizeofobject); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jpegwrite.c: In function 'write_JPEG_file': jpegwrite.c:110:13: warning: "failwith" is deprecated: use "caml_failwith" instead 110 | failwith ("can't open %s\n"); | ^~~~~~~~~~~~~~~~~~~~~ jpegwrite.c: In function 'open_jpeg_file_for_write_colorspace': jpegwrite.c:227:13: warning: "failwith" is deprecated: use "caml_failwith" instead 227 | failwith("failed to open jpeg file"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jpegwrite.c:242:13: warning: "failwith" is deprecated: use "caml_failwith" instead 242 | failwith(jpg_error_message); | ^~~~~~~~~~~~~~~~~~~~ jpegwrite.c:257:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 257 | res = alloc_tuple(3); | ^~~~~~~~~~~~~ pngread.c: In function 'read_png_file_as_rgb24': pngread.c:49:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 49 | filename = String_val( name ); | ^ pngread.c:52:13: warning: "failwith" is deprecated: use "caml_failwith" instead 52 | failwith("png file open failed"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ pngread.c:61:13: warning: "failwith" is deprecated: use "caml_failwith" instead 61 | failwith("it is not a png file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pngread.c:68:13: warning: "failwith" is deprecated: use "caml_failwith" instead 68 | failwith("not enough memory"); | ^~~~~~~~~~~~~~~~~~~~~~ pngread.c:77:13: warning: "failwith" is deprecated: use "caml_failwith" instead 77 | failwith("png read error"); | ^~~~~~~~~~~~~~~~~~~ pngread.c:93:13: warning: "failwith" is deprecated: use "caml_failwith" instead 93 | failwith_oversized("png"); | ^~~~~~~~~~~~~~~~~~ pngread.c:112:13: warning: "failwith" is deprecated: use "caml_failwith" instead 112 | failwith("unsupported color type"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ pngread.c:121:13: warning: "failwith" is deprecated: use "caml_failwith" instead 121 | failwith("png error: image contains oversized or bogus width and height"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pngread.c:129:13: warning: "stat_alloc" is deprecated: use "caml_stat_alloc" instead 129 | row_pointers = (png_bytep*) stat_alloc(sizeof(png_bytep) * height); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pngread.c:130:13: warning: "stat_alloc" is deprecated: use "caml_stat_alloc" instead 130 | buf = stat_alloc( rowbytes * height ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pngread.c:143:13: warning: "stat_free" is deprecated: use "caml_stat_free" instead 143 | stat_free(row_pointers); | ^~~~~~~~~~~~~~~~~~ pngread.c:144:13: warning: "stat_free" is deprecated: use "caml_stat_free" instead 144 | stat_free(buf); | ^~~~~~~~~ pngread.c:152:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 152 | r = alloc_tuple(height); | ^~~~~~~~~~~~~~~~ pngread.c:155:7: error: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 155 | memcpy(String_val(tmp), buf+rowbytes*i, rowbytes); | ^~~~~~ pngread.c:28:1: note: include '' or provide a declaration of 'memcpy' 27 | #include +++ |+#include 28 | pngread.c:155:7: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 155 | memcpy(String_val(tmp), buf+rowbytes*i, rowbytes); | ^~~~~~ pngread.c:155:7: note: include '' or provide a declaration of 'memcpy' In file included from pngread.c:24: /opt/pkg/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ pngread.c:155:14: note: in expansion of macro 'String_val' 155 | memcpy(String_val(tmp), buf+rowbytes*i, rowbytes); | ^~~~~~~~~~ /opt/pkg/lib/ocaml/caml/mlvalues.h:290:24: note: expected 'void *' but argument is of type 'const char *' 290 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ pngread.c:1gifwrite.c: In function 'eGifOpenFileName': gifwrite.c:72:13: warning: "failwith" is deprecated: use "caml_failwith" instead 72 | failwith("EGifOpenFileName"); | ^~~~~~~~~~~~~~~~~~~~~ gifwrite.c: In function 'eGifPutScreenDesc': gifwrite.c:106:13: warning: "failwith" is deprecated: use "caml_failwith" instead 106 | failwith("EGifPutScreenDesc"); | ^~~~~~~~~~~~~~~~~~~~~~ gifwrite.c: In function 'eGifPutImageDesc': gifwrite.c:123:13: warning: "failwith" is deprecated: use "caml_failwith" instead 123 | failwith("EGifPutImageDesc"); | ^~~~~~~~~~~~~~~~~~~~~ gifwrite.c: In function 'eGifPutLine': gifwrite.c:136:13: warning: "failwith" is deprecated: use "caml_failwith" instead 136 | failwith("EGifPutLine"); | ^~~~~~~~~~~~~~~~ gifwrite.c: In function 'eGifPutExtension': gifwrite.c:155:13: warning: "failwith" is deprecated: use "caml_failwith" instead 155 | failwith("EGifPutExtension"); | ^~~~~~~~~~~~~~~~~~~~~ gifwrite.c:160:13: warning: "string_length" is deprecated: use "caml_string_length" instead 160 | len = string_length( Field(l,0) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gifwrite.c:162:13: warning: "failwith" is deprecated: use "caml_failwith" instead 162 | failwith("EGifPutExtension: strlen > 255"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gifwrite.c:165:13: warning: "failwith" is deprecated: use "caml_failwith" instead 165 | failwith("EGifPutExtension"); | ^~~~~~~~~~~~~~~~~~~~~~~ gifwrite.c:176:13: warning: "failwith" is deprecated: use "caml_failwith" instead 176 | failwith("EGifPutExtension"); | ^~~~~~~~~~~~~~~~~~~~~ pngwrite.c: In function 'write_png_file_rgb': pngwrite.c:49:13: warning: "failwith" is deprecated: use "caml_failwith" instead 49 | failwith("png file open failed"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ pngwrite.c:55:13: warning: "failwith" is deprecated: use "caml_failwith" instead 55 | failwith("png_create_write_struct"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ pngwrite.c:61:13: warning: "failwith" is deprecated: use "caml_failwith" instead 61 | failwith("png_create_info_struct"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ pngwrite.c:70:13: warning: "failwith" is deprecated: use "caml_failwith" instead 70 | failwith("png write error"); | ^~~~~~~~~~~~~~~~~~~~ In file included from pngwrite.c:23: /opt/pkg/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) | ^ pngwrite.c:95:17: note: in expansion of macro 'String_val' 95 | char *buf = String_val(buffer); | ^~~~~~~~~~ pngwrite.c:97:13: warning: "stat_alloc" is deprecated: use "caml_stat_alloc" instead 97 | row_pointers = (png_bytep*)stat_alloc(sizeof(png_bytep) * h); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pngwrite.c:108:13: warning: "stat_free" is deprecated: use "caml_stat_free" instead 108 | stat_free((void*)row_pointers); | ^~~~~~~~~~~~~~~~~~~~~~~ pngwrite.c: In function 'write_png_file_index': pngwrite.c:158:13: warning: "failwith" is deprecated: use "caml_failwith" instead 158 | failwith("png file open failed"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ pngwrite.c:164:13: warning: "failwith" is deprecated: use "caml_failwith" instead 164 | failwith("png_create_write_struct"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ pngwrite.c:170:13: warning: "failwith" is deprecated: use "caml_failwith" instead 170 | failwith("png_create_info_struct"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ pngwrite.c:179:13: warning: "failwith" is deprecated: use "caml_failwith" instead 179 | failwith("png write error"); | ^~~~~~~~~~~~~~~~~~~~ pngwrite.c:207:13: warning: "failwith" is deprecated: use "caml_failwith" instead 207 | failwith("png write error (null colormap)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/pkg/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) | ^ pngwrite.c:219:17: note: in expansion of macro 'String_val' 219 | char *buf = String_val(buffer); | ^~~~~~~~~~ pngwrite.c:221:13: warning: "stat_alloc" is deprecated: use "caml_stat_alloc" instead 221 | row_pointers = (png_bytep*)stat_alloc(sizeof(png_bytep) * h); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pngwrite.c:232:13: warning: "failwith" is deprecated: use "caml_failwith" instead 232 | failwith("png write error (illegal byte/pixel)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pngwrite.c:239:13: warning: "stat_free" is deprecated: use "caml_stat_free" instead 239 | stat_free((void*)row_pointers); | ^~~~~~~~~~~~~~~~~~~~~~~ tiffread.c: In function 'open_tiff_file_for_read': tiffread.c:68:13: warning: "failwith" is deprecated: use "caml_failwith" instead 68 | failwith_oversized("tiff"); | ^~~~~~~~~~~~~~~~~~~~~ tiffread.c:73:20: warning: "failwith" is deprecated: use "caml_failwith" instead 73 | failwith("Sorry, tiff rgb file must be 24bit-color"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tiffread.c:78:20: warning: "failwith" is deprecated: use "caml_failwith" instead 78 | failwith("Sorry, tiff cmyk file must be 32bit-color"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tiffread.c:85:13: warning: "failwith" is deprecated: use "caml_failwith" instead 85 | failwith("Sorry, unsupported tiff format"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tiffread.c:94:13: warning: "copy_double" is deprecated: use "caml_copy_double" instead 94 | r[2] = copy_double( xres ); | ^~~~~~~~~~~~~~~~~~~~~ tiffread.c:96:13: warning: "copy_double" is deprecated: use "caml_copy_double" instead 96 | r[2] = copy_double ( -1.0 ); | ^~~~~~~~~~~~~~~~~~~~~~ tiffread.c:100:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 100 | res = alloc_tuple(5); | ^~~~~~~~~~~~~ tiffread.c:105:13: warning: "failwith" is deprecated: use "caml_failwith" instead 105 | failwith("failed to open tiff file"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tiffwrite.c: In function 'open_tiff_file_for_write': tiffwrite.c:69:13: warning: "failwith" is deprecated: use "caml_failwith" instead 69 | failwith("failed to open tiff file to write"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - exit src META, 0.09 sec, code 0 - exit src blend.cmi, 0.24 sec, code 0 - build src blend.cmo + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c blend.ml - exit src color.cmo, 0.24 sec, code 0 - exit src oColor.cmi, 0.25 sec, code 0 - build src oColor.cmo + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c oColor.ml - exit src rgba32.cmi, 0.25 sec, code 0 - build src rgb24.cmi + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c rgb24.mli - exit src cmyk32.cmi, 0.29 sec, code 0 - exit src image_intf.cmi, 0.29 sec, code 0 - build src genimage.cmi + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c genimage.mli - exit src scan-ocaml-oPs.ml, 0.36 sec, code 0 - build src oPs.o + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c oPs.ml - exit src scan-ocaml-gif.ml, 0.37 sec, code 0 - exit src scan-ocaml-gif.mli, 0.37 sec, code 0 - exit src units.o, 0.44 sec, code 0 - exit src scan-c-gifread.c, 0.50 sec, code 0 - build src gifread.o + gcc -I /usr/include/X11 -I /usr/local/include -I /opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -fPIC -I /opt/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/opt/pkg/include -c -o gifread.o gifread.c - exit src ftintf.o, 0.91 sec, code 0 - build src libcamlimages_freetype.a + ocamlmklib -o camlimages_freetype -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/opt/pkg/lib/nspr -Wl,-R/opt/pkg/lib/nspr -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lfreetype ftintf.o 55:14: note: in expansion of macro 'String_val' 155 | memcpy(String_val(tmp), buf+rowbytes*i, rowbytes); | ^~~~~~~~~~ pngread.c:158:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 158 | res = alloc_tuple(3); | ^~~~~~~~~~~~~ pngread.c:166:13: warning: "stat_free" is deprecated: use "caml_stat_free" instead 166 | stat_free((void*)row_pointers); | ^~~~~~~~~~~~~~~~~~~~~~~ pngread.c:167:13: warning: "stat_free" is deprecated: use "caml_stat_free" instead 167 | stat_free(buf); | ^~~~~~~ pngread.c: In function 'Val_PngColor': pngread.c:185:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 185 | res = alloc_tuple(3); | ^~~~~~~~~~~ pngread.c: In function 'Val_PngPalette': pngread.c:198:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 198 | cmap = alloc_tuple( len ); | ^~~~~~~~~~~~~~~~~~ pngread.c:200:13: warning: "modify" is deprecated: use "caml_modify" instead 200 | modify(&Field(cmap,i), Val_PngColor( &plte[i] )); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pngread.c: In function 'read_png_file': pngread.c:223:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 223 | filename = String_val( name ); | ^ pngread.c:226:13: warning: "failwith" is deprecated: use "caml_failwith" instead 226 | failwith("png file open failed"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ pngread.c:235:13: warning: "failwith" is deprecated: use "caml_failwith" instead 235 | failwith("it is not a png file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pngread.c:242:13: warning: "failwith" is deprecated: use "caml_failwith" instead 242 | failwith("not enough memory"); | ^~~~~~~~~~~~~~~~~~~~~~ pngread.c:251:13: warning: "failwith" is deprecated: use "caml_failwith" instead 251 | failwith("png read error"); | ^~~~~~~~~~~~~~~~~~~ pngread.c:267:13: warning: "failwith" is deprecated: use "caml_failwith" instead 267 | failwith_oversized("png"); | ^~~~~~~~~~~~~~~~~~ pngread.c:288:13: warning: "failwith" is deprecated: use "caml_failwith" instead 288 | failwith_oversized("png"); | ^~~~~~~~~~~~~~~~~~ pngread.c:297:13: warning: "stat_alloc" is deprecated: use "caml_stat_alloc" instead 297 | buf = stat_alloc(rowbytes * height); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ pngread.c:298:13: warning: "stat_alloc" is deprecated: use "caml_stat_alloc" instead 298 | row_pointers = (png_bytep*)stat_alloc(sizeof(png_bytep) * height); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pngread.c:311:13: warning: "stat_free" is deprecated: use "caml_stat_free" instead 311 | stat_free((void*)row_pointers); | ^~~~~~~~~~~~~~~~~~~~~~~~~ pngread.c:312:13: warning: "stat_free" is deprecated: use "caml_stat_free" instead 312 | stat_free(buf); | ^~~~~~~~~ pngread.c:317:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 317 | res = alloc_tuple(3); | ^~~~~~~~~~~~~ pngread.c:347:20: warning: "stat_free" is deprecated: use "caml_stat_free" instead 347 | stat_free(bIn file included from jpegread.c:45: /home/pbulk/build/graphics/camlimages/work/.buildlink/include/jpeglib.h:899:13: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead 899 | void *(*alloc_small) (j_common_ptr cinfo, int pool_id, size_t sizeofobject); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jpegread.c: In function 'read_JPEG_file': jpegread.c:110:13: warning: "failwith" is deprecated: use "caml_failwith" instead 110 | failwith("failed to open jpeg file"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jpegread.c:128:13: warning: "failwith" is deprecated: use "caml_failwith" instead 128 | failwith(jpg_error_message); | ^~~~~~~~~~~~~~~~~~~~ jpegread.c:173:13: warning: "failwith" is deprecated: use "caml_failwith" instead 173 | failwith_oversized("jpeg"); | ^~~~~~~~~~~~~~~~~~~ jpegread.c:200:13: warning: "failwith" is deprecated: use "caml_failwith" instead 200 | failwith_oversized("jpeg"); | ^~~~~~~~~~~~~~~~~~~ jpegread.c:207:13: warning: "alloc_string" is deprecated: use "caml_alloc_string" instead 207 | r[2] = alloc_bytes ( row_stride * cinfo.output_height ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - exit src rgb24.cmi, 0.11 sec, code 0 - build src index16.cmi + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c index16.mli - build src index8.cmi + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c index8.mli - exit src blend.cmo, 0.14 sec, code 0 - exit src tiffwrite.o, 0.24 sec, code 0 - exit src tiffread.o, 0.25 sec, code 0 - build src libcamlimages_tiff.a + ocamlmklib -o camlimages_tiff -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/opt/pkg/lib/nspr -Wl,-R/opt/pkg/lib/nspr -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -ltiff -ljpeg -lz tiffread.o tiffwrite.o - exit src scan-ocaml-xpm.ml, 0.27 sec, code 0 - exit src scan-ocaml-xpm.mli, 0.28 sec, code 0 - exit src color.cmx, 0.28 sec, code 0 - build src oColor.cmx + ocamlfind ocamlopt -package lablgtk2,graphics -I . -c oColor.ml - build src blend.cmx + ocamlfind ocamlopt -package lablgtk2,graphics -I . -c blend.ml - exit src pngwrite.o, 0.33 sec, code 0 - exit src gifwrite.o, 0.34 sec, code 0 - exit src bitmap.cmx, 0.37 sec, code 0 - exit src bitmap.cmo, 0.44 sec, code 0 - exit src scan-ocaml-oXpm.ml, 0.46 sec, code 0 - exit src scan-ocaml-ps.ml, 0.47 sec, code 0 - exit src scan-ocaml-ps.mli, 0.48 sec, code 0 - exit src jpegwrite.o, 0.48 sec, code 0 uf); | ^~~~~~ pngread.c:348:13: warning: "stat_free" is deprecated: use "caml_stat_free" instead 348 | stat_free((void*)row_pointers); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pngread.c:349:13: warning: "failwith" is deprecated: use "caml_failwith" instead 349 | failwith(mesg); | ^~~~~~~~~~~~~ pngread.c:352:13: warning: "alloc" is deprecated: use "caml_alloc" instead 352 | r1 = alloc( 2, tag ); | ^~~~~~~~~~~~~~~~~ pngread.c:353:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 353 | r2 = alloc_tuple(height); | ^~~~~~~~~~~~~~~~~~~~~ pngread.c:356:11: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 356 | memcpy(String_val(tmp), buf+rowbytes*i, rowbytes); | ^~~~~~ pngread.c:356:11: note: include '' or provide a declaration of 'memcpy' /opt/pkg/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ pngread.c:356:18: note: in expansion of macro 'String_val' 356 | memcpy(String_val(tmp), buf+rowbytes*i, rowbytes); | ^~~~~~~~~~ /opt/pkg/lib/ocaml/caml/mlvalues.h:290:24: note: expected 'void *' but argument is of type 'const char *' 290 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ pngread.c:356:18: note: in expansion of macro 'String_val' 356 | memcpy(String_val(tmp), buf+rowbytes*i, rowbytes); | ^~~~~~~~~~ pngread.c:375:13: warning: "alloc" is deprecated: use "caml_alloc" instead 375 | r1 = alloc( 1, | ^~~~~~~~ pngread.c:378:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 378 | r2 = alloc_tuple( height ); | ^~~~~~~~~~~~~~~~~~~~~ pngread.c:381:9: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 381 | memcpy(String_val(tmp), buf+rowbytes*i, rowbytes); | ^~~~~~ pngread.c:381:9: note: include '' or provide a declaration of 'memcpy' /opt/pkg/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ pngread.c:381:16: note: in expansion of macro 'String_val' 381 | memcpy(String_val(tmp), buf+rowbytes*i, rowbytes); | ^~~~~~~~~~ /opt/pkg/lib/ocaml/caml/mlvalues.h:290:24: note: expected 'void *' but argument is of type 'const char *' 290 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ pngread.c:381:16: note: in expansion of macro 'String_val' 381 | memcpy(String_val(tmp), buf+rowbytes*i, rowbytes); | ^~~~~~~~~~ pngread.c:393:13: warning: "stat_free" is deprecated: use "caml_stat_free" instead 393 | stat_free(buf); | ^~~~~~~~~ pngread.c:394:13: warning: "stat_free" is deprecated: use "caml_stat_free" instead 394 | stat_free((void*)row_pointers); | ^~~~~~~~~~~~~~~~~~~~~~~~~ pngread.c:395:13: warning: "failwith" is deprecated: use "caml_failwith" instead 395 | failwith(mesg); | ^~~~~~~~~ jpegread.c:212:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 212 | res = alloc_tuple(3); | ^~~~~~~~~~~~~ jpegread.c: In function 'open_jpeg_file_for_read': jpegread.c:279:13: warning: "failwith" is deprecated: use "caml_failwith" instead 279 | failwith("failed to open jpeg file"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jpegread.c:305:13: warning: "failwith" is deprecated: use "caml_failwith" instead 305 | failwith(jpg_error_message); | ^~~~~~~~~~~~~~~~~~~~ jpegread.c:322:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 322 | r[2] = alloc_tuple(3); | ^~~~~~~~~~~~~~ jpegread.c:326:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 326 | res = alloc_tuple(3); | ^~~~~~~~~~~~~ jpegread.c: In function 'open_jpeg_file_for_read_start': jpegread.c:382:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 382 | r[2] = alloc_tuple(3); | ^~~~~~~~~~~~~~ jpegread.c:386:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 386 | res = alloc_tuple(3); | ^~~~~~~~~~~~~ - exit src genimage.cmi, 0.13 sec, code 0 - build src genimage.cmx + ocamlfind ocamlopt -package lablgtk2,graphics -I . -c genimage.ml - build src genimage.cmo + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c genimage.ml - build src cmyk32.cmo + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c cmyk32.ml - build src rgba32.cmo + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c rgba32.ml - build src rgb24.cmo + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c rgb24.ml - exit src oColor.cmo, 0.16 sec, code 0 - exit src scan-c-xpm_na.c, 0.29 sec, code 0 - build src xpm_na.o + gcc -I /usr/include/X11 -I /usr/local/include -I /opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -fPIC -I /opt/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/opt/pkg/include -c -o xpm_na.o xpm_na.c gifread.c: In function 'Val_GifColorType': gifread.c:46:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 46 | res = alloc_tuple(3); | ^~~~~~~~~~~ gifread.c: In function 'Val_ColorMapObject': gifread.c:67:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 67 | cmap = alloc_tuple(colorMap->ColorCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gifread.c:69:13: warning: "modify" is deprecated: use "caml_modify" instead 69 | modify(&Field(cmap,i), Val_GifColorType( &colorMap->Colors[i] )); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gifread.c: In function 'Val_GifImageDesc': gifread.c:116:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 116 | res = alloc_tuple(6); | ^~~~~~~~~~~ pngread.c:403:13: warning: "stat_free" is deprecated: use "caml_stat_free" instead 403 | stat_free(buf); | ^~~~~~~ pngread.c:404:13: warning: "stat_free" is deprecated: use "caml_stat_free" instead 404 | stat_free((void*)row_pointers); | ^~~~~~~~~~~~~~~~~~~~~~~ - build src oPs.o + ocamlfind ocamlopt -package lablgtk2,graphics -I . -c oPs.ml - exit src index8.cmi, 0.12 sec, code 0 - build src reduce.cmi + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c reduce.mli - build src index8.cmo + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c index8.ml - exit src index16.cmi, 0.13 sec, code 0 - build src index16.cmo + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c index16.ml - build src images.cmi + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c images.mli gifread.c: In function 'Val_ScreenInfo': gifread.c:134:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 134 | res = alloc_tuple(5); | ^~~~~~~~~~~ gifread.c: In function 'dGifOpenFileName': gifread.c:150:13: warning: "failwith" is deprecated: use "caml_failwith" instead 150 | failwith("DGifOpenFileName"); | ^~~~~~~~~~~~~~~~~~~~~ gifread.c:155:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 155 | res = alloc_tuple(2); | ^~~~~~~~~~~ gifread.c: In function 'dGifGetRecordType': gifread.c:180:13: warning: "failwith" is deprecated: use "caml_failwith" instead 180 | failwith("DGifGetRecordType"); | ^~~~~~~~~~~~~~~~~~~~~~ gifread.c: In function 'dGifGetImageDesc': gifread.c:190:13: warning: "failwith" is deprecated: use "caml_failwith" instead 190 | failwith("DGIFGetImageDesc"); | ^~~~~~~~~~~~~~~~~~~~~ gifread.c: In function 'dGifGetLine': gifread.c:203:13: warning: "failwith" is deprecated: use "caml_failwith" instead 203 | failwith_oversized("gif"); | ^~~~~~~~~~~~~~~~~~ gifread.c:205:13: warning: "alloc_string" is deprecated: use "caml_alloc_string" instead 205 | buf = alloc_bytes( GifFile->Image.Width * sizeof(GifPixelType) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gifread.c:209:13: warning: "failwith" is deprecated: use "caml_failwith" instead 209 | failwith("DGifGetLine"); | ^~~~~~~~~~~~~~~~ gifread.c: In function 'dGifGetExtension': gifread.c:227:13: warning: "failwith" is deprecated: use "caml_failwith" instead 227 | failwith("DGifGetExtension"); | ^~~~~~~~~~~~~~~~~~~~~ gifread.c:232:13: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead 232 | newres = alloc_small(2,0); | ^~~~~~~~~~~~~~~~~~ gifread.c:238:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 238 | res = alloc_tuple(2); | ^~~~~~~~~~~ - exit src libcamlimages_freetype.a, 0.23 sec, code 0 - exit src pngread.o, 0.59 sec, code 1 - exit src reduce.cmi, 0.10 sec, code 0 xpm_na.c: In function 'read_xpm_file': xpm_na.c:20:13: warning: "failwith" is deprecated: use "caml_failwith" instead 20 | value read_xpm_file(){ failwith("unsupported"); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - exit src images.cmi, 0.09 sec, code 0 - exit src index8.cmo, 0.11 sec, code 0 - exit src rgb24.cmo, 0.14 sec, code 0 - exit src rgba32.cmo, 0.14 sec, code 0 - exit src cmyk32.cmo, 0.15 sec, code 0 - exit src jpegread.o, 0.42 sec, code 0 - exit src index16.cmo, 0.09 sec, code 0 - exit src genimage.cmo, 0.17 sec, code 0 - exit src libcamlimages_tiff.a, 0.24 sec, code 0 - exit src oColor.cmx, 0.24 sec, code 0 - exit src xpm_na.o, 0.16 sec, code 0 - exit src gifread.o, 0.29 sec, code 0 - exit src oPs.o, 0.33 sec, code 0 - exit src blend.cmx, 0.25 sec, code 0 - exit src genimage.cmx, 0.31 sec, code 0 *** omake: 349/537 targets are up to date *** omake: failed (4.52 sec, 101/101 scans, 69/88 rules, 256/301 digests) *** omake: targets were not rebuilt because of errors: src/pngread.o depends on: src/pngread.c *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/camlimages *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/camlimages