=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/x11/wterm", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for wterm-6.2.9nb38 /usr/bin/sed -n -f ./makeprotos-sed command.c > command.pro /usr/bin/sed -n -f ./makeprotos-sed graphics.c > graphics.pro /usr/bin/sed -n -f ./makeprotos-sed grkelot.c > grkelot.pro /usr/bin/sed -n -f ./makeprotos-sed main.c > main.pro /usr/bin/sed -n -f ./makeprotos-sed menubar.c > menubar.pro /usr/bin/sed -n -f ./makeprotos-sed misc.c > misc.pro /usr/bin/sed -n -f ./makeprotos-sed netdisp.c > netdisp.pro /usr/bin/sed -n -f ./makeprotos-sed rmemset.c > rmemset.pro /usr/bin/sed -n -f ./makeprotos-sed screen.c > screen.pro /usr/bin/sed -n -f ./makeprotos-sed scrollbar2.c > scrollbar2.pro /usr/bin/sed -n -f ./makeprotos-sed utmp.c > utmp.pro /usr/bin/sed -n -f ./makeprotos-sed xdefaults.c > xdefaults.pro /usr/bin/sed -n -f ./makeprotos-sed xpm.c > xpm.pro gcc -DHAVE_CONFIG_H -DDEBUG_STRICT -c -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I. -I.. -I. -Wno-implicit-function-declaration -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz command.c command.c: In function 'Child_signal': command.c:395:21: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 395 | signal(SIGCHLD, Child_signal); | ^~~~~~~~~~~~ | | | int (*)(int) In file included from /usr/include/signal.h:42, from wterm.h:57, from command.c:49: /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); | ^~~~~~~~~~~~~ command.c:381:1: note: 'Child_signal' declared here 381 | Child_signal(int unused) | ^~~~~~~~~~~~ command.c: In function 'get_pty': command.c:465:25: error: conflicting types for 'ptsname'; have 'char *(void)' 465 | extern char *ptsname(); | ^~~~~~~ In file included from wterm.h:64: /usr/include/stdlib.h:239:14: note: previous declaration of 'ptsname' with type 'char *(int)' 239 | extern char *ptsname(int); | ^~~~~~~ command.c:473:31: error: too many arguments to function 'ptsname'; expected 0, have 1 473 | ptydev = ttydev = ptsname(fd); /* get slave's name */ | ^~~~~~~ ~~ command.c:465:25: note: declared here 465 | extern char *ptsname(); | ^~~~~~~ command.c: In function 'run_command': command.c:966:20: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 966 | signal(SIGHUP, Exit_signal); | ^~~~~~~~~~~ | | | 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); | ^~~~~~~~~~~~~ command.c:403:1: note: 'Exit_signal' declared here 403 | Exit_signal(int sig) | ^~~~~~~~~~~ command.c:970:21: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 970 | signal(SIGQUIT, Exit_signal); | ^~~~~~~~~~~ | | | 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); | ^~~~~~~~~~~~~ command.c:403:1: note: 'Exit_signal' declared here 403 | Exit_signal(int sig) | ^~~~~~~~~~~ command.c:971:21: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 971 | signal(SIGTERM, Exit_signal); | ^~~~~~~~~~~ | | | 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); | ^~~~~~~~~~~~~ command.c:403:1: note: 'Exit_signal' declared here 403 | Exit_signal(int sig) | ^~~~~~~~~~~ command.c:972:21: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 972 | signal(SIGCHLD, Child_signal); | ^~~~~~~~~~~~ | | | 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); | ^~~~~~~~~~~~~ command.c:381:1: note: 'Child_signal' declared here 381 | Child_signal(int unused) | ^~~~~~~~~~~~ *** Error code 1 Stop. bmake[1]: stopped making "all" in /home/pbulk/work/x11/wterm/work/wterm-6.2.9/src