Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ssmtp.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1672346151.088085/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9z3zwtm2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9z3zwtm2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c52923e6ddde49e7abc2a377e64b5d02', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1672346151.088085/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9z3zwtm2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ssmtp.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: Macro expanded in comment on line 38: %{_sbindir}/sendmail warning: Macro expanded in comment on line 39: %{_bindir}/mailq Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1669939200 Wrote: /builddir/build/SRPMS/ssmtp-2.64-31.fc38.src.rpm RPM build warnings: Macro expanded in comment on line 38: %{_sbindir}/sendmail Macro expanded in comment on line 39: %{_bindir}/mailq Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ssmtp.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1672346151.088085/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9z3zwtm2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9z3zwtm2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '81fd3fd323584238956f4b820df3c9cf', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1672346151.088085/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9z3zwtm2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ssmtp.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: Macro expanded in comment on line 38: %{_sbindir}/sendmail warning: Macro expanded in comment on line 39: %{_bindir}/mailq Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1669939200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UJlsZr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ssmtp-2.64 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ssmtp_2.64.orig.tar.bz2 + 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 -f -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/patch --no-backup-if-mismatch -f -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/patch --no-backup-if-mismatch -f -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/patch --no-backup-if-mismatch -f -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/patch --no-backup-if-mismatch -f -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/patch --no-backup-if-mismatch -f -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/patch --no-backup-if-mismatch -f -p1 -b --suffix .saneconf --fuzz=0 patching file ssmtp.conf Patch #22 (ssmtp-configure-c99.patch): + echo 'Patch #22 (ssmtp-configure-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .configure-c99 --fuzz=0 patching file configure + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RUoSHh + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ssmtp-2.64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2022-12-29 20:37:03.557969722 +0000 +++ ./configure 2022-12-29 20:37:03.564969663 +0000 @@ -3564,7 +3564,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -3658,7 +3658,7 @@ #if defined (__stub__doprnt) || defined (__stub____doprnt) choke me #else -char (*f) () = _doprnt; +__attribute__ ((used)) char (*f) () = _doprnt; #endif #ifdef __cplusplus } @@ -3766,7 +3766,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./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... 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 -j2 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o xgethostname.o xgethostname.c ssmtp.c:60:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 60 | char *auth_user = (char)NULL; | ^ ssmtp.c:60:19: warning: initialization of 'char *' from 'char' 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] 61 | char *auth_pass = (char)NULL; | ^ ssmtp.c:61:19: warning: initialization of 'char *' from 'char' 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] 62 | char *auth_method = (char)NULL; /* Mechanism for SMTP authentication */ | ^ ssmtp.c:62:21: warning: initialization of 'char *' from 'char' 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] 63 | char *mail_domain = (char)NULL; | ^ ssmtp.c:63:21: warning: initialization of 'char *' from 'char' 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] 64 | char *from = (char)NULL; /* Use this as the From: address */ | ^ ssmtp.c:64:14: warning: initialization of 'char *' from 'char' 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] 67 | char *minus_f = (char)NULL; | ^ ssmtp.c:67:17: warning: initialization of 'char *' from 'char' 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] 68 | char *minus_F = (char)NULL; | ^ ssmtp.c:68:17: warning: initialization of 'char *' from 'char' 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] 70 | char *prog = (char)NULL; | ^ ssmtp.c:70:14: warning: initialization of 'char *' from 'char' 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] 76 | char *uad = (char)NULL; | ^ ssmtp.c:76:13: warning: initialization of 'char *' from 'char' 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] 77 | char *config_file = (char)NULL; /* alternate configuration file */ | ^ ssmtp.c:77:21: warning: initialization of 'char *' from 'char' makes pointer from integer without a cast [-Wint-conversion] ssmtp.c: In function 'strip_post_ws': ssmtp.c:269:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 269 | *p = (char)NULL; | ^ ssmtp.c: In function 'addr_parse': ssmtp.c:295:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 295 | *p = (char)NULL; | ^ ssmtp.c:318:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 318 | *q = (char)NULL; | ^ ssmtp.c: In function 'standardise': ssmtp.c:371:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 371 | *p = (char)NULL; | ^ ssmtp.c:357:16: warning: unused variable 'sl' [-Wunused-variable] 357 | size_t sl; | ^~ ssmtp.c: In function 'revaliases': ssmtp.c:392:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 392 | *p = (char)NULL; | ^ ssmtp.c: In function 'aliases_lookup': ssmtp.c:448:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 448 | *p = (char)NULL; | ^ ssmtp.c: In function 'rcpt_save': ssmtp.c:571:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 571 | if(*str == (char)NULL) { | ^ ssmtp.c: In function 'rcpt_parse': ssmtp.c:628:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 628 | if(*(q + 1) == (char)NULL) { | ^ ssmtp.c:636:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 636 | *q = (char)NULL; | ^ ssmtp.c: In function 'crammd5': ssmtp.c:666:18: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 666 | strncpy (secret, password, sizeof(secret)); | ^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/socket.h:22, from ssmtp.c:16: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ ssmtp.c:669:22: warning: pointer targets in passing argument 1 of 'from64tobits' differ in signedness [-Wpointer-sign] 669 | from64tobits(challenge, challengeb64); | ^~~~~~~~~ | | | unsigned char * In file included from ssmtp.c:40: ssmtp.h:45:18: note: expected 'char *' but argument is of type 'unsigned char *' 45 | int from64tobits(char *, const char *); | ^~~~~~ ssmtp.c:671:36: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 671 | hmac_md5(challenge, strlen(challenge), secret, strlen(secret), digest); | ^~~~~~~~~ | | | unsigned char * In file included from ssmtp.c:25: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ssmtp.c:671:63: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 671 | hmac_md5(challenge, strlen(challenge), secret, strlen(secret), digest); | ^~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ssmtp.c:682:18: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 682 | strncpy (response, username, sizeof(response) - sizeof(digascii) - 2); | ^~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ ssmtp.c:683:17: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 683 | strcat (response, " "); | ^~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ ssmtp.c:684:17: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 684 | strcat (response, digascii); | ^~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ ssmtp.c:684:27: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 684 | strcat (response, digascii); | ^~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ ssmtp.c:685:52: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 685 | to64frombits(responseb64, response, strlen(response)); | ^~~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ssmtp.c:685:22: warning: pointer targets in passing argument 1 of 'to64frombits' differ in signedness [-Wpointer-sign] 685 | to64frombits(responseb64, response, strlen(response)); | ^~~~~~~~~~~ | | | char * ssmtp.h:44:19: note: expected 'unsigned char *' but argument is of type 'char *' 44 | void to64frombits(unsigned char *, const unsigned char *, int); | ^~~~~~~~~~~~~~~ ssmtp.c: In function 'header_save': ssmtp.c:733:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 733 | if(*(p + 6) == (char)NULL) { | ^ ssmtp.c: In function 'header_parse': ssmtp.c:798:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 798 | char l = (char)NULL; | ^ ssmtp.c:833:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 833 | *q = (char)NULL; | ^ ssmtp.c:835:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 835 | *q = (char)NULL; | ^ ssmtp.c:866:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 866 | *q = (char)NULL; | ^ ssmtp.c:868:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 868 | *q = (char)NULL; | ^ ssmtp.c: In function 'read_config': ssmtp.c:933:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 933 | *p = (char)NULL; | ^ ssmtp.c: In function 'smtp_open': ssmtp.c:1212:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1212 | meth=SSLv23_client_method(); | ^ ssmtp.c: In function 'fd_gets': ssmtp.c:1411:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1411 | buf[i] = (char)NULL; | ^ ssmtp.c: In function 'ssmtp': ssmtp.c:1610:30: warning: pointer targets in passing argument 1 of 'to64frombits' differ in signedness [-Wpointer-sign] 1610 | to64frombits(buf, auth_user, strlen(auth_user)); | ^~~ | | | char * ssmtp.h:44:19: note: expected 'unsigned char *' but argument is of type 'char *' 44 | void to64frombits(unsigned char *, const unsigned char *, int); | ^~~~~~~~~~~~~~~ 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o md5auth/md5.o md5auth/md5.c ssmtp.c:1610:35: warning: pointer targets in passing argument 2 of 'to64frombits' differ in signedness [-Wpointer-sign] 1610 | to64frombits(buf, auth_user, strlen(auth_user)); | ^~~~~~~~~ | | | char * ssmtp.h:44:36: note: expected 'const unsigned char *' but argument is of type 'char *' 44 | void to64frombits(unsigned char *, const unsigned char *, int); | ^~~~~~~~~~~~~~~~~~~~~ ssmtp.c:1622:38: warning: pointer targets in passing argument 1 of 'to64frombits' differ in signedness [-Wpointer-sign] 1622 | to64frombits(buf, auth_user, strlen(auth_user)); | ^~~ | | | char * ssmtp.h:44:19: note: expected 'unsigned char *' but argument is of type 'char *' 44 | void to64frombits(unsigned char *, const unsigned char *, int); | ^~~~~~~~~~~~~~~ ssmtp.c:1622:43: warning: pointer targets in passing argument 2 of 'to64frombits' differ in signedness [-Wpointer-sign] 1622 | to64frombits(buf, auth_user, strlen(auth_user)); | ^~~~~~~~~ | | | char * ssmtp.h:44:36: note: expected 'const unsigned char *' but argument is of type 'char *' 44 | void to64frombits(unsigned char *, const unsigned char *, int); | ^~~~~~~~~~~~~~~~~~~~~ ssmtp.c:1632:30: warning: pointer targets in passing argument 1 of 'to64frombits' differ in signedness [-Wpointer-sign] 1632 | to64frombits(buf, auth_pass, strlen(auth_pass)); | ^~~ | | | char * ssmtp.h:44:19: note: expected 'unsigned char *' but argument is of type 'char *' 44 | void to64frombits(unsigned char *, const unsigned char *, int); | ^~~~~~~~~~~~~~~ ssmtp.c:1632:35: warning: pointer targets in passing argument 2 of 'to64frombits' differ in signedness [-Wpointer-sign] 1632 | to64frombits(buf, auth_pass, strlen(auth_pass)); | ^~~~~~~~~ | | | char * ssmtp.h:44:36: note: expected 'const unsigned char *' but argument is of type 'char *' 44 | void to64frombits(unsigned char *, const unsigned char *, int); | ^~~~~~~~~~~~~~~~~~~~~ ssmtp.c:1714:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1714 | if(remote_addr=getenv("REMOTE_ADDR")) { | ^~~~~~~~~~~ ssmtp.c: In function 'parse_options': ssmtp.c:1843:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1843 | while(argv[i][++j] != (char)NULL) { | ^ 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o md5auth/hmac-md5.o md5auth/hmac-md5.c ssmtp.c: In function 'crammd5': ssmtp.c:677:17: warning: array subscript 32 is above array bounds of 'unsigned char[32]' [-Warray-bounds=] 677 | digascii[MD5_DIGEST_LEN * 2] = '\0'; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ssmtp.c:659:23: note: while referencing 'digascii' 659 | unsigned char digascii[MD5_DIGEST_LEN * 2]; | ^~~~~~~~ ssmtp.c:666:9: warning: 'strncpy' specified bound 65 equals destination size [-Wstringop-truncation] 666 | strncpy (secret, password, sizeof(secret)); | ^ 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o md5auth/memxor.o md5auth/memxor.c ssmtp.c: In function 'smtp_open': ssmtp.c:1273:11: warning: 's' may be used uninitialized [-Wmaybe-uninitialized] 1273 | if(s < 0) { | ^ ssmtp.c:1192:13: note: 's' was declared here 1192 | int s; | ^ ssmtp.c: In function 'ssmtp': ssmtp.c:1602:25: warning: 'strncpy' specified bound 2049 equals destination size [-Wstringop-truncation] 1602 | strncpy(challenge, strchr(buf,' ') + 1, sizeof(challenge)); | ^ 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection In function 'crammd5', inlined from 'ssmtp' at ssmtp.c:1605:4: ssmtp.c:677:38: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 677 | digascii[MD5_DIGEST_LEN * 2] = '\0'; | ^ ssmtp.c: In function 'ssmtp': ssmtp.c:659:23: note: at offset 32 into destination object 'digascii' of size 32 659 | unsigned char digascii[MD5_DIGEST_LEN * 2]; | ^ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7FlAAE + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ssmtp-2.64-31.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ssmtp-2.64-31.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/ssmtp-2.64-31.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ssmtp-2.64-31.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ssmtp-2.64 + rm -rf /builddir/build/BUILDROOT/ssmtp-2.64-31.fc38.x86_64 + install -p -D -m 2750 ssmtp /builddir/build/BUILDROOT/ssmtp-2.64-31.fc38.x86_64/usr/sbin/ssmtp + mkdir /builddir/build/BUILDROOT/ssmtp-2.64-31.fc38.x86_64/usr/bin/ + install -p -D -m 644 revaliases /builddir/build/BUILDROOT/ssmtp-2.64-31.fc38.x86_64/etc/ssmtp/revaliases + install -p -m 640 ssmtp.conf /builddir/build/BUILDROOT/ssmtp-2.64-31.fc38.x86_64/etc/ssmtp/ssmtp.conf + install -p -D -m 644 ssmtp.8 /builddir/build/BUILDROOT/ssmtp-2.64-31.fc38.x86_64/usr/share/man/man8/ssmtp.8 + install -m 644 /builddir/build/SOURCES/mailq.8 /builddir/build/BUILDROOT/ssmtp-2.64-31.fc38.x86_64/usr/share/man/man8/mailq.ssmtp.8 + install -m 644 /builddir/build/SOURCES/newaliases.8 /builddir/build/BUILDROOT/ssmtp-2.64-31.fc38.x86_64/usr/share/man/man8/newaliases.ssmtp.8 + install -p -D -m 644 ssmtp.conf.5 /builddir/build/BUILDROOT/ssmtp-2.64-31.fc38.x86_64/usr/share/man/man5/ssmtp.conf.5 + ln -s /usr/sbin/ssmtp /builddir/build/BUILDROOT/ssmtp-2.64-31.fc38.x86_64/usr/sbin/sendmail.ssmtp + ln -s /usr/sbin/ssmtp /builddir/build/BUILDROOT/ssmtp-2.64-31.fc38.x86_64/usr/bin/newaliases.ssmtp + ln -s /usr/sbin/ssmtp /builddir/build/BUILDROOT/ssmtp-2.64-31.fc38.x86_64/usr/bin/mailq.ssmtp + touch /builddir/build/BUILDROOT/ssmtp-2.64-31.fc38.x86_64/usr/sbin/sendmail + touch /builddir/build/BUILDROOT/ssmtp-2.64-31.fc38.x86_64/usr/bin/mailq + touch /builddir/build/BUILDROOT/ssmtp-2.64-31.fc38.x86_64/usr/bin/newaliases + touch /builddir/build/BUILDROOT/ssmtp-2.64-31.fc38.x86_64/usr/share/man/man8/mailq.8.gz + touch /builddir/build/BUILDROOT/ssmtp-2.64-31.fc38.x86_64/usr/share/man/man8/newaliases.8.gz + touch /builddir/build/BUILDROOT/ssmtp-2.64-31.fc38.x86_64/usr/share/man/man8/sendmail.8.gz + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 2.64-31.fc38 --unique-debug-suffix -2.64-31.fc38.x86_64 --unique-debug-src-base ssmtp-2.64-31.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/ssmtp-2.64 extracting debug info from /builddir/build/BUILDROOT/ssmtp-2.64-31.fc38.x86_64/usr/sbin/ssmtp original debug info size: 112kB, size after compression: 108kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 162 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /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/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: ssmtp-2.64-31.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.X6TA8S + umask 022 + cd /builddir/build/BUILD + cd ssmtp-2.64 + DOCDIR=/builddir/build/BUILDROOT/ssmtp-2.64-31.fc38.x86_64/usr/share/doc/ssmtp + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ssmtp-2.64-31.fc38.x86_64/usr/share/doc/ssmtp + cp -pr COPYING /builddir/build/BUILDROOT/ssmtp-2.64-31.fc38.x86_64/usr/share/doc/ssmtp + cp -pr INSTALL /builddir/build/BUILDROOT/ssmtp-2.64-31.fc38.x86_64/usr/share/doc/ssmtp + cp -pr README /builddir/build/BUILDROOT/ssmtp-2.64-31.fc38.x86_64/usr/share/doc/ssmtp + cp -pr TLS /builddir/build/BUILDROOT/ssmtp-2.64-31.fc38.x86_64/usr/share/doc/ssmtp + cp -pr CHANGELOG_OLD /builddir/build/BUILDROOT/ssmtp-2.64-31.fc38.x86_64/usr/share/doc/ssmtp + cp -pr ChangeLog /builddir/build/BUILDROOT/ssmtp-2.64-31.fc38.x86_64/usr/share/doc/ssmtp + cp -pr COPYRIGHT /builddir/build/BUILDROOT/ssmtp-2.64-31.fc38.x86_64/usr/share/doc/ssmtp + RPM_EC=0 ++ jobs -p + exit 0 warning: absolute symlink: /usr/bin/mailq.ssmtp -> /usr/sbin/ssmtp warning: absolute symlink: /usr/bin/newaliases.ssmtp -> /usr/sbin/ssmtp warning: absolute symlink: /usr/sbin/sendmail.ssmtp -> /usr/sbin/ssmtp 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-31.fc38 ssmtp = 2.64-31.fc38 ssmtp(x86-64) = 2.64-31.fc38 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.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) rtld(GNU_HASH) Processing files: ssmtp-debugsource-2.64-31.fc38.x86_64 Provides: ssmtp-debugsource = 2.64-31.fc38 ssmtp-debugsource(x86-64) = 2.64-31.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ssmtp-debuginfo-2.64-31.fc38.x86_64 Provides: debuginfo(build-id) = 8d02461d06696f515519027cbc221121c5ff205e ssmtp-debuginfo = 2.64-31.fc38 ssmtp-debuginfo(x86-64) = 2.64-31.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ssmtp-debugsource(x86-64) = 2.64-31.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ssmtp-2.64-31.fc38.x86_64 Wrote: /builddir/build/RPMS/ssmtp-debugsource-2.64-31.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/ssmtp-debuginfo-2.64-31.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/ssmtp-2.64-31.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.f7vIQW + umask 022 + cd /builddir/build/BUILD + cd ssmtp-2.64 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ssmtp-2.64-31.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.2QHb1F + umask 022 + cd /builddir/build/BUILD + rm -rf ssmtp-2.64 ssmtp-2.64.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: Macro expanded in comment on line 38: %{_sbindir}/sendmail Macro expanded in comment on line 39: %{_bindir}/mailq absolute symlink: /usr/bin/mailq.ssmtp -> /usr/sbin/ssmtp absolute symlink: /usr/bin/newaliases.ssmtp -> /usr/sbin/ssmtp absolute symlink: /usr/sbin/sendmail.ssmtp -> /usr/sbin/ssmtp File listed twice: /usr/share/man/man8/mailq.8.gz File listed twice: /usr/share/man/man8/newaliases.8.gz File listed twice: /usr/share/man/man8/sendmail.8.gz Child return code was: 0