+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/moscow_ml-2.10.1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/moscow_ml-2.10.1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for moscow_ml-2.10.1 cd config; /opt/pkg/bin/gmake all gmake[1]: Entering directory '/home/pbulk/build/lang/moscow_ml/work/mosml-ver-2.10.1/src/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 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 to 'int (*)()' from incompatible pointer type 'void (*)(int)' [-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 System V semantics. rename() found. strerror() found. 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 '/home/pbulk/build/lang/moscow_ml/work/mosml-ver-2.10.1/src/config' cd runtime; /opt/pkg/bin/gmake all gmake[1]: Entering directory '/home/pbulk/build/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 gcc -c -Dunix -O3 -DTHREADED -fPIC -o fix_code.o fix_code.c gcc -c -Dunix -O3 -DTHREADED -fPIC -o main.o main.c 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 gcc -c -Dunix -O3 -DTHREADED -fPIC -o memory.o memory.c gcc -c -Dunix -O3 -DTHREADED -fPIC -o alloc.o alloc.c 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 gcc -c -Dunix -O3 -DTHREADED -fPIC -o io.o io.c 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 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 gcc -c -Dunix -O3 -DTHREADED -fPIC -o meta.o meta.c 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 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 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 ld -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 Undefined first referenced symbol in file atof floats.o (symbol belongs to implicit dependency /lib/64/libc.so.1) atoi ints.o (symbol belongs to implicit dependency /lib/64/libc.so.1) exit sys.o (symbol belongs to implicit dependency /lib/64/libc.so.1) free interp.o (symbol belongs to implicit dependency /lib/64/libc.so.1) open main.o (symbol belongs to implicit dependency /lib/64/libc.so.1) read main.o (symbol belongs to implicit dependency /lib/64/libc.so.1) stat mosml.o (symbol belongs to implicit dependency /lib/64/libc.so.1) time mosml.o (symbol belongs to implicit dependency /lib/64/libc.so.1) __iob misc.o (symbol belongs to implicit dependency /lib/64/libc.so.1) chdir sys.o (symbol belongs to implicit dependency /lib/64/libc.so.1) close main.o (symbol belongs to implicit dependency /lib/64/libc.so.1) errno io.o (symbol belongs to implicit dependency /lib/64/libc.so.1) fcntl io.o (symbol belongs to implicit dependency /lib/64/libc.so.1) fputs misc.o (symbol belongs to implicit dependency /lib/64/libc.so.1) lseek main.o (symbol belongs to implicit dependency /lib/64/libc.so.1) lstat unix.o (symbol belongs to implicit dependency /lib/64/libc.so.1) mkdir mosml.o (symbol belongs to implicit dependency /lib/64/libc.so.1) rmdir mosml.o (symbol belongs to implicit dependency /lib/64/libc.so.1) sleep mosml.o (symbol belongs to implicit dependency /lib/64/libc.so.1) times mosml.o (symbol belongs to implicit dependency /lib/64/libc.so.1) uname unix.o (symbol belongs to implicit dependency /lib/64/libc.so.1) utime mosml.o (symbol belongs to implicit dependency /lib/64/libc.so.1) write io.o (symbol belongs to implicit dependency /lib/64/libc.so.1) longjmp interp.o (symbol belongs to implicit dependency /lib/64/libc.so.1) closedir mosml.o (symbol belongs to implicit dependency /lib/64/libc.so.1) memmove stacks.o (symbol belongs to implicit dependency /lib/64/libc.so.1) snprintf main.o (symbol belongs to implicit dependency /lib/64/libc.so.1) gettimeofday mosml.o (symbol belongs to implicit dependency /lib/64/libc.so.1) __stack_chk_fail interp.o (symbol belongs to implicit dependency /lib/64/libc.so.1) opendir mosml.o (symbol belongs to implicit dependency /lib/64/libc.so.1) access sys.o (symbol belongs to implicit dependency /lib/64/libc.so.1) calloc md5sum.o (symbol belongs to implicit dependency /lib/64/libc.so.1) fflush misc.o (symbol belongs to implicit dependency /lib/64/libc.so.1) getcwd mosml.o (symbol belongs to implicit dependency /lib/64/libc.so.1) getenv main.o (symbol belongs to implicit dependency /lib/64/libc.so.1) gmtime mosml.o (symbol belongs to implicit dependency /lib/64/libc.so.1) malloc interp.o (symbol belongs to implicit dependency /lib/64/libc.so.1) memset expand.o (symbol belongs to implicit dependency /lib/64/libc.so.1) mktime mosml.o (symbol belongs to implicit dependency /lib/64/libc.so.1) printf expand.o (symbol belongs to implicit dependency /lib/64/libc.so.1) rename sys.o (symbol belongs to implicit dependency /lib/64/libc.so.1) setjmp interp.o (symbol belongs to implicit dependency /lib/64/libc.so.1) signal sys.o (symbol belongs to implicit dependency /lib/64/libc.so.1) sscanf main.o (symbol belongs to implicit dependency /lib/64/libc.so.1) strcmp str.o (symbol belongs to implicit dependency /lib/64/libc.so.1) strlen alloc.o (symbol belongs to implicit dependency /lib/64/libc.so.1) system sys.o (symbol belongs to implicit dependency /lib/64/libc.so.1) tmpnam mosml.o (symbol belongs to implicit dependency /lib/64/libc.so.1) unlink sys.o (symbol belongs to implicit dependency /lib/64/libc.so.1) usleep mosml.o (symbol belongs to implicit dependency /lib/64/libc.so.1) asctime mosml.o (symbol belongs to implicit dependency /lib/64/libc.so.1) readdir mosml.o (symbol belongs to implicit dependency /lib/64/libc.so.1) realloc major_gc.o (symbol belongs to implicit dependency /lib/64/libc.so.1) __stack_chk_guard interp.o (symbol belongs to implicit dependency /lib/64/libc.so.1) localtime mosml.o (symbol belongs to implicit dependency /lib/64/libc.so.1) seekdir mosml.o (symbol belongs to implicit dependency /lib/64/libc.so.1) sprintf ints.o (symbol belongs to implicit dependency /lib/64/libc.so.1) sysconf mosml.o (symbol belongs to implicit dependency /lib/64/libc.so.1) toupper mosml.o (symbol belongs to implicit dependency /lib/64/libc.so.1) readlink unix.o (symbol belongs to implicit dependency /lib/64/libc.so.1) realpath unix.o (symbol belongs to implicit dependency /lib/64/libc.so.1) strerror sys.o (symbol belongs to implicit dependency /lib/64/libc.so.1) strftime mosml.o (symbol belongs to implicit dependency /lib/64/libc.so.1) fprintf misc.o (symbol belongs to implicit dependency /lib/64/libc.so.1) difftime mosml.o (symbol belongs to implicit dependency /lib/64/libc.so.1) ld: fatal: symbol referencing errors. No output written to camlrunm gmake[1]: *** [Makefile:39: camlrunm] Error 1 gmake[1]: Leaving directory '/home/pbulk/build/lang/moscow_ml/work/mosml-ver-2.10.1/src/runtime' gmake: *** [Makefile:27: world] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/moscow_ml *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/moscow_ml