=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/misc/dtach", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for dtach-0.9 --- attach.o --- --- master.o --- --- main.o --- --- attach.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -W -Wall -I. -c ./attach.c --- master.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -W -Wall -I. -c ./master.c --- main.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -W -Wall -I. -c ./main.c --- attach.o --- ./attach.c: In function 'win_change': ./attach.c:102:26: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 102 | signal(SIGWINCH, win_change); | ^~~~~~~~~~ | | | void (*)(void) In file included from /usr/include/signal.h:42, from ./dtach.h:26, from ./attach.c:19: /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ ./attach.c:100:1: note: 'win_change' declared here 100 | win_change() | ^~~~~~~~~~ ./attach.c: In function 'attach_main': ./attach.c:203:26: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 203 | signal(SIGWINCH, win_change); | ^~~~~~~~~~ | | | void (*)(void) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ ./attach.c:100:1: note: 'win_change' declared here 100 | win_change() | ^~~~~~~~~~ --- master.o --- ./master.c: In function 'forkpty': ./master.c:749:21: warning: unused variable 'fd' [-Wunused-variable] 749 | int fd; | ^~ ./master.c:748:23: warning: variable 'buf' set but not used [-Wunused-but-set-variable] 748 | char *buf; | ^~~ --- attach.o --- *** [attach.o] Error code 1 bmake: stopped making "dtach" in /tmp/work/misc/dtach/work/dtach-0.9 bmake: 1 error bmake: stopped making "dtach" in /tmp/work/misc/dtach/work/dtach-0.9 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/dtach *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/dtach