=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Building for nhc98-1.22nb2 cd src/runtime; /usr/pkg/bin/gmake all nhc98heap gmake[1]: Entering directory '/tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/src/runtime' cd Kernel; /usr/pkg/bin/gmake links gmake[2]: Entering directory '/tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/src/runtime/Kernel' gmake[2]: Leaving directory '/tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/src/runtime/Kernel' cd Integer; /usr/pkg/bin/gmake links gmake[2]: Entering directory '/tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/src/runtime/Integer' gmake[2]: Leaving directory '/tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/src/runtime/Integer' cd Builtin; /usr/pkg/bin/gmake links gmake[2]: Entering directory '/tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/src/runtime/Builtin' gmake[2]: Leaving directory '/tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/src/runtime/Builtin' cd Mk; /usr/pkg/bin/gmake links gmake[2]: Entering directory '/tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/src/runtime/Mk' gmake[2]: Leaving directory '/tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/src/runtime/Mk' mkdir -p /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/targets/sparc-NetBSD/obj/runtime mkdir -p /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/targets/sparc-NetBSD/obj/runtime/Kernel || /usr/bin/true mkdir -p /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/targets/sparc-NetBSD/obj/runtime/Mk || /usr/bin/true mkdir -p /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/targets/sparc-NetBSD/obj/runtime/Builtin || /usr/bin/true mkdir -p /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/targets/sparc-NetBSD/obj/runtime/Integer || /usr/bin/true cd Kernel; /usr/pkg/bin/gmake all gmake[2]: Entering directory '/tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/src/runtime/Kernel' Link /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include/bytecode.h already exists. Link /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include/cinterface.h already exists. Link /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include/mutlib.h already exists. Link /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include/newmacros.h already exists. Link /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include/node.h already exists. Link /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include/runtime.h already exists. Link /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include/stableptr.h already exists. Link /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include/newbytecode.h already exists. Link /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include/bytecode_o.h already exists. gcc -c -m32 -I/tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include -DVERSION="\"1.22\"" -O3 -o /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/targets/sparc-NetBSD/obj/runtime/Kernel/mutator.o mutator.c gcc -c -m32 -I/tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include -DVERSION="\"1.22\"" -O3 -o /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/targets/sparc-NetBSD/obj/runtime/Kernel/mutlib.o mutlib.c gcc -c -m32 -I/tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include -DVERSION="\"1.22\"" -O3 -o /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/targets/sparc-NetBSD/obj/runtime/Kernel/main.o main.c gcc -c -m32 -I/tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include -DVERSION="\"1.22\"" -O3 -o /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/targets/sparc-NetBSD/obj/runtime/Kernel/haskellInit.o haskellInit.c gcc -c -m32 -I/tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include -DVERSION="\"1.22\"" -O3 -o /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/targets/sparc-NetBSD/obj/runtime/Kernel/dump.o dump.c gcc -c -m32 -I/tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include -DVERSION="\"1.22\"" -O3 -o /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/targets/sparc-NetBSD/obj/runtime/Kernel/inscount.o inscount.c gcc -c -m32 -I/tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include -DVERSION="\"1.22\"" -O3 -o /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/targets/sparc-NetBSD/obj/runtime/Kernel/collector.o collector.c collector.c: In function 'initGc': collector.c:56:43: warning: implicit declaration of function 'sbrk' [-Wimplicit-function-declaration] ((NodePtr)-1)== (hpStart = (NodePtr)sbrk((int)totalSize * sizeof(Node))) ^ gcc -c -m32 -I/tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include -DVERSION="\"1.22\"" -O3 -o /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/targets/sparc-NetBSD/obj/runtime/Kernel/mark.o mark.c gcc -c -m32 -I/tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include -DVERSION="\"1.22\"" -O3 -o /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/targets/sparc-NetBSD/obj/runtime/Kernel/cdata.o cdata.c gcc -c -m32 -I/tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include -DVERSION="\"1.22\"" -O3 -o /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/targets/sparc-NetBSD/obj/runtime/Kernel/timeUnix.o timeUnix.c gcc -c -m32 -I/tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include -DVERSION="\"1.22\"" -O3 -o /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/targets/sparc-NetBSD/obj/runtime/Kernel/xlib_debug.o xlib_debug.c gcc -c -m32 -I/tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include -DVERSION="\"1.22\"" -O3 -o /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/targets/sparc-NetBSD/obj/runtime/Kernel/stableptr.o stableptr.c gcc -c -m32 -I/tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include -DVERSION="\"1.22\"" -O3 -o /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/targets/sparc-NetBSD/obj/runtime/Kernel/closureval.o closureval.c In file included from /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include/node.h:7:0, from /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include/cinterface.h:4, from /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include/mk.h:2, from /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include/haskell2c.h:4, from closureval.c:2: closureval.c: In function 'buildClosure': /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include/runtime.h:286:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define C_CODE ((Code)FN_Prelude_46primLeave) ^ /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include/cinterface.h:62:42: note: in expansion of macro 'C_CODE' *--Sp = (NodePtr)Fp; *--Sp=(NodePtr)C_CODE;Fp=Sp; \ ^ /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include/cinterface.h:57:52: note: in expansion of macro 'C_GC' #define C_CHECK(c) if(Hp+(c)+BUFFER>(NodePtr)Sp){C_GC(c);} ^ closureval.c:25:5: note: in expansion of macro 'C_CHECK' C_CHECK(2*(args+1)); ^ gcc -c -m32 -I/tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include -DVERSION="\"1.22\"" -O3 -o /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/targets/sparc-NetBSD/obj/runtime/Kernel/ffiexport.o ffiexport.c gcc -S -m32 -I/tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include -DVERSION="\"1.22\"" -o - newtables.c |\ sed -e '/.align 32/s/32/4/' -e '/.p2align 5/s/5/2/' |\ gcc -c -x assembler-with-cpp -m32 -I/tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include -DVERSION="\"1.22\"" -o /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/targets/sparc-NetBSD/obj/runtime/Kernel/newtables.o - gcc -S -m32 -I/tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include -DVERSION="\"1.22\"" -o - newbuiltin.c |\ sed -e '/.align 32/s/32/4/' -e '/.p2align 5/s/5/2/' |\ gcc -c -x assembler-with-cpp -m32 -I/tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include -DVERSION="\"1.22\"" -o /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/targets/sparc-NetBSD/obj/runtime/Kernel/newbuiltin.o - cd /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/targets/sparc-NetBSD/obj/runtime/Kernel; \ ar rv /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/targets/sparc-NetBSD/obj/runtime/Kernel/Runtime.a haskellInit.o dump.o inscount.o collector.o mark.o cdata.o timeUnix.o xlib_debug.o stableptr.o closureval.o ffiexport.o newtables.o newbuiltin.o ar: creating /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/targets/sparc-NetBSD/obj/runtime/Kernel/Runtime.a a - haskellInit.o a - dump.o a - inscount.o a - collector.o a - mark.o a - cdata.o a - timeUnix.o a - xlib_debug.o a - stableptr.o a - closureval.o a - ffiexport.o a - newtables.o a - newbuiltin.o gmake[2]: Leaving directory '/tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/src/runtime/Kernel' cd Integer; /usr/pkg/bin/gmake all gmake[2]: Entering directory '/tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/src/runtime/Integer' Link /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include/flt.h already exists. gcc -I../Kernel -I/tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/include -O3 -m32 -Wno-pointer-to-int-cast `if [ xcre-mparam.c = x ]; \ then echo cre-mparam.c; \ else echo cre-mparam.c; fi` -o /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/targets/sparc-NetBSD/obj/runtime/Integer/cre-mparam /tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/targets/sparc-NetBSD/obj/runtime/Integer/cre-mparam > tmp-gmp-mparam.h /usr/local/lib/libkver.so: invalid ELF class 2; expected 1 gmake[2]: *** [Makefile:53: gmp-mparam.h] Error 1 gmake[2]: Leaving directory '/tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/src/runtime/Integer' gmake[1]: *** [Makefile:33: afile] Error 2 gmake[1]: Leaving directory '/tmp/pkgbuild/lang/nhc98/work/nhc98-1.22/src/runtime' gmake: *** [Makefile:238: targets/sparc-NetBSD/runtime] Error 2 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/lang/nhc98 *** Error code 1 Stop. make: stopped in /usr/pkgsrc/lang/nhc98