=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/misc/vttest", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for vttest-20210210 --- charsets.o --- --- color.o --- --- draw.o --- --- esc.o --- --- charsets.o --- gcc -c -DHAVE_CONFIG_H -I. -I. -D__EXTENSIONS__ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations charsets.c --- draw.o --- gcc -c -DHAVE_CONFIG_H -I. -I. -D__EXTENSIONS__ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations draw.c --- color.o --- gcc -c -DHAVE_CONFIG_H -I. -I. -D__EXTENSIONS__ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations color.c --- esc.o --- gcc -c -DHAVE_CONFIG_H -I. -I. -D__EXTENSIONS__ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations esc.c --- keyboard.o --- gcc -c -DHAVE_CONFIG_H -I. -I. -D__EXTENSIONS__ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations keyboard.c --- main.o --- gcc -c -DHAVE_CONFIG_H -I. -I. -D__EXTENSIONS__ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations main.c main.c: In function 'main': main.c:183:18: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 183 | signal(SIGINT, onbrk); | ^~~~~ | | | int (*)(int) In file included from /usr/include/signal.h:42, from ./vttest.h:73, from main.c:40: /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'int (*)(int)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ ./vttest.h:236:19: note: 'onbrk' declared here 236 | extern RETSIGTYPE onbrk(SIG_ARGS); | ^~~~~ main.c:184:19: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 184 | signal(SIGTERM, onterm); | ^~~~~~ | | | int (*)(int) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'int (*)(int)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ ./vttest.h:237:19: note: 'onterm' declared here 237 | extern RETSIGTYPE onterm(SIG_ARGS); | ^~~~~~ main.c: In function 'onbrk': main.c:1381:18: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 1381 | signal(SIGINT, onbrk); | ^~~~~ | | | int (*)(int) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'int (*)(int)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ main.c:1379:1: note: 'onbrk' declared here 1379 | onbrk(SIG_ARGS GCC_UNUSED) | ^~~~~ main.c: In function 'onterm': main.c:1395:19: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 1395 | signal(SIGTERM, onterm); | ^~~~~~ | | | int (*)(int) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'int (*)(int)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ main.c:1393:1: note: 'onterm' declared here 1393 | onterm(SIG_ARGS GCC_UNUSED) | ^~~~~~ --- mouse.o --- gcc -c -DHAVE_CONFIG_H -I. -I. -D__EXTENSIONS__ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations mouse.c --- main.o --- *** [main.o] Error code 1 bmake: stopped making "all" in /tmp/work/misc/vttest/work/vttest-20210210 bmake: 1 error bmake: stopped making "all" in /tmp/work/misc/vttest/work/vttest-20210210 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/vttest *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/vttest