=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> 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 smlnj-110.73nb3 cd /tmp/pkgbuild/lang/smlnj/work.sparc && unset PWD && /usr/bin/env SMLNJ_HOME="/tmp/pkgbuild/lang/smlnj/work.sparc" PATCH=/usr/bin/patch PATCH_ARGS=-d\ /tmp/pkgbuild/lang/smlnj/work.sparc\ --forward\ --quiet\ -E\ -p0\ --batch\ -V\ simple\ --suffix\ .orig /bin/sh ./config/install.sh ./config/install.sh: Using shell /bin/sh. ./config/install.sh: SML root is /tmp/pkgbuild/lang/smlnj/work.sparc. ./config/install.sh: Installation directory is /tmp/pkgbuild/lang/smlnj/work.sparc. ./config/install.sh: Installing version 110.73. ./config/install.sh: URL of source archive is http://smlnj.cs.uchicago.edu/dist/working/110.73/. ./config/install.sh: Script /tmp/pkgbuild/lang/smlnj/work.sparc/bin/.arch-n-opsys reports ARCH=sparc; OPSYS=netbsd; HEAP_SUFFIX=sparc-bsd. ./config/install.sh: Compiling the run-time system. make[2]: Entering directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/objs' (gmake RUNTIME="run.sparc-netbsd" MAKE="gmake" VERSION="v-sparc-netbsd" CC="cc" CFLAGS="-O2 -D_FORTIFY_SOURCE=2 " CPP="gcc -x c -E -P" AS="as" AR="ar" RANLIB="" TARGET=SPARC DEFS=" -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_NETBSD -DCALLEESAVE=3 -DUNBOXEDFLOAT=1 " XOBJS="" XLIBS="" LD_LIBS="" run.sparc-netbsd) gmake[3]: Entering directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/objs' (gmake MAKE="gmake" clean) gmake[4]: Entering directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/objs' rm -f v-* run.* interactive-run \ gen-sizes gen-offsets gen-bc-instr-def \ gen-unix-signals gen-unix-sigtbl \ ml-sizes.h mlstate-offsets.h bc-instr-def.h \ system-signals.h unix-sigtbl.c \ *.o prim.s primops.s (cd ../memory; gmake MAKE="gmake" clean) gmake[5]: Entering directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/memory' rm -f v-* *.o libmem.a gmake[5]: Leaving directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/memory' (cd ../c-libs; gmake MAKE="gmake" clean) gmake[5]: Entering directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs' for dir in posix-os smlnj-runtime smlnj-signals smlnj-sockets smlnj-prof smlnj-time smlnj-date smlnj-math smlnj-mp posix-error posix-filesys posix-io posix-procenv posix-process posix-signal posix-sysdb posix-tty smlnj-ccalls dl; do \ (cd $dir; echo "cleaning $dir"; gmake MAKE="gmake" clean) ; \ done cleaning posix-os gmake[6]: Entering directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/posix-os' makefile:37: warning: ignoring prerequisites on suffix rule definition rm -f v-* *.o libposix-os.a gmake[6]: Leaving directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/posix-os' cleaning smlnj-runtime gmake[6]: Entering directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/smlnj-runtime' makefile:55: warning: ignoring prerequisites on suffix rule definition rm -f v-* *.o libsmlnj-runt.a gmake[6]: Leaving directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/smlnj-runtime' cleaning smlnj-signals gmake[6]: Entering directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/smlnj-signals' makefile:41: warning: ignoring prerequisites on suffix rule definition rm -f v-* *.o libsmlnj-sig.a gmake[6]: Leaving directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/smlnj-signals' cleaning smlnj-sockets gmake[6]: Entering directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/smlnj-sockets' makefile:99: warning: ignoring prerequisites on suffix rule definition rm -f v-* *.o libsmlnj-sock.a gmake[6]: Leaving directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/smlnj-sockets' cleaning smlnj-prof gmake[6]: Entering directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/smlnj-prof' makefile:39: warning: ignoring prerequisites on suffix rule definition rm -f v-* *.o libsmlnj-prof.a gmake[6]: Leaving directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/smlnj-prof' cleaning smlnj-time gmake[6]: Entering directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/smlnj-time' makefile:36: warning: ignoring prerequisites on suffix rule definition rm -f v-* *.o libsmlnj-time.a gmake[6]: Leaving directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/smlnj-time' cleaning smlnj-date gmake[6]: Entering directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/smlnj-date' makefile:39: warning: ignoring prerequisites on suffix rule definition rm -f v-* *.o libsmlnj-date.a gmake[6]: Leaving directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/smlnj-date' cleaning smlnj-math gmake[6]: Entering directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/smlnj-math' makefile:44: warning: ignoring prerequisites on suffix rule definition rm -f v-* *.o libsmlnj-math.a gmake[6]: Leaving directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/smlnj-math' cleaning smlnj-mp gmake[6]: Entering directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/smlnj-mp' makefile:39: warning: ignoring prerequisites on suffix rule definition rm -f v-* *.o libsmlnj-mp.a gmake[6]: Leaving directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/smlnj-mp' cleaning posix-error gmake[6]: Entering directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/posix-error' makefile:39: warning: ignoring prerequisites on suffix rule definition rm -f v-* *.o libposix-error.a gmake[6]: Leaving directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/posix-error' cleaning posix-filesys gmake[6]: Entering directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/posix-filesys' makefile:65: warning: ignoring prerequisites on suffix rule definition rm -f v-* *.o ml_pathconf.h libposix-filesys.a gmake[6]: Leaving directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/posix-filesys' cleaning posix-io gmake[6]: Entering directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/posix-io' makefile:53: warning: ignoring prerequisites on suffix rule definition rm -f v-* *.o libposix-io.a gmake[6]: Leaving directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/posix-io' cleaning posix-procenv gmake[6]: Entering directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/posix-procenv' makefile:59: warning: ignoring prerequisites on suffix rule definition rm -f v-* *.o ml_sysconf.h libposix-procenv.a gmake[6]: Leaving directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/posix-procenv' cleaning posix-process gmake[6]: Entering directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/posix-process' makefile:45: warning: ignoring prerequisites on suffix rule definition rm -f v-* *.o libposix-process.a gmake[6]: Leaving directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/posix-process' cleaning posix-signal gmake[6]: Entering directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/posix-signal' makefile:35: warning: ignoring prerequisites on suffix rule definition rm -f v-* *.o libposix-signal.a gmake[6]: Leaving directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/posix-signal' cleaning posix-sysdb gmake[6]: Entering directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/posix-sysdb' makefile:38: warning: ignoring prerequisites on suffix rule definition rm -f v-* *.o libposix-sysdb.a gmake[6]: Leaving directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/posix-sysdb' cleaning posix-tty gmake[6]: Entering directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/posix-tty' makefile:43: warning: ignoring prerequisites on suffix rule definition rm -f v-* *.o libposix-tty.a gmake[6]: Leaving directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/posix-tty' cleaning smlnj-ccalls gmake[6]: Entering directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/smlnj-ccalls' makefile:54: warning: ignoring prerequisites on suffix rule definition rm -f v-* *.o *.s libsmlnj-ccalls.a gmake[6]: Leaving directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/smlnj-ccalls' cleaning dl gmake[6]: Entering directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/dl' makefile:38: warning: ignoring prerequisites on suffix rule definition rm -f v-* *.o libunix-dynload.a gmake[6]: Leaving directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs/dl' rm -f v-* *.o gmake[5]: Leaving directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/c-libs' (cd ../gc; gmake MAKE="gmake" clean) gmake[5]: Entering directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/gc' makefile:182: warning: ignoring prerequisites on suffix rule definition rm -f v-* *.o libgc.a libmp-gc.a gmake[5]: Leaving directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/gc' (cd ../mp; gmake MAKE="gmake" clean) gmake[5]: Entering directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/mp' rm -f v-* *.o libmp.a gmake[5]: Leaving directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/mp' gmake[4]: Leaving directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/objs' echo "v-sparc-netbsd" > v-sparc-netbsd cc -c -O2 -D_FORTIFY_SOURCE=2 -I../config -I../objs -I../include ../config/gen-common.c cc -O2 -D_FORTIFY_SOURCE=2 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_NETBSD -DCALLEESAVE=3 -DUNBOXEDFLOAT=1 -I../config -I../objs -I../include -o gen-sizes ../config/gen-sizes.c gen-common.o ../config/gen-sizes.c:27:5: warning: conflicting types for built-in function 'log2' [-Wbuiltin-declaration-mismatch] int log2 (int x) ^~~~ ./gen-sizes cc -c -O2 -D_FORTIFY_SOURCE=2 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_NETBSD -DCALLEESAVE=3 -DUNBOXEDFLOAT=1 -I../objs -I../include ../kernel/main.c cc -c -O2 -D_FORTIFY_SOURCE=2 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_NETBSD -DCALLEESAVE=3 -DUNBOXEDFLOAT=1 -I../objs -I../include -I../c-libs ../c-libs/c-libraries.c ../c-libs/c-libraries.c: In function 'InitCFunList': ../c-libs/c-libraries.c:54:6: warning: implicit declaration of function 'RecordCSymbol' [-Wimplicit-function-declaration] cc -c -O2 -D_FORTIFY_SOURCE=2 -I../config -I../objs -I../include -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_NETBSD -DCALLEESAVE=3 -DUNBOXEDFLOAT=1 ../config/unix-signals.c cc -O2 -D_FORTIFY_SOURCE=2 -I../config -I../objs -I../include -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_NETBSD -DCALLEESAVE=3 -DUNBOXEDFLOAT=1 -o gen-unix-signals ../config/gen-unix-signals.c unix-signals.o gen-common.o ./gen-unix-signals cc -c -O2 -D_FORTIFY_SOURCE=2 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_NETBSD -DCALLEESAVE=3 -DUNBOXEDFLOAT=1 -I../objs -I../include ../c-libs/unix-raise-syserr.c cc -c -O2 -D_FORTIFY_SOURCE=2 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_NETBSD -DCALLEESAVE=3 -DUNBOXEDFLOAT=1 -I../objs -I../include ../kernel/ml-options.c cc -c -O2 -D_FORTIFY_SOURCE=2 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_NETBSD -DCALLEESAVE=3 -DUNBOXEDFLOAT=1 -I../objs -I../include ../kernel/boot.c In file included from ../kernel/boot.c:15:0: ../include/cache-flush.h:40:8: warning: type defaults to 'int' in declaration of 'FlushICache' [-Wimplicit-int] cc -c -O2 -D_FORTIFY_SOURCE=2 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_NETBSD -DCALLEESAVE=3 -DUNBOXEDFLOAT=1 -I../objs -I../include ../kernel/load-ml.c cc -c -O2 -D_FORTIFY_SOURCE=2 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_NETBSD -DCALLEESAVE=3 -DUNBOXEDFLOAT=1 -I../objs -I../include ../kernel/run-ml.c cc -c -O2 -D_FORTIFY_SOURCE=2 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_NETBSD -DCALLEESAVE=3 -DUNBOXEDFLOAT=1 -I../objs -I../include ../kernel/globals.c cc -c -O2 -D_FORTIFY_SOURCE=2 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_NETBSD -DCALLEESAVE=3 -DUNBOXEDFLOAT=1 -I../objs -I../include ../kernel/ml-state.c cc -c -O2 -D_FORTIFY_SOURCE=2 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_NETBSD -DCALLEESAVE=3 -DUNBOXEDFLOAT=1 -I../objs -I../include ../kernel/error.c cc -c -O2 -D_FORTIFY_SOURCE=2 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_NETBSD -DCALLEESAVE=3 -DUNBOXEDFLOAT=1 -I../objs -I../include ../kernel/timers.c cc -c -O2 -D_FORTIFY_SOURCE=2 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_NETBSD -DCALLEESAVE=3 -DUNBOXEDFLOAT=1 -I../objs -I../include ../kernel/unix-timers.c cc -c -O2 -D_FORTIFY_SOURCE=2 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_NETBSD -DCALLEESAVE=3 -DUNBOXEDFLOAT=1 -I../objs -I../include ../kernel/qualify-name.c cc -c -O2 -D_FORTIFY_SOURCE=2 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_NETBSD -DCALLEESAVE=3 -DUNBOXEDFLOAT=1 -I../objs -I../include ../kernel/swap-bytes.c cc -c -O2 -D_FORTIFY_SOURCE=2 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_NETBSD -DCALLEESAVE=3 -DUNBOXEDFLOAT=1 -I../objs -I../include ../mach-dep/unix-fault.c distcc[18211] ERROR: compile ../mach-dep/unix-fault.c on 192.168.1.1:3648 failed distcc[18211] (dcc_build_somewhere) Warning: remote compilation of '../mach-dep/unix-fault.c' failed, retrying locally distcc[18211] Warning: failed to distribute ../mach-dep/unix-fault.c to 192.168.1.1:3648, running locally instead In file included from ../mach-dep/unix-fault.c:15:0: ../mach-dep/unix-fault.c: In function 'FaultHandler': ../mach-dep/signal-sysdep.h:184:36: warning: initialization makes integer from pointer without a cast [-Wint-conversion] # define SIG_GetCode(info, scp) (info) ^ ../mach-dep/unix-fault.c:59:21: note: in expansion of macro 'SIG_GetCode' int code = SIG_GetCode(si, scp); ^~~~~~~~~~~ ../mach-dep/signal-sysdep.h:185:34: error: 'ucontext_t {aka struct __ucontext}' has no member named 'sc_pc' # define SIG_GetPC(scp) ((scp)->sc_pc) ^ ../mach-dep/unix-fault.c:68:36: note: in expansion of macro 'SIG_GetPC' signal, SIG_GetCode(si, scp), SIG_GetPC(scp)); ^~~~~~~~~ ../mach-dep/signal-sysdep.h:185:34: error: 'ucontext_t {aka struct __ucontext}' has no member named 'sc_pc' # define SIG_GetPC(scp) ((scp)->sc_pc) ^ ../mach-dep/unix-fault.c:85:28: note: in expansion of macro 'SIG_GetPC' msp->ml_faultPC = (Word_t)SIG_GetPC(scp); ^~~~~~~~~ ../mach-dep/signal-sysdep.h:185:34: error: 'ucontext_t {aka struct __ucontext}' has no member named 'sc_pc' # define SIG_GetPC(scp) ((scp)->sc_pc) ^ ../mach-dep/unix-fault.c:89:28: note: in expansion of macro 'SIG_GetPC' msp->ml_faultPC = (Word_t)SIG_GetPC(scp); ^~~~~~~~~ ../mach-dep/signal-sysdep.h:187:7: error: 'ucontext_t {aka struct __ucontext}' has no member named 'sc_pc' (scp)->sc_pc = (long)(addr); \ ^ ../mach-dep/unix-fault.c:94:5: note: in expansion of macro 'SIG_SetPC' SIG_SetPC (scp, request_fault); ^~~~~~~~~ ../mach-dep/signal-sysdep.h:188:7: error: 'ucontext_t {aka struct __ucontext}' has no member named 'sc_npc' (scp)->sc_npc = (scp)->sc_pc + 4; \ ^ ../mach-dep/unix-fault.c:94:5: note: in expansion of macro 'SIG_SetPC' SIG_SetPC (scp, request_fault); ^~~~~~~~~ ../mach-dep/signal-sysdep.h:188:23: error: 'ucontext_t {aka struct __ucontext}' has no member named 'sc_pc' (scp)->sc_npc = (scp)->sc_pc + 4; \ ^ ../mach-dep/unix-fault.c:94:5: note: in expansion of macro 'SIG_SetPC' SIG_SetPC (scp, request_fault); ^~~~~~~~~ distcc[18211] ERROR: compile ../mach-dep/unix-fault.c on localhost failed gmake[3]: *** [makefile:241: unix-fault.o] Error 1 gmake[3]: Leaving directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/objs' make[2]: *** [mk.sparc-netbsd:25: all] Error 2 make[2]: Leaving directory '/tmp/pkgbuild/lang/smlnj/work.sparc/base/runtime/objs' ./config/install.sh: !!! Run-time system build failed for some reason. *** Error code 1 Stop. make[1]: stopped in /usr/pkgsrc/lang/smlnj *** Error code 1 Stop. make: stopped in /usr/pkgsrc/lang/smlnj