=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for camlimages-4.0.1nb94 cd /tmp/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 /tmp/graphics/camlimages/work/.buildlink/bin/ocamlc.opt) --- Checking for ocamlopt.opt... (found /tmp/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 /tmp/graphics/camlimages/work/.buildlink/bin/ocamlmklib) --- Checking for gif_lib.h... --- Checking for gcc... (found /tmp/graphics/camlimages/work/.cwrapper/bin/gcc) --- Checking for g++... (found /tmp/graphics/camlimages/work/.cwrapper/bin/g++) --- Checking for gcc... (found /tmp/graphics/camlimages/work/.cwrapper/bin/gcc) --- Checking for g++... (found /tmp/graphics/camlimages/work/.cwrapper/bin/g++) --- Checking for gcc... (found /tmp/graphics/camlimages/work/.cwrapper/bin/gcc) --- Checking for ld... (found /tmp/graphics/camlimages/work/.cwrapper/bin/ld) --- Checking for as... (found /tmp/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 /tmp/graphics/camlimages/work/.buildlink/bin/freetype-config) SUPPORT_FREETYPE=true! --- Checking for rgb.txt... (found /usr/X11R7/lib/X11/rgb.txt) --- 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 (/tmp/graphics/camlimages/work/.buildlink/bin/freetype-config) (-L/usr/X11R7/lib -lfreetype) ps: true (/usr/pkg/bin/gs) rgb.txt: true (/etc/X11 /usr/share/X11 /usr/X11R7/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 -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib --- --- Checking if ocamldep understands -modules... (yes) *** omake: finished reading OMakefiles (1.69 sec) - 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-jis_table.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules jis_table.ml - exit src scan-ocaml-jis_unicode.ml, 0.06 sec, code 0 - scan src scan-ocaml-colorhist.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules colorhist.mli - exit src scan-ocaml-jis_unicode.mli, 0.07 sec, code 0 - build src jis_unicode.cmi + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c jis_unicode.mli - exit src camlimages.ml, 0.07 sec, code 0 - scan src scan-ocaml-camlimages.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules camlimages.ml - exit src scan-ocaml-colorhist.mli, 0.04 sec, code 0 - scan src scan-ocaml-colorhist.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules colorhist.ml - exit src scan-ocaml-jis_table.ml, 0.08 sec, code 0 - build src jis_table.o + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c jis_table.ml - exit src jis_unicode.cmi, 0.07 sec, code 0 - scan src scan-ocaml-genimage.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules genimage.mli - exit src scan-ocaml-camlimages.ml, 0.07 sec, code 0 - build src camlimages.o + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c camlimages.ml - exit src scan-ocaml-colorhist.ml, 0.07 sec, code 0 - scan src scan-ocaml-genimage.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules genimage.ml - build src jis_table.o + ocamlfind ocamlopt -package lablgtk2,graphics -I . -c jis_table.ml - exit src scan-ocaml-genimage.mli, 0.06 sec, code 0 - scan src scan-ocaml-image_intf.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules image_intf.mli - build src camlimages.o + ocamlfind ocamlopt -package lablgtk2,graphics -I . -c camlimages.ml - exit src scan-ocaml-genimage.ml, 0.05 sec, code 0 - scan src scan-ocaml-geometry.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules geometry.mli - exit src scan-ocaml-image_intf.mli, 0.04 sec, code 0 - scan src scan-ocaml-geometry.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules geometry.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 - exit src jis_table.o, 0.20 sec, code 0 - build src jis_unicode.cmo + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c jis_unicode.ml - exit src camlimages.o, 0.18 sec, code 0 - build src jis_unicode.cmx + ocamlfind ocamlopt -package lablgtk2,graphics -I . -c jis_unicode.ml - exit src geometry.cmi, 0.05 sec, code 0 - scan src scan-ocaml-oXvthumb.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules oXvthumb.mli - exit src scan-ocaml-geometry.ml, 0.08 sec, code 0 - build src geometry.cmo + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c geometry.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 instead. - exit src jis_unicode.cmo, 0.08 sec, code 0 - build src geometry.o + ocamlfind ocamlopt -package lablgtk2,graphics -I . -c geometry.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 instead. - exit src scan-ocaml-oXvthumb.mli, 0.05 sec, code 0 - scan src scan-ocaml-oXvthumb.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules oXvthumb.ml - exit src jis_unicode.cmx, 0.11 sec, code 0 - scan src scan-ocaml-mstring.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules mstring.mli - exit src geometry.cmo, 0.08 sec, code 0 - scan src scan-ocaml-mstring.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules mstring.ml - exit src scan-ocaml-oXvthumb.ml, 0.06 sec, code 0 - scan src scan-ocaml-tmpfile.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules tmpfile.mli - exit src scan-ocaml-mstring.mli, 0.05 sec, code 0 - build src mstring.cmi + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c mstring.mli - exit src geometry.o, 0.16 sec, code 0 - scan src scan-ocaml-tmpfile.ml + ocamlfind ocamldep -package lablgtk2,graphics -modules tmpfile.ml - exit src mstring.cmi, 0.25 sec, code 0 - scan src scan-ocaml-oImages.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules oImages.mli - exit src scan-ocaml-tmpfile.mli, 0.31 sec, code 0 - build src tmpfile.cmi + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c tmpfile.mli - exit src scan-ocaml-mstring.ml, 0.33 sec, code 0 - build src mstring.cmo + ocamlfind ocamlc -package lablgtk2,graphics -g -I . -c mstring.ml - exit src tmpfile.cmi, 0.30 sec, code 0 - build src mstring.o + ocamlfind ocamlopt -package lablgtk2,graphics -I . -c mstring.ml 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 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 "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 scan-ocaml-oImages.mli, 0.88 sec, code 0 - scan src scan-ocaml-info.mli + ocamlfind ocamldep -package lablgtk2,graphics -modules info.mli - exit src scan-ocaml-tmpfile.ml, 1.12 sec, code 0 - build src tmpfile.o + ocamlfind ocamlopt -package lablgtk2,graphics -I . -c tmpfile.ml 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 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 "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.82 sec, code 2 - exit src scan-ocaml-info.mli, 0.35 sec, code 0 - exit src mstring.o, 0.61 sec, code 2 - exit src tmpfile.o, 0.25 sec, code 0 *** omake: 112/799 targets are up to date *** omake: failed (4.77 sec, 19/19 scans, 14/22 rules, 61/113 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. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/graphics/camlimages *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/graphics/camlimages