+ 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/scm-5.5.3nb2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/scm-5.5.3nb2/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for scm-5.5.3nb2 echo "#ifndef IMPLINIT" > newflags.h echo "#define IMPLINIT \"Init5e3.scm\"" >> newflags.h echo "#endif" >> newflags.h echo "#define CHEAP_CONTINUATIONS" >> newflags.h echo "#define CAUTIOUS" >> newflags.h if (cmp -s newflags.h scmflags.h) then rm newflags.h; else mv newflags.h scmflags.h; fi gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DX11 -I/opt/pkg/include -I/opt/pkg/include/ncurses scm.c -o scm.o scm.c: In function 'process_signals': scm.c:197:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 197 | wta(UNDEFINED, (char *)i, ""); | ^ scm.c: In function 'err_signal': scm.c:277:15: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 277 | signal(sig, err_signal); | ^~~~~~~~~~ | | | int (*)() In file included from /usr/include/signal.h:42, from scm.c:48: /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'int (*)()' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ scm.c:280:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 280 | wta(MAKINUM(sig), (i < 0 ? s_unksig : (char *)(i + SIGNAL_BASE)), ""); | ^ scm.c: In function 'scmable_signal': scm.c:296:15: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 296 | signal(sig, scmable_signal); | ^~~~~~~~~~~~~~ | | | int (*)() /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'int (*)()' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ scm.c:312:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 312 | wta(UNDEFINED, (char *)i, ""); | ^ scm.c: In function 'init_sig1': scm.c:558:35: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 558 | sigdesc[i].osig = signal(signo, handler); | ^~~~~~~ | | | int (*)() /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'int (*)()' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ scm.c:558:19: error: assignment to 'int (*)()' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types] 558 | sigdesc[i].osig = signal(signo, handler); | ^ scm.c: In function 'init_signals': scm.c:592:11: error: assignment to 'int (*)()' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types] 592 | oldpipe = signal(SIGPIPE, SIG_IGN); | ^ scm.c: In function 'unignore_signals': scm.c:642:42: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 642 | signal(sigdesc[i].signo, sigdesc[i].nsig); | ~~~~~~~~~~^~~~~ | | | int (*)() /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'int (*)()' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ scm.c: In function 'restore_signals': scm.c:673:42: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 673 | signal(sigdesc[i].signo, sigdesc[i].osig); | ~~~~~~~~~~^~~~~ | | | int (*)() /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'int (*)()' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ scm.c:675:11: error: assignment to 'int (*)()' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types] 675 | oldpipe = signal(SIGPIPE, SIG_IGN); | ^ scm.c: In function 'scm_execpath': scm.c:873:19: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 873 | if (execpath) free(execpath); | ^~~~ scm.c:52:1: note: include '' or provide a declaration of 'free' 51 | #include "patchlvl.h" +++ |+#include 52 | scm.c:873:19: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 873 | if (execpath) free(execpath); | ^~~~ scm.c:873:19: note: include '' or provide a declaration of 'free' scm.c:878:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 878 | if (execpath) free(execpath); | ^~~~ scm.c:878:17: note: include '' or provide a declaration of 'free' scm.c:879:22: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 879 | execpath = (char *)malloc((sizet)(LENGTH(newpath) + 1)); | ^~~~~~ scm.c:879:22: note: include '' or provide a declaration of 'malloc' scm.c:879:22: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] scm.c:879:22: note: include '' or provide a declaration of 'malloc' *** Error code 1 Stop. bmake: stopped making "scmlit libscm.a" in /home/pbulk/build/lang/scm/work/scm *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/scm *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/scm