Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/procmail.spec'], chrootPath='/var/lib/mock/f31-build-89234-32057/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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': 'en_US.UTF-8'} and shell False BUILDSTDERR: warning: Macro expanded in comment on line 13: %{version}.tar.gz Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Wrote: /builddir/build/SRPMS/procmail-3.22-51.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/procmail.spec'], chrootPath='/var/lib/mock/f31-build-89234-32057/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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': 'en_US.UTF-8'} and shell False BUILDSTDERR: warning: Macro expanded in comment on line 13: %{version}.tar.gz Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QbauAA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf procmail-3.22 + /usr/bin/gzip -dc /builddir/build/SOURCES/procmail-3.22.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd procmail-3.22 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (procmail-3.22-rhconfig.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rhconfig --fuzz=0 + echo 'Patch #1 (procmail-3.15.1-man.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #2 (procmail_3.22-8.debian.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #4 (procmail-3.22-truncate.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .truncate --fuzz=0 + echo 'Patch #5 (procmail-3.22-ipv6.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ipv6 --fuzz=0 + echo 'Patch #6 (procmail-3.22-getline.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .getline --fuzz=0 + echo 'Patch #7 (procmail-3.22-CVE-2014-3618.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .CVE-2014-3618 --fuzz=0 + echo 'Patch #8 (procmail-3.22-crash-fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .crash-fix --fuzz=0 + echo 'Patch #9 (procmail-3.22-CVE-2017-16844.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .CVE-2017-16844 --fuzz=0 + echo 'Patch #10 (procmail-3.22-coverity-scan-fixes.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .coverity-scan-fixes --fuzz=0 + find examples -type f + xargs chmod 644 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (procmail-3.22-rhconfig.patch): patching file Makefile patching file config.h Hunk #4 succeeded at 99 (offset 7 lines). Patch #1 (procmail-3.15.1-man.patch): patching file man/procmail.man Patch #2 (procmail_3.22-8.debian.patch): patching file examples/advanced patching file man/procmail.man patching file man/procmailrc.man patching file src/comsat.c patching file src/formail.c patching file src/memblk.c patching file src/autoconf patching file src/procmail.c patching file src/pipes.c patching file src/memblk.h patching file src/manconf.c patching file src/recommend.c patching file src/foldinfo.h patching file src/mailfold.c patching file FAQ patching file Makefile patching file debian/changelog patching file debian/control patching file debian/copyright patching file debian/mailstat.1 patching file debian/QuickStart patching file debian/README.Maildir patching file debian/rules Patch #4 (procmail-3.22-truncate.patch): patching file src/mailfold.c Patch #5 (procmail-3.22-ipv6.patch): patching file src/autoconf patching file src/comsat.c patching file src/network.h Patch #6 (procmail-3.22-getline.patch): patching file src/fields.c patching file src/formail.c patching file src/formisc.c patching file src/formisc.h Patch #7 (procmail-3.22-CVE-2014-3618.patch): patching file src/formisc.c Patch #8 (procmail-3.22-crash-fix.patch): patching file src/cstdio.c patching file src/formail.c patching file src/formisc.c Patch #9 (procmail-3.22-CVE-2017-16844.patch): patching file src/formisc.c Patch #10 (procmail-3.22-coverity-scan-fixes.patch): patching file src/cstdio.c patching file src/foldinfo.c patching file src/lmtp.c patching file src/locking.c patching file src/mailfold.c Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1jbiHA + umask 022 + cd /builddir/build/BUILD + cd procmail-3.22 BUILDSTDERR: ++ getconf LFS_CFLAGS + make RPM_OPT_FLAGS= autoconf.h BUILDSTDERR: ++ getconf LFS_CFLAGS + make 'RPM_OPT_FLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments ' BUILDSTDERR: procmail.c: In function 'savepass': BUILDSTDERR: procmail.c:76:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 76 | if(tpass=auth_finduid(uid,0)) /* save by copying */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: procmail.c: In function 'main': BUILDSTDERR: procmail.c:132:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 132 | else if(chp2=(char*)argv[argc+1]) BUILDSTDERR: | ^~~~ BUILDSTDERR: procmail.c:141:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 141 | else if(chp2=(char*)argv[argc+1]) BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from procmail.c:26: BUILDSTDERR: memblk.h:28:20: warning: statement with no effect [-Wunused-value] BUILDSTDERR: 28 | #define private(x) 1 BUILDSTDERR: | ^ BUILDSTDERR: procmail.c:256:8: note: in expansion of macro 'private' BUILDSTDERR: 256 | private(1); /* gets the original */ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: memblk.h:28:20: warning: statement with no effect [-Wunused-value] BUILDSTDERR: 28 | #define private(x) 1 BUILDSTDERR: | ^ BUILDSTDERR: procmail.c:285:8: note: in expansion of macro 'private' BUILDSTDERR: 285 | { private(0); /* time to share */ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: memblk.h:28:20: warning: statement with no effect [-Wunused-value] BUILDSTDERR: 28 | #define private(x) 1 BUILDSTDERR: | ^ BUILDSTDERR: procmail.c:289:8: note: in expansion of macro 'private' BUILDSTDERR: 289 | private(1); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: procmail.c:293:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 293 | if(pidchild=sfork()) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: procmail.c:292:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 292 | if(argv[++argc]) /* more than one recipient */ BUILDSTDERR: | ^ BUILDSTDERR: procmail.c:305:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 305 | while(chp=(char*)argv[argc]); BUILDSTDERR: | ^~~ BUILDSTDERR: procmail.c:427:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 427 | while(chp=(char*)argv[argc]) /* interpret command line specs first */ BUILDSTDERR: | ^~~ BUILDSTDERR: procmail.c: In function 'tryopen': BUILDSTDERR: procmail.c:590:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 590 | if(((stbuf.st_uid!=uid&&stbuf.st_uid!=ROOT_uid|| /* check uid, */ BUILDSTDERR: procmail.c:593:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 592 | rctype==rct_DEFAULT&& /* if the default then also check */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 593 | (stbuf.st_mode&S_IWGRP)&& /* for writable by group, */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 594 | (NO_CHECK_stgid||stbuf.st_gid!=gid) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: procmail.c:595:4: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 590 | if(((stbuf.st_uid!=uid&&stbuf.st_uid!=ROOT_uid|| /* check uid, */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 591 | (stbuf.st_mode&S_IWOTH)|| /* writable by others, */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 592 | rctype==rct_DEFAULT&& /* if the default then also check */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 593 | (stbuf.st_mode&S_IWGRP)&& /* for writable by group, */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 594 | (NO_CHECK_stgid||stbuf.st_gid!=gid) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 595 | )&&strcmp(devnull,buf)|| /* /dev/null is a special case, */ BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: procmail.c:602:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 601 | rctype==rct_DEFAULT&& BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 602 | (stbuf.st_mode&(S_IWGRP|S_IXGRP))==(S_IWGRP|S_IXGRP)&& BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: 603 | (NO_CHECK_stgid||stbuf.st_gid!=gid)))) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: procmail.c:598:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 598 | !(stbuf.st_mode&S_ISVTX)&& /* means we don't care if */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 599 | #endif /* it's group or world writable */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 600 | ((stbuf.st_mode&(S_IWOTH|S_IXOTH))==(S_IWOTH|S_IXOTH)|| BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 601 | rctype==rct_DEFAULT&& BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 602 | (stbuf.st_mode&(S_IWGRP|S_IXGRP))==(S_IWGRP|S_IXGRP)&& BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 603 | (NO_CHECK_stgid||stbuf.st_gid!=gid)))) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: procmail.c: In function 'mainloop': BUILDSTDERR: procmail.c:735:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 735 | for(chp=buf;i= *chp++;) BUILDSTDERR: | ^ BUILDSTDERR: procmail.c:790:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 790 | if(ofiltflag=flags[FILTER]) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: procmail.c:792:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 792 | if(chp=gobenv(buf,end)) /* can it be an environment name? */ BUILDSTDERR: | ^~~ BUILDSTDERR: In file included from procmail.c:26: BUILDSTDERR: memblk.h:28:20: warning: statement with no effect [-Wunused-value] BUILDSTDERR: 28 | #define private(x) 1 BUILDSTDERR: | ^ BUILDSTDERR: procmail.c:841:7: note: in expansion of macro 'private' BUILDSTDERR: 841 | private(0); /* can't share anymore */ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: procmail.c: In function 'main': BUILDSTDERR: procmail.c:498:2: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 498 | setuid(uid); /* make sure we have enough space */ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: procmail.c:180:24: warning: 'chp2' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 180 | if(Deliverymode==1&&!(chp=chp2)) BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: cstdio.c: In function 'changerc': BUILDSTDERR: cstdio.c:76:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 76 | if(dp=incnamed->enext) /* fixup the name list */ BUILDSTDERR: | ^~ BUILDSTDERR: common.c: In function 'shexec': BUILDSTDERR: common.c:29:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 29 | for(*(p=(const char**)newargv)=binsh;*++p= *argv++;); BUILDSTDERR: | ^ BUILDSTDERR: common.c: In function 'detab': BUILDSTDERR: common.c:36:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 36 | { while(p=strpbrk(p,"\t\n\v\f\r")) BUILDSTDERR: | ^ BUILDSTDERR: exopen.c: In function 'unique': BUILDSTDERR: exopen.c:132:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 132 | flags&doCHOWN&& BUILDSTDERR: | ~~~~~~~~~~~~~^~ BUILDSTDERR: 133 | #endif BUILDSTDERR: | ~~~~~~ BUILDSTDERR: 134 | chown(full,uid,sgid)) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: exopen.c:116:6: warning: ignoring return value of 'nice', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 116 | nice(nicediff); /* put back the priority to the old level */ BUILDSTDERR: | ^~~~~~~~~~~~~~ /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" \ /dev/null "make" o \ "cc" " " " " "procmail lockfile formail mailstat" \ "procmail formail lockfile" \ "procmailrc procmailsc procmailex" "src man" \ "/usr/bin" \ "strip" cc 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.22/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 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 */ /* 2 moves in 64 steps of size 16384 when reallocing */ #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 2.33 times FASTER than my C-routine */ #define setrgid_RUNTIME_CHECK #define MAILSPOOLDIR "/var/spool/mail/" #define SENDMAIL "/usr/sbin/sendmail" #define CF_no_procmail_yet #define defPATH "PATH=$HOME/bin:/bin" #define defSPATH "PATH=/bin" #define PM_VERSION "3.22" /* Hotwire LOCKINGTEST=100 */ /* Procmail will lock via: dotlocking, fcntl() */ /* autoconf completed */ ========================================================================== make[1]: Leaving directory '/builddir/build/BUILD/procmail-3.22/src' 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.22/src' cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments procmail.c cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments cstdio.c cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments common.c cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments exopen.c BUILDSTDERR: cc -c -O2 -g -pipe -Wall -Wegoodies.c: In function 'readparse': BUILDSTDERR: goodies.c:92:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 92 | if(got<=NORMAL_TEXT&&bracelev|| BUILDSTDERR: | ~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: goodies.c:173:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 173 | if(got<=NORMAL_TEXT&&bracelev|| BUILDSTDERR: | ~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: goodies.c:309:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 309 | if(q=simplesplit(p,startb,fencepost,&got)) /* simply split */ BUILDSTDERR: | ^ BUILDSTDERR: goodies.c: In function 'metaparse': BUILDSTDERR: goodies.c:385:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 385 | { if(sh=!!strpbrk(p,shellmetas)) BUILDSTDERR: | ^~ BUILDSTDERR: locking.c: In function 'lockit': BUILDSTDERR: locking.c:106:6: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 106 | setegid(gid); /* we put back our regular permissions */ BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: locking.c: In function 'unlock': BUILDSTDERR: locking.c:139:2: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 139 | setegid(sgid); /* try and get some extra permissions */ BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: locking.c:144:2: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 144 | setegid(gid); /* we put back our regular permissions */ BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: mailfold.c: In function 'dirfile': BUILDSTDERR: mailfold.c:147:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 147 | if(dirp=opendir(buf)) BUILDSTDERR: | ^~~~ BUILDSTDERR: mailfold.c:148:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 148 | { while(dp=readdir(dirp)) /* there still are directory entries */ BUILDSTDERR: | ^~ BUILDSTDERR: mailfold.c: In function 'writefolder': BUILDSTDERR: mailfold.c:214:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 214 | if(blen=Tmnate-linkfolder) /* copy the names into safety */ BUILDSTDERR: | ^~~~ BUILDSTDERR: mailfold.c: In function 'logabstract': BUILDSTDERR: mailfold.c:340:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 340 | { if(lgabstract>0||(logopened||verbose)&&lgabstract) /* don't mail it back? */ BUILDSTDERR: mailfold.c:345:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 345 | { if(chp=strchr(themail.p,'\n')) BUILDSTDERR: | ^~~ BUILDSTDERR: In file included from mailfold.c:18: BUILDSTDERR: mailfold.c: In function 'readmail': BUILDSTDERR: memblk.h:28:20: warning: statement with no effect [-Wunused-value] BUILDSTDERR: 28 | #define private(x) 1 BUILDSTDERR: | ^ BUILDSTDERR: mailfold.c:400:17: note: in expansion of macro 'private' BUILDSTDERR: 400 | themail=new;private(1); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: memblk.h:28:20: warning: statement with no effect [-Wunused-value] BUILDSTDERR: 28 | #define private(x) 1 BUILDSTDERR: | ^ BUILDSTDERR: mailfold.c:414:17: note: in expansion of macro 'private' BUILDSTDERR: 414 | themail=new;private(1); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: mailfold.c:423:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 423 | while(thebody=strchr(thebody,'\n')) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: foldinfo.c: In function 'trymkdir': BUILDSTDERR: foldinfo.c:85:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 85 | !stbuf.st_uid&&!chown(dir,uid,sgid)))) /* or be safely fixable */ BUILDSTDERR: | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: foldinfo.c:94:31: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 94 | return S_IFDIR|NORMdirperm&~cumask; /* nope */ BUILDSTDERR: foldinfo.c: In function 'foldertype': BUILDSTDERR: foldinfo.c:159:30: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 159 | newfile:mode=S_IFREG|NORMperm&~cumask; BUILDSTDERR: foldinfo.c: In function 'screenmailbox': BUILDSTDERR: foldinfo.c:193:7: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] BUILDSTDERR: 193 | uid==stbuf.st_uid); /* we own the spool dir, note it in bit 0 */ BUILDSTDERR: | ~~~^~~~~~~~~~~~~~ BUILDSTDERR: foldinfo.c:265:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 265 | !S_ISDIR(stbuf.st_mode)&&stbuf.st_mode&S_ISGID)) BUILDSTDERR: | ^ BUILDSTDERR: foldinfo.c: In function 'foldertype': BUILDSTDERR: foldinfo.c:108:33: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 108 | (strcpy(chp,maildircur),mode=trymkdir(buffer,paranoid,i),S_ISDIR(mode))&& BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: foldinfo.c:103:19: note: 'i' was declared here BUILDSTDERR: 103 | { mode_t mode;int i; BUILDSTDERR: | ^ BUILDSTDERR: misc.c: In function 'elog': BUILDSTDERR: misc.c:51:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 51 | if(p=lmax?frealloc(old,newmax):fmalloc(newmax))/* fragile allocation */ BUILDSTDERR: | ^ BUILDSTDERR: misc.c: In function 'nextrcfile': BUILDSTDERR: misc.c:217:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 217 | while(p= *gargv) BUILDSTDERR: | ^ BUILDSTDERR: misc.c: In function 'sterminate': BUILDSTDERR: misc.c:264:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 264 | if(i=(lcking&~lck__NOMSG)>>1) BUILDSTDERR: | ^ BUILDSTDERR: misc.c: In function 'enoughprivs': BUILDSTDERR: misc.c:364:12: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 364 | passinvk&&auth_whatuid(passinvk)==uid|| BUILDSTDERR: | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: misc.c:365:13: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 365 | euid==uid&&egid==gid; BUILDSTDERR: | ~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: misc.c: In function 'conditions': BUILDSTDERR: misc.c:394:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 394 | if(flags[BODY_GREP]) /* what needs to be egrepped? */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from procmail.h:3, BUILDSTDERR: from misc.c:13: BUILDSTDERR: misc.c: In function 'setids': BUILDSTDERR: includes.h:376:22: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 376 | #define setruid(uid) setreuid(uid,-1) BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: misc.c:99:6: note: in expansion of macro 'setruid' BUILDSTDERR: 99 | setruid(uid); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: misc.c:102:6: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 102 | setegid(gid); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: misc.c: In function 'conditions': BUILDSTDERR: misc.c:550:13: warning: 'xponent' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 550 | else if(xponent>=1&&weight!=0) BUILDSTDERR: | ^ BUILDSTDERR: misc.c:613:13: warning: 'weight' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 613 | score+=weight*tpow(f,xponent); BUILDSTDERR: | ^~ BUILDSTDERR: pipes.c: In function 'callnewprog': BUILDSTDERR: pipes.c:133:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 133 | while(newargv[argc]= *walkargs++) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: pipes.c: In function 'pipin': BUILDSTDERR: pipes.c:257:1: warning: label 'builtin' defined but not used [-Wunused-label] BUILDSTDERR: 257 | builtin: BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: pipes.c: In function 'pipthrough': BUILDSTDERR: pipes.c:193:9: warning: 'eq' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 193 | *eq='=';name=Stdout;Stdout=0;primeStdout(name);free(name); BUILDSTDERR: | ~~~^~~~ BUILDSTDERR: regexp.c: In function 'bregcomp': BUILDSTDERR: regexp.c:387:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 387 | { for(;f->spawn!=f;f=f->spawn); /* search start */ BUILDSTDERR: | ^~~ BUILDSTDERR: regexp.c:388:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' BUILDSTDERR: 388 | i->next=f; /* of loop */ BUILDSTDERR: | ^ BUILDSTDERR: regexp.c: In function 'cleantail': BUILDSTDERR: regexp.c:431:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 431 | while(thiss= *(reg= &PC(oldthis=thiss,th1))) /* wipe out list till you */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: regexp.c: In function 'bregexec': BUILDSTDERR: regexp.c:463:13: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] BUILDSTDERR: 463 | i+=ign_case&'a'-'A'; /* transmogrify it to lowercase */ BUILDSTDERR: | ^ BUILDSTDERR: regexp.c:516:16: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] BUILDSTDERR: 516 | i+=ign_case&'a'-'A'; /* transmogrify it to lowercase */ BUILDSTDERR: | ^ BUILDSTDERR: regexp.c:567:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 567 | if(i!='\n') BUILDSTDERR: | ^ BUILDSTDERR: regexp.c:512:24: warning: 'bom' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 512 | ;{ const char*start,*bom; BUILDSTDERR: | ^~~ BUILDSTDERR: robust.c: In function 'heapdefrag': BUILDSTDERR: robust.c:42:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 42 | if(p=malloc(1)) BUILDSTDERR: | ^ BUILDSTDERR: robust.c: In function 'tmalloc': BUILDSTDERR: robust.c:49:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 49 | if(p=malloc(len)) BUILDSTDERR: | ^ BUILDSTDERR: robust.c:54:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 54 | if(p=malloc(len)) /* some other process has paniced (and died 8-) */ BUILDSTDERR: | ^ BUILDSTDERR: robust.c: In function 'trealloc': BUILDSTDERR: robust.c:65:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 65 | if(p=realloc(old,len)) BUILDSTDERR: | ^ BUILDSTDERR: robust.c:70:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 70 | if(p=realloc(old,len)) BUILDSTDERR: | ^ BUILDSTDERR: robust.c: In function 'ssleep': BUILDSTDERR: robust.c:183:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 183 | if(alrmtime) BUILDSTDERR: | ^ rror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments goodies.c cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments locking.c cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments mailfold.c cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments foldinfo.c cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments misc.c cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments pipes.c cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments regexp.c cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments robust.c cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments sublib.c cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments acommon.c cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments mcommon.c BUILDSTDERR: cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhatlastdirsep.c: In function 'lastdirsep': BUILDSTDERR: lastdirsep.c:18:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 18 | while(p=strpbrk(filename,dirsep)) BUILDSTDERR: | ^ BUILDSTDERR: authenticate.c: In function 'auth_finduser': BUILDSTDERR: authenticate.c:80:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 80 | if(p=strchr(user,'@')) /* does the username contain an @? */ BUILDSTDERR: | ^ BUILDSTDERR: authenticate.c: In function 'auth_zeroout': BUILDSTDERR: authenticate.c:148:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 148 | if(p=(struct passwd*)pass->pw) BUILDSTDERR: | ^ BUILDSTDERR: authenticate.c: In function 'auth_freeid': BUILDSTDERR: authenticate.c:170:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 170 | if(p=(struct passwd*)pass->pw) BUILDSTDERR: | ^ BUILDSTDERR: lmtp.c: In function 'bufwrite': BUILDSTDERR: lmtp.c:78:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 78 | { if(already&&already!=rwrite(savstdout,bufcur=buf2,already)|| BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: lmtp.c:70:2: warning: 'baduser' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 70 | baduser[]="550 5.1.1 mailbox unknown\r\n", BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: memblk.c: In function 'read2blk': BUILDSTDERR: memblk.c:151:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 151 | if(newlast=(*read_func)(mb->p+filled,mb->len-filled,data)) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: variables.c: In function 'sputenv': BUILDSTDERR: variables.c:70:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 70 | { while(*preenv=preenv[1]) /* wipe this entry out of the environment */ BUILDSTDERR: | ^ BUILDSTDERR: variables.c:80:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 80 | { for(preenv=environ;*preenv;preenv++); BUILDSTDERR: | ^~~ BUILDSTDERR: variables.c:81:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' BUILDSTDERR: 81 | preenv[1]=0;*(lastenv=preenv)=(char*)(split=newdynstring(&myenv,a)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: variables.c: In function 'cleanupenv': BUILDSTDERR: variables.c:159:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 159 | for(ep=emax;p= *ep;ep++) /* scan for this keeper */ BUILDSTDERR: | ^ BUILDSTDERR: variables.c:184:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 184 | for(pp=ld_;p= *pp;pp++) /* does it start with LD_ or similar? */ BUILDSTDERR: | ^ BUILDSTDERR: variables.c: In function 'asenvcpy': BUILDSTDERR: variables.c:300:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 300 | if(chp=strchr(src,'=')) /* is it an assignment? */ BUILDSTDERR: | ^~~ BUILDSTDERR: variables.c:314:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 314 | if(chp=eputenv(chp,src)) BUILDSTDERR: | ^~~ BUILDSTDERR: from.c: In function 'findtstamp': BUILDSTDERR: from.c:43:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 43 | if(*start==' '&&(++start==end||*start==' '&&++start==end)) BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: In file included from from.c:16: BUILDSTDERR: from.c: In function 'makeFrom': BUILDSTDERR: memblk.h:28:20: warning: statement with no effect [-Wunused-value] BUILDSTDERR: 28 | #define private(x) 1 BUILDSTDERR: | ^ BUILDSTDERR: from.c:93:3: note: in expansion of macro 'private' BUILDSTDERR: 93 | private(1); /* we're not yet sharing */ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: from.c:134:15: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 134 | else if(!from) /* leave the From_ line alone */ BUILDSTDERR: | ^ BUILDSTDERR: from.c:158:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 158 | { if(lfr) /* did we skip a From_ line? */ BUILDSTDERR: | ^ BUILDSTDERR: from.c: In function 'checkprivFrom_': BUILDSTDERR: from.c:179:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 179 | if(grp=getgrgid(gid)) /* check out the invoker's gid */ BUILDSTDERR: | ^~~ BUILDSTDERR: comsat.c: In function 'setcomsat': BUILDSTDERR: comsat.c:84:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 84 | if(csvalid=newvalid) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: setid.c: In function 'main': BUILDSTDERR: setid.c:13:13: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 13 | if(argc!=2&&argc!=3||geteuid()||!(p=getpwnam(argv[1]))) BUILDSTDERR: | ~~~~~~~^~~~~~~~~ BUILDSTDERR: lockfile.c: In function 'main': BUILDSTDERR: lockfile.c:134:10: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 134 | if(*cp&&cp[1]||ma&&sleepsec>=0) /* second pass? */ BUILDSTDERR: | ~~~^~~~~~~ BUILDSTDERR: lockfile.c:138:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 137 | { if(!((ma=(char*)getenv(lgname))&& BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 138 | (pass=auth_finduser(ma,0))&& BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: 139 | auth_whatuid(pass)==uid|| BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: lockfile.c: In function 'elog': BUILDSTDERR: lockfile.c:54:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 54 | { write(STDERR,a,strlen(a)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: lockfile.c:20:22: warning: 'rcsdate' defined but not used [-Wunused-variable] BUILDSTDERR: 20 | static /*const*/char rcsdate[]="$Date: 2001/08/04 07:12:16 $"; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: lockfile.c: In function 'main': BUILDSTDERR: lockfile.c:193:40: warning: 't' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 193 | if(force&&!lstat(cp,&stbuf)&&force");*++chp=' '); /* continued regular field */ BUILDSTDERR: | ^~~ BUILDSTDERR: formail.c:135:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 135 | { for(chp=p->fld_text;chp=strchr(chp,'\n');) /* continued regular */ BUILDSTDERR: | ^~~ BUILDSTDERR: formail.c:138:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 138 | for(chp=p->fld_text;chp=strstr(chp,"\n ");*++chp='>'); BUILDSTDERR: | ^~~ BUILDSTDERR: formail.c: In function 'procfields': BUILDSTDERR: formail.c:165:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 165 | if(fp2=findf(fldp,&Rheader)) /* explicitly rename field */ BUILDSTDERR: | ^~~ BUILDSTDERR: formail.c:174:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 174 | else if(fp2=findf(fldp,&Uheader)) BUILDSTDERR: | ^~~ BUILDSTDERR: formail.c: In function 'digheadr': BUILDSTDERR: formail.c:202:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 202 | return i>=0||j>STRLEN(old_)&&!strncasecmp(old_,chp,STRLEN(old_))|| BUILDSTDERR: | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: formail.c:203:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 203 | j>STRLEN(x_)&&!strncasecmp(x_,chp,STRLEN(x_)); BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: formail.c: In function 'getsender': BUILDSTDERR: formail.c:233:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 233 | if(pastad=strchr(chp,' ')) /* found an address? */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: formail.c:248:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 248 | if(!p1||p2&&p20)) /* impossible combination */ BUILDSTDERR: | ~~~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: formail.c:554:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 554 | if((xheader||Xheader)&&logsummary||keepb&&!(areply||xheader||Xheader)) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ BUILDSTDERR: formail.c:575:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 575 | Xheader&& /* or eXtracting without */ BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 576 | !findf(fcntlength,&Xheader)); /* getting Content-Length: */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: formail.c:573:12: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 573 | keepb&& /* if we're keeping the body and */ BUILDSTDERR: | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 574 | (areply|| /* autoreplying */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 575 | Xheader&& /* or eXtracting without */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 576 | !findf(fcntlength,&Xheader)); /* getting Content-Length: */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: formail.c:616:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 616 | if(chp[-1]==HEAD_DELIMITER) BUILDSTDERR: | ^ BUILDSTDERR: formail.c:684:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 684 | ((fldp=findf(fFrom_,&aheader))&&STRLEN(From_)+1>=fldp->Tot_len|| BUILDSTDERR: formail.c:706:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 706 | (fldp->id_len==STRLEN(messageid)&& BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: 707 | !strncasecmp(fldp->fld_text,messageid,STRLEN(messageid))|| BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: formail.c:704:4: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 704 | if(!findf(fldp,&rdheader)) /* only add what didn't exist */ BUILDSTDERR: | ^ BUILDSTDERR: formail.c:727:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 727 | if(fldp=findf(fsubject,&rdheader)) BUILDSTDERR: | ^~~~ BUILDSTDERR: formail.c:788:15: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 788 | accuhdr: { for(i=minfields;--i&&readhead()&&digheadr();); /* found enough */ BUILDSTDERR: | ^~~ BUILDSTDERR: formail.c:789:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' BUILDSTDERR: 789 | if(!i) /* then split it! */ BUILDSTDERR: | ^~ BUILDSTDERR: formail.c:843:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 843 | if(fldp=rdheader) /* we already read some "valid" fields */ BUILDSTDERR: | ^~~~ BUILDSTDERR: formail.c:850:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 850 | if(p=memchr(chp,'\n',fldp->Tot_len)) BUILDSTDERR: | ^ BUILDSTDERR: formail.c:859:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 859 | while(fldp=fp2); /* escape all fields we found */ BUILDSTDERR: | ^~~~ BUILDSTDERR: formail.c:790:1: warning: label 'splitit' defined but not used [-Wunused-label] BUILDSTDERR: 790 | splitit: { if(!lnl) /* did the previous mail end with an empty line? */ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: formail.c:15:22: warning: 'rcsdate' defined but not used [-Wunused-variable] BUILDSTDERR: 15 | static /*const*/char rcsdate[]="$Date: 2001/08/04 07:07:43 $"; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: formail.c: In function 'main': BUILDSTDERR: formail.c:356:10: warning: 'oldnewl' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 356 | *oldnewl='\n'; /* restore the newline */ BUILDSTDERR: | ~~~~~~~~^~~~~ BUILDSTDERR: formail.c:309:25: note: 'oldnewl' was declared here BUILDSTDERR: 309 | { int dupid=0;char*key,*oldnewl; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: formail.c:349:8: warning: 'maxlen' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 349 | if(insoffs>=maxlen) /* past our quota? */ BUILDSTDERR: | ^ BUILDSTDERR: formail.c:370:8: note: 'maxlen' was declared here BUILDSTDERR: 370 | long maxlen,ctlength;FILE*idcache=0;pid_t thepid; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: fields.c: In function 'cleanheader': BUILDSTDERR: fields.c:34:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 34 | for(pp=&rdheader;p= *pp;pp= &(*pp)->fld_next) BUILDSTDERR: | ^ BUILDSTDERR: formisc.c: In function 'startprog': BUILDSTDERR: formisc.c:184:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 184 | while(childlimit&&children>=childlimit||(child=fork())==-1&&children) BUILDSTDERR: | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: formisc.c:161:3: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 161 | dup(oldstdout); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: formisc.c:174:6: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 174 | pipe(poutfd); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: formisc.c:193:51: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 193 | { close(STDIN);close(oldstdout);close(PWRO);dup(PRDO);close(PRDO); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ecommon.c: In function 'tmalloc': BUILDSTDERR: ecommon.c:21:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 21 | if(p=malloc(len)) BUILDSTDERR: | ^ BUILDSTDERR: ecommon.c: In function 'trealloc': BUILDSTDERR: ecommon.c:27:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 27 | { if(old=realloc(old,len)) BUILDSTDERR: | ^~~ BUILDSTDERR: manconf.c: In function 'main': BUILDSTDERR: manconf.c:368:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 368 | while(*++p=='\t');*(q=strchr(p,'\n'))='\0'; BUILDSTDERR: | ^~~~~ BUILDSTDERR: manconf.c:368:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' BUILDSTDERR: 368 | while(*++p=='\t');*(q=strchr(p,'\n'))='\0'; BUILDSTDERR: | ^ BUILDSTDERR: manconf.c: In function 'pname': BUILDSTDERR: manconf.c:77:52: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 77 | { sprintf(filebuf,"%s.%04d",*gargv,filecount++);freopen(filebuf,"w",stdout); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: recommend.c: In function 'main': BUILDSTDERR: recommend.c:29:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 29 | if(!stat(mailspooldir,&stbuf)&&!(stbuf.st_mode&S_IWOTH)) BUILDSTDERR: | ^ BUILDSTDERR: recommend.c:41:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 41 | if(grp=getgrgid(gid)) BUILDSTDERR: | ^~~ BUILDSTDERR: recommend.c:40:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 40 | if(sgid) BUILDSTDERR: | ^ BUILDSTDERR: recommend.c:8:24: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 8 | #define PERMIS (S_IRWXU|S_IRWXG&~S_IWGRP|S_IRWXO&~S_IWOTH) BUILDSTDERR: | ^ BUILDSTDERR: recommend.c:45:56: note: in expansion of macro 'PERMIS' BUILDSTDERR: 45 | printf("chmod %lo %s\n",(unsigned long)(sgid|S_ISUID|PERMIS),argv[1]); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: recommend.c:8:41: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 8 | #define PERMIS (S_IRWXU|S_IRWXG&~S_IWGRP|S_IRWXO&~S_IWOTH) BUILDSTDERR: | ^ BUILDSTDERR: recommend.c:45:56: note: in expansion of macro 'PERMIS' BUILDSTDERR: 45 | printf("chmod %lo %s\n",(unsigned long)(sgid|S_ISUID|PERMIS),argv[1]); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: recommend.c:8:24: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 8 | #define PERMIS (S_IRWXU|S_IRWXG&~S_IWGRP|S_IRWXO&~S_IWOTH) BUILDSTDERR: | ^ BUILDSTDERR: recommend.c:47:51: note: in expansion of macro 'PERMIS' BUILDSTDERR: 47 | printf("chmod %lo %s\n",(unsigned long)(sgid|PERMIS),argv[2]); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: recommend.c:8:41: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 8 | #define PERMIS (S_IRWXU|S_IRWXG&~S_IWGRP|S_IRWXO&~S_IWOTH) BUILDSTDERR: | ^ BUILDSTDERR: recommend.c:47:51: note: in expansion of macro 'PERMIS' BUILDSTDERR: 47 | printf("chmod %lo %s\n",(unsigned long)(sgid|PERMIS),argv[2]); BUILDSTDERR: | ^~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 l,-z,relro,-z,now -Wno-comments formail.c cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments fields.c cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments formisc.c cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pie -Wl,-z,relro,-z,now -Wno-comments ecommon.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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.22/src' cd man; make ../new/procmail.1 ../new/formail.1 ../new/lockfile.1 ../new/procmailrc.5 ../new/procmailsc.5 ../new/procmailex.5 make[1]: Entering directory '/builddir/build/BUILD/procmail-3.22/man' make[2]: Entering directory '/builddir/build/BUILD/procmail-3.22/src' make[2]: Leaving directory '/builddir/build/BUILD/procmail-3.22/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 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.22/man' make[1]: Entering directory '/builddir/build/BUILD/procmail-3.22/src' make[1]: Leaving directory '/builddir/build/BUILD/procmail-3.22/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. Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2c543A + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64 + cd procmail-3.22 + rm -rf /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64/usr/share/man/man1 /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64/usr/share/man/man5 + make BASENAME=/builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64/usr MANDIR=/builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64/usr/share/man install + cp debian/mailstat.1 /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64/usr/share/man/man1 + cp -p /builddir/build/SOURCES/procmailrc telsas_procmailrc + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.22-51.fc31 --unique-debug-suffix -3.22-51.fc31.riscv64 --unique-debug-src-base procmail-3.22-51.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/procmail-3.22 make[1]: Entering directory '/builddir/build/BUILD/procmail-3.22' cd man; make ../new/procmail.1 ../new/formail.1 ../new/lockfile.1 ../new/procmailrc.5 ../new/procmailsc.5 ../new/procmailex.5 make[2]: Entering directory '/builddir/build/BUILD/procmail-3.22/man' make[3]: Entering directory '/builddir/build/BUILD/procmail-3.22/src' make[3]: '../man/man.sed' is up to date. make[3]: Leaving directory '/builddir/build/BUILD/procmail-3.22/src' make[2]: '../new/formail.1' is up to date. make[2]: '../new/lockfile.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.22/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.22/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.22/src' cp new/procmail new/lockfile new/formail new/mailstat /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64/usr/bin echo Housekeeping file >install.bin make[1]: Leaving directory '/builddir/build/BUILD/procmail-3.22' Installed in /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64/usr/bin -rwxr-xr-x. 1 mockbuild mock 189408 Aug 14 02:54 formail -rwxr-xr-x. 1 mockbuild mock 106864 Aug 14 02:54 lockfile -rwxr-xr-x. 1 mockbuild mock 5859 Aug 14 02:54 mailstat -rwxr-xr-x. 1 mockbuild mock 598504 Aug 14 02:54 procmail Installed in /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64/usr/share/man/man1 -rw-r--r--. 1 mockbuild mock 15334 Aug 14 02:54 formail.1 -rw-r--r--. 1 mockbuild mock 6897 Aug 14 02:54 lockfile.1 -rw-r--r--. 1 mockbuild mock 28125 Aug 14 02:54 procmail.1 Installed in /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64/usr/share/man/man5 -rw-r--r--. 1 mockbuild mock 16858 Aug 14 02:54 procmailex.5 -rw-r--r--. 1 mockbuild mock 31403 Aug 14 02:54 procmailrc.5 -rw-r--r--. 1 mockbuild mock 8074 Aug 14 02:54 procmailsc.5 make[1]: Entering directory '/builddir/build/BUILD/procmail-3.22' make[2]: Entering directory '/builddir/build/BUILD/procmail-3.22/src' make[2]: 'recommend' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/procmail-3.22/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.22-51.fc31.riscv64/usr/bin/procmail chgrp mail /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64/usr/bin/procmail /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64/usr/bin/lockfile chmod 6755 /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64/usr/bin/procmail chmod 2755 /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64/usr/bin/lockfile =============================================================================== make[1]: Leaving directory '/builddir/build/BUILD/procmail-3.22' explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64/usr/bin/lockfile explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64/usr/bin/procmail explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64/usr/bin/formail extracting debug info from /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64/usr/bin/procmail extracting debug info from /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64/usr/bin/lockfile BUILDSTDERR: extracting debug info from /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64/usr/bin/form611 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs ail original debug info size: 708kB, size after compression: 632kB /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. mangling shebang in /usr/bin/mailstat from /bin/sh to #!/usr/bin/sh Processing files: procmail-3.22-51.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.GfKRYx + umask 022 + cd /builddir/build/BUILD + cd procmail-3.22 + DOCDIR=/builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64/usr/share/doc/procmail + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64/usr/share/doc/procmail + cp -pr Artistic /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64/usr/share/doc/procmail + cp -pr COPYING /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64/usr/share/doc/procmail + cp -pr FAQ /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64/usr/share/doc/procmail + cp -pr FEATURES /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64/usr/share/doc/procmail + cp -pr HISTORY /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64/usr/share/doc/procmail + cp -pr README /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64/usr/share/doc/procmail + cp -pr KNOWN_BUGS /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64/usr/share/doc/procmail + cp -pr examples /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64/usr/share/doc/procmail + cp -pr telsas_procmailrc /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64/usr/share/doc/procmail + cp -pr debian/QuickStart /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64/usr/share/doc/procmail + cp -pr debian/README.Maildir /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64/usr/share/doc/procmail + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: procmail = 3.22-51.fc31 procmail(riscv-64) = 3.22-51.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: procmail-debugsource-3.22-51.fc31.riscv64 Provides: procmail-debugsource = 3.22-51.fc31 procmail-debugsource(riscv-64) = 3.22-51.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: procmail-debuginfo-3.22-51.fc31.riscv64 Provides: debuginfo(build-id) = 238e59322517343028014d5f89b6b5fa78c4e675 debuginfo(build-id) = b4059fd4af0e2918754aa0986fdcc0adaf7b91fa debuginfo(build-id) = f82a9804f4cfae903d57729e1eb147e435c1c11d procmail-debuginfo = 3.22-51.fc31 procmail-debuginfo(riscv-64) = 3.22-51.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: procmail-debugsource(riscv-64) = 3.22-51.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64 Wrote: /builddir/build/RPMS/procmail-3.22-51.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/procmail-debugsource-3.22-51.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/procmail-debuginfo-3.22-51.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ucCHly + umask 022 + cd /builddir/build/BUILD + cd procmail-3.22 + /usr/bin/rm -rf /builddir/build/BUILDROOT/procmail-3.22-51.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0