=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for camlimages-4.0.1nb94 cd /var/pkgsrc/work/graphics/camlimages/work/camlspotter-camlimages-c803efa9d5d3 && /usr/pkg/bin/omake --configure --verbose *** omake: reading OMakefiles --- Checking for ocamlfind... (found /usr/pkg/bin/ocamlfind) --- Checking for ocamlc.opt... (found /var/pkgsrc/work/graphics/camlimages/work/.buildlink/bin/ocamlc.opt) --- Checking for ocamlopt.opt... (found /var/pkgsrc/work/graphics/camlimages/work/.buildlink/bin/ocamlopt.opt) --- Checking for ocamldep.opt... (found /usr/pkg/bin/ocamldep.opt) --- Checking for ocamllex.opt... (found /usr/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 /var/pkgsrc/work/graphics/camlimages/work/.buildlink/bin/ocamlmklib) --- Checking for gif_lib.h... --- Checking for gcc... (found /var/pkgsrc/work/graphics/camlimages/work/.cwrapper/bin/gcc) --- Checking for g++... (found /var/pkgsrc/work/graphics/camlimages/work/.cwrapper/bin/g++) --- Checking for cc... (found /var/pkgsrc/work/graphics/camlimages/work/.cwrapper/bin/cc) --- Checking for g++... (found /var/pkgsrc/work/graphics/camlimages/work/.cwrapper/bin/g++) --- Checking for cc... (found /var/pkgsrc/work/graphics/camlimages/work/.cwrapper/bin/cc) --- Checking for ld... (found /var/pkgsrc/work/graphics/camlimages/work/.cwrapper/bin/ld) --- Checking for as... (found /var/pkgsrc/work/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 png15... (NOT 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 /usr/pkg/bin/gs) --- Checking lablgtk2... /usr/pkg/lib/ocaml/site-lib/lablgtk2 (found) --- Checking graphics compilability: open Graphics... (yes) --- Checking for freetype-config... (found /var/pkgsrc/work/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: false libjpeg: true libtiff: true libxpm: false libz: true --- Subpackages gif: true (-lgif) png: false () jpeg: true (-ljpeg) tiff: true (-ltiff -ljpeg -lz ) xpm: false () freetype: true (/var/pkgsrc/work/graphics/camlimages/work/.buildlink/bin/freetype-config) (-L/usr/pkg/lib -lfreetype) ps: true (/usr/pkg/bin/gs) rgb.txt: false (/etc/X11 /usr/share/X11 /usr/pkg/lib/X11) lablgtk2: true graphics: true --- Summary supported subpackages: gif jpeg tiff ps lablgtk2 graphics freetype supported formats: gif jpeg tiff ps supported non-formats: lablgtk2 graphics freetype CFLAGS: LDFLAGS: -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib/nspr -Wl,-R/usr/pkg/lib/nspr --- --- Checking if ocamldep understands -modules... (yes) *** omake: finished reading OMakefiles (0.90 sec) - build . config.h + public.stdout = $(public.fopen $(public.file), "w") public.fsubst(, ($(public.file), ".in")) public.close($(public.stdout)) - scan src scan-ocaml-oJpeg.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules oJpeg.mli - scan src scan-ocaml-oJpeg.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules oJpeg.ml - scan src scan-ocaml-oTiff.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules oTiff.ml - scan src scan-ocaml-tiff.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules tiff.mli - scan src scan-ocaml-tiff.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules tiff.ml - scan src scan-ocaml-oPng.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules oPng.mli - scan src scan-ocaml-oPng.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules oPng.ml - exit . config.h, 0.02 sec, code 0 - scan src scan-c-tiffwrite.c + cc -I /usr/include/X11 -I /usr/local/include -I /usr/pkg/include -I/usr/pkg/include/freetype2 -fPIC -I /usr/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/usr/pkg/include -MM tiffwrite.c - exit src scan-ocaml-oTiff.ml, 0.02 sec, code 0 - scan src scan-c-gifwrite.c + cc -I /usr/include/X11 -I /usr/local/include -I /usr/pkg/include -I/usr/pkg/include/freetype2 -fPIC -I /usr/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/usr/pkg/include -MM gifwrite.c - exit src scan-ocaml-oJpeg.ml, 0.02 sec, code 0 - scan src scan-c-xpm_na.c + cc -I /usr/include/X11 -I /usr/local/include -I /usr/pkg/include -I/usr/pkg/include/freetype2 -fPIC -I /usr/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/usr/pkg/include -MM xpm_na.c - exit src scan-ocaml-oJpeg.mli, 0.02 sec, code 0 - scan src scan-c-jpegread.c + cc -I /usr/include/X11 -I /usr/local/include -I /usr/pkg/include -I/usr/pkg/include/freetype2 -fPIC -I /usr/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/usr/pkg/include -MM jpegread.c - exit src scan-ocaml-oPng.ml, 0.02 sec, code 0 - scan src scan-c-png_na.c + cc -I /usr/include/X11 -I /usr/local/include -I /usr/pkg/include -I/usr/pkg/include/freetype2 -fPIC -I /usr/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/usr/pkg/include -MM png_na.c - exit src scan-ocaml-oPng.mli, 0.03 sec, code 0 - scan src scan-c-tiffread.c + cc -I /usr/include/X11 -I /usr/local/include -I /usr/pkg/include -I/usr/pkg/include/freetype2 -fPIC -I /usr/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/usr/pkg/include -MM tiffread.c - exit src scan-ocaml-tiff.ml, 0.03 sec, code 0 - scan src scan-c-gifread.c + cc -I /usr/include/X11 -I /usr/local/include -I /usr/pkg/include -I/usr/pkg/include/freetype2 -fPIC -I /usr/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/usr/pkg/include -MM gifread.c - exit src scan-ocaml-tiff.mli, 0.03 sec, code 0 - scan src scan-c-jpegwrite.c + cc -I /usr/include/X11 -I /usr/local/include -I /usr/pkg/include -I/usr/pkg/include/freetype2 -fPIC -I /usr/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/usr/pkg/include -MM jpegwrite.c - exit src scan-c-xpm_na.c, 0.04 sec, code 0 - build src xpm_na.o + cc -I /usr/include/X11 -I /usr/local/include -I /usr/pkg/include -I/usr/pkg/include/freetype2 -fPIC -I /usr/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/usr/pkg/include -c -o xpm_na.o xpm_na.c - exit src scan-c-gifwrite.c, 0.05 sec, code 0 - build src gifwrite.o + cc -I /usr/include/X11 -I /usr/local/include -I /usr/pkg/include -I/usr/pkg/include/freetype2 -fPIC -I /usr/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/usr/pkg/include -c -o gifwrite.o gifwrite.c - exit src scan-c-tiffwrite.c, 0.06 sec, code 0 - build src tiffwrite.o + cc -I /usr/include/X11 -I /usr/local/include -I /usr/pkg/include -I/usr/pkg/include/freetype2 -fPIC -I /usr/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/usr/pkg/include -c -o tiffwrite.o tiffwrite.c - exit src scan-c-jpegread.c, 0.05 sec, code 0 - build src jpegread.o + cc -I /usr/include/X11 -I /usr/local/include -I /usr/pkg/include -I/usr/pkg/include/freetype2 -fPIC -I /usr/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/usr/pkg/include -c -o jpegread.o jpegread.c - exit src scan-c-tiffread.c, 0.05 sec, code 0 - build src tiffread.o + cc -I /usr/include/X11 -I /usr/local/include -I /usr/pkg/include -I/usr/pkg/include/freetype2 -fPIC -I /usr/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/usr/pkg/include -c -o tiffread.o tiffread.c - exit src scan-c-png_na.c, 0.05 sec, code 0 - build src png_na.o + cc -I /usr/include/X11 -I /usr/local/include -I /usr/pkg/include -I/usr/pkg/include/freetype2 -fPIC -I /usr/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/usr/pkg/include -c -o png_na.o png_na.c - exit src scan-c-gifread.c, 0.04 sec, code 0 - build src gifread.o + cc -I /usr/include/X11 -I /usr/local/include -I /usr/pkg/include -I/usr/pkg/include/freetype2 -fPIC -I /usr/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/usr/pkg/include -c -o gifread.o gifread.c - exit src scan-c-jpegwrite.c, 0.04 sec, code 0 - build src jpegwrite.o + cc -I /usr/include/X11 -I /usr/local/include -I /usr/pkg/include -I/usr/pkg/include/freetype2 -fPIC -I /usr/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/usr/pkg/include -c -o jpegwrite.o jpegwrite.c tiffwrite.c:24:0: warning: "int16" redefined #define int16 int16tiff In file included from /usr/pkg/lib/ocaml/caml/mlvalues.h:20:0, from tiffwrite.c:18: /usr/pkg/lib/ocaml/caml/compatibility.h:313:0: note: this is the location of the previous definition #define int16 caml_ba_int16 tiffwrite.c:25:0: warning: "uint16" redefined #define uint16 uint16tiff In file included from /usr/pkg/lib/ocaml/caml/mlvalues.h:20:0, from tiffwrite.c:18: /usr/pkg/lib/ocaml/caml/compatibility.h:314:0: note: this is the location of the previous definition #define uint16 caml_ba_uint16 In file included from gifwrite.c:20:0: gifwrite.c: In function ‘ColorMapObject_val’: /usr/pkg/lib/ocaml/caml/memory.h:476:28: warning: initialization makes integer from pointer without a cast [-Wint-conversion] type caml__temp_result = (result); \ ^ /usr/pkg/lib/ocaml/caml/memory.h:481:28: note: in expansion of macro ‘CAMLreturnT’ #define CAMLreturn(result) CAMLreturnT(value, result) ^~~~~~~~~~~ gifwrite.c:47:26: note: in expansion of macro ‘CAMLreturn’ if( cmap == Atom(0) ){ CAMLreturn(NULL); } ^~~~~~~~~~ /usr/pkg/lib/ocaml/caml/memory.h:478:10: warning: return makes pointer from integer without a cast [-Wint-conversion] return caml__temp_result; \ ^ /usr/pkg/lib/ocaml/caml/memory.h:481:28: note: in expansion of macro ‘CAMLreturnT’ #define CAMLreturn(result) CAMLreturnT(value, result) ^~~~~~~~~~~ gifwrite.c:47:26: note: in expansion of macro ‘CAMLreturn’ if( cmap == Atom(0) ){ CAMLreturn(NULL); } ^~~~~~~~~~ /usr/pkg/lib/ocaml/caml/memory.h:476:28: warning: initialization makes integer from pointer without a cast [-Wint-conversion] type caml__temp_result = (result); \ ^ /usr/pkg/lib/ocaml/caml/memory.h:481:28: note: in expansion of macro ‘CAMLreturnT’ #define CAMLreturn(result) CAMLreturnT(value, result) ^~~~~~~~~~~ gifwrite.c:61:3: note: in expansion of macro ‘CAMLreturn’ CAMLreturn(cmapobj); ^~~~~~~~~~ /usr/pkg/lib/ocaml/caml/memory.h:478:10: warning: return makes pointer from integer without a cast [-Wint-conversion] return caml__temp_result; \ ^ /usr/pkg/lib/ocaml/caml/memory.h:481:28: note: in expansion of macro ‘CAMLreturnT’ #define CAMLreturn(result) CAMLreturnT(value, result) ^~~~~~~~~~~ gifwrite.c:61:3: note: in expansion of macro ‘CAMLreturn’ CAMLreturn(cmapobj); ^~~~~~~~~~ In file included from tiffwrite.c:18:0: tiffwrite.c: In function ‘write_tiff_scanline’: /usr/pkg/lib/ocaml/caml/mlvalues.h:265:23: warning: passing argument 2 of ‘TIFFWriteScanline’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] #define String_val(x) ((const char *) Bp_val(x)) ^ tiffwrite.c:90:35: note: in expansion of macro ‘String_val’ TIFFWriteScanline((TIFF*)tiffh, String_val(buf), Int_val(row), 0); ^~~~~~~~~~ In file included from tiffwrite.c:31:0: /var/pkgsrc/work/graphics/camlimages/work/.buildlink/include/tiffio.h:433:12: note: expected ‘void *’ but argument is of type ‘const char *’ extern int TIFFWriteScanline(TIFF* tif, void* buf, uint32_t row, uint16_t sample); ^~~~~~~~~~~~~~~~~ In file included from gifwrite.c:18:0: gifwrite.c: In function ‘eGifPutLine’: /usr/pkg/lib/ocaml/caml/mlvalues.h:265:23: warning: passing argument 2 of ‘EGifPutLine’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] #define String_val(x) ((const char *) Bp_val(x)) ^ gifwrite.c:134:32: note: in expansion of macro ‘String_val’ if ( EGifPutLine(GifFileOut, String_val(buf), GifFileOut->Image.Width) ^~~~~~~~~~ In file included from gifwrite.c:26:0: /var/pkgsrc/work/graphics/camlimages/work/.buildlink/include/gif_lib.h:160:5: note: expected ‘GifPixelType * {aka unsigned char *}’ but argument is of type ‘const char *’ int EGifPutLine(GifFileType *GifFile, GifPixelType *GifLine, ^~~~~~~~~~~ tiffread.c:27:0: warning: "int16" redefined #define int16 int16tiff In file included from /usr/pkg/lib/ocaml/caml/mlvalues.h:20:0, from tiffread.c:19: /usr/pkg/lib/ocaml/caml/compatibility.h:313:0: note: this is the location of the previous definition #define int16 caml_ba_int16 tiffread.c:28:0: warning: "uint16" redefined #define uint16 uint16tiff In file included from /usr/pkg/lib/ocaml/caml/mlvalues.h:20:0, from tiffread.c:19: /usr/pkg/lib/ocaml/caml/compatibility.h:314:0: note: this is the location of the previous definition #define uint16 caml_ba_uint16 jpegread.c: In function ‘read_JPEG_file’: jpegread.c:95:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] filename= String_val( name ); ^ In file included from jpegread.c:21:0: /usr/pkg/lib/ocaml/caml/mlvalues.h:265:23: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] #define String_val(x) ((const char *) Bp_val(x)) ^ jpegread.c:203:15: note: in expansion of macro ‘String_val’ memcpy( String_val(r[2]) + i * row_stride, ^~~~~~~~~~ In file included from jpegread.c:29:0: /usr/include/string.h:51:7: note: expected ‘void * restrict’ but argument is of type ‘const char *’ void *memcpy(void * __restrict, const void * __restrict, size_t); ^~~~~~ jpegread.c: In function ‘open_jpeg_file_for_read’: jpegread.c:270:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] filename= String_val( name ); ^ jpegread.c: In function ‘read_jpeg_scanline’: jpegread.c:398:10: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] row[0] = String_val( buf ) + Int_val( offset ); ^ jpegread.c: In function ‘read_jpeg_scanlines’: jpegread.c:412:10: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] row[0] = String_val(buf) + Int_val(offset); ^ tiffread.c: In function ‘open_tiff_file_for_read’: tiffread.c:57:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] filename = String_val( name ); ^ In file included from tiffread.c:19:0: tiffread.c: In function ‘read_tiff_scanline’: /usr/pkg/lib/ocaml/caml/mlvalues.h:265:23: warning: passing argument 2 of ‘TIFFReadScanline’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] #define String_val(x) ((const char *) Bp_val(x)) ^ tiffread.c:128:34: note: in expansion of macro ‘String_val’ TIFFReadScanline((TIFF*)tiffh, String_val(buf), Int_val(row), 0); ^~~~~~~~~~ In file included from tiffread.c:34:0: /var/pkgsrc/work/graphics/camlimages/work/.buildlink/include/tiffio.h:432:12: note: expected ‘void *’ but argument is of type ‘const char *’ extern int TIFFReadScanline(TIFF* tif, void* buf, uint32_t row, uint16_t sample); ^~~~~~~~~~~~~~~~ In file included from gifread.c:18:0: gifread.c: In function ‘dGifGetLine’: /usr/pkg/lib/ocaml/caml/mlvalues.h:265:23: warning: passing argument 2 of ‘DGifGetLine’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] #define String_val(x) ((const char *) Bp_val(x)) ^ gifread.c:201:28: note: in expansion of macro ‘String_val’ if( DGifGetLine(GifFile, String_val(buf), GifFile->Image.Width ) ^~~~~~~~~~ In file included from gifread.c:28:0: /var/pkgsrc/work/graphics/camlimages/work/.buildlink/include/gif_lib.h:207:5: note: expected ‘GifPixelType * {aka unsigned char *}’ but argument is of type ‘const char *’ int DGifGetLine(GifFileType *GifFile, GifPixelType *GifLine, int GifLineLen); ^~~~~~~~~~~ In file included from gifread.c:18:0: gifread.c: In function ‘dGifGetExtension’: /usr/pkg/lib/ocaml/caml/mlvalues.h:265:23: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] #define String_val(x) ((const char *) Bp_val(x)) ^ gifread.c:226:12: note: in expansion of macro ‘String_val’ memcpy(String_val(ext), &extData[1], extData[0]); ^~~~~~~~~~ - exit src xpm_na.o, 0.11 sec, code 0 - build src libcamlimages_xpm.a + ocamlmklib -o camlimages_xpm -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib/nspr -Wl,-R/usr/pkg/lib/nspr xpm_na.o In file included from gifread.c:26:0: /usr/include/string.h:51:7: note: expected ‘void * restrict’ but argument is of type ‘const char *’ void *memcpy(void * __restrict, const void * __restrict, size_t); ^~~~~~ - exit src tiffwrite.o, 0.11 sec, code 0 - scan src scan-ocaml-oXpm.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules oXpm.ml - exit src scan-ocaml-oXpm.ml, 0.02 sec, code 0 - scan src scan-ocaml-oGif.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules oGif.ml jpegwrite.c: In function ‘write_JPEG_file’: jpegwrite.c:84:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] image_buffer = String_val(buffer); ^ jpegwrite.c:87:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] filename = String_val(file); ^ jpegwrite.c: In function ‘open_jpeg_file_for_write_colorspace’: jpegwrite.c:223:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] filename= String_val( name ); ^ jpegwrite.c: In function ‘write_jpeg_scanline’: jpegwrite.c:297:10: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] row[0] = String_val( buf ); ^ - exit src png_na.o, 0.12 sec, code 0 - build src libcamlimages_png.a + ocamlmklib -o camlimages_png -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib/nspr -Wl,-R/usr/pkg/lib/nspr png_na.o - exit src gifwrite.o, 0.14 sec, code 0 - scan src scan-ocaml-jpeg.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules jpeg.mli - exit src tiffread.o, 0.13 sec, code 0 - build src dllcamlimages_tiff.so + ocamlmklib -o camlimages_tiff -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib/nspr -Wl,-R/usr/pkg/lib/nspr -ltiff -ljpeg -lz tiffread.o tiffwrite.o - exit src scan-ocaml-oGif.ml, 0.02 sec, code 0 - scan src scan-ocaml-jpeg.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules jpeg.ml - exit src scan-ocaml-jpeg.mli, 0.02 sec, code 0 - scan src scan-ocaml-oPs.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules oPs.ml - exit src jpegread.o, 0.16 sec, code 0 - scan src scan-ocaml-gif.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules gif.mli - exit src scan-ocaml-jpeg.ml, 0.02 sec, code 0 - scan src scan-ocaml-gif.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules gif.ml - exit src jpegwrite.o, 0.14 sec, code 0 - build src dllcamlimages_jpeg.so + ocamlmklib -o camlimages_jpeg -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib/nspr -Wl,-R/usr/pkg/lib/nspr -ljpeg jpegread.o jpegwrite.o - exit src libcamlimages_xpm.a, 0.07 sec, code 0 - scan src scan-ocaml-png.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules png.mli - exit src scan-ocaml-oPs.ml, 0.02 sec, code 0 - build src oPs.o + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c oPs.ml - exit src scan-ocaml-gif.mli, 0.02 sec, code 0 - scan src scan-ocaml-png.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules png.ml - exit src libcamlimages_png.a, 0.06 sec, code 0 - scan src scan-ocaml-xpm.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules xpm.mli - exit src gifread.o, 0.17 sec, code 0 - build src libcamlimages_supported.a + ocamlmklib -o camlimages_supported -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib/nspr -Wl,-R/usr/pkg/lib/nspr -lgif -ljpeg -ltiff -ljpeg -lz gifread.o gifwrite.o jpegread.o jpegwrite.o tiffread.o tiffwrite.o - exit src scan-ocaml-png.mli, 0.01 sec, code 0 - build src libcamlimages_all.a + ocamlmklib -o camlimages_all -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib/nspr -Wl,-R/usr/pkg/lib/nspr -lgif -ljpeg -ltiff -ljpeg -lz gifread.o gifwrite.o png_na.o jpegread.o jpegwrite.o tiffread.o tiffwrite.o xpm_na.o - exit src scan-ocaml-gif.ml, 0.03 sec, code 0 - build src libcamlimages_gif.a + ocamlmklib -o camlimages_gif -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib/nspr -Wl,-R/usr/pkg/lib/nspr -lgif gifread.o gifwrite.o - exit src dllcamlimages_tiff.so, 0.08 sec, code 0 - scan src scan-ocaml-xpm.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules xpm.ml - exit src scan-ocaml-xpm.mli, 0.04 sec, code 0 - scan src scan-ocaml-ps.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules ps.mli - exit src scan-ocaml-png.ml, 0.04 sec, code 0 - scan src scan-ocaml-ps.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules ps.ml - build src oPs.o + ocamlfind ocamlopt -package lablgtk2,graphics -I . -c oPs.ml - exit src scan-ocaml-xpm.ml, 0.02 sec, code 0 - scan src scan-ocaml-jis_unicode.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules jis_unicode.mli - exit src dllcamlimages_jpeg.so, 0.08 sec, code 0 - scan src scan-ocaml-jis_unicode.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules jis_unicode.ml - exit src scan-ocaml-ps.mli, 0.02 sec, code 0 - build src camlimages.ml + public.stdout = $(public.fopen $(public.file), "w") public.fsubst(, ($(public.file), ".in")) public.close($(public.stdout)) - exit src scan-ocaml-jis_unicode.ml, 0.02 sec, code 0 - scan src scan-ocaml-jis_table.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules jis_table.ml - exit src camlimages.ml, 0.03 sec, code 0 - scan src scan-ocaml-camlimages.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules camlimages.ml - exit src scan-ocaml-ps.ml, 0.05 sec, code 0 - scan src scan-ocaml-colorhist.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules colorhist.mli - exit src libcamlimages_gif.a, 0.07 sec, code 0 - scan src scan-ocaml-colorhist.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules colorhist.ml - exit src libcamlimages_all.a, 0.10 sec, code 0 - scan src scan-ocaml-genimage.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules genimage.mli - exit src libcamlimages_supported.a, 0.10 sec, code 0 - scan src scan-ocaml-genimage.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules genimage.ml - exit src scan-ocaml-jis_unicode.mli, 0.05 sec, code 0 - build src jis_unicode.cmi + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c jis_unicode.mli - exit src oPs.o, 0.13 sec, code 0 - scan src scan-ocaml-geometry.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules geometry.mli - exit src scan-ocaml-camlimages.ml, 0.02 sec, code 0 - build src camlimages.o + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c camlimages.ml - exit src scan-ocaml-jis_table.ml, 0.03 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.02 sec, code 0 - scan src scan-ocaml-geometry.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules geometry.ml - exit src scan-ocaml-genimage.mli, 0.02 sec, code 0 - scan src scan-ocaml-image_intf.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules image_intf.mli - exit src scan-ocaml-colorhist.mli, 0.02 sec, code 0 - scan src scan-ocaml-oXvthumb.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules oXvthumb.mli - exit src scan-ocaml-genimage.ml, 0.03 sec, code 0 - scan src scan-ocaml-oXvthumb.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules oXvthumb.ml - exit src scan-ocaml-geometry.mli, 0.03 sec, code 0 - build src geometry.cmi + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c geometry.mli - build src camlimages.o + ocamlfind ocamlopt -package lablgtk2,graphics -I . -c camlimages.ml - exit src scan-ocaml-geometry.ml, 0.02 sec, code 0 - scan src scan-ocaml-tmpfile.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules tmpfile.mli - exit src jis_unicode.cmi, 0.04 sec, code 0 - scan src scan-ocaml-tmpfile.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules tmpfile.ml - exit src scan-ocaml-oXvthumb.mli, 0.02 sec, code 0 - scan src scan-ocaml-mstring.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules mstring.mli - exit src scan-ocaml-image_intf.mli, 0.03 sec, code 0 - scan src scan-ocaml-mstring.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules mstring.ml - exit src scan-ocaml-oXvthumb.ml, 0.03 sec, code 0 - scan src scan-ocaml-oImages.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules oImages.mli - build src jis_table.o + ocamlfind ocamlopt -package lablgtk2,graphics -I . -c jis_table.ml - exit src scan-ocaml-mstring.mli, 0.02 sec, code 0 - build src mstring.cmi + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c mstring.mli - exit src scan-ocaml-tmpfile.ml, 0.02 sec, code 0 - scan src scan-ocaml-oImages.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules oImages.ml - exit src scan-ocaml-tmpfile.mli, 0.05 sec, code 0 - build src tmpfile.cmi + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c tmpfile.mli - exit src scan-ocaml-oImages.mli, 0.03 sec, code 0 - scan src scan-ocaml-info.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules info.mli - exit src scan-ocaml-mstring.ml, 0.03 sec, code 0 - scan src scan-ocaml-xvthumb.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules xvthumb.mli - exit src geometry.cmi, 0.05 sec, code 0 - build src geometry.cmo + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c geometry.ml - exit src camlimages.o, 0.10 sec, code 0 - build src geometry.cmx + ocamlfind ocamlopt -package lablgtk2,graphics -I . -c geometry.ml - exit src scan-ocaml-oImages.ml, 0.03 sec, code 0 - scan src scan-ocaml-xvthumb.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules xvthumb.ml - exit src scan-ocaml-info.mli, 0.02 sec, code 0 - build src info.cmi + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c info.mli - exit src mstring.cmi, 0.05 sec, code 0 - build src mstring.cmx + ocamlfind ocamlopt -package lablgtk2,graphics -I . -c mstring.ml - exit src scan-ocaml-xvthumb.mli, 0.02 sec, code 0 - build src mstring.cmo + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c mstring.ml - exit src jis_table.o, 0.12 sec, code 0 - build src jis_unicode.cmx + ocamlfind ocamlopt -package lablgtk2,graphics -I . -c jis_unicode.ml - exit src tmpfile.cmi, 0.04 sec, code 0 - build src tmpfile.cmo + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c tmpfile.ml - exit src scan-ocaml-xvthumb.ml, 0.03 sec, code 0 - build src tmpfile.cmx + ocamlfind ocamlopt -package lablgtk2,graphics -I . -c tmpfile.ml - exit src geometry.cmo, 0.05 sec, code 0 - build src jis_unicode.cmo + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c jis_unicode.ml - exit src info.cmi, 0.04 sec, code 0 - scan src scan-ocaml-index16.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules index16.mli File "mstring.ml", line 94, characters 12-25: 94 | let res = String.create len in ^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.create Use Bytes.create instead. File "mstring.ml", lines 96-97, characters 6-77: 96 | ......res.[i] <- 97 | char_of_int ( 16 * (hex_to_dec s.[i + i]) + hex_to_dec s.[i + i + 1]) Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "mstring.ml", line 128, characters 13-26: 128 | and dest = String.create (len + 1) (* we need one more char *) ^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.create Use Bytes.create instead. File "mstring.ml", line 133, characters 6-26: 133 | dest.[!wpos] <- '\n'; ^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "mstring.ml", line 136, characters 6-26: 136 | dest.[!wpos] <- '\n'; incr wpos ^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "mstring.ml", line 94, characters 12-25: 94 | let res = String.create len in ^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.create Use Bytes.create instead. File "mstring.ml", lines 96-97, characters 6-77: 96 | ......res.[i] <- 97 | char_of_int ( 16 * (hex_to_dec s.[i + i]) + hex_to_dec s.[i + i + 1]) Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "mstring.ml", line 141, characters 14-34: 141 | | '\n' -> dest.[!wpos] <- '\n'; incr rpos; incr wpos ^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "mstring.ml", line 144, characters 8-28: 144 | dest.[!wpos] <- '\n'; rpos := !rpos + 2; incr wpos ^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "mstring.ml", line 146, characters 8-28: 146 | dest.[!wpos] <- '\n'; incr rpos; incr wpos end ^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "mstring.ml", line 147, characters 11-28: 147 | | c -> dest.[!wpos] <- c; incr rpos; incr wpos ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "mstring.ml", line 150, characters 12-32: 150 | | '\n' -> dest.[!wpos] <- '\n'; incr wpos ^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "mstring.ml", line 152, characters 9-26: 152 | | c -> dest.[!wpos] <- c; incr wpos ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set 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 instead. File "mstring.ml", line 154, characters 13-17: 154 | String.sub dest 0 !wpos, !lastiscr;; ^^^^ Error: This expression has type bytes but an expression was expected of type string File "mstring.ml", line 128, characters 13-26: 128 | and dest = String.create (len + 1) (* we need one more char *) ^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.create Use Bytes.create instead. File "mstring.ml", line 133, characters 6-26: 133 | dest.[!wpos] <- '\n'; ^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "mstring.ml", line 136, characters 6-26: 136 | dest.[!wpos] <- '\n'; incr wpos ^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "mstring.ml", line 141, characters 14-34: 141 | | '\n' -> dest.[!wpos] <- '\n'; incr rpos; incr wpos ^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "mstring.ml", line 144, characters 8-28: 144 | dest.[!wpos] <- '\n'; rpos := !rpos + 2; incr wpos ^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "mstring.ml", line 146, characters 8-28: 146 | dest.[!wpos] <- '\n'; incr rpos; incr wpos end ^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "mstring.ml", line 147, characters 11-28: 147 | | c -> dest.[!wpos] <- c; incr rpos; incr wpos ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "mstring.ml", line 150, characters 12-32: 150 | | '\n' -> dest.[!wpos] <- '\n'; incr wpos ^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "mstring.ml", line 152, characters 9-26: 152 | | c -> dest.[!wpos] <- c; incr wpos ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. - exit src mstring.cmx, 0.05 sec, code 2 File "mstring.ml", line 154, characters 13-17: 154 | String.sub dest 0 !wpos, !lastiscr;; ^^^^ Error: This expression has type bytes but an expression was expected of type string - exit src mstring.cmo, 0.05 sec, code 2 - exit src scan-ocaml-index16.mli, 0.02 sec, code 0 - exit src tmpfile.cmo, 0.05 sec, code 0 - exit src geometry.cmx, 0.08 sec, code 0 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 instead. - exit src jis_unicode.cmx, 0.07 sec, code 0 - exit src jis_unicode.cmo, 0.04 sec, code 0 - exit src tmpfile.cmx, 0.06 sec, code 0 *** omake: 241/820 targets are up to date *** omake: failed (1.58 sec, 51/51 scans, 33/49 rules, 152/213 digests) *** omake: targets were not rebuilt because of errors: src/mstring.cmo depends on: src/mstring.ml src/mstring.cmx depends on: src/mstring.ml src/mstring.o depends on: src/mstring.ml *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/graphics/camlimages *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/graphics/camlimages