+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/ssmtp.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild warning: Macro expanded in comment on line 38: %{_sbindir}/sendmail warning: Macro expanded in comment on line 39: %{_bindir}/mailq warning: bogus date in %changelog: Wed Sep 26 2013 Manuel "lonely wolf" Wolfshant - 2.64-10 warning: bogus date in %changelog: Wed Aug 20 2013 Manuel "lonely wolf" Wolfshant - 2.64-9 warning: bogus date in %changelog: Wed Feb 17 2009 Manuel "lonely wolf" Wolfshant 2.61-11.9 warning: bogus date in %changelog: Fri Aug 22 2007 lonely wolf 2.61-11.3.1 warning: bogus date in %changelog: Mon Oct 10 2006 lonely wolf 2.61-8 warning: bogus date in %changelog: Mon Oct 10 2006 lonely wolf 2.61-7 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Zfi3aJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ssmtp-2.64 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/ssmtp_2.64.orig.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ssmtp-2.64 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (ssmtp-md5auth-non-rsa.patch):' Patch #1 (ssmtp-md5auth-non-rsa.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .gplmd5 --fuzz=0 patching file md5auth/global.h patching file md5auth/hmac.h patching file md5auth/hmac_md5.c patching file md5auth/hmac-md5.c patching file md5auth/hmac_md5.h patching file md5auth/md5.c patching file md5auth/md5c.c patching file md5auth/md5.h patching file md5auth/memxor.c patching file md5auth/memxor.h patching file md5auth/README patching file ssmtp.c patching file configure + echo 'Patch #2 (ssmtp-garbage_writes.patch):' Patch #2 (ssmtp-garbage_writes.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .garbage --fuzz=0 patching file ssmtp.c Hunk #1 succeeded at 1659 (offset 4 lines). + echo 'Patch #8 (ssmtp-authpass.patch):' Patch #8 (ssmtp-authpass.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .authpass --fuzz=0 patching file ssmtp.c Hunk #1 succeeded at 1047 (offset -4 lines). + echo 'Patch #10 (ssmtp-aliases.patch):' Patch #10 (ssmtp-aliases.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .aliases --fuzz=0 patching file Makefile.in patching file ssmtp.c Hunk #1 succeeded at 425 (offset -4 lines). Hunk #2 succeeded at 694 (offset -4 lines). patching file README patching file ssmtp.8 patching file ssmtp.c Hunk #1 succeeded at 1777 (offset -4 lines). + echo 'Patch #11 (ssmtp-remote-addr.patch):' Patch #11 (ssmtp-remote-addr.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .remote-ip --fuzz=0 patching file ssmtp.c Hunk #1 succeeded at 1461 (offset 52 lines). Hunk #2 succeeded at 1665 (offset 52 lines). + echo 'Patch #12 (ssmtp-validate-TLS-server-cert.patch):' Patch #12 (ssmtp-validate-TLS-server-cert.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .tls --fuzz=0 patching file ssmtp.conf.5 patching file ssmtp.c patching file TLS + echo 'Patch #21 (ssmtp-defaultvalues.patch):' Patch #21 (ssmtp-defaultvalues.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .saneconf --fuzz=0 patching file ssmtp.conf + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Ip3C99 + umask 022 + cd /builddir/build/BUILD + cd ssmtp-2.64 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-ssl --enable-md5auth --enable-inet6 checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for strings.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... 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 _doprnt... no checking for gethostname... yes checking for socket... yes checking for strdup... yes checking for strstr... yes checking for C/C++ restrict keyword... restrict configure: creating ./config.status config.status: creating Makefile + make -j4 gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -DMD5AUTH=1 -DSSMTPCONFDIR=\"/etc/ssmtp\" -DCONFIGURATION_FILE=\"/etc/ssmtp/ssmtp.conf\" -DREVALIASES_FILE=\"/etc/ssmtp/revaliases\" -DALIASES_FILE=\"/etc/aliases\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o ssmtp.o ssmtp.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -DMD5AUTH=1 -DSSMTPCONFDIR=\"/etc/ssmtp\" -DCONFIGURATION_FILE=\"/etc/ssmtp/ssmtp.conf\" -DREVALIASES_FILE=\"/etc/ssmtp/revaliases\" -DALIASES_FILE=\"/etc/aliases\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o arpadate.o arpadate.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -DMD5AUTH=1 -DSSMTPCONFDIR=\"/etc/ssmtp\" -DCONFIGURATION_FILE=\"/etc/ssmtp/ssmtp.conf\" -DREVALIASES_FILE=\"/etc/ssmtp/revaliases\" -DALIASES_FILE=\"/etc/aliases\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o base64.o base64.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -DMD5AUTH=1 -DSSMTPCONFDIR=\"/etc/ssmtp\" -DCONFIGURATION_FILE=\"/etc/ssmtp/ssmtp.conf\" -DREVALIASES_FILE=\"/etc/ssmtp/revaliases\" -DALIASES_FILE=\"/etc/aliases\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o xgethostname.o xgethostname.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -DMD5AUTH=1 -DSSMTPCONFDIR=\"/etc/ssmtp\" -DCONFIGURATION_FILE=\"/etc/ssmtp/ssmtp.conf\" -DREVALIASES_FILE=\"/etc/ssmtp/revaliases\" -DALIASES_FILE=\"/etc/aliases\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o md5auth/md5.o md5auth/md5.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -DMD5AUTH=1 -DSSMTPCONFDIR=\"/etc/ssmtp\" -DCONFIGURATION_FILE=\"/etc/ssmtp/ssmtp.conf\" -DREVALIASES_FILE=\"/etc/ssmtp/revaliases\" -DALIASES_FILE=\"/etc/aliases\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o md5auth/hmac-md5.o md5auth/hmac-md5.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -DMD5AUTH=1 -DSSMTPCONFDIR=\"/etc/ssmtp\" -DCONFIGURATION_FILE=\"/etc/ssmtp/ssmtp.conf\" -DREVALIASES_FILE=\"/etc/ssmtp/revaliases\" -DALIASES_FILE=\"/etc/aliases\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o md5auth/memxor.o md5auth/memxor.c ssmtp.c:60:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] char *auth_user = (char)NULL; ^ ssmtp.c:60:19: warning: initialization makes pointer from integer without a cast [-Wint-conversion] ssmtp.c:61:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] char *auth_pass = (char)NULL; ^ ssmtp.c:61:19: warning: initialization makes pointer from integer without a cast [-Wint-conversion] ssmtp.c:62:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] char *auth_method = (char)NULL; /* Mechanism for SMTP authentication */ ^ ssmtp.c:62:21: warning: initialization makes pointer from integer without a cast [-Wint-conversion] ssmtp.c:63:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] char *mail_domain = (char)NULL; ^ ssmtp.c:63:21: warning: initialization makes pointer from integer without a cast [-Wint-conversion] ssmtp.c:64:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] char *from = (char)NULL; /* Use this as the From: address */ ^ ssmtp.c:64:14: warning: initialization makes pointer from integer without a cast [-Wint-conversion] ssmtp.c:67:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] char *minus_f = (char)NULL; ^ ssmtp.c:67:17: warning: initialization makes pointer from integer without a cast [-Wint-conversion] ssmtp.c:68:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] char *minus_F = (char)NULL; ^ ssmtp.c:68:17: warning: initialization makes pointer from integer without a cast [-Wint-conversion] ssmtp.c:70:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] char *prog = (char)NULL; ^ ssmtp.c:70:14: warning: initialization makes pointer from integer without a cast [-Wint-conversion] ssmtp.c:76:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] char *uad = (char)NULL; ^ ssmtp.c:76:13: warning: initialization makes pointer from integer without a cast [-Wint-conversion] ssmtp.c:77:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] char *config_file = (char)NULL; /* alternate configuration file */ ^ ssmtp.c:77:21: warning: initialization makes pointer from integer without a cast [-Wint-conversion] ssmtp.c: In function 'strip_post_ws': ssmtp.c:269:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] *p = (char)NULL; ^ ssmtp.c: In function 'addr_parse': ssmtp.c:295:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] *p = (char)NULL; ^ ssmtp.c:318:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] *q = (char)NULL; ^ ssmtp.c: In function 'standardise': ssmtp.c:371:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] *p = (char)NULL; ^ ssmtp.c:357:9: warning: unused variable 'sl' [-Wunused-variable] size_t sl; ^~ ssmtp.c: In function 'revaliases': ssmtp.c:392:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] *p = (char)NULL; ^ ssmtp.c: In function 'aliases_lookup': ssmtp.c:448:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] *p = (char)NULL; ^ ssmtp.c: In function 'rcpt_save': ssmtp.c:571:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if(*str == (char)NULL) { ^ ssmtp.c: In function 'rcpt_parse': ssmtp.c:628:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if(*(q + 1) == (char)NULL) { ^ ssmtp.c:636:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] *q = (char)NULL; ^ ssmtp.c: In function 'crammd5': ssmtp.c:666:11: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy (secret, password, sizeof(secret)); ^~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/socket.h:22, from ssmtp.c:16: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ssmtp.c:669:15: warning: pointer targets in passing argument 1 of 'from64tobits' differ in signedness [-Wpointer-sign] from64tobits(challenge, challengeb64); ^~~~~~~~~ In file included from ssmtp.c:40:0: ssmtp.h:45:5: note: expected 'char *' but argument is of type 'unsigned char *' int from64tobits(char *, const char *); ^~~~~~~~~~~~ ssmtp.c:671:29: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] hmac_md5(challenge, strlen(challenge), secret, strlen(secret), digest); ^~~~~~~~~ In file included from ssmtp.c:25:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ ssmtp.c:671:56: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] hmac_md5(challenge, strlen(challenge), secret, strlen(secret), digest); ^~~~~~ In file included from ssmtp.c:25:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ ssmtp.c:682:11: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy (response, username, sizeof(response) - sizeof(digascii) - 2); ^~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/socket.h:22, from ssmtp.c:16: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ssmtp.c:683:10: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat (response, " "); ^~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/socket.h:22, from ssmtp.c:16: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ ssmtp.c:684:10: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat (response, digascii); ^~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/socket.h:22, from ssmtp.c:16: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ ssmtp.c:684:20: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat (response, digascii); ^~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/socket.h:22, from ssmtp.c:16: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ ssmtp.c:685:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] to64frombits(responseb64, response, strlen(response)); ^~~~~~~~ In file included from ssmtp.c:25:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ ssmtp.c:685:15: warning: pointer targets in passing argument 1 of 'to64frombits' differ in signedness [-Wpointer-sign] to64frombits(responseb64, response, strlen(response)); ^~~~~~~~~~~ In file included from ssmtp.c:40:0: ssmtp.h:44:6: note: expected 'unsigned char *' but argument is of type 'char *' void to64frombits(unsigned char *, const unsigned char *, int); ^~~~~~~~~~~~ ssmtp.c: In function 'header_save': ssmtp.c:733:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if(*(p + 6) == (char)NULL) { ^ ssmtp.c: In function 'header_parse': ssmtp.c:798:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] char l = (char)NULL; ^ ssmtp.c:833:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] *q = (char)NULL; ^ ssmtp.c:835:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] *q = (char)NULL; ^ ssmtp.c:866:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] *q = (char)NULL; ^ ssmtp.c:868:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] *q = (char)NULL; ^ ssmtp.c: In function 'read_config': ssmtp.c:933:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] *p = (char)NULL; ^ ssmtp.c: In function 'smtp_open': ssmtp.c:1212:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] meth=SSLv23_client_method(); ^ ssmtp.c: In function 'fd_gets': ssmtp.c:1411:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] buf[i] = (char)NULL; ^ ssmtp.c: In function 'ssmtp': ssmtp.c:1610:16: warning: pointer targets in passing argument 1 of 'to64frombits' differ in signedness [-Wpointer-sign] to64frombits(buf, auth_user, strlen(auth_user)); ^~~ In file included from ssmtp.c:40:0: ssmtp.h:44:6: note: expected 'unsigned char *' but argument is of type 'char *' void to64frombits(unsigned char *, const unsigned char *, int); ^~~~~~~~~~~~ ssmtp.c:1610:21: warning: pointer targets in passing argument 2 of 'to64frombits' differ in signedness [-Wpointer-sign] to64frombits(buf, auth_user, strlen(auth_user)); ^~~~~~~~~ In file included from ssmtp.c:40:0: ssmtp.h:44:6: note: expected 'const unsigned char *' but argument is of type 'char *' void to64frombits(unsigned char *, const unsigned char *, int); ^~~~~~~~~~~~ ssmtp.c:1622:17: warning: pointer targets in passing argument 1 of 'to64frombits' differ in signedness [-Wpointer-sign] to64frombits(buf, auth_user, strlen(auth_user)); ^~~ In file included from ssmtp.c:40:0: ssmtp.h:44:6: note: expected 'unsigned char *' but argument is of type 'char *' void to64frombits(unsigned char *, const unsigned char *, int); ^~~~~~~~~~~~ ssmtp.c:1622:22: warning: pointer targets in passing argument 2 of 'to64frombits' differ in signedness [-Wpointer-sign] to64frombits(buf, auth_user, strlen(auth_user)); ^~~~~~~~~ In file included from ssmtp.c:40:0: ssmtp.h:44:6: note: expected 'const unsigned char *' but argument is of type 'char *' void to64frombits(unsigned char *, const unsigned char *, int); ^~~~~~~~~~~~ ssmtp.c:1632:16: warning: pointer targets in passing argument 1 of 'to64frombits' differ in signedness [-Wpointer-sign] to64frombits(buf, auth_pass, strlen(auth_pass)); ^~~ In file included from ssmtp.c:40:0: ssmtp.h:44:6: note: expected 'unsigned char *' but argument is of type 'char *' void to64frombits(unsigned char *, const unsigned char *, int); ^~~~~~~~~~~~ ssmtp.c:1632:21: warning: pointer targets in passing argument 2 of 'to64frombits' differ in signedness [-Wpointer-sign] to64frombits(buf, auth_pass, strlen(auth_pass)); ^~~~~~~~~ In file included from ssmtp.c:40:0: ssmtp.h:44:6: note: expected 'const unsigned char *' but argument is of type 'char *' void to64frombits(unsigned char *, const unsigned char *, int); ^~~~~~~~~~~~ ssmtp.c:1714:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(remote_addr=getenv("REMOTE_ADDR")) { ^~~~~~~~~~~ ssmtp.c: In function 'parse_options': ssmtp.c:1843:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] while(argv[i][++j] != (char)NULL) { ^ ssmtp.c: In function 'crammd5': ssmtp.c:677:10: warning: array subscript is above array bounds [-Warray-bounds] digascii[MD5_DIGEST_LEN * 2] = '\0'; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ gcc -o ssmtp ssmtp.o arpadate.o base64.o xgethostname.o md5auth/md5.o md5auth/hmac-md5.o md5auth/memxor.o -lssl -lcrypto -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -DMD5AUTH=1 -DSSMTPCONFDIR=\"/etc/ssmtp\" -DCONFIGURATION_FILE=\"/etc/ssmtp/ssmtp.conf\" -DREVALIASES_FILE=\"/etc/ssmtp/revaliases\" -DALIASES_FILE=\"/etc/aliases\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.A5VlKO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ssmtp-2.64-16.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ssmtp-2.64-16.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/ssmtp-2.64-16.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ssmtp-2.64-16.fc28.riscv64 + cd ssmtp-2.64 + rm -rf /builddir/build/BUILDROOT/ssmtp-2.64-16.fc28.riscv64 + install -p -D -m 2750 ssmtp /builddir/build/BUILDROOT/ssmtp-2.64-16.fc28.riscv64/usr/sbin/ssmtp + mkdir /builddir/build/BUILDROOT/ssmtp-2.64-16.fc28.riscv64/usr/bin/ + install -p -D -m 644 revaliases /builddir/build/BUILDROOT/ssmtp-2.64-16.fc28.riscv64/etc/ssmtp/revaliases + install -p -m 640 ssmtp.conf /builddir/build/BUILDROOT/ssmtp-2.64-16.fc28.riscv64/etc/ssmtp/ssmtp.conf + install -p -D -m 644 ssmtp.8 /builddir/build/BUILDROOT/ssmtp-2.64-16.fc28.riscv64/usr/share/man/man8/ssmtp.8 + install -m 644 /builddir/build/SOURCES/mailq.8 /builddir/build/BUILDROOT/ssmtp-2.64-16.fc28.riscv64/usr/share/man/man8/mailq.ssmtp.8 + install -m 644 /builddir/build/SOURCES/newaliases.8 /builddir/build/BUILDROOT/ssmtp-2.64-16.fc28.riscv64/usr/share/man/man8/newaliases.ssmtp.8 + install -p -D -m 644 ssmtp.conf.5 /builddir/build/BUILDROOT/ssmtp-2.64-16.fc28.riscv64/usr/share/man/man5/ssmtp.conf.5 + ln -s /usr/sbin/ssmtp /builddir/build/BUILDROOT/ssmtp-2.64-16.fc28.riscv64/usr/sbin/sendmail.ssmtp + ln -s /usr/sbin/ssmtp /builddir/build/BUILDROOT/ssmtp-2.64-16.fc28.riscv64/usr/bin/newaliases.ssmtp + ln -s /usr/sbin/ssmtp /builddir/build/BUILDROOT/ssmtp-2.64-16.fc28.riscv64/usr/bin/mailq.ssmtp + touch /builddir/build/BUILDROOT/ssmtp-2.64-16.fc28.riscv64/usr/sbin/sendmail + touch /builddir/build/BUILDROOT/ssmtp-2.64-16.fc28.riscv64/usr/bin/mailq + touch /builddir/build/BUILDROOT/ssmtp-2.64-16.fc28.riscv64/usr/bin/newaliases + touch /builddir/build/BUILDROOT/ssmtp-2.64-16.fc28.riscv64/usr/share/man/man8/mailq.8.gz + touch /builddir/build/BUILDROOT/ssmtp-2.64-16.fc28.riscv64/usr/share/man/man8/newaliases.8.gz + touch /builddir/build/BUILDROOT/ssmtp-2.64-16.fc28.riscv64/usr/share/man/man8/sendmail.8.gz + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/ssmtp-2.64-16.fc28.riscv64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress gzip: ./usr/share/man/man8/sendmail.8.gz: unexpected end of file ls: cannot access './usr/share/man/man8/sendmail.8': No such file or directory find: invalid argument `-inum' to `-inum' gzip: ./usr/share/man/man8/sendmail.8: No such file or directory gzip: ./usr/share/man/man8/newaliases.8.gz: unexpected end of file ls: cannot access './usr/share/man/man8/newaliases.8': No such file or directory find: invalid argument `-inum' to `-inum' gzip: ./usr/share/man/man8/newaliases.8: No such file or directory gzip: ./usr/share/man/man8/mailq.8.gz: unexpected end of file ls: cannot access './usr/share/man/man8/mailq.8': No such file or directory find: invalid argument `-inum' to `-inum' gzip: ./usr/share/man/man8/mailq.8: No such file or directory + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: ssmtp-2.64-16.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Bm70Qm + umask 022 + cd /builddir/build/BUILD + cd ssmtp-2.64 + DOCDIR=/builddir/build/BUILDROOT/ssmtp-2.64-16.fc28.riscv64/usr/share/doc/ssmtp + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ssmtp-2.64-16.fc28.riscv64/usr/share/doc/ssmtp + cp -pr COPYING /builddir/build/BUILDROOT/ssmtp-2.64-16.fc28.riscv64/usr/share/doc/ssmtp + cp -pr INSTALL /builddir/build/BUILDROOT/ssmtp-2.64-16.fc28.riscv64/usr/share/doc/ssmtp + cp -pr README /builddir/build/BUILDROOT/ssmtp-2.64-16.fc28.riscv64/usr/share/doc/ssmtp + cp -pr TLS /builddir/build/BUILDROOT/ssmtp-2.64-16.fc28.riscv64/usr/share/doc/ssmtp + cp -pr CHANGELOG_OLD /builddir/build/BUILDROOT/ssmtp-2.64-16.fc28.riscv64/usr/share/doc/ssmtp + cp -pr ChangeLog /builddir/build/BUILDROOT/ssmtp-2.64-16.fc28.riscv64/usr/share/doc/ssmtp + cp -pr COPYRIGHT /builddir/build/BUILDROOT/ssmtp-2.64-16.fc28.riscv64/usr/share/doc/ssmtp + exit 0 warning: File listed twice: /usr/share/man/man8/mailq.8.gz warning: File listed twice: /usr/share/man/man8/newaliases.8.gz warning: File listed twice: /usr/share/man/man8/sendmail.8.gz Provides: config(ssmtp) = 2.64-16.fc28 ssmtp = 2.64-16.fc28 ssmtp(riscv-64) = 2.64-16.fc28 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh /usr/sbin/alternatives Requires(preun): /bin/sh /usr/sbin/alternatives Requires(postun): /bin/sh Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libssl.so.1.1()(64bit) libssl.so.1.1(OPENSSL_1_1_0)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ssmtp-2.64-16.fc28.riscv64 Wrote: /builddir/build/SRPMS/ssmtp-2.64-16.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/ssmtp-2.64-16.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.WeFdDo + umask 022 + cd /builddir/build/BUILD + cd ssmtp-2.64 + rm -rf /builddir/build/BUILDROOT/ssmtp-2.64-16.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff