DEBUG: Executing shell function do_compile
NOTE: make -j 12
Making all in src
make[1]: Entering directory 'TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/sshguard-2.4.3/src'
Making all in blocker
make[2]: Entering directory 'TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/sshguard-2.4.3/src/blocker'
x86_64-poky-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../src/common -I../../src/common -DSIMCLIST_NO_DUMPRESTORE -O2 -g -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3 -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3 -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot-native= -pipe -c -o sandbox.o `test -f '../common/sandbox.c' || echo './'`../common/sandbox.c
x86_64-poky-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../src/common -I../../src/common -DSIMCLIST_NO_DUMPRESTORE -O2 -g -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3 -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3 -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot-native= -pipe -c -o service_names.o `test -f '../common/service_names.c' || echo './'`../common/service_names.c
x86_64-poky-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../src/common -I../../src/common -DSIMCLIST_NO_DUMPRESTORE -O2 -g -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3 -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3 -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot-native= -pipe -c -o simclist.o `test -f '../common/simclist.c' || echo './'`../common/simclist.c
x86_64-poky-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../src/common -I../../src/common -DSIMCLIST_NO_DUMPRESTORE -O2 -g -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3 -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3 -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot-native= -pipe -c -o attack.o attack.c
x86_64-poky-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../src/common -I../../src/common -DSIMCLIST_NO_DUMPRESTORE -O2 -g -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3 -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3 -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot-native= -pipe -c -o blocker.o blocker.c
x86_64-poky-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../src/common -I../../src/common -DSIMCLIST_NO_DUMPRESTORE -O2 -g -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3 -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3 -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot-native= -pipe -c -o blocklist.o blocklist.c
x86_64-poky-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../src/common -I../../src/common -DSIMCLIST_NO_DUMPRESTORE -O2 -g -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3 -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3 -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot-native= -pipe -c -o hash_32a.o hash_32a.c
x86_64-poky-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../src/common -I../../src/common -DSIMCLIST_NO_DUMPRESTORE -O2 -g -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3 -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3 -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot-native= -pipe -c -o sshguard_blacklist.o sshguard_blacklist.c
x86_64-poky-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../src/common -I../../src/common -DSIMCLIST_NO_DUMPRESTORE -O2 -g -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3 -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3 -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot-native= -pipe -c -o sshguard_options.o sshguard_options.c
x86_64-poky-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../src/common -I../../src/common -DSIMCLIST_NO_DUMPRESTORE -O2 -g -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3 -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3 -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot-native= -pipe -c -o sshguard_whitelist.o sshguard_whitelist.c
blocklist.c: In function 'blocklist_init':
blocklist.c:95:36: error: passing argument 3 of 'pthread_create' from incompatible pointer type [-Wincompatible-pointer-types]
95 | if (pthread_create(&tid, NULL, unblock_loop, NULL) != 0) {
| ^~~~~~~~~~~~
| |
| void * (*)(void)
In file included from blocklist.c:2:
TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot/usr/include/pthread.h:204:36: note: expected 'void * (*)(void *)' but argument is of type 'void * (*)(void)'
204 | void *(*__start_routine) (void *),
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
blocklist.c:77:14: note: 'unblock_loop' declared here
77 | static void *unblock_loop() {
| ^~~~~~~~~~~~
make[2]: *** [Makefile:402: blocklist.o] Error 1
make[2]: *** Waiting for unfinished jobs....
blocker.c: In function 'main':
blocker.c:119:21: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
119 | signal(SIGTERM, sigfin_handler);
| ^~~~~~~~~~~~~~
| |
| void (*)(void)
In file included from blocker.c:24:
TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot/usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)'
88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
| ~~~~~~~~~~~~~~~^~~~~~~~~
blocker.c:64:13: note: 'sigfin_handler' declared here
64 | static void sigfin_handler();
| ^~~~~~~~~~~~~~
TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
72 | typedef void (*__sighandler_t) (int);
| ^~~~~~~~~~~~~~
blocker.c:120:20: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
120 | signal(SIGHUP, sigfin_handler);
| ^~~~~~~~~~~~~~
| |
| void (*)(void)
TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot/usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)'
88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
| ~~~~~~~~~~~~~~~^~~~~~~~~
blocker.c:64:13: note: 'sigfin_handler' declared here
64 | static void sigfin_handler();
| ^~~~~~~~~~~~~~
TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
72 | typedef void (*__sighandler_t) (int);
| ^~~~~~~~~~~~~~
blocker.c:121:20: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
121 | signal(SIGINT, sigfin_handler);
| ^~~~~~~~~~~~~~
| |
| void (*)(void)
TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot/usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)'
88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
| ~~~~~~~~~~~~~~~^~~~~~~~~
blocker.c:64:13: note: 'sigfin_handler' declared here
64 | static void sigfin_handler();
| ^~~~~~~~~~~~~~
TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/recipe-sysroot/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
72 | typedef void (*__sighandler_t) (int);
| ^~~~~~~~~~~~~~
blocker.c: At top level:
blocker.c:299:13: error: conflicting types for 'sigfin_handler'; have 'void(int)'
299 | static void sigfin_handler(int sig) {
| ^~~~~~~~~~~~~~
blocker.c:64:13: note: previous declaration of 'sigfin_handler' with type 'void(void)'
64 | static void sigfin_handler();
| ^~~~~~~~~~~~~~
blocker.c:64:13: warning: 'sigfin_handler' used but never defined
make[2]: *** [Makefile:402: blocker.o] Error 1
sshguard_whitelist.c: In function 'whitelist_init':
sshguard_whitelist.c:115:38: error: passing argument 2 of 'list_attributes_copy' from incompatible pointer type [-Wincompatible-pointer-types]
115 | list_attributes_copy(&whitelist, whitelist_meter, 1);
| ^~~~~~~~~~~~~~~
| |
| size_t (*)(void) {aka long unsigned int (*)(void)}
In file included from sshguard_whitelist.c:33:
../../src/common/simclist.h:298:60: note: expected 'element_meter' {aka 'long unsigned int (*)(const void *)'} but argument is of type 'size_t (*)(void)' {aka 'long unsigned int (*)(void)'}
298 | int list_attributes_copy(list_t *restrict l, element_meter metric_fun, int copy_data);
| ~~~~~~~~~~~~~~^~~~~~~~~~
sshguard_whitelist.c:78:15: note: 'whitelist_meter' declared here
78 | static size_t whitelist_meter() { return sizeof(addrblock_t); }
| ^~~~~~~~~~~~~~~
../../src/common/simclist.h:106:18: note: 'element_meter' declared here
106 | typedef size_t (*element_meter)(const void *el);
| ^~~~~~~~~~~~~
make[2]: *** [Makefile:402: sshguard_whitelist.o] Error 1
make[2]: Leaving directory 'TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/sshguard-2.4.3/src/blocker'
ERROR: oe_runmake failed
make[1]: Leaving directory 'TOPDIR/tmp/work/core2-64-poky-linux/sshguard/2.4.3/sshguard-2.4.3/src'
WARNING: exit code 1 from a shell command.
make[1]: *** [Makefile:433: all-recursive] Error 1
make: *** [Makefile:486: all-recursive] Error 1