=> 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.
===> Building for moscow_ml-2.01nb2
cd config; make clean
rm -f m.h s.h
cd auto-aux; rm -f *.o a.out
cd runtime; make clean
rm -f camlrunm camlrunmd *.o *.a
rm -f primitives prims.c opnames.h jumptbl.h
rm -f .debugobj/*.o
cd launch; make clean
rm -f camlexec.c camlexec mosmlc mosml mosmllex testprog testprog.u[io]
cd mosmlyac; make clean
rm -f *.o
rm -f mosmlyac
cd mosmllib; make clean
rm -f *.ui
rm -f *.uo
rm -f Makefile.bak
rm -f Array.sml FileSys.sml Help.sml Int.sml Mosml.sml
rm -f Path.sml Process.sml Strbase.sml
rm -f Vector.sml Word.sml Word8Array.sml Word8Vector.sml Weak.sml
cd compiler; make clean
rm -f mosmlcmp
rm -f mosmllnk
rm -f mosmltop
rm -f *.ui
rm -f *.uo
rm -f Opcodes.sml
rm -f Parser.sml
rm -f Parser.sig
rm -f Parser.output
rm -f Lexer.sml
rm -f Config.sml
rm -f Filename.sml
rm -f Predef.sml
rm -f Prim_c.sml
rm -f Makefile.bak
cd toolssrc; make clean
rm -f *.ui
rm -f *.uo
rm -f Makefile.bak
rm -f Deppars.sig Deppars.sml Deplex.sig Deplex.sml Mosmldep.sml
rm -f cutdeps mosmldep
cd lex; make clean
rm -f *.ui
rm -f *.uo
rm -f mosmllex
rm -f mosmllex.bin
rm -f Grammar.sml
rm -f Grammar.sig
rm -f Grammar.output
rm -f Scanner.sml
rm -f Makefile.bak
cd test; make clean
rm -f result
rm -f *.sml
cd test; make clean
rm -f result
cd mosmllib/test; make clean
rm -f result
rm -f cmdline cmdline.ui cmdline.uo
rm -f empty.dat medium.dat  small1.dat  small2.dat  text.dat
rm -f mosmltestrun
rm -f hardlinkA hardlinkB
rm -f testlink testcycl testbadl
rm -f testrun.ui testrun.uo
cd callback; make clean
rm -f *.o
rm -f *.so
cd ../examples; make clean
cd calc; make clean
rm -f Makefile.bak
rm -f Parser.sig
rm -f Parser.sml
rm -f Lexer.sml
rm -f calc
rm -f *.ui
rm -f *.uo
cd cgi; make clean
rm -f *.ui
rm -f *.uo
rm -f cgiex1 cgiex2 cgitest
rm -f Makefile.bak
cd lexyacc; make clean
rm -f Parser.sig Parser.sml Lexer.sml
rm -f *.ui *.uo
rm -f Makefile.bak
cd manual; make clean
rm -f *.ui
rm -f *.uo
rm -f Makefile.bak
cd mls; make clean
rm -f *.ui
rm -f *.uo
rm -f Makefile.bak
rm -f mls
cd parsercomb; make clean
rm -f *.ui
rm -f *.uo
rm -f Makefile.bak
cd pretty; make clean
cd webserver; make clean
rm -f *.ui
rm -f *.uo
rm -f echoserver minimalserver mosmlserver
rm -f Makefile.bak
cd dynlibs; make clean
cd crypt; make clean
rm -f *.o
rm -f *.so
cd interface; make clean
rm -f *.o
rm -f *.so
cd intinf; make clean
rm -f *.o
rm -f *.so
rm -f *.ui
rm -f *.uo
rm -f Makefile.bak
cd mgd; make clean
rm -f *.o
rm -f *.so
rm -f *.uo *.ui
rm -f *.png
rm -f Makefile.bak
cd mgdbm; make clean
rm -f *.o
rm -f *.so
rm -f empty testdb monthnames
cd mmysql; make clean
rm -f *~
rm -f *.o
rm -f *.so
rm -f Makefile.bak
cd mpq; make clean
rm -f *.o
rm -f *.so
rm -f Makefile.bak
cd mregex; make clean
rm -f *.o
rm -f *.so
rm -f Makefile.bak
(cd regex-0.12; (test -f Makefile && make clean || test 1))
cd msocket; make clean
rm -f *.o
rm -f *.so
rm -f Makefile.bak
cd munix; make clean
rm -f *.o
rm -f *.so
rm -f sieve
rm -f Makefile.bak
rm -f camlrunm
cd doc; make clean
rm -f *.aux *.dvi *.blg *.bbl *.blg *.log *.ps
rm -f *.ind *.idx *.ilg *.toc
rm -f index.tex texsigsigs.tex
cd helpsigs; make clean
rm -f Parser.sig Parser.sml Lexer.sml
rm -f makebase index.txt index.tex texsigsigs.tex
rm -f *.ui
rm -f *.uo
rm -f Makefile.bak
cd config; sh autoconf gcc
Checking the sizes of integers and pointers...
Wow! A 64 bit architecture!
The char type is signed. Good!
This is a little-endian architecture.
This architecture has alignment constraints.
Doubles can be word-aligned.
Function "memmove" is provided and handles overlapping moves correctly.
Function "bcopy" is provided and handles overlapping moves correctly.
_setjmp and _longjmp appear to work. Good!
The return type for signal handlers appears to be "void".
Signals have the BSD semantics.
rename() found.
strerror() found.
You have BSD sockets.
unistd.h found.
dirent.h found.
lockf() found.
mkfifo() found.
getpriority() found.
utime() found.
utimes() found.
dup2() found.
fchmod() found.
truncate() found.
select() found.
symlink() found.
wait3() found.
waitpid() found.
getgroups() found.
POSIX termios found.
cd runtime; make all
awk -f ../tools/make-jumptbl instruct.h > jumptbl.h
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o interp.o interp.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o expand.o expand.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o misc.o misc.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o stacks.o stacks.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o fix_code.o fix_code.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o main.o main.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o fail.o fail.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o signals.o signals.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o freelist.o freelist.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o major_gc.o major_gc.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o minor_gc.o minor_gc.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o memory.o memory.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o alloc.o alloc.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o roots.o roots.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o compare.o compare.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o ints.o ints.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o floats.o floats.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o str.o str.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o io.o io.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o extern.o extern.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o externcp.o externcp.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o intern.o intern.c
intern.c: In function 'intern_fast_val':
intern.c:476:5: warning: passing argument 2 of 'expand_block' from incompatible pointer type
intern.c:155:13: note: expected 'value *' but argument is of type 'char *'
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o interncp.o interncp.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o hash.o hash.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o sys.o sys.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o meta.o meta.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o parsing.o parsing.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o lexing.o lexing.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o gc_ctrl.o gc_ctrl.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o mosml.o mosml.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o unix.o unix.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o runtime.o runtime.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o md5sum.o md5sum.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o callback.o callback.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o dynlib.o dynlib.c
sed -n -e '/\/\* ML \*\//s/.* \([a-zA-Z0-9_][a-zA-Z0-9_]*\) *(.*/\1/p'  compare.c extern.c externcp.c floats.c gc_ctrl.c hash.c  intern.c interncp.c interp.c ints.c io.c lexing.c meta.c parsing.c  str.c sys.c mosml.c unix.c md5sum.c callback.c dynlib.c > primitives2
sh -c 'if cmp -s primitives primitives2;  then rm primitives2;  else mv primitives2 primitives;  fi'
(echo '#include "mlvalues.h"';  echo '#include "prims.h"';  sed -e 's/.*/extern value &();/' primitives;  echo 'c_primitive cprim[] = {';  sed -e 's/.*/  &,/' primitives;  echo '  0 };';  echo 'char * names_of_cprim[] = {';  sed -e 's/.*/  "&",/' primitives;  echo '  0 };') > prims.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o prims.o prims.c
gcc -rdynamic -o camlrunm prims.o interp.o expand.o misc.o stacks.o fix_code.o main.o fail.o signals.o  freelist.o major_gc.o minor_gc.o memory.o alloc.o roots.o  compare.o ints.o floats.o str.o io.o  extern.o externcp.o intern.o interncp.o  hash.o sys.o meta.o parsing.o lexing.o gc_ctrl.o mosml.o unix.o  runtime.o md5sum.o callback.o dynlib.o -lm 
mosml.o: In function `sml_tmpnam':
mosml.c:(.text+0x1517): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
dynlib.o: In function `dynlib_dlopen':
dynlib.c:(.text+0x20): undefined reference to `dlopen'
dynlib.c:(.text+0x39): undefined reference to `dlerror'
dynlib.o: In function `dynlib_dlclose':
dynlib.c:(.text+0x55): undefined reference to `dlclose'
dynlib.o: In function `dynlib_dlsym':
dynlib.c:(.text+0x72): undefined reference to `dlsym'
dynlib.c:(.text+0x7a): undefined reference to `dlerror'
collect2: ld returned 1 exit status
*** Error code 1

Stop.
make: stopped in /tmp/pkgsrc/lang/moscow_ml/work/mosml/src/runtime
*** Error code 1

Stop.
bmake: stopped in /tmp/pkgsrc/lang/moscow_ml/work/mosml/src
*** Error code 1

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

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