DEBUG: Executing shell function do_compile
NOTE: make -j 12
Making all in src
make[1]: Entering directory 'TOPDIR/tmp/work/core2-32-poky-linux/sshguard/2.4.3/sshguard-2.4.3/src'
Making all in blocker
make[2]: Entering directory 'TOPDIR/tmp/work/core2-32-poky-linux/sshguard/2.4.3/sshguard-2.4.3/src/blocker'
i686-poky-linux-gcc  -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TOPDIR/tmp/work/core2-32-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-32-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3  -ffile-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3  -ffile-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux/sshguard/2.4.3/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux/sshguard/2.4.3/recipe-sysroot-native=  -pipe -c -o sandbox.o `test -f '../common/sandbox.c' || echo './'`../common/sandbox.c
i686-poky-linux-gcc  -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TOPDIR/tmp/work/core2-32-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-32-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3  -ffile-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3  -ffile-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux/sshguard/2.4.3/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/core2-32-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
i686-poky-linux-gcc  -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TOPDIR/tmp/work/core2-32-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-32-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3  -ffile-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3  -ffile-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux/sshguard/2.4.3/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux/sshguard/2.4.3/recipe-sysroot-native=  -pipe -c -o simclist.o `test -f '../common/simclist.c' || echo './'`../common/simclist.c
i686-poky-linux-gcc  -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TOPDIR/tmp/work/core2-32-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-32-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3  -ffile-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3  -ffile-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux/sshguard/2.4.3/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux/sshguard/2.4.3/recipe-sysroot-native=  -pipe -c -o attack.o attack.c
i686-poky-linux-gcc  -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TOPDIR/tmp/work/core2-32-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-32-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3  -ffile-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3  -ffile-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux/sshguard/2.4.3/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux/sshguard/2.4.3/recipe-sysroot-native=  -pipe -c -o blocker.o blocker.c
i686-poky-linux-gcc  -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TOPDIR/tmp/work/core2-32-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-32-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3  -ffile-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3  -ffile-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux/sshguard/2.4.3/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux/sshguard/2.4.3/recipe-sysroot-native=  -pipe -c -o blocklist.o blocklist.c
i686-poky-linux-gcc  -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TOPDIR/tmp/work/core2-32-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-32-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3  -ffile-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3  -ffile-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux/sshguard/2.4.3/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux/sshguard/2.4.3/recipe-sysroot-native=  -pipe -c -o hash_32a.o hash_32a.c
i686-poky-linux-gcc  -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TOPDIR/tmp/work/core2-32-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-32-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3  -ffile-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3  -ffile-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux/sshguard/2.4.3/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux/sshguard/2.4.3/recipe-sysroot-native=  -pipe -c -o sshguard_blacklist.o sshguard_blacklist.c
i686-poky-linux-gcc  -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TOPDIR/tmp/work/core2-32-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-32-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3  -ffile-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3  -ffile-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux/sshguard/2.4.3/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux/sshguard/2.4.3/recipe-sysroot-native=  -pipe -c -o sshguard_options.o sshguard_options.c
i686-poky-linux-gcc  -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TOPDIR/tmp/work/core2-32-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-32-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3  -ffile-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux/sshguard/2.4.3/sshguard-2.4.3=/usr/src/debug/sshguard/2.4.3  -ffile-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux/sshguard/2.4.3/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/core2-32-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-32-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-32-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-32-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-32-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-32-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-32-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-32-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);
      |                ^~~~~~~~~~~~~~
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 unsigned int (*)(void)}
In file included from sshguard_whitelist.c:33:
../../src/common/simclist.h:298:60: note: expected 'element_meter' {aka 'unsigned int (*)(const void *)'} but argument is of type 'size_t (*)(void)' {aka '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);
      |                  ^~~~~~~~~~~~~
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: sshguard_whitelist.o] Error 1
make[2]: *** [Makefile:402: blocker.o] Error 1
make[2]: Leaving directory 'TOPDIR/tmp/work/core2-32-poky-linux/sshguard/2.4.3/sshguard-2.4.3/src/blocker'
make[1]: Leaving directory 'TOPDIR/tmp/work/core2-32-poky-linux/sshguard/2.4.3/sshguard-2.4.3/src'
make[1]: *** [Makefile:433: all-recursive] Error 1
ERROR: oe_runmake failed
WARNING: exit code 1 from a shell command.
make: *** [Makefile:486: all-recursive] Error 1

Error details

Submitted on:
25/05/25 17:45
Error type:
Recipe
Task:
do_compile
Recipe:
sshguard
Recipe version:
2.4.3-r0
Machine:
qemux86
Distro:
poky
Build system:
x86_64-linux
Target system:
i686-poky-linux
Host distro:
ubuntu-22.04/ubuntu-22.04
Branch:
master
Commit:
caea04becc791316498275f957af9ab28012eea3
Build:
#206571
Submitter:
akuster808@gmail.com
Similar errors:
7
Open a bug