=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for wyrd-1.4.6nb10 ocamlc.opt -c locale_wrap.c /usr/pkg/bin/gmake -C curses byte opt && touch .stamp_built_curses gmake[1]: Entering directory '/data/scratch/time/wyrd/work/wyrd-1.4.6/curses' gmake[2]: Entering directory '/data/scratch/time/wyrd/work/wyrd-1.4.6/curses' ocamldep curses.mli > ._bcdi/curses.di ocamldep -pp "gcc -x c -E " curses.ml > ._d/curses.d ocamldep keys.ml > ._d/keys.d ocamlc -c -cc "clang" -ccopt "-fPIC -g -Wall -DHAVE_CONFIG_H \ -DPIC -I/usr/pkg/include/ncurses -I/usr/pkg/include -I/usr/include \ -o ml_curses.o " ml_curses.c In file included from ml_curses.c:216: ./functions.c:386:15: warning: variable 'x' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] BEG0 int x,y; getsyx(y,x); r_int_int(y,x); END ^~~~~~~~~~~ /data/scratch/time/wyrd/work/.buildlink/include/ncurses/curses.h:1093:30: note: expanded from macro 'getsyx' #define getsyx(y,x) do { if (newscr) { \ ^~~~~~ ./functions.c:386:40: note: uninitialized use occurs here BEG0 int x,y; getsyx(y,x); r_int_int(y,x); END ^ ml_curses.c:61:31: note: expanded from macro 'r_int_int' Store_field(ret,1,Val_int(y)); \ ^ /usr/pkg/lib/ocaml/caml/mlvalues.h:77:29: note: expanded from macro 'Val_int' #define Val_int(x) Val_long(x) ^ /usr/pkg/lib/ocaml/caml/mlvalues.h:73:47: note: expanded from macro 'Val_long' #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) ^ /usr/pkg/lib/ocaml/caml/memory.h:464:27: note: expanded from macro 'Store_field' value caml__temp_val = (val); \ ^~~ ./functions.c:386:15: note: remove the 'if' if its condition is always true BEG0 int x,y; getsyx(y,x); r_int_int(y,x); END ^ /data/scratch/time/wyrd/work/.buildlink/include/ncurses/curses.h:1093:26: note: expanded from macro 'getsyx' #define getsyx(y,x) do { if (newscr) { \ ^ ./functions.c:386:11: note: initialize the variable 'x' to silence this warning BEG0 int x,y; getsyx(y,x); r_int_int(y,x); END ^ = 0 ./functions.c:386:15: warning: variable 'y' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] BEG0 int x,y; getsyx(y,x); r_int_int(y,x); END ^~~~~~~~~~~ /data/scratch/time/wyrd/work/.buildlink/include/ncurses/curses.h:1093:30: note: expanded from macro 'getsyx' #define getsyx(y,x) do { if (newscr) { \ ^~~~~~ ./functions.c:386:38: note: uninitialized use occurs here BEG0 int x,y; getsyx(y,x); r_int_int(y,x); END ^ ml_curses.c:60:31: note: expanded from macro 'r_int_int' Store_field(ret,0,Val_int(x)); \ ^ /usr/pkg/lib/ocaml/caml/mlvalues.h:77:29: note: expanded from macro 'Val_int' #define Val_int(x) Val_long(x) ^ /usr/pkg/lib/ocaml/caml/mlvalues.h:73:47: note: expanded from macro 'Val_long' #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) ^ /usr/pkg/lib/ocaml/caml/memory.h:464:27: note: expanded from macro 'Store_field' value caml__temp_val = (val); \ ^~~ ./functions.c:386:15: note: remove the 'if' if its condition is always true BEG0 int x,y; getsyx(y,x); r_int_int(y,x); END ^ /data/scratch/time/wyrd/work/.buildlink/include/ncurses/curses.h:1093:26: note: expanded from macro 'getsyx' #define getsyx(y,x) do { if (newscr) { \ ^ ./functions.c:386:13: note: initialize the variable 'y' to silence this warning BEG0 int x,y; getsyx(y,x); r_int_int(y,x); END ^ = 0 ./functions.c:596:1: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ML1(unctrl,string,chtype) ^~~~~~~~~~~~~~~~~~~~~~~~~ ml_curses.c:106:9: note: expanded from macro 'ML1' { RA1 r_##tr(f(a_##ta(aa))); } ^~~~~~~~~~~~~~~~~~~~~ :248:1: note: expanded from here r_string ^ ml_curses.c:77:11: note: expanded from macro 'r_string' { char *ret=f; \ ^ ~ In file included from ml_curses.c:216: ./functions.c:597:1: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ML1(keyname,string,int) ^~~~~~~~~~~~~~~~~~~~~~~ ml_curses.c:106:9: note: expanded from macro 'ML1' { RA1 r_##tr(f(a_##ta(aa))); } ^~~~~~~~~~~~~~~~~~~~~ :260:1: note: expanded from here r_string ^ ml_curses.c:77:11: note: expanded from macro 'r_string' { char *ret=f; \ ^ ~ ml_curses.c:240:20: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] caml__dummy_win = caml__dummy_win; ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~ 5 warnings generated. ar rcs libcurses_stubs.a ml_curses.o ocamlc -c keys.ml ocamlc -c curses.mli ocamlc -c -pp "gcc -x c -E " curses.ml ocamlmklib \ -o curses_stubs ml_curses.o -lncurses \ -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib ocamlc -a -dllib dllcurses_stubs.so -custom -ccopt -L/usr/pkg/lib -ccopt -Wl,-R/usr/pkg/lib -ccopt -L/usr/lib -ccopt -Wl,-R/usr/lib -cclib -lcurses_stubs -cclib -lncurses -o curses.cma keys.cmo curses.cmo gmake[2]: Leaving directory '/data/scratch/time/wyrd/work/wyrd-1.4.6/curses' sed \ -e 's/@PACKAGE@/curses/' \ -e 's/@VERSION@/1.0.3/' \ -e 's/@CURSES@/ncurses/' \ < META.in > META ranlib *.a gmake[2]: Entering directory '/data/scratch/time/wyrd/work/wyrd-1.4.6/curses' ocamldep -native curses.mli > ._ncdi/curses.di gmake[2]: 'libcurses_stubs.a' is up to date. ocamlopt -c keys.ml ocamlopt -c -pp "gcc -x c -E " curses.ml ocamlopt -a -ccopt -L/usr/pkg/lib -ccopt -Wl,-R/usr/pkg/lib -ccopt -L/usr/lib -ccopt -Wl,-R/usr/lib -cclib -lcurses_stubs -cclib -lncurses -o curses.cmxa keys.cmx curses.cmx gmake[2]: Leaving directory '/data/scratch/time/wyrd/work/wyrd-1.4.6/curses' ranlib *.a gmake[1]: Leaving directory '/data/scratch/time/wyrd/work/wyrd-1.4.6/curses' ocamlopt.opt -c -pp camlp4o -g -I ./curses install.ml echo "let version = \""1.4.6"\"" > version.ml echo "let date = \""`date`"\"" >> version.ml ocamlopt.opt -c -pp camlp4o -g -I ./curses version.ml ocamlopt.opt -c -pp camlp4o -g -I ./curses utility.ml File "utility.ml", line 274, characters 44-47: Error: This expression has type string but an expression was expected of type bytes Makefile:154: recipe for target 'utility.cmx' failed gmake: *** [utility.cmx] Error 2 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/time/wyrd *** Error code 1 Stop. make: stopped in /data/pkgsrc/time/wyrd