=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/net/sysmon", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for sysmon-0.93nb3 --- all --- (cd src; make ) --- heartbeat.o --- --- syswatch.o --- --- page.o --- --- tcp.o --- --- heartbeat.o --- gcc -Wno-implicit-function-declaration -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/etc/opt/pkg/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -c heartbeat.c --- tcp.o --- gcc -Wno-implicit-function-declaration -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/etc/opt/pkg/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -c tcp.c --- page.o --- gcc -Wno-implicit-function-declaration -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/etc/opt/pkg/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -c page.c --- syswatch.o --- gcc -Wno-implicit-function-declaration -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/etc/opt/pkg/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -c syswatch.c --- heartbeat.o --- heartbeat.c: In function 'send_heartbeat': heartbeat.c:14:20: error: too many arguments to function 'udp_open_sock'; expected 0, have 1 14 | msg_sock = udp_open_sock(msg_sock); | ^~~~~~~~~~~~~ ~~~~~~~~ In file included from heartbeat.c:2: config.h:742:5: note: declared here 742 | int udp_open_sock(); | ^~~~~~~~~~~~~ --- syswatch.o --- syswatch.c: In function 'toggle_warnlog': syswatch.c:237:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 237 | signal(SIGUSR1, toggle_warnlog); | ^~~~~~~~~~~~~~ | | | void (*)(void) In file included from /usr/include/signal.h:42, from config.h:7, from syswatch.c:2: /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); | ^~~~~~~~~~~~~ syswatch.c:231:6: note: 'toggle_warnlog' declared here 231 | void toggle_warnlog() | ^~~~~~~~~~~~~~ syswatch.c: In function 'toggle_pause': syswatch.c:253:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 253 | signal(SIGUSR2, toggle_pause); | ^~~~~~~~~~~~ | | | 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); | ^~~~~~~~~~~~~ syswatch.c:243:6: note: 'toggle_pause' declared here 243 | void toggle_pause() | ^~~~~~~~~~~~ syswatch.c: At top level: syswatch.c:390:6: error: conflicting types for 'stop_it'; have 'void(time_t)' {aka 'void(long int)'} 390 | void stop_it(time_t now) | ^~~~~~~ config.h:719:6: note: previous declaration of 'stop_it' with type 'void(void)' 719 | void stop_it(); | ^~~~~~~ syswatch.c: In function 'do_watch': syswatch.c:1592:25: error: too many arguments to function 'do_tree_periodic'; expected 0, have 1 1592 | do_tree_periodic(now_t); /* Do periodic checks/tests */ | ^~~~~~~~~~~~~~~~ ~~~~~ config.h:739:6: note: declared here 739 | void do_tree_periodic(); | ^~~~~~~~~~~~~~~~ syswatch.c:1609:25: error: too many arguments to function 'do_tree_periodic'; expected 0, have 1 1609 | do_tree_periodic(now_t); | ^~~~~~~~~~~~~~~~ ~~~~~ config.h:739:6: note: declared here 739 | void do_tree_periodic(); | ^~~~~~~~~~~~~~~~ syswatch.c: At top level: syswatch.c:1799:6: error: conflicting types for 'do_tree_periodic'; have 'void(time_t)' {aka 'void(long int)'} 1799 | void do_tree_periodic(time_t now) | ^~~~~~~~~~~~~~~~ config.h:739:6: note: previous declaration of 'do_tree_periodic' with type 'void(void)' 739 | void do_tree_periodic(); | ^~~~~~~~~~~~~~~~ syswatch.c: In function 'main': syswatch.c:1841:24: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 1841 | signal(SIGHUP, reload_config); | ^~~~~~~~~~~~~ | | | 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); | ^~~~~~~~~~~~~ config.h:722:6: note: 'reload_config' declared here 722 | void reload_config(); | ^~~~~~~~~~~~~ syswatch.c:1842:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 1842 | signal(SIGUSR1, toggle_warnlog); | ^~~~~~~~~~~~~~ | | | 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); | ^~~~~~~~~~~~~ syswatch.c:231:6: note: 'toggle_warnlog' declared here 231 | void toggle_warnlog() | ^~~~~~~~~~~~~~ syswatch.c:1843:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 1843 | signal(SIGUSR2, toggle_pause); | ^~~~~~~~~~~~ | | | 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); | ^~~~~~~~~~~~~ syswatch.c:243:6: note: 'toggle_pause' declared here 243 | void toggle_pause() | ^~~~~~~~~~~~ syswatch.c:1844:24: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 1844 | signal(SIGINT, handle_stop); | ^~~~~~~~~~~ | | | 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); | ^~~~~~~~~~~~~ syswatch.c:356:6: note: 'handle_stop' declared here 356 | void handle_stop() | ^~~~~~~~~~~ syswatch.c:1845:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 1845 | signal(SIGQUIT, handle_stop); | ^~~~~~~~~~~ | | | 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); | ^~~~~~~~~~~~~ syswatch.c:356:6: note: 'handle_stop' declared here 356 | void handle_stop() | ^~~~~~~~~~~ syswatch.c:1846:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 1846 | signal(SIGTERM, handle_stop); | ^~~~~~~~~~~ | | | 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); | ^~~~~~~~~~~~~ syswatch.c:356:6: note: 'handle_stop' declared here 356 | void handle_stop() | ^~~~~~~~~~~ syswatch.c:1859:24: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 1859 | signal(SIGBUS, ABORT); | ^~~~~ | | | 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); | ^~~~~~~~~~~~~ config.h:736:6: note: 'ABORT' declared here 736 | void ABORT(); | ^~~~~ syswatch.c:1860:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 1860 | signal(SIGABRT, ABORT); | ^~~~~ | | | 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); | ^~~~~~~~~~~~~ config.h:736:6: note: 'ABORT' declared here 736 | void ABORT(); | ^~~~~ syswatch.c:1861:24: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 1861 | signal(SIGILL, ABORT); | ^~~~~ | | | 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); | ^~~~~~~~~~~~~ config.h:736:6: note: 'ABORT' declared here 736 | void ABORT(); | ^~~~~ syswatch.c:1862:24: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 1862 | signal(SIGBUS, ABORT); | ^~~~~ | | | 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); | ^~~~~~~~~~~~~ config.h:736:6: note: 'ABORT' declared here 736 | void ABORT(); | ^~~~~ --- heartbeat.o --- *** [heartbeat.o] Error code 1 make[1]: stopped making "all" in /home/pbulk/work/net/sysmon/work/sysmon-0.93/src --- syswatch.o --- *** [syswatch.o] Error code 1 make[1]: stopped making "all" in /home/pbulk/work/net/sysmon/work/sysmon-0.93/src make[1]: 2 errors make[1]: stopped making "all" in /home/pbulk/work/net/sysmon/work/sysmon-0.93/src *** [all] Error code 2 bmake: stopped making "all" in /home/pbulk/work/net/sysmon/work/sysmon-0.93 bmake: 1 error bmake: stopped making "all" in /home/pbulk/work/net/sysmon/work/sysmon-0.93 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/sysmon *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/sysmon