=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/databases/pgpool", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for pgpool-3.4.1 --- all --- /opt/pkg/bin/bmake all-am --- main.o --- --- child.o --- --- pool_auth.o --- --- pool_error.o --- --- main.o --- if gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/etc/opt/pkg\" -I. -I. -I. -Wall -Wmissing-prototypes -Wmissing-declarations -D_GNU_SOURCE -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi --- child.o --- if gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/etc/opt/pkg\" -I. -I. -I. -Wall -Wmissing-prototypes -Wmissing-declarations -D_GNU_SOURCE -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT child.o -MD -MP -MF ".deps/child.Tpo" -c -o child.o child.c; then mv -f ".deps/child.Tpo" ".deps/child.Po"; else rm -f ".deps/child.Tpo"; exit 1; fi --- pool_error.o --- if gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/etc/opt/pkg\" -I. -I. -I. -Wall -Wmissing-prototypes -Wmissing-declarations -D_GNU_SOURCE -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT pool_error.o -MD -MP -MF ".deps/pool_error.Tpo" -c -o pool_error.o pool_error.c; then mv -f ".deps/pool_error.Tpo" ".deps/pool_error.Po"; else rm -f ".deps/pool_error.Tpo"; exit 1; fi --- pool_auth.o --- if gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/etc/opt/pkg\" -I. -I. -I. -Wall -Wmissing-prototypes -Wmissing-declarations -D_GNU_SOURCE -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT pool_auth.o -MD -MP -MF ".deps/pool_auth.Tpo" -c -o pool_auth.o pool_auth.c; then mv -f ".deps/pool_auth.Tpo" ".deps/pool_auth.Po"; else rm -f ".deps/pool_auth.Tpo"; exit 1; fi --- main.o --- In file included from pool.h:31, from main.c:21: pool_type.h:47:14: error: 'bool' cannot be defined via 'typedef' 47 | typedef char bool; | ^~~~ pool_type.h:47:14: note: 'bool' is a keyword with '-std=c23' onwards pool_type.h:47:1: warning: useless type name in empty declaration 47 | typedef char bool; | ^~~~~~~ --- pool_auth.o --- In file included from pool.h:31, from pool_auth.c:25: pool_type.h:47:14: error: 'bool' cannot be defined via 'typedef' 47 | typedef char bool; | ^~~~ pool_type.h:47:14: note: 'bool' is a keyword with '-std=c23' onwards pool_type.h:47:1: warning: useless type name in empty declaration 47 | typedef char bool; | ^~~~~~~ --- pool_error.o --- In file included from pool.h:31, from pool_error.c:31: pool_type.h:47:14: error: 'bool' cannot be defined via 'typedef' 47 | typedef char bool; | ^~~~ pool_type.h:47:14: note: 'bool' is a keyword with '-std=c23' onwards pool_type.h:47:1: warning: useless type name in empty declaration 47 | typedef char bool; | ^~~~~~~ --- child.o --- In file included from pool.h:31, from child.c:49: pool_type.h:47:14: error: 'bool' cannot be defined via 'typedef' 47 | typedef char bool; | ^~~~ pool_type.h:47:14: note: 'bool' is a keyword with '-std=c23' onwards pool_type.h:47:1: warning: useless type name in empty declaration 47 | typedef char bool; | ^~~~~~~ child.c: In function 'do_child': child.c:103:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 103 | signal(SIGTERM, die); | ^~~ | | | int (*)(int) In file included from /usr/include/signal.h:42, from child.c:36: /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); | ^~~~~~~~~~~~~ child.c:62:19: note: 'die' declared here 62 | static RETSIGTYPE die(int sig); | ^~~ child.c:104:24: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 104 | signal(SIGINT, die); | ^~~ | | | 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); | ^~~~~~~~~~~~~ child.c:62:19: note: 'die' declared here 62 | static RETSIGTYPE die(int sig); | ^~~ child.c:105:24: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 105 | signal(SIGHUP, close_idle_connection); | ^~~~~~~~~~~~~~~~~~~~~ | | | 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); | ^~~~~~~~~~~~~ child.c:63:19: note: 'close_idle_connection' declared here 63 | static RETSIGTYPE close_idle_connection(int sig); | ^~~~~~~~~~~~~~~~~~~~~ child.c:106:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 106 | signal(SIGQUIT, die); | ^~~ | | | 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); | ^~~~~~~~~~~~~ child.c:62:19: note: 'die' declared here 62 | static RETSIGTYPE die(int sig); | ^~~ --- main.o --- main.c: In function 'main': main.c:326:30: error: passing argument 2 of 'pool_signal' from incompatible pointer type [-Wincompatible-pointer-types] 326 | pool_signal(SIGTERM, exit_handler); | ^~~~~~~~~~~~ | | | int (*)(int) In file included from pool.h:30: pool_signal.h:58:67: note: expected 'pool_sighandler_t' {aka 'void (*)(int)'} but argument is of type 'int (*)(int)' 58 | extern pool_sighandler_t pool_signal(int signo, pool_sighandler_t func); | ~~~~~~~~~~~~~~~~~~^~~~ main.c:80:19: note: 'exit_handler' declared here 80 | static RETSIGTYPE exit_handler(int sig); | ^~~~~~~~~~~~ pool_signal.h:57:16: note: 'pool_sighandler_t' declared here 57 | typedef void (*pool_sighandler_t) (int); | ^~~~~~~~~~~~~~~~~ main.c:327:29: error: passing argument 2 of 'pool_signal' from incompatible pointer type [-Wincompatible-pointer-types] 327 | pool_signal(SIGINT, exit_handler); | ^~~~~~~~~~~~ | | | int (*)(int) pool_signal.h:58:67: note: expected 'pool_sighandler_t' {aka 'void (*)(int)'} but argument is of type 'int (*)(int)' 58 | extern pool_sighandler_t pool_signal(int signo, pool_sighandler_t func); | ~~~~~~~~~~~~~~~~~~^~~~ main.c:80:19: note: 'exit_handler' declared here 80 | static RETSIGTYPE exit_handler(int sig); | ^~~~~~~~~~~~ pool_signal.h:57:16: note: 'pool_sighandler_t' declared here 57 | typedef void (*pool_sighandler_t) (int); | ^~~~~~~~~~~~~~~~~ main.c:328:30: error: passing argument 2 of 'pool_signal' from incompatible pointer type [-Wincompatible-pointer-types] 328 | pool_signal(SIGQUIT, exit_handler); | ^~~~~~~~~~~~ | | | int (*)(int) pool_signal.h:58:67: note: expected 'pool_sighandler_t' {aka 'void (*)(int)'} but argument is of type 'int (*)(int)' 58 | extern pool_sighandler_t pool_signal(int signo, pool_sighandler_t func); | ~~~~~~~~~~~~~~~~~~^~~~ main.c:80:19: note: 'exit_handler' declared here 80 | static RETSIGTYPE exit_handler(int sig); | ^~~~~~~~~~~~ pool_signal.h:57:16: note: 'pool_sighandler_t' declared here 57 | typedef void (*pool_sighandler_t) (int); | ^~~~~~~~~~~~~~~~~ main.c:329:30: error: passing argument 2 of 'pool_signal' from incompatible pointer type [-Wincompatible-pointer-types] 329 | pool_signal(SIGCHLD, reap_handler); | ^~~~~~~~~~~~ | | | int (*)(int) pool_signal.h:58:67: note: expected 'pool_sighandler_t' {aka 'void (*)(int)'} but argument is of type 'int (*)(int)' 58 | extern pool_sighandler_t pool_signal(int signo, pool_sighandler_t func); | ~~~~~~~~~~~~~~~~~~^~~~ main.c:81:19: note: 'reap_handler' declared here 81 | static RETSIGTYPE reap_handler(int sig); | ^~~~~~~~~~~~ pool_signal.h:57:16: note: 'pool_sighandler_t' declared here 57 | typedef void (*pool_sighandler_t) (int); | ^~~~~~~~~~~~~~~~~ main.c:330:30: error: passing argument 2 of 'pool_signal' from incompatible pointer type [-Wincompatible-pointer-types] 330 | pool_signal(SIGUSR1, failover_handler); | ^~~~~~~~~~~~~~~~ | | | int (*)(int) pool_signal.h:58:67: note: expected 'pool_sighandler_t' {aka 'void (*)(int)'} but argument is of type 'int (*)(int)' 58 | extern pool_sighandler_t pool_signal(int signo, pool_sighandler_t func); | ~~~~~~~~~~~~~~~~~~^~~~ main.c:82:19: note: 'failover_handler' declared here 82 | static RETSIGTYPE failover_handler(int sig); | ^~~~~~~~~~~~~~~~ pool_signal.h:57:16: note: 'pool_sighandler_t' declared here 57 | typedef void (*pool_sighandler_t) (int); | ^~~~~~~~~~~~~~~~~ main.c:331:30: error: passing argument 2 of 'pool_signal' from incompatible pointer type [-Wincompatible-pointer-types] 331 | pool_signal(SIGUSR2, failover_handler); | ^~~~~~~~~~~~~~~~ | | | int (*)(int) pool_signal.h:58:67: note: expected 'pool_sighandler_t' {aka 'void (*)(int)'} but argument is of type 'int (*)(int)' 58 | extern pool_sighandler_t pool_signal(int signo, pool_sighandler_t func); | ~~~~~~~~~~~~~~~~~~^~~~ main.c:82:19: note: 'failover_handler' declared here 82 | static RETSIGTYPE failover_handler(int sig); | ^~~~~~~~~~~~~~~~ pool_signal.h:57:16: note: 'pool_sighandler_t' declared here 57 | typedef void (*pool_sighandler_t) (int); | ^~~~~~~~~~~~~~~~~ main.c:332:29: error: passing argument 2 of 'pool_signal' from incompatible pointer type [-Wincompatible-pointer-types] 332 | pool_signal(SIGHUP, exit_handler); | ^~~~~~~~~~~~ | | | int (*)(int) pool_signal.h:58:67: note: expected 'pool_sighandler_t' {aka 'void (*)(int)'} but argument is of type 'int (*)(int)' 58 | extern pool_sighandler_t pool_signal(int signo, pool_sighandler_t func); | ~~~~~~~~~~~~~~~~~~^~~~ main.c:80:19: note: 'exit_handler' declared here 80 | static RETSIGTYPE exit_handler(int sig); | ^~~~~~~~~~~~ pool_signal.h:57:16: note: 'pool_sighandler_t' declared here 57 | typedef void (*pool_sighandler_t) (int); | ^~~~~~~~~~~~~~~~~ main.c:365:54: error: passing argument 2 of 'pool_signal' from incompatible pointer type [-Wincompatible-pointer-types] 365 | pool_signal(SIGALRM, health_check_timer_handler); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(int) pool_signal.h:58:67: note: expected 'pool_sighandler_t' {aka 'void (*)(int)'} but argument is of type 'int (*)(int)' 58 | extern pool_sighandler_t pool_signal(int signo, pool_sighandler_t func); | ~~~~~~~~~~~~~~~~~~^~~~ main.c:83:19: note: 'health_check_timer_handler' declared here 83 | static RETSIGTYPE health_check_timer_handler(int sig); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pool_signal.h:57:16: note: 'pool_sighandler_t' declared here 57 | typedef void (*pool_sighandler_t) (int); | ^~~~~~~~~~~~~~~~~ --- child.o --- child.c:140:21: warning: variable 'connection_reuse' set but not used [-Wunused-but-set-variable] 140 | int connection_reuse = 1; | ^~~~~~~~~~~~~~~~ child.c:88:13: warning: variable 'child_idle_sec' set but not used [-Wunused-but-set-variable] 88 | int child_idle_sec; | ^~~~~~~~~~~~~~ --- main.o --- main.c: In function 'exit_handler': main.c:766:17: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch] 766 | return; | ^~~~~~ main.c:737:19: note: declared here 737 | static RETSIGTYPE exit_handler(int sig) | ^~~~~~~~~~~~ main.c:784:17: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch] 784 | return; | ^~~~~~ main.c:737:19: note: declared here 737 | static RETSIGTYPE exit_handler(int sig) | ^~~~~~~~~~~~ main.c: In function 'failover_handler': main.c:811:1: warning: no return statement in function returning non-void [-Wreturn-type] 811 | } | ^ --- child.o --- child.c: In function 'die': child.c:1012:33: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch] 1012 | return; | ^~~~~~ child.c:1000:19: note: declared here 1000 | static RETSIGTYPE die(int sig) | ^~~ --- main.o --- main.c: In function 'health_check_timer_handler': main.c:1020:1: warning: no return statement in function returning non-void [-Wreturn-type] 1020 | } | ^ main.c: In function 'reap_handler': main.c:1031:1: warning: no return statement in function returning non-void [-Wreturn-type] 1031 | } | ^ --- child.o --- child.c: In function 'close_idle_connection': child.c:1062:1: warning: no return statement in function returning non-void [-Wreturn-type] 1062 | } | ^ --- pool_error.o --- *** [pool_error.o] Error code 1 bmake[1]: stopped making "all-am" in /tmp/work/databases/pgpool/work/pgpool-3.4.1 --- pool_auth.o --- *** [pool_auth.o] Error code 1 bmake[1]: stopped making "all-am" in /tmp/work/databases/pgpool/work/pgpool-3.4.1 --- main.o --- *** [main.o] Error code 1 bmake[1]: stopped making "all-am" in /tmp/work/databases/pgpool/work/pgpool-3.4.1 --- child.o --- *** [child.o] Error code 1 bmake[1]: stopped making "all-am" in /tmp/work/databases/pgpool/work/pgpool-3.4.1 bmake[1]: 4 errors bmake[1]: stopped making "all-am" in /tmp/work/databases/pgpool/work/pgpool-3.4.1 *** [all] Error code 2 bmake: stopped making "all" in /tmp/work/databases/pgpool/work/pgpool-3.4.1 bmake: 1 error bmake: stopped making "all" in /tmp/work/databases/pgpool/work/pgpool-3.4.1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/pgpool *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/pgpool