=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/lang/moscow_ml", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for moscow_ml-2.10.1 cd config; /opt/pkg/bin/gmake all gmake[1]: Entering directory '/tmp/work/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! Something went wrong during endianness determination. You'll have to figure out endianness yourself (option MOSML_BIG_ENDIAN in m.h). This architecture has no alignment constraints. Something went wrong during alignment determination for doubles. I'm going to assume this architecture has alignment constraints over doubles. That's a safe bet: Caml Light will work even if it turns out that this architecture actually has no alignment constraints. No _setjmp, _longjmp. We'll use setjmp and longjmp instead. 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. unistd.h found. dirent.h found. cp m.h s.h ../runtime gmake[1]: Leaving directory '/tmp/work/lang/moscow_ml/work/mosml-ver-2.10.1/src/config' cd runtime; /opt/pkg/bin/gmake all gmake[1]: Entering directory '/tmp/work/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 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 sys.c: In function 'error_message': sys.c:39:29: error: 'sys_nerr' undeclared (first use in this function) 39 | if (errno < 0 || errno >= sys_nerr) | ^~~~~~~~ sys.c:39:29: note: each undeclared identifier is reported only once for each function it appears in sys.c:42:20: error: 'sys_errlist' undeclared (first use in this function); did you mean '_sys_siglist'? 42 | return (char *)sys_errlist[errno]; | ^~~~~~~~~~~ | _sys_siglist gmake[1]: *** [../Makefile.inc:220: sys.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... gmake[1]: Leaving directory '/tmp/work/lang/moscow_ml/work/mosml-ver-2.10.1/src/runtime' gmake: *** [Makefile:27: world] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/moscow_ml *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/moscow_ml