Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/procmail.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1684950453.976526/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.94bht6ng:/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.94bht6ng:/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', '6d0bad7d953640409f5ccd9c6451d056', '-D', '/var/lib/mock/fedora-rawhide-s390x-1684950453.976526/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.94bht6ng:/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 s390x --nodeps /builddir/build/SPECS/procmail.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 Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1673481600 Wrote: /builddir/build/SRPMS/procmail-3.24-1.fc39.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/procmail.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1684950453.976526/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.94bht6ng:/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.94bht6ng:/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', '89e49718f3b145f294ad4d0853b575b3', '-D', '/var/lib/mock/fedora-rawhide-s390x-1684950453.976526/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.94bht6ng:/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 s390x --nodeps /builddir/build/SPECS/procmail.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 Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1673481600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SU5ZwZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf procmail-3.24 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/procmail-3.24.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd procmail-3.24 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/procmail-3.24-rhconfig.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/procmail-3.15.1-man.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/procmail-3.22-truncate.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/procmail-3.24-ipv6.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/procmail-3.24-coverity-scan-fixes.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + find examples -type f + xargs chmod 644 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wr86zY + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 procmail-3.24 ++ getconf LFS_CFLAGS + make RPM_OPT_FLAGS= autoconf.h /bin/sh ./initmake /bin/sh "/bin/sh" "/bin/rm -f" "mv -f" "ln" \ "-lm -ldir -lx -lsocket -lnet -linet -lnsl_s -lnsl_i -lsun -lgen -lsockdns" \ "/lib /usr/lib /usr/local/lib" \ /dev/null "make" o \ "gcc" " " " " "procmail lockfile formail mailstat" \ "procmail formail lockfile mailstat" \ "procmailrc procmailsc procmailex" "src man" \ "/usr/bin" \ "strip" gcc seems to work fine, using that as the C-compiler ...scanning for 11 libraries... Added LDFLAGS= -lm -lc cd src; make ../autoconf.h make[1]: Entering directory '/builddir/build/BUILD/procmail-3.24/src' /bin/sh ./autoconf /bin/sh "/bin/rm -f" "mv -f" /dev/null \ "grep -F" "make" o "100 " \ "/usr/bin" ../autoconf.h Using the following directories for the LOCKINGTESTs: 100 Initiating fcntl()/kernel-locking-support tests Proceeding with kernel-locking-support tests in the background Testing for const Testing for volatile Testing for prototypes Testing for enum Checking for POSIX and ANSI/ISO system include files Checking for network/comsat/biff support Testing for void*, size_t, off_t, pid_t, time_t, mode_t, uid_t & gid_t Checking realloc implementation Sorry, repeatedly reallocing is inefficient Testing for WIFEXITED(), WIFSTOPPED(), WEXITSTATUS() & WSIGTERM() Testing for various struct passwd members Testing for memmove, strchr, strpbrk, strcspn, strtol, strstr, rename, setrgid, setegid, pow, opendir, mkdir, waitpid, fsync, ftruncate, strtod, strncasecmp, strerror, strlcat, memset, bzero, and _exit Determining the maximum number of 16 byte arguments execv() takes Benchmarking your system's strstr() implementation Collecting results from kernel-locking tests =============================autoconf.h=================================== /* This file was automagically generated by autoconf */ /* 38 moves in 64 steps of size 16384 when reallocing */ #define INEFFICIENTrealloc #define NOpw_passwd #define NOpw_class #define NOpw_gecos #define NOstrlcat #define NOsetrgid #define GOT_bin_test #define MAX_argc 83765 /* Your system's strstr() is 20.50 times FASTER than my C-routine */ #define setrgid_RUNTIME_CHECK #ifndef MAILSPOOLDIR #define MAILSPOOLDIR "/var/spool/mail/" #endif #define SENDMAIL "/usr/sbin/sendmail" #define CF_no_procmail_yet #define buggy_SENDMAIL #define defPATH "PATH=$HOME/bin:/usr/local/bin:/bin" #define defSPATH "PATH=/usr/local/bin:/bin" #define PM_VERSION "3.24" /* Hotwire LOCKINGTEST=100 */ /* Procmail will lock via: dotlocking, fcntl() */ /* autoconf completed */ ========================================================================== make[1]: Leaving directory '/builddir/build/BUILD/procmail-3.24/src' ++ getconf LFS_CFLAGS + make 'RPM_OPT_FLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments ' echo Housekeeping file >config.check cd src; make ../new/procmail ../new/lockfile ../new/formail ../new/mailstat make[1]: Entering directory '/builddir/build/BUILD/procmail-3.24/src' gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments procmail.c procmail.c: In function 'savepass': procmail.c:77:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 77 | if(tpass=auth_finduid(uid,0)) /* save by copying */ | ^~~~~ procmail.c: In function 'main': procmail.c:134:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 134 | else if(chp2=(char*)argv[argc+1]) | ^~~~ procmail.c:143:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 143 | else if(chp2=(char*)argv[argc+1]) | ^~~~ In file included from procmail.c:26: memblk.h:32:25: warning: statement with no effect [-Wunused-value] 32 | #define private(x) 1 | ^ procmail.c:270:15: note: in expansion of macro 'private' 270 | private(1); /* gets the original */ | ^~~~~~~ memblk.h:32:25: warning: statement with no effect [-Wunused-value] 32 | #define private(x) 1 | ^ procmail.c:314:15: note: in expansion of macro 'private' 314 | { private(0); /* time to share */ | ^~~~~~~ memblk.h:32:25: warning: statement with no effect [-Wunused-value] 32 | #define private(x) 1 | ^ procmail.c:318:15: note: in expansion of macro 'private' 318 | private(1); | ^~~~~~~ procmail.c:322:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 322 | if(pidchild=sfork()) | ^~~~~~~~ procmail.c:321:17: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 321 | if(argv[++argc]) /* more than one recipient */ | ^ procmail.c:334:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 334 | while(chp=(char*)argv[argc]); | ^~~ procmail.c:483:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 483 | while(chp=(char*)argv[argc]) /* interpret command line specs first */ | ^~~ procmail.c: In function 'tryopen': procmail.c:644:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 644 | if(((stbuf.st_uid!=uid&&stbuf.st_uid!=ROOT_uid|| /* check uid, */ procmail.c:647:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 646 | rctype==rct_DEFAULT&& /* if the default then also check */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 647 | (stbuf.st_mode&S_IWGRP)&& /* for writable by group, */ | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 648 | (NO_CHECK_stgid||stbuf.st_gid!=gid) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ procmail.c:649:11: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 644 | if(((stbuf.st_uid!=uid&&stbuf.st_uid!=ROOT_uid|| /* check uid, */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 645 | (stbuf.st_mode&S_IWOTH)|| /* writable by others, */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 646 | rctype==rct_DEFAULT&& /* if the default then also check */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 647 | (stbuf.st_mode&S_IWGRP)&& /* for writable by group, */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 648 | (NO_CHECK_stgid||stbuf.st_gid!=gid) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 649 | )&&strcmp(devnull,buf)|| /* /dev/null is a special case, */ | ~^~~~~~~~~~~~~~~~~~~~~ procmail.c:656:63: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 655 | rctype==rct_DEFAULT&& | ~~~~~~~~~~~~~~~~~~~~~ 656 | (stbuf.st_mode&(S_IWGRP|S_IXGRP))==(S_IWGRP|S_IXGRP)&& | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 657 | (NO_CHECK_stgid||stbuf.st_gid!=gid)))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ procmail.c:652:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 652 | !(stbuf.st_mode&S_ISVTX)&& /* means we don't care if */ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 653 | #endif /* it's group or world writable */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 654 | ((stbuf.st_mode&(S_IWOTH|S_IXOTH))==(S_IWOTH|S_IXOTH)|| | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 655 | rctype==rct_DEFAULT&& | ~~~~~~~~~~~~~~~~~~~~~ 656 | (stbuf.st_mode&(S_IWGRP|S_IXGRP))==(S_IWGRP|S_IXGRP)&& | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 657 | (NO_CHECK_stgid||stbuf.st_gid!=gid)))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ procmail.c: In function 'mainloop': procmail.c:789:33: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 789 | for(chp=buf;i= *chp++;) | ^ procmail.c:849:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 849 | if(ofiltflag=flags[FILTER]) | ^~~~~~~~~ procmail.c:851:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 851 | if(chp=gobenv(buf,end)) /* can it be an environment name? */ | ^~~ memblk.h:32:25: warning: statement with no effect [-Wunused-value] 32 | #define private(x) 1 | ^ procmail.c:903:21: note: in expansion of macro 'private' 903 | private(0); /* can't share anymore */ | ^~~~~~~ procmail.c: In function 'main': procmail.c:554:9: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 554 | setuid(uid); /* make sure we have enough space */ | ^~~~~~~~~~~ procmail.c:189:24: warning: 'chp2' may be used uninitialized [-Wmaybe-uninitialized] 189 | if(Deliverymode==1&&!(chp=chp2)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ procmail.c:99:22: note: 'chp2' was declared here 99 | { register char*chp,*chp2; | ^~~~ gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments cstdio.c cstdio.c: In function 'changerc': cstdio.c:76:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 76 | if(dp=incnamed->enext) /* fixup the name list */ | ^~ gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments common.c common.c: In function 'shexec': common.c:29:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 29 | for(*(p=(const char**)newargv)=binsh;*++p= *argv++;); | ^ common.c: In function 'detab': common.c:35:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 35 | { while(p=strpbrk(p,"\t\n\v\f\r")) | ^ gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments exopen.c exopen.c: In function 'unique': exopen.c:132:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 132 | flags&doCHOWN&& | ~~~~~~~~~~~~~^~ 133 | #endif | ~~~~~~ 134 | chown(full,uid,sgid)) | ~~~~~~~~~~~~~~~~~~~~ exopen.c:116:6: warning: ignoring return value of 'nice' declared with attribute 'warn_unused_result' [-Wunused-result] 116 | nice(nicediff); /* put back the priority to the old level */ | ^~~~~~~~~~~~~~ gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments goodies.c goodies.c: In function 'readparse': goodies.c:92:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 92 | if(got<=NORMAL_TEXT&&bracelev|| | ~~~~~~~~~~~~~~~~^~~~~~~~~~ goodies.c:173:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 173 | if(got<=NORMAL_TEXT&&bracelev|| | ~~~~~~~~~~~~~~~~^~~~~~~~~~ goodies.c:309:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 309 | if(q=simplesplit(p,startb,fencepost,&got)) /* simply split */ | ^ goodies.c: In function 'metaparse': goodies.c:385:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 385 | { if(sh=!!strpbrk(p,shellmetas)) | ^~ gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments locking.c locking.c: In function 'lockit': locking.c:106:6: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 106 | setegid(gid); /* we put back our regular permissions */ | ^~~~~~~~~~~~ locking.c: In function 'unlock': locking.c:139:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 139 | setegid(sgid); /* try and get some extra permissions */ | ^~~~~~~~~~~~~ locking.c:144:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 144 | setegid(gid); /* we put back our regular permissions */ | ^~~~~~~~~~~~ gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments mailfold.c mailfold.c: In function 'dirfile': mailfold.c:147:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 147 | if(dirp=opendir(buf)) | ^~~~ mailfold.c:148:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 148 | { while(dp=readdir(dirp)) /* there still are directory entries */ | ^~ mailfold.c: In function 'writefolder': mailfold.c:214:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 214 | if(blen=Tmnate-linkfolder) /* copy the names into safety */ | ^~~~ mailfold.c: In function 'logabstract': mailfold.c:342:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 342 | { if(lgabstract>0||(logopened||verbose)&&lgabstract) /* don't mail it back? */ mailfold.c:347:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 347 | { if(chp=strchr(themail.p,'\n')) | ^~~ In file included from mailfold.c:18: mailfold.c: In function 'readmail': memblk.h:32:25: warning: statement with no effect [-Wunused-value] 32 | #define private(x) 1 | ^ mailfold.c:402:24: note: in expansion of macro 'private' 402 | themail=new;private(1); | ^~~~~~~ memblk.h:32:25: warning: statement with no effect [-Wunused-value] 32 | #define private(x) 1 | ^ mailfold.c:416:24: note: in expansion of macro 'private' 416 | themail=new;private(1); | ^~~~~~~ mailfold.c:425:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 425 | while(thebody=strchr(thebody,'\n')) | ^~~~~~~ gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments foldinfo.c foldinfo.c: In function 'trymkdir': foldinfo.c:86:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 86 | !stbuf.st_uid&&!chown(dir,uid,sgid)))) /* or be safely fixable */ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ foldinfo.c:95:38: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 95 | return S_IFDIR|NORMdirperm&~cumask; /* nope */ foldinfo.c: In function 'foldertype': foldinfo.c:160:30: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 160 | newfile:mode=S_IFREG|NORMperm&~cumask; foldinfo.c: In function 'screenmailbox': foldinfo.c:193:14: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] 193 | uid==stbuf.st_uid); /* we own the spool dir, note it in bit 0 */ | ~~~^~~~~~~~~~~~~~ foldinfo.c:267:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 267 | !S_ISDIR(stbuf.st_mode)&&stbuf.st_mode&S_ISGID)) | ^ In function 'mkmaildir', inlined from 'foldertype' at foldinfo.c:153:17: foldinfo.c:108:33: warning: 'i' may be used uninitialized [-Wmaybe-uninitialized] 108 | (strcpy(chp,maildirnew),mode=trymkdir(buffer,paranoid,i),S_ISDIR(mode))&& | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ foldinfo.c: In function 'foldertype': foldinfo.c:104:19: note: 'i' was declared here 104 | { mode_t mode;int i; | ^ gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments misc.c misc.c: In function 'elog': misc.c:51:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 51 | if(p=lmax?frealloc(old,newmax):fmalloc(newmax))/* fragile allocation */ | ^ misc.c: In function 'nextrcfile': misc.c:217:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 217 | while(p= *gargv) | ^ misc.c: In function 'sterminate': misc.c:264:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 264 | if(i=(lcking&~lck__NOMSG)>>1) | ^ misc.c: In function 'enoughprivs': misc.c:364:12: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 364 | passinvk&&auth_whatuid(passinvk)==uid|| | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c:365:13: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 365 | euid==uid&&egid==gid; | ~~~~~~~~~^~~~~~~~~~~ misc.c: In function 'conditions': misc.c:394:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 394 | if(flags[BODY_GREP]) /* what needs to be egrepped? */ | ^ In file included from procmail.h:3, from misc.c:13: misc.c: In function 'setids': includes.h:376:25: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] 376 | #define setruid(uid) setreuid(uid,-1) | ^~~~~~~~~~~~~~~~ misc.c:99:6: note: in expansion of macro 'setruid' 99 | setruid(uid); | ^~~~~~~ misc.c:102:6: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 102 | setegid(gid); | ^~~~~~~~~~~~ misc.c: In function 'conditions': misc.c:548:36: warning: 'xponent' may be used uninitialized [-Wmaybe-uninitialized] 548 | { if(0spawn!=f;f=f->spawn); /* search start */ | ^~~ regexp.c:388:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 388 | i->next=f; /* of loop */ | ^ regexp.c: In function 'cleantail': regexp.c:431:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 431 | while(thiss= *(reg= &PC(oldthis=thiss,th1))) /* wipe out list till you */ | ^~~~~ regexp.c: In function 'bregexec': regexp.c:463:20: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] 463 | i+=ign_case&'a'-'A'; /* transmogrify it to lowercase */ | ^ regexp.c:516:23: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] 516 | i+=ign_case&'a'-'A'; /* transmogrify it to lowercase */ | ^ regexp.c:567:26: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 567 | if(i!='\n') | ^ regexp.c: In function 'por': regexp.c:297:24: warning: 'pvold' may be used uninitialized [-Wmaybe-uninitialized] 297 | cachea=pvold;cachep=p;cacher=(char*)r-(char*)rvold; | ~~~~~~^~~~~~ regexp.c:271:9: note: 'pvold' was declared here 271 | { uchar*pvold;struct eps*rvold; | ^~~~~ regexp.c:297:55: warning: 'rvold' may be used uninitialized [-Wmaybe-uninitialized] 297 | cachea=pvold;cachep=p;cacher=(char*)r-(char*)rvold; | ~~~~~~~~^~~~~~~~~~~~~ regexp.c:271:26: note: 'rvold' was declared here 271 | { uchar*pvold;struct eps*rvold; | ^~~~~ regexp.c: In function 'bregexec': regexp.c:592:11: warning: 'bom' may be used uninitialized [-Wmaybe-uninitialized] 592 | if(bom<(char*)text) | ^ regexp.c:512:24: note: 'bom' was declared here 512 | ;{ const char*start,*bom; | ^~~ gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments robust.c robust.c: In function 'heapdefrag': robust.c:42:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 42 | if(p=malloc(1)) | ^ robust.c: In function 'tmalloc': robust.c:49:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 49 | if(p=malloc(len)) | ^ robust.c:54:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 54 | if(p=malloc(len)) /* some other process has paniced (and died 8-) */ | ^ robust.c: In function 'trealloc': robust.c:65:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 65 | if(p=realloc(old,len)) | ^ robust.c:70:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 70 | if(p=realloc(old,len)) | ^ robust.c: In function 'ssleep': robust.c:183:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 183 | if(alrmtime) | ^ gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments sublib.c gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments acommon.c gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments mcommon.c gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments lastdirsep.c lastdirsep.c: In function 'lastdirsep': lastdirsep.c:18:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 18 | while(p=strpbrk(filename,dirsep)) | ^ gcc -c -DPROCMAIL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments authenticate.c authenticate.c: In function 'auth_finduser': authenticate.c:80:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 80 | if(p=strchr(user,'@')) /* does the username contain an @? */ | ^ authenticate.c: In function 'auth_zeroout': authenticate.c:148:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 148 | if(p=(struct passwd*)pass->pw) | ^ authenticate.c: In function 'auth_freeid': authenticate.c:170:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 170 | if(p=(struct passwd*)pass->pw) | ^ gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments lmtp.c lmtp.c: In function 'bufwrite': lmtp.c:78:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 78 | { if(already&&already!=rwrite(savstdout,bufcur=buf2,already)|| | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lmtp.c: In function 'lmtp': lmtp.c:388:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 388 | if(detail=strchr(mailbox,detaildelim)) | ^~~~~~ lmtp.c:532:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 532 | if(detail=strchr(mailbox,detaildelim)) | ^~~~~~ lmtp.c: At top level: lmtp.c:70:2: warning: 'baduser' defined but not used [-Wunused-const-variable=] 70 | baduser[]="550 5.1.1 mailbox unknown\r\n", | ^~~~~~~ gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments memblk.c memblk.c: In function 'read2blk': memblk.c:155:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 155 | if(newlast=(*read_func)(mb->p+filled,mb->len-filled,data)) | ^~~~~~~ gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments variables.c variables.c: In function 'sputenv': variables.c:69:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 69 | { while(*preenv=preenv[1]) /* wipe this entry out of the environment */ | ^ variables.c:79:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 79 | { for(preenv=environ;*preenv;preenv++); | ^~~ variables.c:80:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 80 | preenv[1]=0;*(lastenv=preenv)=(char*)(split=newdynstring(&myenv,a)); | ^~~~~~ variables.c: In function 'cleanupenv': variables.c:168:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 168 | for(ep=emax;p= *ep;ep++) /* scan for this keeper */ | ^ variables.c:193:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 193 | for(pp=ld_;p= *pp;pp++) /* does it start with LD_ or similar? */ | ^ variables.c: In function 'asenvcpy': variables.c:305:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 305 | if(chp=strchr(src,'=')) /* is it an assignment? */ | ^~~ variables.c:319:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 319 | if(chp=eputenv(chp,src)) | ^~~ gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments from.c from.c: In function 'findtstamp': from.c:43:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 43 | if(*start==' '&&(++start==end||*start==' '&&++start==end)) | ~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from from.c:16: from.c: In function 'makeFrom': memblk.h:32:25: warning: statement with no effect [-Wunused-value] 32 | #define private(x) 1 | ^ from.c:93:3: note: in expansion of macro 'private' 93 | private(1); /* we're not yet sharing */ | ^~~~~~~ from.c:137:22: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 137 | else if(!from) /* leave the From_ line alone */ | ^ from.c:161:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 161 | { if(lfr) /* did we skip a From_ line? */ | ^ from.c: In function 'checkprivFrom_': from.c:182:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 182 | if(grp=getgrgid(gid)) /* check out the invoker's gid */ | ^~~ gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments comsat.c comsat.c: In function 'setcomsat': comsat.c:84:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 84 | if(csvalid=newvalid) | ^~~~~~~ setid.c: In function 'main': setid.c:13:13: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 13 | if(argc!=2&&argc!=3||geteuid()||!(p=getpwnam(argv[1]))) | ~~~~~~~^~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments procmail.o cstdio.o common.o exopen.o goodies.o locking.o mailfold.o foldinfo.o misc.o pipes.o regexp.o robust.o sublib.o acommon.o mcommon.o lastdirsep.o authenticate.o lmtp.o memblk.o variables.o from.o comsat.o -o procmail -lm -lc ln ../src/procmail ../new/procmail gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments lockfile.c lockfile.c: In function 'main': lockfile.c:134:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 134 | if(*cp&&cp[1]||ma&&sleepsec>=0) /* second pass? */ | ~~~^~~~~~~ lockfile.c:138:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 137 | { if(!((ma=(char*)getenv(lgname))&& | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 138 | (pass=auth_finduser(ma,0))&& | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 139 | auth_whatuid(pass)==uid|| | ~~~~~~~~~~~~~~~~~~~~~~~ lockfile.c: In function 'elog': lockfile.c:54:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 54 | { write(STDERR,a,strlen(a)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ lockfile.c: At top level: lockfile.c:20:22: warning: 'rcsdate' defined but not used [-Wunused-variable] 20 | static /*const*/char rcsdate[]="$Date$"; | ^~~~~~~ lockfile.c: In function 'main': lockfile.c:193:54: warning: 't' may be used uninitialized [-Wmaybe-uninitialized] 193 | if(force&&!lstat(cp,&stbuf)&&force");*++chp=' '); /* continued regular field */ | ^~~ formail.c:135:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 135 | { for(chp=p->fld_text;chp=strchr(chp,'\n');) /* continued regular */ | ^~~ formail.c:138:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 138 | for(chp=p->fld_text;chp=strstr(chp,"\n ");*++chp='>'); | ^~~ formail.c: In function 'procfields': formail.c:165:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 165 | if(fp2=findf(fldp,&Rheader)) /* explicitly rename field */ | ^~~ formail.c:174:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 174 | else if(fp2=findf(fldp,&Uheader)) | ^~~ formail.c: In function 'digheadr': formail.c:202:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 202 | return i>=0||j>STRLEN(old_)&&!strncasecmp(old_,chp,STRLEN(old_))|| | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formail.c:203:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 203 | j>STRLEN(x_)&&!strncasecmp(x_,chp,STRLEN(x_)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formail.c: In function 'getsender': formail.c:232:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 232 | if(pastad=strchr(chp,' ')) /* found an address? */ | ^~~~~~ formail.c:247:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 247 | if(!p1||p2&&p20)) /* impossible combination */ | ~~~~^~~~~~~~~~~~~~~~~ formail.c:555:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 555 | if((xheader||Xheader)&&logsummary||keepb&&!(areply||xheader||Xheader)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ formail.c:576:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 576 | Xheader&& /* or eXtracting without */ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 577 | !findf(fcntlength,&Xheader)); /* getting Content-Length: */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ formail.c:574:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 574 | keepb&& /* if we're keeping the body and */ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 575 | (areply|| /* autoreplying */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 576 | Xheader&& /* or eXtracting without */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 577 | !findf(fcntlength,&Xheader)); /* getting Content-Length: */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formail.c:617:14: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 617 | if(chp[-1]==HEAD_DELIMITER) | ^ formail.c:685:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 685 | ((fldp=findf(fFrom_,&aheader))&&STRLEN(From_)+1>=fldp->Tot_len|| formail.c:707:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 707 | (fldp->id_len==STRLEN(messageid)&& | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 708 | !strncasecmp(fldp->fld_text,messageid,STRLEN(messageid))|| | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formail.c:705:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 705 | if(!findf(fldp,&rdheader)) /* only add what didn't exist */ | ^ formail.c:728:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 728 | if(fldp=findf(fsubject,&rdheader)) | ^~~~ formail.c:789:15: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 789 | accuhdr: { for(i=minfields;--i&&readhead()&&digheadr();); /* found enough */ | ^~~ formail.c:790:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 790 | if(!i) /* then split it! */ | ^~ formail.c:844:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 844 | if(fldp=rdheader) /* we already read some "valid" fields */ | ^~~~ formail.c:851:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 851 | if(p=memchr(chp,'\n',fldp->Tot_len)) | ^ formail.c:860:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 860 | while(fldp=fp2); /* escape all fields we found */ | ^~~~ formail.c:791:1: warning: label 'splitit' defined but not used [-Wunused-label] 791 | splitit: { if(!lnl) /* did the previous mail end with an empty line? */ | ^~~~~~~ formail.c: At top level: formail.c:15:22: warning: 'rcsdate' defined but not used [-Wunused-variable] 15 | static /*const*/char rcsdate[]="$Date$"; | ^~~~~~~ In function 'elimdups', inlined from 'main' at formail.c:641:2: formail.c:346:26: warning: 'maxlen' may be used uninitialized [-Wmaybe-uninitialized] 346 | while(ftell(idcache)fld_next) | ^ gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments formisc.c formisc.c: In function 'startprog': formisc.c:182:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 182 | while(childlimit&&children>=childlimit||(child=fork())==-1&&children) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ formisc.c:159:3: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 159 | dup(oldstdout); | ^~~~~~~~~~~~~~ formisc.c:172:6: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 172 | pipe(poutfd); | ^~~~~~~~~~~~ formisc.c:191:51: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 191 | { close(STDIN);close(oldstdout);close(PWRO);dup(PRDO);close(PRDO); | ^~~~~~~~~ gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments ecommon.c ecommon.c: In function 'tmalloc': ecommon.c:21:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 21 | if(p=malloc(len)) | ^ ecommon.c: In function 'trealloc': ecommon.c:27:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 27 | { if(old=realloc(old,len)) | ^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments formail.o common.o fields.o formisc.o sublib.o ecommon.o acommon.o -o formail -lm -lc ln ../src/formail ../new/formail cp ../examples/mailstat mailstat ln ../src/mailstat ../new/mailstat make[1]: Leaving directory '/builddir/build/BUILD/procmail-3.24/src' cd man; make ../new/procmail.1 ../new/formail.1 ../new/lockfile.1 ../new/mailstat.1 ../new/procmailrc.5 ../new/procmailsc.5 ../new/procmailex.5 make[1]: Entering directory '/builddir/build/BUILD/procmail-3.24/man' make[2]: Entering directory '/builddir/build/BUILD/procmail-3.24/src' manconf.c: In function 'main': manconf.c:368:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 368 | while(*++p=='\t');*(q=strchr(p,'\n'))='\0'; | ^~~~~ manconf.c:368:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 368 | while(*++p=='\t');*(q=strchr(p,'\n'))='\0'; | ^ manconf.c: In function 'pname': manconf.c:77:52: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 77 | { sprintf(filebuf,"%s.%04d",*gargv,filecount++);freopen(filebuf,"w",stdout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/procmail-3.24/src' /bin/sh ./mansed /bin/sh procmail.man procmail.1 "/bin/rm -f" /dev/null ln ../man/procmail.1 ../new/procmail.1 /bin/sh ./mansed /bin/sh formail.man formail.1 "/bin/rm -f" /dev/null ln ../man/formail.1 ../new/formail.1 /bin/sh ./mansed /bin/sh lockfile.man lockfile.1 "/bin/rm -f" /dev/null ln ../man/lockfile.1 ../new/lockfile.1 /bin/sh ./mansed /bin/sh mailstat.man mailstat.1 "/bin/rm -f" /dev/null ln ../man/mailstat.1 ../new/mailstat.1 /bin/sh ./mansed /bin/sh procmailrc.man procmailrc.5 "/bin/rm -f" /dev/null ln ../man/procmailrc.5 ../new/procmailrc.5 /bin/sh ./mansed /bin/sh procmailsc.man procmailsc.5 "/bin/rm -f" /dev/null ln ../man/procmailsc.5 ../new/procmailsc.5 /bin/sh ./mansed /bin/sh procmailex.man procmailex.5 "/bin/rm -f" /dev/null ln ../man/procmailex.5 ../new/procmailex.5 make[1]: Leaving directory '/builddir/build/BUILD/procmail-3.24/man' make[1]: Entering directory '/builddir/build/BUILD/procmail-3.24/src' recommend.c: In function 'main': recommend.c:29:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 29 | if(!stat(mailspooldir,&stbuf)&&!(stbuf.st_mode&S_IWOTH)) | ^ recommend.c:41:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 41 | if(grp=getgrgid(gid)) | ^~~ recommend.c:40:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 40 | if(sgid) | ^ recommend.c:8:25: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 8 | #define PERMIS (S_IRWXU|S_IRWXG&~S_IWGRP|S_IRWXO&~S_IWOTH) | ^ recommend.c:45:56: note: in expansion of macro 'PERMIS' 45 | printf("chmod %lo %s\n",(unsigned long)(sgid|S_ISUID|PERMIS),argv[1]); | ^~~~~~ recommend.c:8:42: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 8 | #define PERMIS (S_IRWXU|S_IRWXG&~S_IWGRP|S_IRWXO&~S_IWOTH) | ^ recommend.c:45:56: note: in expansion of macro 'PERMIS' 45 | printf("chmod %lo %s\n",(unsigned long)(sgid|S_ISUID|PERMIS),argv[1]); | ^~~~~~ recommend.c:8:25: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 8 | #define PERMIS (S_IRWXU|S_IRWXG&~S_IWGRP|S_IRWXO&~S_IWOTH) | ^ recommend.c:47:51: note: in expansion of macro 'PERMIS' 47 | printf("chmod %lo %s\n",(unsigned long)(sgid|PERMIS),argv[2]); | ^~~~~~ recommend.c:8:42: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 8 | #define PERMIS (S_IRWXU|S_IRWXG&~S_IWGRP|S_IRWXO&~S_IWOTH) | ^ recommend.c:47:51: note: in expansion of macro 'PERMIS' 47 | printf("chmod %lo %s\n",(unsigned long)(sgid|PERMIS),argv[2]); | ^~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/procmail-3.24/src' =============================================================================== If you are a system administrator you should consider integrating procmail into the mail-delivery system -- for advanced functionality, speed AND SECURITY --. For more information about this topic you should look in the examples/advanced file. Also, HIGHLY RECOMMENDED (type 'make install-suid' to execute it): chown root /usr/bin/procmail chgrp mail /usr/bin/procmail /usr/bin/lockfile chmod 6755 /usr/bin/procmail chmod 2755 /usr/bin/lockfile =============================================================================== If you would like to inspect the results before running make install: All installable files can be found in the new/ subdirectory. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.MAQRmx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/procmail-3.24-1.fc39.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/procmail-3.24-1.fc39.s390x ++ dirname /builddir/build/BUILDROOT/procmail-3.24-1.fc39.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/procmail-3.24-1.fc39.s390x + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 procmail-3.24 + rm -rf /builddir/build/BUILDROOT/procmail-3.24-1.fc39.s390x + mkdir -p /builddir/build/BUILDROOT/procmail-3.24-1.fc39.s390x/usr/bin + mkdir -p /builddir/build/BUILDROOT/procmail-3.24-1.fc39.s390x/usr/share/man/man1 /builddir/build/BUILDROOT/procmail-3.24-1.fc39.s390x/usr/share/man/man5 + make BASENAME=/builddir/build/BUILDROOT/procmail-3.24-1.fc39.s390x/usr MANDIR=/builddir/build/BUILDROOT/procmail-3.24-1.fc39.s390x/usr/share/man install make[1]: Entering directory '/builddir/build/BUILD/procmail-3.24' cd man; make ../new/procmail.1 ../new/formail.1 ../new/lockfile.1 ../new/mailstat.1 ../new/procmailrc.5 ../new/procmailsc.5 ../new/procmailex.5 make[2]: Entering directory '/builddir/build/BUILD/procmail-3.24/man' make[3]: Entering directory '/builddir/build/BUILD/procmail-3.24/src' make[3]: '../man/man.sed' is up to date. make[3]: Leaving directory '/builddir/build/BUILD/procmail-3.24/src' make[2]: '../new/formail.1' is up to date. make[2]: '../new/lockfile.1' is up to date. make[2]: '../new/mailstat.1' is up to date. make[2]: '../new/procmailrc.5' is up to date. make[2]: '../new/procmailsc.5' is up to date. make[2]: '../new/procmailex.5' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/procmail-3.24/man' echo Housekeeping file >install.man cd src; make ../new/procmail ../new/lockfile ../new/formail ../new/mailstat make[2]: Entering directory '/builddir/build/BUILD/procmail-3.24/src' make[2]: '../new/procmail' is up to date. make[2]: '../new/lockfile' is up to date. make[2]: '../new/formail' is up to date. make[2]: '../new/mailstat' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/procmail-3.24/src' cp new/procmail new/lockfile new/formail new/mailstat /builddir/build/BUILDROOT/procmail-3.24-1.fc39.s390x/usr/bin echo Housekeeping file >install.bin make[1]: Leaving directory '/builddir/build/BUILD/procmail-3.24' Installed in /builddir/build/BUILDROOT/procmail-3.24-1.fc39.s390x/usr/bin -rwxr-xr-x. 1 mockbuild mock 143680 May 24 17:49 formail -rwxr-xr-x. 1 mockbuild mock 69192 May 24 17:49 lockfile -rwxr-xr-x. 1 mockbuild mock 5808 May 24 17:49 mailstat -rwxr-xr-x. 1 mockbuild mock 434416 May 24 17:49 procmail Installed in /builddir/build/BUILDROOT/procmail-3.24-1.fc39.s390x/usr/share/man/man1 -rw-r--r--. 1 mockbuild mock 15211 May 24 17:49 formail.1 -rw-r--r--. 1 mockbuild mock 6774 May 24 17:49 lockfile.1 -rw-r--r--. 1 mockbuild mock 1069 May 24 17:49 mailstat.1 -rw-r--r--. 1 mockbuild mock 28360 May 24 17:49 procmail.1 Installed in /builddir/build/BUILDROOT/procmail-3.24-1.fc39.s390x/usr/share/man/man5 -rw-r--r--. 1 mockbuild mock 16688 May 24 17:49 procmailex.5 -rw-r--r--. 1 mockbuild mock 31416 May 24 17:49 procmailrc.5 -rw-r--r--. 1 mockbuild mock 7966 May 24 17:49 procmailsc.5 make[1]: Entering directory '/builddir/build/BUILD/procmail-3.24' make[2]: Entering directory '/builddir/build/BUILD/procmail-3.24/src' make[2]: 'recommend' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/procmail-3.24/src' =============================================================================== If you are a system administrator you should consider integrating procmail into the mail-delivery system -- for advanced functionality, speed AND SECURITY --. For more information about this topic you should look in the examples/advanced file. Also, HIGHLY RECOMMENDED (type 'make install-suid' to execute it): chown root /builddir/build/BUILDROOT/procmail-3.24-1.fc39.s390x/usr/bin/procmail chgrp mail /builddir/build/BUILDROOT/procmail-3.24-1.fc39.s390x/usr/bin/procmail /builddir/build/BUILDROOT/procmail-3.24-1.fc39.s390x/usr/bin/lockfile chmod 6755 /builddir/build/BUILDROOT/procmail-3.24-1.fc39.s390x/usr/bin/procmail chmod 2755 /builddir/build/BUILDROOT/procmail-3.24-1.fc39.s390x/usr/bin/lockfile =============================================================================== make[1]: Leaving directory '/builddir/build/BUILD/procmail-3.24' + cp -p /builddir/build/SOURCES/procmailrc telsas_procmailrc + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 3.24-1.fc39 --unique-debug-suffix -3.24-1.fc39.s390x --unique-debug-src-base procmail-3.24-1.fc39.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/procmail-3.24 extracting debug info from /builddir/build/BUILDROOT/procmail-3.24-1.fc39.s390x/usr/bin/formail extracting debug info from /builddir/build/BUILDROOT/procmail-3.24-1.fc39.s390x/usr/bin/lockfile /usr/bin/gdb.minimal /usr/bin/gdb.minimal extracting debug info from /builddir/build/BUILDROOT/procmail-3.24-1.fc39.s390x/usr/bin/procmail /usr/bin/gdb.minimal original debug info size: 488kB, size after compression: 460kB /usr/bin/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 609 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /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 mangling shebang in /usr/bin/mailstat from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: procmail-3.24-1.fc39.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Sye0AQ + umask 022 + cd /builddir/build/BUILD + cd procmail-3.24 + DOCDIR=/builddir/build/BUILDROOT/procmail-3.24-1.fc39.s390x/usr/share/doc/procmail + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/procmail-3.24-1.fc39.s390x/usr/share/doc/procmail + cp -pr Artistic /builddir/build/BUILDROOT/procmail-3.24-1.fc39.s390x/usr/share/doc/procmail + cp -pr COPYING /builddir/build/BUILDROOT/procmail-3.24-1.fc39.s390x/usr/share/doc/procmail + cp -pr FAQ /builddir/build/BUILDROOT/procmail-3.24-1.fc39.s390x/usr/share/doc/procmail + cp -pr FEATURES /builddir/build/BUILDROOT/procmail-3.24-1.fc39.s390x/usr/share/doc/procmail + cp -pr HISTORY /builddir/build/BUILDROOT/procmail-3.24-1.fc39.s390x/usr/share/doc/procmail + cp -pr README /builddir/build/BUILDROOT/procmail-3.24-1.fc39.s390x/usr/share/doc/procmail + cp -pr KNOWN_BUGS /builddir/build/BUILDROOT/procmail-3.24-1.fc39.s390x/usr/share/doc/procmail + cp -pr examples /builddir/build/BUILDROOT/procmail-3.24-1.fc39.s390x/usr/share/doc/procmail + cp -pr telsas_procmailrc /builddir/build/BUILDROOT/procmail-3.24-1.fc39.s390x/usr/share/doc/procmail + RPM_EC=0 ++ jobs -p + exit 0 Provides: procmail = 3.24-1.fc39 procmail(s390-64) = 3.24-1.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.29)(64bit) rtld(GNU_HASH) Processing files: procmail-debugsource-3.24-1.fc39.s390x Provides: procmail-debugsource = 3.24-1.fc39 procmail-debugsource(s390-64) = 3.24-1.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: procmail-debuginfo-3.24-1.fc39.s390x Provides: debuginfo(build-id) = 23e2835d6f2d5a7efcf21a85265d702f6354739e debuginfo(build-id) = 6b20c9499587bfc77550de483fdf02775b7d21f4 debuginfo(build-id) = 88b077c09c6041674ec5737e3a038f064025384c procmail-debuginfo = 3.24-1.fc39 procmail-debuginfo(s390-64) = 3.24-1.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: procmail-debugsource(s390-64) = 3.24-1.fc39 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/procmail-3.24-1.fc39.s390x Wrote: /builddir/build/RPMS/procmail-3.24-1.fc39.s390x.rpm Wrote: /builddir/build/RPMS/procmail-debuginfo-3.24-1.fc39.s390x.rpm Wrote: /builddir/build/RPMS/procmail-debugsource-3.24-1.fc39.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.VhEk6h + umask 022 + cd /builddir/build/BUILD + cd procmail-3.24 + /usr/bin/rm -rf /builddir/build/BUILDROOT/procmail-3.24-1.fc39.s390x + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.wvhzTh + umask 022 + cd /builddir/build/BUILD + rm -rf procmail-3.24 procmail-3.24.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0