Mock Version: 1.1.41 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/ssmtp.spec'], False, '/var/lib/mock/epel-7-x86_64-mockbuilder-1708/root/', None, 0, True, False, 500, 135, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'CCACHE_UMASK': '002'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/ssmtp.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'CCACHE_UMASK': '002'} 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 warning: Could not canonicalize hostname: i-0001a6a9 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ssmtp-2.64-13.el7.centos.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/ssmtp.spec'], False, '/var/lib/mock/epel-7-x86_64-mockbuilder-1708/root/', None, 0, True, False, 500, 135, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'CCACHE_UMASK': '002'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/ssmtp.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'CCACHE_UMASK': '002'} Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.62l17Z 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 + 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 -xf - + 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/cat /builddir/build/SOURCES/ssmtp-md5auth-non-rsa.patch + /usr/bin/patch -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 Patch #2 (ssmtp-garbage_writes.patch): + echo 'Patch #2 (ssmtp-garbage_writes.patch):' + /usr/bin/cat /builddir/build/SOURCES/ssmtp-garbage_writes.patch + /usr/bin/patch -p1 -b --suffix .garbage --fuzz=0 patching file ssmtp.c Hunk #1 succeeded at 1659 (offset 4 lines). Patch #8 (ssmtp-authpass.patch): + echo 'Patch #8 (ssmtp-authpass.patch):' + /usr/bin/cat /builddir/build/SOURCES/ssmtp-authpass.patch + /usr/bin/patch -p1 -b --suffix .authpass --fuzz=0 patching file ssmtp.c Hunk #1 succeeded at 1047 (offset -4 lines). Patch #10 (ssmtp-aliases.patch): + echo 'Patch #10 (ssmtp-aliases.patch):' + /usr/bin/cat /builddir/build/SOURCES/ssmtp-aliases.patch + /usr/bin/patch -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). Patch #11 (ssmtp-remote-addr.patch): + echo 'Patch #11 (ssmtp-remote-addr.patch):' + /usr/bin/cat /builddir/build/SOURCES/ssmtp-remote-addr.patch + /usr/bin/patch -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). Patch #12 (ssmtp-validate-TLS-server-cert.patch): + echo 'Patch #12 (ssmtp-validate-TLS-server-cert.patch):' + /usr/bin/cat /builddir/build/SOURCES/ssmtp-validate-TLS-server-cert.patch + /usr/bin/patch -p1 -b --suffix .tls --fuzz=0 patching file ssmtp.conf.5 patching file ssmtp.c patching file TLS Patch #21 (ssmtp-defaultvalues.patch): + echo 'Patch #21 (ssmtp-defaultvalues.patch):' + /usr/bin/cat /builddir/build/SOURCES/ssmtp-defaultvalues.patch + /usr/bin/patch -p1 -b --suffix .saneconf --fuzz=0 patching file ssmtp.conf + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.23469w + umask 022 + cd /builddir/build/BUILD + cd ssmtp-2.64 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS ++ find . -name config.guess -o -name config.sub + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-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 x86_64-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 -j3 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 -Drestrict=__restrict -DMD5AUTH=1 -DSSMTPCONFDIR=\"/etc/ssmtp\" -DCONFIGURATION_FILE=\"/etc/ssmtp/ssmtp.conf\" -DREVALIASES_FILE=\"/etc/ssmtp/revaliases\" -DALIASES_FILE=\"/etc/aliases\" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -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 -Drestrict=__restrict -DMD5AUTH=1 -DSSMTPCONFDIR=\"/etc/ssmtp\" -DCONFIGURATION_FILE=\"/etc/ssmtp/ssmtp.conf\" -DREVALIASES_FILE=\"/etc/ssmtp/revaliases\" -DALIASES_FILE=\"/etc/aliases\" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -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 -Drestrict=__restrict -DMD5AUTH=1 -DSSMTPCONFDIR=\"/etc/ssmtp\" -DCONFIGURATION_FILE=\"/etc/ssmtp/ssmtp.conf\" -DREVALIASES_FILE=\"/etc/ssmtp/revaliases\" -DALIASES_FILE=\"/etc/aliases\" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -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 -Drestrict=__restrict -DMD5AUTH=1 -DSSMTPCONFDIR=\"/etc/ssmtp\" -DCONFIGURATION_FILE=\"/etc/ssmtp/ssmtp.conf\" -DREVALIASES_FILE=\"/etc/ssmtp/revaliases\" -DALIASES_FILE=\"/etc/aliases\" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -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 -Drestrict=__restrict -DMD5AUTH=1 -DSSMTPCONFDIR=\"/etc/ssmtp\" -DCONFIGURATION_FILE=\"/etc/ssmtp/ssmtp.conf\" -DREVALIASES_FILE=\"/etc/ssmtp/revaliases\" -DALIASES_FILE=\"/etc/aliases\" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -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 -Drestrict=__restrict -DMD5AUTH=1 -DSSMTPCONFDIR=\"/etc/ssmtp\" -DCONFIGURATION_FILE=\"/etc/ssmtp/ssmtp.conf\" -DREVALIASES_FILE=\"/etc/ssmtp/revaliases\" -DALIASES_FILE=\"/etc/aliases\" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -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 -Drestrict=__restrict -DMD5AUTH=1 -DSSMTPCONFDIR=\"/etc/ssmtp\" -DCONFIGURATION_FILE=\"/etc/ssmtp/ssmtp.conf\" -DREVALIASES_FILE=\"/etc/ssmtp/revaliases\" -DALIASES_FILE=\"/etc/aliases\" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -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 [enabled by default] 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 [enabled by default] 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 [enabled by default] 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 [enabled by default] 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 [enabled by default] 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 [enabled by default] 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 [enabled by default] 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 [enabled by default] 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 [enabled by default] 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 [enabled by default] 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:2: 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/string.h:638:0, from ssmtp.c:25: /usr/include/bits/string3.h:117:42: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ssmtp.c:669:2: 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:2: 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:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ssmtp.c:671:2: 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:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ssmtp.c:682:2: 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/string.h:638:0, from ssmtp.c:25: /usr/include/bits/string3.h:117:42: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ssmtp.c:683:2: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat (response, " "); ^ In file included from /usr/include/string.h:638:0, from ssmtp.c:25: /usr/include/bits/string3.h:140:42: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ ssmtp.c:684:2: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat (response, digascii); ^ In file included from /usr/include/string.h:638:0, from ssmtp.c:25: /usr/include/bits/string3.h:140:42: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ ssmtp.c:684:2: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat (response, digascii); ^ In file included from /usr/include/string.h:638:0, from ssmtp.c:25: /usr/include/bits/string3.h:140:42: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ ssmtp.c:685:2: 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:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ssmtp.c:685:2: 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 [enabled by default] 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:3: 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:3: 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:4: 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:4: 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:3: 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:3: 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:2: 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 -Drestrict=__restrict -DMD5AUTH=1 -DSSMTPCONFDIR=\"/etc/ssmtp\" -DCONFIGURATION_FILE=\"/etc/ssmtp/ssmtp.conf\" -DREVALIASES_FILE=\"/etc/ssmtp/revaliases\" -DALIASES_FILE=\"/etc/aliases\" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.iQy9Ob + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ssmtp-2.64-13.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ssmtp-2.64-13.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/ssmtp-2.64-13.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ssmtp-2.64-13.el7.centos.x86_64 + cd ssmtp-2.64 + rm -rf /builddir/build/BUILDROOT/ssmtp-2.64-13.el7.centos.x86_64 + install -p -D -m 2750 ssmtp /builddir/build/BUILDROOT/ssmtp-2.64-13.el7.centos.x86_64/usr/sbin/ssmtp + mkdir /builddir/build/BUILDROOT/ssmtp-2.64-13.el7.centos.x86_64/usr/bin/ + install -p -D -m 644 revaliases /builddir/build/BUILDROOT/ssmtp-2.64-13.el7.centos.x86_64/etc/ssmtp/revaliases + install -p -m 644 ssmtp.conf /builddir/build/BUILDROOT/ssmtp-2.64-13.el7.centos.x86_64/etc/ssmtp/ssmtp.conf + install -p -D -m 644 ssmtp.8 /builddir/build/BUILDROOT/ssmtp-2.64-13.el7.centos.x86_64/usr/share/man/man8/ssmtp.8 + install -m 644 /builddir/build/SOURCES/mailq.8 /builddir/build/BUILDROOT/ssmtp-2.64-13.el7.centos.x86_64/usr/share/man/man8/mailq.ssmtp.8 + install -m 644 /builddir/build/SOURCES/newaliases.8 /builddir/build/BUILDROOT/ssmtp-2.64-13.el7.centos.x86_64/usr/share/man/man8/newaliases.ssmtp.8 + install -p -D -m 644 ssmtp.conf.5 /builddir/build/BUILDROOT/ssmtp-2.64-13.el7.centos.x86_64/usr/share/man/man5/ssmtp.conf.5 + ln -s /usr/sbin/ssmtp /builddir/build/BUILDROOT/ssmtp-2.64-13.el7.centos.x86_64/usr/sbin/sendmail.ssmtp + ln -s /usr/sbin/ssmtp /builddir/build/BUILDROOT/ssmtp-2.64-13.el7.centos.x86_64/usr/bin/newaliases.ssmtp + ln -s /usr/sbin/ssmtp /builddir/build/BUILDROOT/ssmtp-2.64-13.el7.centos.x86_64/usr/bin/mailq.ssmtp + touch /builddir/build/BUILDROOT/ssmtp-2.64-13.el7.centos.x86_64/usr/sbin/sendmail + touch /builddir/build/BUILDROOT/ssmtp-2.64-13.el7.centos.x86_64/usr/bin/mailq + touch /builddir/build/BUILDROOT/ssmtp-2.64-13.el7.centos.x86_64/usr/bin/newaliases + touch /builddir/build/BUILDROOT/ssmtp-2.64-13.el7.centos.x86_64/usr/share/man/man8/mailq.8.gz + touch /builddir/build/BUILDROOT/ssmtp-2.64-13.el7.centos.x86_64/usr/share/man/man8/newaliases.8.gz + touch /builddir/build/BUILDROOT/ssmtp-2.64-13.el7.centos.x86_64/usr/share/man/man8/sendmail.8.gz + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/ssmtp-2.64 extracting debug info from /builddir/build/BUILDROOT/ssmtp-2.64-13.el7.centos.x86_64/usr/sbin/ssmtp dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/sbin/ssmtp.debug to /usr/lib/debug/usr/sbin/sendmail.ssmtp.debug symlinked /usr/lib/debug/usr/sbin/ssmtp.debug to /usr/lib/debug/usr/bin/newaliases.ssmtp.debug symlinked /usr/lib/debug/usr/sbin/ssmtp.debug to /usr/lib/debug/usr/bin/mailq.ssmtp.debug 162 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress 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 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 + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: ssmtp-2.64-13.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Q4ydCW + umask 022 + cd /builddir/build/BUILD + cd ssmtp-2.64 + DOCDIR=/builddir/build/BUILDROOT/ssmtp-2.64-13.el7.centos.x86_64/usr/share/doc/ssmtp-2.64 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ssmtp-2.64-13.el7.centos.x86_64/usr/share/doc/ssmtp-2.64 + cp -pr COPYING /builddir/build/BUILDROOT/ssmtp-2.64-13.el7.centos.x86_64/usr/share/doc/ssmtp-2.64 + cp -pr INSTALL /builddir/build/BUILDROOT/ssmtp-2.64-13.el7.centos.x86_64/usr/share/doc/ssmtp-2.64 + cp -pr README /builddir/build/BUILDROOT/ssmtp-2.64-13.el7.centos.x86_64/usr/share/doc/ssmtp-2.64 + cp -pr TLS /builddir/build/BUILDROOT/ssmtp-2.64-13.el7.centos.x86_64/usr/share/doc/ssmtp-2.64 + cp -pr CHANGELOG_OLD /builddir/build/BUILDROOT/ssmtp-2.64-13.el7.centos.x86_64/usr/share/doc/ssmtp-2.64 + cp -pr ChangeLog /builddir/build/BUILDROOT/ssmtp-2.64-13.el7.centos.x86_64/usr/share/doc/ssmtp-2.64 + cp -pr COPYRIGHT /builddir/build/BUILDROOT/ssmtp-2.64-13.el7.centos.x86_64/usr/share/doc/ssmtp-2.64 + 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: MTA config(ssmtp) = 2.64-13.el7.centos smtpdaemon ssmtp = 2.64-13.el7.centos ssmtp(x86-64) = 2.64-13.el7.centos 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: libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypto.so.10()(64bit) libcrypto.so.10(libcrypto.so.10)(64bit) libssl.so.10()(64bit) libssl.so.10(libssl.so.10)(64bit) rtld(GNU_HASH) Processing files: ssmtp-debuginfo-2.64-13.el7.centos.x86_64 Provides: ssmtp-debuginfo = 2.64-13.el7.centos ssmtp-debuginfo(x86-64) = 2.64-13.el7.centos Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ssmtp-2.64-13.el7.centos.x86_64 warning: Could not canonicalize hostname: i-0001a6a9 Wrote: /builddir/build/RPMS/ssmtp-2.64-13.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/ssmtp-debuginfo-2.64-13.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.CQYR1d + umask 022 + cd /builddir/build/BUILD + cd ssmtp-2.64 + rm -rf /builddir/build/BUILDROOT/ssmtp-2.64-13.el7.centos.x86_64 + exit 0 Child return code was: 0 LEAVE do -->