=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for nhc98-1.22nb2 cd src/runtime; /opt/pkg/bin/gmake all nhc98heap gmake[1]: Entering directory '/Users/pbulk/build/lang/nhc98/work/nhc98-1.22/src/runtime' cd Kernel; /opt/pkg/bin/gmake links gmake[2]: Entering directory '/Users/pbulk/build/lang/nhc98/work/nhc98-1.22/src/runtime/Kernel' gmake[2]: Leaving directory '/Users/pbulk/build/lang/nhc98/work/nhc98-1.22/src/runtime/Kernel' cd Integer; /opt/pkg/bin/gmake links gmake[2]: Entering directory '/Users/pbulk/build/lang/nhc98/work/nhc98-1.22/src/runtime/Integer' /opt/pkg/bin/mksh: [: 4.2: unexpected operator/operand gmake[2]: Leaving directory '/Users/pbulk/build/lang/nhc98/work/nhc98-1.22/src/runtime/Integer' cd Builtin; /opt/pkg/bin/gmake links gmake[2]: Entering directory '/Users/pbulk/build/lang/nhc98/work/nhc98-1.22/src/runtime/Builtin' /opt/pkg/bin/mksh: [: 4.2: unexpected operator/operand gmake[2]: Leaving directory '/Users/pbulk/build/lang/nhc98/work/nhc98-1.22/src/runtime/Builtin' cd Mk; /opt/pkg/bin/gmake links gmake[2]: Entering directory '/Users/pbulk/build/lang/nhc98/work/nhc98-1.22/src/runtime/Mk' gmake[2]: Leaving directory '/Users/pbulk/build/lang/nhc98/work/nhc98-1.22/src/runtime/Mk' mkdir -p /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/targets/ix86-Darwin-21.6.0/obj/runtime mkdir -p /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/targets/ix86-Darwin-21.6.0/obj/runtime/Kernel || /usr/bin/true mkdir -p /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/targets/ix86-Darwin-21.6.0/obj/runtime/Mk || /usr/bin/true mkdir -p /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/targets/ix86-Darwin-21.6.0/obj/runtime/Builtin || /usr/bin/true mkdir -p /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/targets/ix86-Darwin-21.6.0/obj/runtime/Integer || /usr/bin/true cd Kernel; /opt/pkg/bin/gmake all gmake[2]: Entering directory '/Users/pbulk/build/lang/nhc98/work/nhc98-1.22/src/runtime/Kernel' Link /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/include/bytecode.h already exists. Link /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/include/cinterface.h already exists. Link /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/include/mutlib.h already exists. Link /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/include/newmacros.h already exists. Link /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/include/node.h already exists. Link /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/include/runtime.h already exists. Link /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/include/stableptr.h already exists. Link /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/include/newbytecode.h already exists. Link /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/include/bytecode_o.h already exists. gcc -c -m32 -I/Users/pbulk/build/lang/nhc98/work/nhc98-1.22/include -DVERSION="\"1.22\"" -O3 -o /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/targets/ix86-Darwin-21.6.0/obj/runtime/Kernel/mutator.o mutator.c gcc -c -m32 -I/Users/pbulk/build/lang/nhc98/work/nhc98-1.22/include -DVERSION="\"1.22\"" -O3 -o /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/targets/ix86-Darwin-21.6.0/obj/runtime/Kernel/mutlib.o mutlib.c gcc -c -m32 -I/Users/pbulk/build/lang/nhc98/work/nhc98-1.22/include -DVERSION="\"1.22\"" -O3 -o /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/targets/ix86-Darwin-21.6.0/obj/runtime/Kernel/main.o main.c gcc -c -m32 -I/Users/pbulk/build/lang/nhc98/work/nhc98-1.22/include -DVERSION="\"1.22\"" -O3 -o /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/targets/ix86-Darwin-21.6.0/obj/runtime/Kernel/haskellInit.o haskellInit.c haskellInit.c:70:48: warning: expression result unused [-Wunused-value] case 'b': case 'B': s++; assign(i,i*prefix)/sizeof(Node); break; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ haskellInit.c:72:32: warning: expression result unused [-Wunused-value] default: assign(i,i*prefix)/sizeof(Node); break; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 2 warnings generated. gcc -c -m32 -I/Users/pbulk/build/lang/nhc98/work/nhc98-1.22/include -DVERSION="\"1.22\"" -O3 -o /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/targets/ix86-Darwin-21.6.0/obj/runtime/Kernel/dump.o dump.c gcc -c -m32 -I/Users/pbulk/build/lang/nhc98/work/nhc98-1.22/include -DVERSION="\"1.22\"" -O3 -o /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/targets/ix86-Darwin-21.6.0/obj/runtime/Kernel/inscount.o inscount.c gcc -c -m32 -I/Users/pbulk/build/lang/nhc98/work/nhc98-1.22/include -DVERSION="\"1.22\"" -O3 -o /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/targets/ix86-Darwin-21.6.0/obj/runtime/Kernel/collector.o collector.c collector.c:75:51: warning: format specifies type 'unsigned int' but the argument has type 'NodePtr' (aka 'unsigned long *') [-Wformat] fprintf(stderr," hpStart=0x%x, hpEnd=0x%x\n",hpStart,hpEnd); ~~ ^~~~~~~ collector.c:75:59: warning: format specifies type 'unsigned int' but the argument has type 'NodePtr' (aka 'unsigned long *') [-Wformat] fprintf(stderr," hpStart=0x%x, hpEnd=0x%x\n",hpStart,hpEnd); ~~ ^~~~~ collector.c:628:58: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] fprintf(stderr," (Current heapsize is %d bytes.)\n",hpSize*sizeof(int)); ~~ ^~~~~~~~~~~~~~~~~~ %lu 3 warnings generated. gcc -c -m32 -I/Users/pbulk/build/lang/nhc98/work/nhc98-1.22/include -DVERSION="\"1.22\"" -O3 -o /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/targets/ix86-Darwin-21.6.0/obj/runtime/Kernel/mark.o mark.c gcc -c -m32 -I/Users/pbulk/build/lang/nhc98/work/nhc98-1.22/include -DVERSION="\"1.22\"" -O3 -o /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/targets/ix86-Darwin-21.6.0/obj/runtime/Kernel/cdata.o cdata.c gcc -c -m32 -I/Users/pbulk/build/lang/nhc98/work/nhc98-1.22/include -DVERSION="\"1.22\"" -O3 -o /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/targets/ix86-Darwin-21.6.0/obj/runtime/Kernel/timeUnix.o timeUnix.c gcc -c -m32 -I/Users/pbulk/build/lang/nhc98/work/nhc98-1.22/include -DVERSION="\"1.22\"" -O3 -o /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/targets/ix86-Darwin-21.6.0/obj/runtime/Kernel/xlib_debug.o xlib_debug.c gcc -c -m32 -I/Users/pbulk/build/lang/nhc98/work/nhc98-1.22/include -DVERSION="\"1.22\"" -O3 -o /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/targets/ix86-Darwin-21.6.0/obj/runtime/Kernel/stableptr.o stableptr.c gcc -c -m32 -I/Users/pbulk/build/lang/nhc98/work/nhc98-1.22/include -DVERSION="\"1.22\"" -O3 -o /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/targets/ix86-Darwin-21.6.0/obj/runtime/Kernel/closureval.o closureval.c closureval.c:25:5: warning: cast to smaller integer type 'Code' (aka 'unsigned char') from 'Node *' (aka 'unsigned long *') [-Wpointer-to-int-cast] C_CHECK(2*(args+1)); ^~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/include/cinterface.h:57:52: note: expanded from macro 'C_CHECK' #define C_CHECK(c) if(Hp+(c)+BUFFER>(NodePtr)Sp){C_GC(c);} ^~~~~~~ /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/include/cinterface.h:62:42: note: expanded from macro 'C_GC' *--Sp = (NodePtr)Fp; *--Sp=(NodePtr)C_CODE;Fp=Sp; \ ^~~~~~ /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/include/runtime.h:286:17: note: expanded from macro 'C_CODE' #define C_CODE ((Code)FN_Prelude_46primLeave) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ closureval.c:25:5: warning: cast to 'NodePtr' (aka 'unsigned long *') from smaller integer type 'Code' (aka 'unsigned char') [-Wint-to-pointer-cast] C_CHECK(2*(args+1)); ^~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/include/cinterface.h:57:52: note: expanded from macro 'C_CHECK' #define C_CHECK(c) if(Hp+(c)+BUFFER>(NodePtr)Sp){C_GC(c);} ^~~~~~~ /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/include/cinterface.h:62:33: note: expanded from macro 'C_GC' *--Sp = (NodePtr)Fp; *--Sp=(NodePtr)C_CODE;Fp=Sp; \ ^~~~~~~~~~~~~~~ 2 warnings generated. gcc -c -m32 -I/Users/pbulk/build/lang/nhc98/work/nhc98-1.22/include -DVERSION="\"1.22\"" -O3 -o /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/targets/ix86-Darwin-21.6.0/obj/runtime/Kernel/ffiexport.o ffiexport.c gcc -S -m32 -I/Users/pbulk/build/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/Users/pbulk/build/lang/nhc98/work/nhc98-1.22/include -DVERSION="\"1.22\"" -o /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/targets/ix86-Darwin-21.6.0/obj/runtime/Kernel/newtables.o - gcc -S -m32 -I/Users/pbulk/build/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/Users/pbulk/build/lang/nhc98/work/nhc98-1.22/include -DVERSION="\"1.22\"" -o /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/targets/ix86-Darwin-21.6.0/obj/runtime/Kernel/newbuiltin.o - cd /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/targets/ix86-Darwin-21.6.0/obj/runtime/Kernel; \ ar rv /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/targets/ix86-Darwin-21.6.0/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 archive /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/targets/ix86-Darwin-21.6.0/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 '/Users/pbulk/build/lang/nhc98/work/nhc98-1.22/src/runtime/Kernel' cd Integer; /opt/pkg/bin/gmake all gmake[2]: Entering directory '/Users/pbulk/build/lang/nhc98/work/nhc98-1.22/src/runtime/Integer' /opt/pkg/bin/mksh: [: 4.2: unexpected operator/operand Link /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/include/flt.h already exists. /opt/pkg/bin/mksh: [: 4.2: unexpected operator/operand gcc -I../Kernel -I/Users/pbulk/build/lang/nhc98/work/nhc98-1.22/include -O3 -m32 `if [ xcre-mparam.c = x ]; \ then echo cre-mparam.c; \ else echo cre-mparam.c; fi` -o /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/targets/ix86-Darwin-21.6.0/obj/runtime/Integer/cre-mparam /opt/pkg/bin/mksh: [: 4.2: unexpected operator/operand cre-mparam.c:109:45: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] printf ("#define BYTES_PER_MP_LIMB %d\n", sizeof(mp_limb)); ~~ ^~~~~~~~~~~~~~~ %lu 1 warning generated. ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS) ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/lib/libSystem.tbd, missing required architecture i386 in file /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/lib/libSystem.tbd (3 slices) Undefined symbols for architecture i386: "_printf", referenced from: _main in cre-mparam-761638.o "_putchar", referenced from: _main in cre-mparam-761638.o "_puts", referenced from: _main in cre-mparam-761638.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation) gmake[2]: *** [Makefile:56: /Users/pbulk/build/lang/nhc98/work/nhc98-1.22/targets/ix86-Darwin-21.6.0/obj/runtime/Integer/cre-mparam] Error 1 gmake[2]: Leaving directory '/Users/pbulk/build/lang/nhc98/work/nhc98-1.22/src/runtime/Integer' gmake[1]: *** [Makefile:33: afile] Error 2 gmake[1]: Leaving directory '/Users/pbulk/build/lang/nhc98/work/nhc98-1.22/src/runtime' gmake: *** [Makefile:238: targets/ix86-Darwin-21.6.0/runtime] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/lang/nhc98 *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/lang/nhc98