=> Bootstrap dependency digest>=20010302: found digest-20111104
=> Bootstrap dependency fetch-[0-9]*: found fetch-1.7
WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum SHA1 OK for ocaml-3.11.1.tar.bz2
=> Checksum RMD160 OK for ocaml-3.11.1.tar.bz2
=> Checksum SHA1 OK for ocamlduce-3.11.1.0.tar.gz
=> Checksum RMD160 OK for ocamlduce-3.11.1.0.tar.gz
===> Installing dependencies for ocamlduce-3.11.1.0nb1
==========================================================================
The following variables will affect the build process of this package,
ocamlduce-3.11.1.0nb1.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses

Based on these variables, the following variables have been set:

        * CURSES_TYPE = ncurses
        * TERMCAP_TYPE = curses

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/pkg/bin/bmake clean' after
the changes.
==========================================================================
=> Build dependency ocaml>=3.12.0nb5: found ocaml-3.12.1
=> Build dependency checkperms>=1.1: found checkperms-1.11
=> Full dependency ocaml-findlib-[0-9]*: found ocaml-findlib-1.2.8
===> Overriding tools for ocamlduce-3.11.1.0nb1
===> Extracting for ocamlduce-3.11.1.0nb1
===> Patching for ocamlduce-3.11.1.0nb1
=> Applying pkgsrc patches for ocamlduce-3.11.1.0nb1
===> Creating toolchain wrappers for ocamlduce-3.11.1.0nb1
===> Configuring for ocamlduce-3.11.1.0nb1
cd /tmp/pkgsrc/lang/ocamlduce/work/ocamlduce-3.11.1.0 && DISTDIR=/pub/pkgsrc/distfiles make prepare
tar jxf /pub/pkgsrc/distfiles/ocaml-3.12.1.tar.bz2
cp -PpR META.in VERSION ocamlducefind mkocamlduce.sh ocaml-3.12.1
cp -PpR ocamlduce ocaml-3.12.1/otherlibs
cd ocaml-3.12.1 && for X in ../patches/*.diff; do patch -p1 < $X; done
patching file asmcomp/asmlink.ml
Hunk #1 succeeded at 299 (offset 2 lines).
Hunk #2 succeeded at 316 (offset 2 lines).
patching file _tags
Hunk #1 FAILED at 82.
1 out of 1 hunk FAILED -- saving rejects to file _tags.rej
patching file myocamlbuild.ml
Hunk #1 succeeded at 96 (offset -9 lines).
Hunk #2 succeeded at 120 with fuzz 2 (offset -4 lines).
Hunk #3 succeeded at 175 (offset -4 lines).
Hunk #4 succeeded at 229 (offset -4 lines).
Hunk #5 FAILED at 263.
Hunk #6 succeeded at 312 (offset -11 lines).
Hunk #7 succeeded at 333 (offset -11 lines).
1 out of 7 hunks FAILED -- saving rejects to file myocamlbuild.ml.rej
patching file myocamlbuild_config.mli
Hunk #1 succeeded at 58 (offset 1 line).
patching file bytecomp/bytelink.ml
Hunk #1 succeeded at 490 (offset 35 lines).
patching file bytecomp/translcore.ml
Hunk #1 succeeded at 826 (offset 2 lines).
patching file bytecomp/translext.ml
patching file bytecomp/translext.mli
patching file bytecomp/translmod.ml
Hunk #1 succeeded at 349 (offset 2 lines).
Hunk #2 succeeded at 544 (offset 2 lines).
Hunk #3 succeeded at 655 (offset 2 lines).
patching file driver/compile.ml
patching file driver/errors.ml
patching file driver/main.ml
patching file driver/optcompile.ml
patching file driver/opterrors.ml
patching file driver/optmain.ml
patching file ocamldoc/odoc_ast.ml
Hunk #1 succeeded at 1027 (offset 5 lines).
patching file ocamldoc/odoc_misc.ml
Hunk #1 FAILED at 479.
1 out of 1 hunk FAILED -- saving rejects to file ocamldoc/odoc_misc.ml.rej
patching file ocamldoc/odoc_sig.ml
Hunk #1 succeeded at 934 (offset -19 lines).
patching file ocamldoc/odoc_str.ml
Hunk #1 FAILED at 32.
Hunk #2 FAILED at 44.
2 out of 2 hunks FAILED -- saving rejects to file ocamldoc/odoc_str.ml.rej
patching file ocamldoc/odoc_value.ml
Hunk #1 FAILED at 84.
1 out of 1 hunk FAILED -- saving rejects to file ocamldoc/odoc_value.ml.rej
patching file parsing/lexer.mli
patching file parsing/lexer.mll
Hunk #3 succeeded at 246 (offset 11 lines).
Hunk #4 succeeded at 413 (offset 11 lines).
Hunk #5 succeeded at 557 (offset 8 lines).
Hunk #6 succeeded at 693 (offset 12 lines).
patching file parsing/parse.ml
patching file parsing/parser.mly
Hunk #1 succeeded at 156 (offset 11 lines).
Hunk #2 FAILED at 190.
Hunk #3 succeeded at 269 (offset 24 lines).
Hunk #4 succeeded at 288 (offset 24 lines).
Hunk #5 succeeded at 307 (offset 25 lines).
Hunk #6 succeeded at 332 (offset 25 lines).
Hunk #7 FAILED at 364.
Hunk #8 succeeded at 408 with fuzz 2 (offset 25 lines).
Hunk #9 succeeded at 523 (offset 29 lines).
Hunk #10 succeeded at 593 (offset 31 lines).
Hunk #11 FAILED at 842.
Hunk #12 FAILED at 996.
Hunk #13 FAILED at 1360.
Hunk #14 succeeded at 1682 with fuzz 2 (offset 118 lines).
5 out of 14 hunks FAILED -- saving rejects to file parsing/parser.mly.rej
patching file parsing/parsetree.mli
Hunk #2 FAILED at 84.
Hunk #3 succeeded at 132 (offset 3 lines).
Hunk #4 FAILED at 163.
Hunk #5 succeeded at 277 (offset 7 lines).
Hunk #6 succeeded at 323 (offset 10 lines).
2 out of 6 hunks FAILED -- saving rejects to file parsing/parsetree.mli.rej
patching file parsing/printast.ml
Hunk #1 FAILED at 146.
Hunk #2 FAILED at 305.
Hunk #3 succeeded at 554 (offset 26 lines).
Hunk #4 succeeded at 642 (offset 34 lines).
2 out of 4 hunks FAILED -- saving rejects to file parsing/printast.ml.rej
patching file parsing/syntaxerr.ml
Hunk #1 succeeded at 20 with fuzz 2 (offset 1 line).
Hunk #2 succeeded at 42 with fuzz 1 (offset 4 lines).
patching file parsing/syntaxerr.mli
Hunk #1 succeeded at 20 with fuzz 2 (offset 1 line).
patching file parsing/xparser.ml
patching file tools/addlabels.ml
Hunk #1 FAILED at 274.
1 out of 1 hunk FAILED -- saving rejects to file tools/addlabels.ml.rej
patching file tools/depend.ml
Hunk #1 FAILED at 52.
Hunk #2 FAILED at 157.
Hunk #3 succeeded at 216 (offset 11 lines).
Hunk #4 succeeded at 270 (offset 14 lines).
2 out of 4 hunks FAILED -- saving rejects to file tools/depend.ml.rej
patching file tools/ocamlprof.ml
Hunk #1 succeeded at 289 with fuzz 2 (offset 4 lines).
patching file toplevel/expunge.ml
patching file toplevel/genprintval.ml
Hunk #2 FAILED at 322.
1 out of 2 hunks FAILED -- saving rejects to file toplevel/genprintval.ml.rej
patching file toplevel/genprintval.mli
patching file toplevel/toplevellib.mllib
Hunk #1 FAILED at 17.
1 out of 1 hunk FAILED -- saving rejects to file toplevel/toplevellib.mllib.rej
patching file toplevel/toploop.ml
patching file toplevel/topmain.ml
patching file typing/btype.ml
Hunk #1 FAILED at 195.
Hunk #2 FAILED at 256.
2 out of 2 hunks FAILED -- saving rejects to file typing/btype.ml.rej
patching file typing/ctype.ml
Hunk #2 succeeded at 167 (offset 5 lines).
Hunk #3 succeeded at 1267 (offset 28 lines).
Hunk #4 succeeded at 1570 (offset 28 lines).
Hunk #5 succeeded at 1649 (offset 28 lines).
Hunk #6 succeeded at 1670 (offset 28 lines).
Hunk #7 succeeded at 2108 (offset 32 lines).
Hunk #8 succeeded at 2373 with fuzz 1 (offset 36 lines).
Hunk #9 succeeded at 3000 with fuzz 2 (offset 42 lines).
Hunk #10 succeeded at 3109 (offset 42 lines).
patching file typing/ctype.mli
Hunk #2 succeeded at 245 (offset 1 line).
patching file typing/env.ml
patching file typing/env.mli
patching file typing/printtyp.ml
Hunk #1 FAILED at 153.
Hunk #2 succeeded at 289 (offset 13 lines).
Hunk #3 FAILED at 384.
Hunk #4 succeeded at 1048 (offset 37 lines).
2 out of 4 hunks FAILED -- saving rejects to file typing/printtyp.ml.rej
patching file typing/subst.ml
Hunk #2 succeeded at 79 (offset 12 lines).
Hunk #3 succeeded at 327 with fuzz 2 (offset 20 lines).
patching file typing/subst.mli
Hunk #1 succeeded at 56 with fuzz 1.
patching file typing/typecore.ml
Hunk #1 FAILED at 928.
Hunk #2 succeeded at 1085 (offset 101 lines).
Hunk #3 succeeded at 1346 with fuzz 1 (offset 59 lines).
Hunk #4 succeeded at 1362 (offset 59 lines).
Hunk #5 FAILED at 1537.
Hunk #6 FAILED at 1817.
Hunk #7 succeeded at 2113 (offset 162 lines).
Hunk #8 succeeded at 2428 (offset 179 lines).
3 out of 8 hunks FAILED -- saving rejects to file typing/typecore.ml.rej
patching file typing/typedecl.ml
Hunk #4 succeeded at 186 with fuzz 1.
Hunk #5 FAILED at 461.
Hunk #6 succeeded at 592 (offset 10 lines).
Hunk #7 FAILED at 645.
Hunk #8 succeeded at 732 (offset 40 lines).
2 out of 8 hunks FAILED -- saving rejects to file typing/typedecl.ml.rej
patching file typing/typedtree.ml
Hunk #1 FAILED at 79.
1 out of 1 hunk FAILED -- saving rejects to file typing/typedtree.ml.rej
patching file typing/typedtree.mli
Hunk #1 FAILED at 78.
1 out of 1 hunk FAILED -- saving rejects to file typing/typedtree.mli.rej
patching file typing/typeext.ml
patching file typing/typeext.mli
patching file typing/typemod.ml
Hunk #1 succeeded at 455 (offset 71 lines).
Hunk #2 succeeded at 496 (offset 71 lines).
Hunk #3 succeeded at 902 (offset 89 lines).
Hunk #4 succeeded at 984 (offset 108 lines).
Hunk #5 succeeded at 1020 (offset 108 lines).
Hunk #6 succeeded at 1080 (offset 108 lines).
patching file typing/typemod.mli
patching file typing/types.ml
Hunk #1 FAILED at 37.
1 out of 1 hunk FAILED -- saving rejects to file typing/types.ml.rej
patching file typing/types.mli
Hunk #1 FAILED at 36.
1 out of 1 hunk FAILED -- saving rejects to file typing/types.mli.rej
patching file typing/typetexp.ml
Hunk #1 FAILED at 383.
Hunk #2 FAILED at 557.
2 out of 2 hunks FAILED -- saving rejects to file typing/typetexp.ml.rej
patching file typing/unused_var.ml
Hunk #1 FAILED at 106.
Hunk #2 FAILED at 173.
Hunk #3 succeeded at 255 (offset 4 lines).
Hunk #4 succeeded at 286 (offset 4 lines).
2 out of 4 hunks FAILED -- saving rejects to file typing/unused_var.ml.rej
patching file typing/unused_var.mli
Hunk #1 succeeded at 12 with fuzz 2.
patching file utils/clflags.ml
Hunk #1 succeeded at 87 (offset 2 lines).
patching file utils/config.mlbuild
Hunk #2 FAILED at 62.
1 out of 2 hunks FAILED -- saving rejects to file utils/config.mlbuild.rej
patching file utils/config.mli
make: *** [prepare] Error 1
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/lang/ocamlduce
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/lang/ocamlduce