=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> 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 moscow_ml-2.10.1 cd config; /usr/pkg/bin/gmake all gmake[1]: Entering directory '/usr/pkgsrc/lang/moscow_ml/work/mosml-ver-2.10.1/src/config' sh autoconf gcc Checking the sizes of integers and pointers... OK, this is a regular 32 bit architecture. The char type is not signed. Let's see if 'signed char' works. Yes, it works. Good! This is a big-endian architecture. This architecture has no 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! sighandler.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int] sighandler.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int] sighandler.c:6:7: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] Sorry, I can't determine the return type for signal handlers. I'm assuming "void". If this seems to cause errors, try to change "sighandler_return_type" in s.h 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. cp m.h s.h ../runtime gmake[1]: Leaving directory '/usr/pkgsrc/lang/moscow_ml/work/mosml-ver-2.10.1/src/config' cd runtime; /usr/pkg/bin/gmake all gmake[1]: Entering directory '/usr/pkgsrc/lang/moscow_ml/work/mosml-ver-2.10.1/src/runtime' awk -f ../tools/make-jumptbl instruct.h > jumptbl.h gcc -c -Dunix -O3 -DTHREADED -fPIC -o interp.o interp.c gcc -c -Dunix -O3 -DTHREADED -fPIC -o expand.o expand.c gcc -c -Dunix -O3 -DTHREADED -fPIC -o misc.o misc.c gcc -c -Dunix -O3 -DTHREADED -fPIC -o stacks.o stacks.c In file included from stacks.c:4:0: config.h:22:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from stacks.c:3: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ ^ gcc -c -Dunix -O3 -DTHREADED -fPIC -o fix_code.o fix_code.c gcc -c -Dunix -O3 -DTHREADED -fPIC -o main.o main.c main.c: In function 'main': main.c:243:5: warning: implicit declaration of function 'fixup_endianness' [-Wimplicit-function-declaration] fixup_endianness(start_code, code_size); ^ gcc -c -Dunix -O3 -DTHREADED -fPIC -o fail.o fail.c gcc -c -Dunix -O3 -DTHREADED -fPIC -o signals.o signals.c gcc -c -Dunix -O3 -DTHREADED -fPIC -o freelist.o freelist.c gcc -c -Dunix -O3 -DTHREADED -fPIC -o major_gc.o major_gc.c gcc -c -Dunix -O3 -DTHREADED -fPIC -o minor_gc.o minor_gc.c In file included from minor_gc.c:5:0: config.h:22:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from minor_gc.c:2: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ ^ gcc -c -Dunix -O3 -DTHREADED -fPIC -o memory.o memory.c In file included from mlvalues.h:5:0, from memory.c:3: config.h:22:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from memory.c:1: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ ^ gcc -c -Dunix -O3 -DTHREADED -fPIC -o alloc.o alloc.c In file included from misc.h:6:0, from alloc.h:5, from alloc.c:7: config.h:22:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from alloc.c:6: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ ^ gcc -c -Dunix -O3 -DTHREADED -fPIC -o roots.o roots.c gcc -c -Dunix -O3 -DTHREADED -fPIC -o compare.o compare.c gcc -c -Dunix -O3 -DTHREADED -fPIC -o ints.o ints.c gcc -c -Dunix -O3 -DTHREADED -fPIC -o floats.o floats.c gcc -c -Dunix -O3 -DTHREADED -fPIC -o str.o str.c In file included from misc.h:6:0, from alloc.h:5, from str.c:5: config.h:22:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from str.c:4: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ ^ gcc -c -Dunix -O3 -DTHREADED -fPIC -o io.o io.c In file included from misc.h:6:0, from alloc.h:5, from io.c:16: config.h:22:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from io.c:7: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ ^ gcc -c -Dunix -O3 -DTHREADED -fPIC -o extern.o extern.c gcc -c -Dunix -O3 -DTHREADED -fPIC -o externcp.o externcp.c gcc -c -Dunix -O3 -DTHREADED -fPIC -o intern.o intern.c In file included from misc.h:6:0, from debugger.h:4, from intern.c:4: config.h:22:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from intern.c:3: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ ^ gcc -c -Dunix -O3 -DTHREADED -fPIC -o interncp.o interncp.c gcc -c -Dunix -O3 -DTHREADED -fPIC -o hash.o hash.c gcc -c -Dunix -O3 -DTHREADED -fPIC -o sys.o sys.c In file included from sys.c:16:0: config.h:22:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from sys.c:9: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ ^ gcc -c -Dunix -O3 -DTHREADED -fPIC -o meta.o meta.c In file included from meta.c:5:0: config.h:22:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from meta.c:4: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ ^ meta.c: In function 'start_interp': meta.c:26:3: warning: implicit declaration of function 'fixup_endianness' [-Wimplicit-function-declaration] fixup_endianness(&Byte(prog, 0), (asize_t) len); ^ gcc -c -Dunix -O3 -DTHREADED -fPIC -o parsing.o parsing.c gcc -c -Dunix -O3 -DTHREADED -fPIC -o lexing.o lexing.c gcc -c -Dunix -O3 -DTHREADED -fPIC -o gc_ctrl.o gc_ctrl.c gcc -c -Dunix -O3 -DTHREADED -fPIC -o mosml.o mosml.c In file included from mlvalues.h:5:0, from mosml.c:28: config.h:22:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from mosml.c:7: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ ^ gcc -c -Dunix -O3 -DTHREADED -fPIC -o unix.o unix.c gcc -c -Dunix -O3 -DTHREADED -fPIC -o runtime.o runtime.c gcc -c -Dunix -O3 -DTHREADED -fPIC -o md5sum.o md5sum.c In file included from mlvalues.h:5:0, from md5sum.c:4: config.h:22:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from md5sum.c:2: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ ^ gcc -c -Dunix -O3 -DTHREADED -fPIC -o callback.o callback.c gcc -c -Dunix -O3 -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 -O3 -DTHREADED -fPIC -o prims.o prims.c gcc -rdynamic -Wl,-rpath,/usr/pkg/lib/mosml -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 -ldl mosml.o: In function `sml_tmpnam': mosml.c:(.text+0x1fd4): warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() strip -S camlrunm gmake[1]: Leaving directory '/usr/pkgsrc/lang/moscow_ml/work/mosml-ver-2.10.1/src/runtime' cp runtime/camlrunm . cd mosmlyac; /usr/pkg/bin/gmake all gmake[1]: Entering directory '/usr/pkgsrc/lang/moscow_ml/work/mosml-ver-2.10.1/src/mosmlyac' gcc -c -O -DNDEBUG -o closure.o closure.c gcc -c -O -DNDEBUG -o error.o error.c gcc -c -O -DNDEBUG -o lalr.o lalr.c gcc -c -O -DNDEBUG -o lr0.o lr0.c gcc -c -O -DNDEBUG -o main.o main.c gcc -c -O -DNDEBUG -o mkpar.o mkpar.c gcc -c -O -DNDEBUG -o output.o output.c gcc -c -O -DNDEBUG -o reader.o reader.c gcc -c -O -DNDEBUG -o skeleton.o skeleton.c gcc -c -O -DNDEBUG -o symtab.o symtab.c gcc -c -O -DNDEBUG -o verbose.o verbose.c gcc -c -O -DNDEBUG -o warshall.o warshall.c gcc -O -DNDEBUG -o mosmlyac closure.o error.o lalr.o lr0.o main.o mkpar.o output.o reader.o skeleton.o symtab.o verbose.o warshall.o main.o: In function `create_file_names': main.c:(.text+0x678): warning: warning: mktemp() possibly used unsafely, use mkstemp() or mkdtemp() strip -S mosmlyac gmake[1]: Leaving directory '/usr/pkgsrc/lang/moscow_ml/work/mosml-ver-2.10.1/src/mosmlyac' cd mosmllib; /usr/pkg/bin/gmake all gmake[1]: Entering directory '/usr/pkgsrc/lang/moscow_ml/work/mosml-ver-2.10.1/src/mosmllib' cpp -P -traditional -Dunix -Umsdos Array.mlp > Array.sml Array.mlp:8:0: error: detected recursion whilst expanding macro "vector" type 'a vector = 'a Vector.vector; ^ Array.mlp:22:0: error: detected recursion whilst expanding macro "vector" prim_val vector_ : int -> 'x -> 'a vector = 2 "make_vect"; ^ Array.mlp:82:0: error: detected recursion whilst expanding macro "vector" fun vector (a : 'a array) = ^ Array.mlp:131:0: error: detected recursion whilst expanding macro "bool" fun exists (p : 'a -> bool) (a : 'a array) : bool = ^ Array.mlp:137:0: error: detected recursion whilst expanding macro "bool" fun all (p : 'a -> bool) (a : 'a array) : bool = ^ gmake[1]: *** [../Makefile.inc:214: Array.sml] Error 1 gmake[1]: Leaving directory '/usr/pkgsrc/lang/moscow_ml/work/mosml-ver-2.10.1/src/mosmllib' gmake: *** [Makefile:30: world] Error 2 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/lang/moscow_ml *** Error code 1 Stop. make: stopped in /usr/pkgsrc/lang/moscow_ml