DEBUG: Executing shell function do_compile
NOTE: make -j 70 -l 140 GEN_CONFIG=/bin/true
x86_64-oe-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-all  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/core2-64-oe-linux/ssmtp/2.64/recipe-sysroot -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -DREWRITE_DOMAIN=1 -DHAVE_SSL=1 -DINET6=1 -DSSMTPCONFDIR=\"/etc/ssmtp\" -DCONFIGURATION_FILE=\"/etc/ssmtp/ssmtp.conf\" -DREVALIASES_FILE=\"/etc/ssmtp/revaliases\"   -O2 -g -fcanon-prefix-map  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/ssmtp/2.64/ssmtp-2.64=/usr/src/debug/ssmtp/2.64  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/ssmtp/2.64/ssmtp-2.64=/usr/src/debug/ssmtp/2.64  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/ssmtp/2.64/build=/usr/src/debug/ssmtp/2.64  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/ssmtp/2.64/build=/usr/src/debug/ssmtp/2.64  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/ssmtp/2.64/recipe-sysroot=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/ssmtp/2.64/recipe-sysroot=  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/ssmtp/2.64/recipe-sysroot-native=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/ssmtp/2.64/recipe-sysroot-native=  -pipe   -c -o ../ssmtp-2.64/ssmtp.o ../ssmtp-2.64/ssmtp.c
../ssmtp-2.64/ssmtp.c: In function 'strip_post_ws':
../ssmtp-2.64/ssmtp.c:265:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  265 |                 *p = (char)NULL;
      |                      ^
../ssmtp-2.64/ssmtp.c: In function 'addr_parse':
../ssmtp-2.64/ssmtp.c:291:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  291 |                         *p = (char)NULL;
      |                              ^
../ssmtp-2.64/ssmtp.c:314:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  314 |                 *q = (char)NULL;
      |                      ^
../ssmtp-2.64/ssmtp.c: In function 'standardise':
../ssmtp-2.64/ssmtp.c:367:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  367 |                 *p = (char)NULL;
      |                      ^
../ssmtp-2.64/ssmtp.c:373:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  373 |                         str[sl - 1] = (char)NULL;
      |                                       ^
../ssmtp-2.64/ssmtp.c: In function 'revaliases':
../ssmtp-2.64/ssmtp.c:394:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  394 |                                 *p = (char)NULL;
      |                                      ^
../ssmtp-2.64/ssmtp.c: In function 'rcpt_save':
../ssmtp-2.64/ssmtp.c:529:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  529 |         if(*str == (char)NULL) {
      |                    ^
../ssmtp-2.64/ssmtp.c: In function 'rcpt_parse':
../ssmtp-2.64/ssmtp.c:586:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  586 |                 if(*(q + 1) == (char)NULL) {
      |                                ^
../ssmtp-2.64/ssmtp.c:594:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  594 |                         *q = (char)NULL;
      |                              ^
../ssmtp-2.64/ssmtp.c: In function 'header_save':
../ssmtp-2.64/ssmtp.c:686:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  686 |                 if(*(p + 6) == (char)NULL) {
      |                                ^
../ssmtp-2.64/ssmtp.c: In function 'header_parse':
../ssmtp-2.64/ssmtp.c:751:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  751 |         char l = (char)NULL;
      |                  ^
../ssmtp-2.64/ssmtp.c:794:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  794 |                                                 *q = (char)NULL;
      |                                                      ^
../ssmtp-2.64/ssmtp.c:796:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  796 |                                                         *q = (char)NULL;
      |                                                              ^
../ssmtp-2.64/ssmtp.c:813:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  813 |                         *q = (char)NULL;
      |                              ^
../ssmtp-2.64/ssmtp.c: In function 'read_config':
../ssmtp-2.64/ssmtp.c:873:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  873 |                         *p = (char)NULL;
      |                              ^
../ssmtp-2.64/ssmtp.c: In function 'smtp_open':
../ssmtp-2.64/ssmtp.c:1122:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1122 |         meth=SSLv23_client_method();
      |             ^
../ssmtp-2.64/ssmtp.c: In function 'fd_gets':
../ssmtp-2.64/ssmtp.c:1307:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 1307 |         buf[i] = (char)NULL;
      |                  ^
../ssmtp-2.64/ssmtp.c: In function 'ssmtp':
../ssmtp-2.64/ssmtp.c:1454:31: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
 1454 |         (void)signal(SIGALRM, (void(*)())handler);      /* Catch SIGALRM */
      |                               ^~~~~~~~~~~~~~~~~~
      |                               |
      |                               void (*)(void)
In file included from TOPDIR/tmp/work/core2-64-oe-linux/ssmtp/2.64/recipe-sysroot/usr/include/sys/param.h:28,
                 from ../ssmtp-2.64/ssmtp.c:18:
TOPDIR/tmp/work/core2-64-oe-linux/ssmtp/2.64/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)
      |                                          ~~~~~~~~~~~~~~~^~~~~~~~~
../ssmtp-2.64/ssmtp.c:1393:6: note: 'handler' declared here
 1393 | void handler(void)
      |      ^~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/ssmtp/2.64/recipe-sysroot/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~
../ssmtp-2.64/ssmtp.c: In function 'parse_options':
../ssmtp-2.64/ssmtp.c:1734:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 1734 |                 while(argv[i][++j] != (char)NULL) {
      |                                       ^
make: *** [<builtin>: ../ssmtp-2.64/ssmtp.o] Error 1
ERROR: oe_runmake failed
WARNING: TOPDIR/tmp/work/core2-64-oe-linux/ssmtp/2.64/temp/run.do_compile.1144708:181 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script): 
	#1: bbfatal_log, TOPDIR/tmp/work/core2-64-oe-linux/ssmtp/2.64/temp/run.do_compile.1144708, line 181
	#2: die, TOPDIR/tmp/work/core2-64-oe-linux/ssmtp/2.64/temp/run.do_compile.1144708, line 165
	#3: oe_runmake, TOPDIR/tmp/work/core2-64-oe-linux/ssmtp/2.64/temp/run.do_compile.1144708, line 160
	#4: autotools_do_compile, TOPDIR/tmp/work/core2-64-oe-linux/ssmtp/2.64/temp/run.do_compile.1144708, line 155
	#5: do_compile, TOPDIR/tmp/work/core2-64-oe-linux/ssmtp/2.64/temp/run.do_compile.1144708, line 150
	#6: main, TOPDIR/tmp/work/core2-64-oe-linux/ssmtp/2.64/temp/run.do_compile.1144708, line 194

Error details

Submitted on:
01/04/25 06:32
Error type:
Recipe
Task:
do_compile
Recipe:
ssmtp
Recipe version:
2.64-r0
Machine:
qemux86-64
Distro:
nodistro
Build system:
x86_64-linux
Target system:
x86_64-oe-linux
Host distro:
gentoo-2.17/gentoo-2.17
Branch:
jansa/master
Commit:
82232e3cb46f310f823d3aea6111cb4bb5365c3c
Build:
#203667
Submitter:
Martin.Jansa@gmail.com
Similar errors:
3
Open a bug