=> Bootstrap dependency curl-[0-9]*: found curl-7.28.1nb1
=> Bootstrap dependency digest>=20010302: found digest-20111104
===> Building for camlimages-4.0.1nb17
cd /tmp/pkgsrc/graphics/camlimages/work/camlspotter-camlimages-v4.0.1 && /usr/pkg/bin/omake --configure --verbose
*** omake: reading OMakefiles
OMake warning: could not create and/or lock a cache file for
   /usr/pkg/lib/omake/Pervasives.om
OMake warning: could not create and/or lock a cache file for
   /usr/pkg/lib/omake/build/C.om
OMake warning: could not create and/or lock a cache file for
   /usr/pkg/lib/omake/build/Common.om
OMake warning: could not create and/or lock a cache file for
   /usr/pkg/lib/omake/configure/Configure.om
OMake warning: could not create and/or lock a cache file for
   /usr/pkg/lib/omake/build/OCaml.om
OMake warning: could not create and/or lock a cache file for
   /usr/pkg/lib/omake/build/LaTeX.om
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 ocamlfind... (found /usr/pkg/bin/ocamlfind)
--- Checking for ocamlc.opt... (found /tmp/pkgsrc/graphics/camlimages/work/.buildlink/bin/ocamlc.opt)
--- Checking for ocamlopt.opt... (found /tmp/pkgsrc/graphics/camlimages/work/.buildlink/bin/ocamlopt.opt)
--- Checking whether ocamlc understands the "z" warnings... (yes)
--- Checking for ocamlmklib... (found /tmp/pkgsrc/graphics/camlimages/work/.buildlink/bin/ocamlmklib)
--- Checking for gif_lib.h... --- Checking for gcc... (found /tmp/pkgsrc/graphics/camlimages/work/.wrapper/bin/gcc)
--- Checking for g++... (found /tmp/pkgsrc/graphics/camlimages/work/.wrapper/bin/g++)
(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... (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 /usr/pkg/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 (-lpng15 -lz)
jpeg:	  true (-ljpeg)
tiff:	  true (-ltiff -ljpeg -lz )
xpm:	  false ()
freetype: true (/usr/pkg/bin/freetype-config) (-L/usr/pkg/lib -lfreetype -lz -lbz2)
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 png jpeg tiff ps lablgtk2 graphics freetype
supported formats:  gif png jpeg tiff ps
supported non-formats:  lablgtk2 graphics freetype
CFLAGS:   
LDFLAGS:  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib/nspr -Wl,-R/usr/pkg/lib/nspr -L/usr/lib64 -Wl,-R/usr/lib64 -L/usr/pkg/lib/nss -Wl,-R/usr/pkg/lib/nss
---
--- Checking if ocamldep understands -modules... (yes)
*** omake: finished reading OMakefiles (5.49 sec)
- build . config.h
+ <compute 6 value dependencies>
- build . config.h
+ public.stdout = $(public.fopen $(public.file), "w")
public.fsubst(<cases...>, ($(public.file), ".in"))
public.close($(public.stdout))
- exit . config.h, 0.01 sec, code 0
- scan src scan-c-xpm_na.c
+ gcc -I /usr/include/X11 -I /usr/local/include -I /usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include -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-c-xpm_na.c, 0.67 sec, code 0
*** omake: warning: stdout is not a tty, disabling the progress bar
   (use --progress to override).
- build src xpm_na.o
+ gcc -I /usr/include/X11 -I /usr/local/include -I /usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include -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 xpm_na.o, 0.04 sec, code 0
- build src libcamlimages_xpm.a
+ ocamlmklib -o camlimages_xpm -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib/nspr -Wl,-R/usr/pkg/lib/nspr -L/usr/lib64 -Wl,-R/usr/lib64 -L/usr/pkg/lib/nss -Wl,-R/usr/pkg/lib/nss xpm_na.o
- exit src libcamlimages_xpm.a, 0.69 sec, code 0
- scan src scan-ocaml-oXpm.ml
+ <compute 2 value dependencies>
- scan src scan-ocaml-oXpm.ml
+ ocamlfind ocamldep -package lablgtk2,graphics -modules oXpm.ml
     | Shell.ocamldep-postproc()
- exit src scan-ocaml-oXpm.ml, 0.01 sec, code 0
- scan src scan-ocaml-xpm.mli
+ <compute 2 value dependencies>
- scan src scan-ocaml-xpm.mli
+ ocamlfind ocamldep -package lablgtk2,graphics -modules xpm.mli
     | Shell.ocamldep-postproc()
- exit src scan-ocaml-xpm.mli, 0.01 sec, code 0
- scan src scan-ocaml-xpm.ml
+ <compute 2 value dependencies>
- scan src scan-ocaml-xpm.ml
+ ocamlfind ocamldep -package lablgtk2,graphics -modules xpm.ml
     | Shell.ocamldep-postproc()
- exit src scan-ocaml-xpm.ml, 0.01 sec, code 0
- scan src scan-c-jpegwrite.c
+ gcc -I /usr/include/X11 -I /usr/local/include -I /usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include -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-jpegwrite.c, 0.03 sec, code 0
- build src jpegwrite.o
+ gcc -I /usr/include/X11 -I /usr/local/include -I /usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include -fPIC -I /usr/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/usr/pkg/include -c -o jpegwrite.o jpegwrite.c
- exit src jpegwrite.o, 0.05 sec, code 0
- scan src scan-c-tiffwrite.c
+ gcc -I /usr/include/X11 -I /usr/local/include -I /usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include -fPIC -I /usr/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/usr/pkg/include -MM tiffwrite.c
- exit src scan-c-tiffwrite.c, 0.04 sec, code 0
- build src tiffwrite.o
+ gcc -I /usr/include/X11 -I /usr/local/include -I /usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include -fPIC -I /usr/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/usr/pkg/include -c -o tiffwrite.o tiffwrite.c
tiffwrite.c:24:0: warning: "int16" redefined
/tmp/pkgsrc/graphics/camlimages/work/.buildlink/lib/ocaml/caml/compatibility.h:311:0: note: this is the location of the previous definition
tiffwrite.c:25:0: warning: "uint16" redefined
/tmp/pkgsrc/graphics/camlimages/work/.buildlink/lib/ocaml/caml/compatibility.h:312:0: note: this is the location of the previous definition
- exit src tiffwrite.o, 0.05 sec, code 0
- scan src scan-c-gifwrite.c
+ gcc -I /usr/include/X11 -I /usr/local/include -I /usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include -fPIC -I /usr/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/usr/pkg/include -MM gifwrite.c
- exit src scan-c-gifwrite.c, 0.03 sec, code 0
- build src gifwrite.o
+ gcc -I /usr/include/X11 -I /usr/local/include -I /usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include -fPIC -I /usr/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/usr/pkg/include -c -o gifwrite.o gifwrite.c
gifwrite.c: In function 'ColorMapObject_val':
gifwrite.c:47:26: warning: initialization makes integer from pointer without a cast
gifwrite.c:47:26: warning: return makes pointer from integer without a cast
gifwrite.c:61:3: warning: initialization makes integer from pointer without a cast
gifwrite.c:61:3: warning: return makes pointer from integer without a cast
- exit src gifwrite.o, 0.06 sec, code 0
- scan src scan-c-jpegread.c
+ gcc -I /usr/include/X11 -I /usr/local/include -I /usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include -fPIC -I /usr/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/usr/pkg/include -MM jpegread.c
- exit src scan-c-jpegread.c, 0.03 sec, code 0
- build src jpegread.o
+ gcc -I /usr/include/X11 -I /usr/local/include -I /usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include -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 jpegread.o, 0.07 sec, code 0
- build src dllcamlimages_jpeg.so
+ ocamlmklib -o camlimages_jpeg -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib/nspr -Wl,-R/usr/pkg/lib/nspr -L/usr/lib64 -Wl,-R/usr/lib64 -L/usr/pkg/lib/nss -Wl,-R/usr/pkg/lib/nss -ljpeg jpegread.o jpegwrite.o
- exit src dllcamlimages_jpeg.so, 0.06 sec, code 0
- scan src scan-c-pngwrite.c
+ gcc -I /usr/include/X11 -I /usr/local/include -I /usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include -fPIC -I /usr/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/usr/pkg/include -MM pngwrite.c
- exit src scan-c-pngwrite.c, 0.04 sec, code 0
- build src pngwrite.o
+ gcc -I /usr/include/X11 -I /usr/local/include -I /usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include -fPIC -I /usr/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/usr/pkg/include -c -o pngwrite.o pngwrite.c
- exit src pngwrite.o, 0.06 sec, code 0
- scan src scan-c-tiffread.c
+ gcc -I /usr/include/X11 -I /usr/local/include -I /usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include -fPIC -I /usr/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/usr/pkg/include -MM tiffread.c
- exit src scan-c-tiffread.c, 0.03 sec, code 0
- build src tiffread.o
+ gcc -I /usr/include/X11 -I /usr/local/include -I /usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include -fPIC -I /usr/pkg/lib/ocaml -I/usr/include/X11 -I/usr/local/include -I/usr/pkg/include -c -o tiffread.o tiffread.c
tiffread.c:27:0: warning: "int16" redefined
/tmp/pkgsrc/graphics/camlimages/work/.buildlink/lib/ocaml/caml/compatibility.h:311:0: note: this is the location of the previous definition
tiffread.c:28:0: warning: "uint16" redefined
/tmp/pkgsrc/graphics/camlimages/work/.buildlink/lib/ocaml/caml/compatibility.h:312:0: note: this is the location of the previous definition
tiffread.c: In function 'open_tiff_file_for_read':
tiffread.c:61:5: error: 'uint32_t' undeclared (first use in this function)
tiffread.c:61:5: note: each undeclared identifier is reported only once for each function it appears in
tiffread.c:61:12: error: expected ';' before 'imagelength'
tiffread.c:62:12: error: expected ';' before 'imagewidth'
tiffread.c:63:5: error: 'uint16_t' undeclared (first use in this function)
tiffread.c:63:12: error: expected ';' before 'imagesample'
tiffread.c:64:12: error: expected ';' before 'imagebits'
tiffread.c:67:12: error: expected ';' before 'runit'
tiffread.c:69:12: error: expected ';' before 'photometric'
tiffread.c:71:45: error: 'imagelength' undeclared (first use in this function)
tiffread.c:72:44: error: 'imagewidth' undeclared (first use in this function)
tiffread.c:73:47: error: 'imagebits' undeclared (first use in this function)
tiffread.c:74:49: error: 'imagesample' undeclared (first use in this function)
tiffread.c:75:48: error: 'runit' undeclared (first use in this function)
tiffread.c:78:45: error: 'photometric' undeclared (first use in this function)
- exit src tiffread.o, 0.04 sec, code 1
*** omake: 121/815 targets are up to date
*** omake: failed (7.59 sec, 10/10 scans, 10/12 rules, 75/389 digests)
*** omake: targets were not rebuilt because of errors:
   src/tiffread.o
      depends on: src/tiffread.c
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/graphics/camlimages
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/graphics/camlimages