* Package: mail-mta/ssmtp-2.64-r4:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc ipv6 kernel_linux mta ssl userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking ssmtp_2.64.orig.tar.bz2 to /var/tmp/portage/mail-mta/ssmtp-2.64-r4/work >>> Unpacking ssmtp-2.64-patches-4.tar.xz to /var/tmp/portage/mail-mta/ssmtp-2.64-r4/work >>> Source unpacked in /var/tmp/portage/mail-mta/ssmtp-2.64-r4/work >>> Preparing source in /var/tmp/portage/mail-mta/ssmtp-2.64-r4/work/ssmtp-2.64 ... * Applying 0010_all_maxsysuid.patch ... [ ok ] * Applying 0020_all_from-format-fix.patch ... [ ok ] * Applying 0030_all_authpass.patch ... [ ok ] * Applying 0040_all_darwin7.patch ... [ ok ] * Applying 0050_all_strndup.patch ... [ ok ] * Applying 0060_all_opessl_crypto.patch ... [ ok ] * Applying 0070_all_solaris-basename.patch ... [ ok ] * Applying 0080_all_gnutls.patch ... [ ok ] * Applying 0090_all_debian-remote-addr.patch ... [ ok ] * Applying 0100_all_ldflags.patch ... [ ok ] * Applying 0110_all_stdint.patch ... [ ok ] * Applying 0120_all_aliases.patch ... [ ok ] * Applying 0130_all_garbage-writes.patch ... [ ok ] * Running 'autoconf' ... [ ok ] >>> Source prepared. * Clang 16 testing: this build is using a /etc/portage/bashrc hook! >>> Configuring source in /var/tmp/portage/mail-mta/ssmtp-2.64-r4/work/ssmtp-2.64 ... * econf: updating ssmtp-2.64/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ssmtp-2.64/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/ssmtp-2.64-r4 --htmldir=/usr/share/doc/ssmtp-2.64-r4/html --libdir=/usr/lib64 --sysconfdir=/etc/ssmtp --enable-ssl --without-gnutls --enable-inet6 --enable-md5auth checking for x86_64-pc-linux-gnu-gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... none needed checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking whether ln -s works... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for limits.h... yes checking for strings.h... (cached) yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for obsolete openlog... no checking for an ANSI C-conforming const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for library containing gethostname... none required checking for library containing socket... none required checking return type of signal handlers... void checking for vprintf... yes checking for gethostname... yes checking for socket... yes checking for strdup... yes checking for strndup... yes checking for strstr... yes configure: creating ./config.status config.status: creating Makefile >>> Source configured. >>> Compiling source in /var/tmp/portage/mail-mta/ssmtp-2.64-r4/work/ssmtp-2.64 ... make -j4 etcdir=/etc clang -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_STRNDUP=1 -DHAVE_STRSTR=1 -DREWRITE_DOMAIN=1 -DHAVE_SSL=1 -DINET6=1 -DMD5AUTH=1 -DSSMTPCONFDIR=\"/etc/ssmtp\" -DCONFIGURATION_FILE=\"/etc/ssmtp/ssmtp.conf\" -DREVALIASES_FILE=\"/etc/ssmtp/revaliases\" -DALIASES_FILE=\"/etc/mail/aliases\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o ssmtp.o ssmtp.c clang -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_STRNDUP=1 -DHAVE_STRSTR=1 -DREWRITE_DOMAIN=1 -DHAVE_SSL=1 -DINET6=1 -DMD5AUTH=1 -DSSMTPCONFDIR=\"/etc/ssmtp\" -DCONFIGURATION_FILE=\"/etc/ssmtp/ssmtp.conf\" -DREVALIASES_FILE=\"/etc/ssmtp/revaliases\" -DALIASES_FILE=\"/etc/mail/aliases\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o arpadate.o arpadate.c clang -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_STRNDUP=1 -DHAVE_STRSTR=1 -DREWRITE_DOMAIN=1 -DHAVE_SSL=1 -DINET6=1 -DMD5AUTH=1 -DSSMTPCONFDIR=\"/etc/ssmtp\" -DCONFIGURATION_FILE=\"/etc/ssmtp/ssmtp.conf\" -DREVALIASES_FILE=\"/etc/ssmtp/revaliases\" -DALIASES_FILE=\"/etc/mail/aliases\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o base64.o base64.c clang -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_STRNDUP=1 -DHAVE_STRSTR=1 -DREWRITE_DOMAIN=1 -DHAVE_SSL=1 -DINET6=1 -DMD5AUTH=1 -DSSMTPCONFDIR=\"/etc/ssmtp\" -DCONFIGURATION_FILE=\"/etc/ssmtp/ssmtp.conf\" -DREVALIASES_FILE=\"/etc/ssmtp/revaliases\" -DALIASES_FILE=\"/etc/mail/aliases\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o xgethostname.o xgethostname.c clang -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_STRNDUP=1 -DHAVE_STRSTR=1 -DREWRITE_DOMAIN=1 -DHAVE_SSL=1 -DINET6=1 -DMD5AUTH=1 -DSSMTPCONFDIR=\"/etc/ssmtp\" -DCONFIGURATION_FILE=\"/etc/ssmtp/ssmtp.conf\" -DREVALIASES_FILE=\"/etc/ssmtp/revaliases\" -DALIASES_FILE=\"/etc/mail/aliases\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o md5auth/md5c.o md5auth/md5c.c clang -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_STRNDUP=1 -DHAVE_STRSTR=1 -DREWRITE_DOMAIN=1 -DHAVE_SSL=1 -DINET6=1 -DMD5AUTH=1 -DSSMTPCONFDIR=\"/etc/ssmtp\" -DCONFIGURATION_FILE=\"/etc/ssmtp/ssmtp.conf\" -DREVALIASES_FILE=\"/etc/ssmtp/revaliases\" -DALIASES_FILE=\"/etc/mail/aliases\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o md5auth/hmac_md5.o md5auth/hmac_md5.c md5auth/md5c.c:100:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void MD5Init (context) ^ In file included from md5auth/md5c.c:28: md5auth/md5.h:35:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void MD5Init PROTO_LIST ((MD5_CTX *)); ^ md5auth/md5c.c:138:4: warning: passing arguments to 'MD5_memcpy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ((POINTER)&context->buffer[index], (POINTER)input, partLen); ^ md5auth/md5c.c:139:15: warning: passing arguments to 'MD5Transform' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MD5Transform (context->state, context->buffer); ^ md5auth/md5c.c:142:17: warning: passing arguments to 'MD5Transform' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MD5Transform (context->state, &input[i]); ^ md5auth/md5c.c:151:2: warning: passing arguments to 'MD5_memcpy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ((POINTER)&context->buffer[index], (POINTER)&input[i], ^ md5auth/md5c.c:116:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void MD5Update (context, input, inputLen) ^ In file included from md5auth/md5c.c:28: md5auth/md5.h:36:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void MD5Update PROTO_LIST ^ md5auth/md5c.c:166:10: warning: passing arguments to 'Encode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Encode (bits, context->count, 8); ^ md5auth/md5c.c:177:10: warning: passing arguments to 'Encode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Encode (digest, context->state, 16); ^ md5auth/md5c.c:181:14: warning: passing arguments to 'MD5_memset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MD5_memset ((POINTER)context, 0, sizeof (*context)); ^ md5auth/md5c.c:158:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void MD5Final (digest, context) ^ In file included from md5auth/md5c.c:28: md5auth/md5.h:38:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void MD5Final PROTO_LIST ((unsigned char [16], MD5_CTX *)); ^ md5auth/md5c.c:192:10: warning: passing arguments to 'Decode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Decode (x, block, 64); ^ md5auth/md5c.c:273:14: warning: passing arguments to 'MD5_memset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MD5_memset ((POINTER)x, 0, sizeof (x)); ^ md5auth/md5c.c:186:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void MD5Transform (state, block) ^ md5auth/md5c.c:279:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Encode (output, input, len) ^ md5auth/md5c.c:297:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Decode (output, input, len) ^ md5auth/md5c.c:312:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void MD5_memcpy (output, input, len) ^ md5auth/md5c.c:325:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void MD5_memset (output, value, len) ^ md5auth/hmac_md5.c:27:24: warning: passing arguments to 'MD5Init' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MD5Init(&tctx); ^ md5auth/hmac_md5.c:28:26: warning: passing arguments to 'MD5Update' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MD5Update(&tctx, key, key_len); ^ md5auth/hmac_md5.c:29:25: warning: passing arguments to 'MD5Final' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MD5Final(tk, &tctx); ^ md5auth/hmac_md5.c:60:16: warning: passing arguments to 'MD5Init' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MD5Init(&context); /* init context for 1st pass */ ^ md5auth/hmac_md5.c:61:18: warning: passing arguments to 'MD5Update' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MD5Update(&context, k_ipad, 64); /* start with inner pad */ ^ md5auth/hmac_md5.c:62:18: warning: passing arguments to 'MD5Update' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MD5Update(&context, text, text_len); /* then text of datagram */ ^ md5auth/hmac_md5.c:63:17: warning: passing arguments to 'MD5Final' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MD5Final(digest, &context); /* finish up 1st pass */ ^ md5auth/hmac_md5.c:67:16: warning: passing arguments to 'MD5Init' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MD5Init(&context); /* init context for 2nd ^ md5auth/hmac_md5.c:69:18: warning: passing arguments to 'MD5Update' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MD5Update(&context, k_opad, 64); /* start with outer pad */ ^ md5auth/hmac_md5.c:70:18: warning: passing arguments to 'MD5Update' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MD5Update(&context, digest, 16); /* then results of 1st ^ md5auth/hmac_md5.c:72:17: warning: passing arguments to 'MD5Final' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MD5Final(digest, &context); /* finish up 2nd pass */ ^ ssmtp.c:63:19: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] char *auth_user = (char)NULL; ^~~~~~~~~~ ssmtp.c:63:7: error: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'char' [-Wint-conversion] char *auth_user = (char)NULL; ^ ~~~~~~~~~~ ssmtp.c:64:19: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] char *auth_pass = (char)NULL; ^~~~~~~~~~ ssmtp.c:64:7: error: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'char' [-Wint-conversion] char *auth_pass = (char)NULL; ^ ~~~~~~~~~~ ssmtp.c:65:21: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] char *auth_method = (char)NULL; /* Mechanism for SMTP authentication */ ^~~~~~~~~~ ssmtp.c:65:7: error: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'char' [-Wint-conversion] char *auth_method = (char)NULL; /* Mechanism for SMTP authentication */ ^ ~~~~~~~~~~ ssmtp.c:66:21: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] char *mail_domain = (char)NULL; ^~~~~~~~~~ ssmtp.c:66:7: error: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'char' [-Wint-conversion] char *mail_domain = (char)NULL; ^ ~~~~~~~~~~ ssmtp.c:67:14: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] char *from = (char)NULL; /* Use this as the From: address */ ^~~~~~~~~~ ssmtp.c:67:7: error: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'char' [-Wint-conversion] char *from = (char)NULL; /* Use this as the From: address */ ^ ~~~~~~~~~~ ssmtp.c:70:17: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] char *minus_f = (char)NULL; ^~~~~~~~~~ ssmtp.c:70:7: error: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'char' [-Wint-conversion] char *minus_f = (char)NULL; ^ ~~~~~~~~~~ ssmtp.c:71:17: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] char *minus_F = (char)NULL; ^~~~~~~~~~ ssmtp.c:71:7: error: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'char' [-Wint-conversion] char *minus_F = (char)NULL; ^ ~~~~~~~~~~ ssmtp.c:73:14: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] char *prog = (char)NULL; ^~~~~~~~~~ ssmtp.c:73:7: error: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'char' [-Wint-conversion] char *prog = (char)NULL; ^ ~~~~~~~~~~ ssmtp.c:76:13: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] char *uad = (char)NULL; ^~~~~~~~~~ ssmtp.c:76:7: error: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'char' [-Wint-conversion] char *uad = (char)NULL; ^ ~~~~~~~~~~ ssmtp.c:77:21: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] char *config_file = (char)NULL; /* alternate configuration file */ ^~~~~~~~~~ ssmtp.c:77:7: error: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'char' [-Wint-conversion] char *config_file = (char)NULL; /* alternate configuration file */ ^ ~~~~~~~~~~ ssmtp.c:268:8: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] *p = (char)NULL; ^~~~~~~~~~ ssmtp.c:294:9: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] *p = (char)NULL; ^~~~~~~~~~ ssmtp.c:317:8: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] *q = (char)NULL; ^~~~~~~~~~ ssmtp.c:370:8: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] *p = (char)NULL; ^~~~~~~~~~ ssmtp.c:391:10: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] *p = (char)NULL; ^~~~~~~~~~ ssmtp.c:447:10: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] *p = (char)NULL; ^~~~~~~~~~ ssmtp.c:570:13: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] if(*str == (char)NULL) { ^~~~~~~~~~ ssmtp.c:627:18: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] if(*(q + 1) == (char)NULL) { ^~~~~~~~~~ ssmtp.c:635:9: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] *q = (char)NULL; ^~~~~~~~~~ ssmtp.c:665:11: warning: passing 'unsigned char[65]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy (secret, password, sizeof(secret)); ^~~~~~ /usr/include/string.h:144:40: note: passing argument to parameter '__dest' here extern char *strncpy (char *__restrict __dest, ^ ssmtp.c:668:15: warning: passing 'unsigned char[2049]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] from64tobits(challenge, challengeb64); ^~~~~~~~~ ./ssmtp.h:45:24: note: passing argument to parameter here int from64tobits(char *, const char *); ^ ssmtp.c:670:29: warning: passing 'unsigned char[2049]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hmac_md5(challenge, strlen(challenge), secret, strlen(secret), digest); ^~~~~~~~~ /usr/include/string.h:407:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ ssmtp.c:670:56: warning: passing 'unsigned char[65]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hmac_md5(challenge, strlen(challenge), secret, strlen(secret), digest); ^~~~~~ /usr/include/string.h:407:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ ssmtp.c:681:11: warning: passing 'unsigned char[2049]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy (response, username, sizeof(response) - sizeof(digascii) - 2); ^~~~~~~~ /usr/include/string.h:144:40: note: passing argument to parameter '__dest' here extern char *strncpy (char *__restrict __dest, ^ ssmtp.c:682:10: warning: passing 'unsigned char[2049]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat (response, " "); ^~~~~~~~ /usr/include/string.h:149:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ ssmtp.c:683:10: warning: passing 'unsigned char[2049]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat (response, digascii); ^~~~~~~~ /usr/include/string.h:149:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ ssmtp.c:683:20: warning: passing 'unsigned char[32]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat (response, digascii); ^~~~~~~~ /usr/include/string.h:149:70: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ ssmtp.c:684:45: warning: passing 'unsigned char[2049]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] to64frombits(responseb64, response, strlen(response)); ^~~~~~~~ /usr/include/string.h:407:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ ssmtp.c:684:15: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] to64frombits(responseb64, response, strlen(response)); ^~~~~~~~~~~ ./ssmtp.h:44:34: note: passing argument to parameter here void to64frombits(unsigned char *, const unsigned char *, int); ^ ssmtp.c:676:2: warning: array index 32 is past the end of the array (which contains 32 elements) [-Warray-bounds] digascii[MD5_DIGEST_LEN * 2] = '\0'; ^ ~~~~~~~~~~~~~~~~~~ ssmtp.c:658:2: note: array 'digascii' declared here unsigned char digascii[MD5_DIGEST_LEN * 2]; ^ ssmtp.c:732:18: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] if(*(p + 6) == (char)NULL) { ^~~~~~~~~~ ssmtp.c:797:11: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] char l = (char)NULL; ^~~~~~~~~~ ssmtp.c:832:12: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] *q = (char)NULL; ^~~~~~~~~~ ssmtp.c:834:13: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] *q = (char)NULL; ^~~~~~~~~~ ssmtp.c:865:12: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] *q = (char)NULL; ^~~~~~~~~~ ssmtp.c:867:13: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] *q = (char)NULL; ^~~~~~~~~~ ssmtp.c:941:9: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] *p = (char)NULL; ^~~~~~~~~~ ssmtp.c:1202:6: warning: assigning to 'SSL_METHOD *' (aka 'struct ssl_method_st *') from 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] meth=SSLv23_client_method(); ^~~~~~~~~~~~~~~~~~~~~~~ 11 warnings generated. ssmtp.c:1393:11: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] buf[i] = (char)NULL; ^~~~~~~~~~ ssmtp.c:1592:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] to64frombits(buf, auth_user, strlen(auth_user)); ^~~ ./ssmtp.h:44:34: note: passing argument to parameter here void to64frombits(unsigned char *, const unsigned char *, int); ^ ssmtp.c:1592:21: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] to64frombits(buf, auth_user, strlen(auth_user)); ^~~~~~~~~ ./ssmtp.h:44:57: note: passing argument to parameter here void to64frombits(unsigned char *, const unsigned char *, int); ^ ssmtp.c:1604:17: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] to64frombits(buf, auth_user, strlen(auth_user)); ^~~ ./ssmtp.h:44:34: note: passing argument to parameter here void to64frombits(unsigned char *, const unsigned char *, int); ^ ssmtp.c:1604:22: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] to64frombits(buf, auth_user, strlen(auth_user)); ^~~~~~~~~ ./ssmtp.h:44:57: note: passing argument to parameter here void to64frombits(unsigned char *, const unsigned char *, int); ^ ssmtp.c:1614:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] to64frombits(buf, auth_pass, strlen(auth_pass)); ^~~ ./ssmtp.h:44:34: note: passing argument to parameter here void to64frombits(unsigned char *, const unsigned char *, int); ^ ssmtp.c:1614:21: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] to64frombits(buf, auth_pass, strlen(auth_pass)); ^~~~~~~~~ ./ssmtp.h:44:57: note: passing argument to parameter here void to64frombits(unsigned char *, const unsigned char *, int); ^ ssmtp.c:1696:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(remote_addr=getenv("REMOTE_ADDR")) { ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ssmtp.c:1696:16: note: place parentheses around the assignment to silence this warning if(remote_addr=getenv("REMOTE_ADDR")) { ^ ( ) ssmtp.c:1696:16: note: use '==' to turn this assignment into an equality comparison if(remote_addr=getenv("REMOTE_ADDR")) { ^ == ssmtp.c:1825:25: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] while(argv[i][++j] != (char)NULL) { ^~~~~~~~~~ 47 warnings and 10 errors generated. make: *** [: ssmtp.o] Error 1 make: *** Waiting for unfinished jobs.... 20 warnings generated. * ERROR: mail-mta/ssmtp-2.64-r4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=mail-mta/ssmtp-2.64-r4::gentoo'`, * the complete build log and the output of `emerge -pqv '=mail-mta/ssmtp-2.64-r4::gentoo'`. * The complete build log is located at '/var/log/portage/mail-mta:ssmtp-2.64-r4:20221105-133603.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/mail-mta/ssmtp-2.64-r4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/mail-mta/ssmtp-2.64-r4/temp/environment'. * Working directory: '/var/tmp/portage/mail-mta/ssmtp-2.64-r4/work/ssmtp-2.64' * S: '/var/tmp/portage/mail-mta/ssmtp-2.64-r4/work/ssmtp-2.64'