Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/procmail.spec'], chrootPath='/var/lib/mock/f30-build-42334-24262/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=996gid=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 14: %{version}.tar.gz Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/procmail-3.22-49.fc30.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/f30-build-42334-24262/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=996gid=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 14: %{version}.tar.gz Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.D4sOPd + 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):' Patch #0 (procmail-3.22-rhconfig.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rhconfig --fuzz=0 patching file Makefile patching file config.h Hunk #4 succeeded at 99 (offset 7 lines). + echo 'Patch #1 (procmail-3.15.1-man.patch):' Patch #1 (procmail-3.15.1-man.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file man/procmail.man + echo 'Patch #2 (procmail_3.22-8.debian.patch):' Patch #2 (procmail_3.22-8.debian.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 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): + echo 'Patch #4 (procmail-3.22-truncate.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .truncate --fuzz=0 patching file src/mailfold.c + echo 'Patch #5 (procmail-3.22-ipv6.patch):' Patch #5 (procmail-3.22-ipv6.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ipv6 --fuzz=0 patching file src/autoconf patching file src/comsat.c patching file src/network.h + echo 'Patch #6 (procmail-3.22-getline.patch):' Patch #6 (procmail-3.22-getline.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .getline --fuzz=0 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): + 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 patching file src/formisc.c Patch #8 (procmail-3.22-crash-fix.patch): + echo 'Patch #8 (procmail-3.22-crash-fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .crash-fix --fuzz=0 patching file src/cstdio.c patching file src/formail.c patching file src/formisc.c Patch #9 (procmail-3.22-CVE-2017-16844.patch): + 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 patching file src/formisc.c Patch #10 (procmail-3.22-coverity-scan-fixes.patch): + 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 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 + find examples -type f + xargs chmod 644 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.tSgp13 + umask 022 + cd /builddir/build/BUILD + cd procmail-3.22 BUILDSTDERR: ++ 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" \ /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 83725 /* Your system's strstr() is 5.70 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' 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 ' 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 BUILDSTDERR: procmail.c: In function 'savepass': BUILDSTDERR: procmail.c:76:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: else if(chp2=(char*)argv[argc+1]) BUILDSTDERR: ^~~~ BUILDSTDERR: procmail.c:141:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: #define private(x) 1 BUILDSTDERR: ^ BUILDSTDERR: procmail.c:256:8: note: in expansion of macro 'private' BUILDSTDERR: private(1); /* gets the original */ BUILDSTDERR: ^~~~~~~ BUILDSTDERR: memblk.h:28:20: warning: statement with no effect [-Wunused-value] BUILDSTDERR: #define private(x) 1 BUILDSTDERR: ^ BUILDSTDERR: procmail.c:285:8: note: in expansion of macro 'private' BUILDSTDERR: { private(0); /* time to share */ BUILDSTDERR: ^~~~~~~ BUILDSTDERR: memblk.h:28:20: warning: statement with no effect [-Wunused-value] BUILDSTDERR: #define private(x) 1 BUILDSTDERR: ^ BUILDSTDERR: procmail.c:289:8: note: in expansion of macro 'private' BUILDSTDERR: private(1); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: procmail.c:293:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if(pidchild=sfork()) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: procmail.c:292:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if(argv[++argc]) /* more than one recipient */ BUILDSTDERR: ^ BUILDSTDERR: procmail.c:305:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while(chp=(char*)argv[argc]); BUILDSTDERR: ^~~ BUILDSTDERR: procmail.c:427:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if(((stbuf.st_uid!=uid&&stbuf.st_uid!=ROOT_uid|| /* check uid, */ BUILDSTDERR: procmail.c:593:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: rctype==rct_DEFAULT&& /* if the default then also check */ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: (stbuf.st_mode&S_IWGRP)&& /* for writable by group, */ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: (NO_CHECK_stgid||stbuf.st_gid!=gid) BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: procmail.c:595:4: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if(((stbuf.st_uid!=uid&&stbuf.st_uid!=ROOT_uid|| /* check uid, */ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: (stbuf.st_mode&S_IWOTH)|| /* writable by others, */ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rctype==rct_DEFAULT&& /* if the default then also check */ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: (stbuf.st_mode&S_IWGRP)&& /* for writable by group, */ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: (NO_CHECK_stgid||stbuf.st_gid!=gid) BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: )&&strcmp(devnull,buf)|| /* /dev/null is a special case, */ BUILDSTDERR: ~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: procmail.c:602:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: rctype==rct_DEFAULT&& BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: (stbuf.st_mode&(S_IWGRP|S_IXGRP))==(S_IWGRP|S_IXGRP)&& BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: (NO_CHECK_stgid||stbuf.st_gid!=gid)))) BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: procmail.c:598:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: !(stbuf.st_mode&S_ISVTX)&& /* means we don't care if */ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: #endif /* it's group or world writable */ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ((stbuf.st_mode&(S_IWOTH|S_IXOTH))==(S_IWOTH|S_IXOTH)|| BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rctype==rct_DEFAULT&& BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: (stbuf.st_mode&(S_IWGRP|S_IXGRP))==(S_IWGRP|S_IXGRP)&& BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: (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: for(chp=buf;i= *chp++;) BUILDSTDERR: ^ BUILDSTDERR: procmail.c:790:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if(ofiltflag=flags[FILTER]) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: procmail.c:792:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: #define private(x) 1 BUILDSTDERR: ^ BUILDSTDERR: procmail.c:841:7: note: in expansion of macro 'private' BUILDSTDERR: 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: 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: if(Deliverymode==1&&!(chp=chp2)) 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/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 BUILDSTDERR: cstdio.c: In function 'changerc': BUILDSTDERR: cstdio.c:76:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if(dp=incnamed->enext) /* fixup the name list */ 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/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 BUILDSTDERR: common.c: In function 'shexec': BUILDSTDERR: common.c:29:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: { while(p=strpbrk(p,"\t\n\v\f\r")) 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/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: exopen.c: In function 'unique': BUILDSTDERR: exopen.c:132:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: flags&doCHOWN&& BUILDSTDERR: ~~~~~~~~~~~~~^~ BUILDSTDERR: #endif BUILDSTDERR: ~~~~~~ BUILDSTDERR: 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: nice(nicediff); /* put back the priority to the old level */ 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/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 BUILDSTDERR: goodies.c: In function 'readparse': BUILDSTDERR: goodies.c:92:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if(got<=NORMAL_TEXT&&bracelev|| BUILDSTDERR: ~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: goodies.c:173:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if(got<=NORMAL_TEXT&&bracelev|| BUILDSTDERR: ~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: goodies.c:309:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: { if(sh=!!strpbrk(p,shellmetas)) 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/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 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: 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: 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: setegid(gid); /* we put back our regular permissions */ 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/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 BUILDSTDERR: mailfold.c: In function 'dirfile': BUILDSTDERR: mailfold.c:147:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if(dirp=opendir(buf)) BUILDSTDERR: ^~~~ BUILDSTDERR: mailfold.c:148:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: { 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: 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: { 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: { 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: #define private(x) 1 BUILDSTDERR: ^ BUILDSTDERR: mailfold.c:400:17: note: in expansion of macro 'private' BUILDSTDERR: themail=new;private(1); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: memblk.h:28:20: warning: statement with no effect [-Wunused-value] BUILDSTDERR: #define private(x) 1 BUILDSTDERR: ^ BUILDSTDERR: mailfold.c:414:17: note: in expansion of macro 'private' BUILDSTDERR: themail=new;private(1); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: mailfold.c:423:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while(thebody=strchr(thebody,'\n')) 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/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 BUILDSTDERR: foldinfo.c: In function 'trymkdir': BUILDSTDERR: foldinfo.c:85:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: !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: 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: 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: 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: !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: (strcpy(chp,maildircur),mode=trymkdir(buffer,paranoid,i),S_ISDIR(mode))&& BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: foldinfo.c:103:19: note: 'i' was declared here BUILDSTDERR: { mode_t mode;int i; 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/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 BUILDSTDERR: misc.c: In function 'elog': BUILDSTDERR: misc.c:51:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: passinvk&&auth_whatuid(passinvk)==uid|| BUILDSTDERR: ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: misc.c:365:13: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 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: 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: #define setruid(uid) setreuid(uid,-1) BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: misc.c:99:6: note: in expansion of macro 'setruid' BUILDSTDERR: setruid(uid); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: misc.c:102:6: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: setegid(gid); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: misc.c: In function 'conditions': BUILDSTDERR: misc.c:548:15: warning: 'xponent' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: { if(0spawn!=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: 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: 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: i+=ign_case&'a'-'A'; /* transmogrify it to lowercase */ BUILDSTDERR: ^ BUILDSTDERR: regexp.c:516:16: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] BUILDSTDERR: 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: if(i!='\n') BUILDSTDERR: ^ BUILDSTDERR: regexp.c: In function 'por': BUILDSTDERR: regexp.c:297:41: warning: 'rvold' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: cachea=pvold;cachep=p;cacher=(char*)r-(char*)rvold; BUILDSTDERR: ~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: regexp.c:297:10: warning: 'pvold' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: cachea=pvold;cachep=p;cacher=(char*)r-(char*)rvold; BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: regexp.c: In function 'bregexec': BUILDSTDERR: regexp.c:512:24: warning: 'bom' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: ;{ const char*start,*bom; 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/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 BUILDSTDERR: robust.c: In function 'heapdefrag': BUILDSTDERR: robust.c:42:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if(p=malloc(len)) BUILDSTDERR: ^ BUILDSTDERR: robust.c:54:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if(p=realloc(old,len)) BUILDSTDERR: ^ BUILDSTDERR: robust.c:70:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if(alrmtime) 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/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 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 lastdirsep.c BUILDSTDERR: lastdirsep.c: In function 'lastdirsep': BUILDSTDERR: lastdirsep.c:18:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while(p=strpbrk(filename,dirsep)) BUILDSTDERR: ^ cc -c -DPROCMAIL -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 authenticate.c BUILDSTDERR: authenticate.c: In function 'auth_finduser': BUILDSTDERR: authenticate.c:80:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if(p=(struct passwd*)pass->pw) 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/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 lmtp.c BUILDSTDERR: lmtp.c: In function 'bufwrite': BUILDSTDERR: lmtp.c:78:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: { 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: baduser[]="550 5.1.1 mailbox unknown\r\n", 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/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 memblk.c BUILDSTDERR: memblk.c: In function 'read2blk': BUILDSTDERR: memblk.c:151:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if(newlast=(*read_func)(mb->p+filled,mb->len-filled,data)) 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/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 variables.c BUILDSTDERR: variables.c: In function 'sputenv': BUILDSTDERR: variables.c:70:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: { 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: { 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: 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: 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: 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: 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: if(chp=eputenv(chp,src)) 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/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 from.c BUILDSTDERR: from.c: In function 'findtstamp': BUILDSTDERR: from.c:43:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 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: #define private(x) 1 BUILDSTDERR: ^ BUILDSTDERR: from.c:93:3: note: in expansion of macro 'private' BUILDSTDERR: private(1); /* we're not yet sharing */ BUILDSTDERR: ^~~~~~~ BUILDSTDERR: from.c:134:15: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 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: { 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: if(grp=getgrgid(gid)) /* check out the invoker's gid */ 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/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 comsat.c BUILDSTDERR: comsat.c: In function 'setcomsat': BUILDSTDERR: comsat.c:84:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if(csvalid=newvalid) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: setid.c: In function 'main': BUILDSTDERR: setid.c:13:13: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if(argc!=2&&argc!=3||geteuid()||!(p=getpwnam(argv[1]))) BUILDSTDERR: ~~~~~~~^~~~~~~~~ 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 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 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 lockfile.c BUILDSTDERR: lockfile.c: In function 'main': BUILDSTDERR: lockfile.c:134:10: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if(*cp&&cp[1]||ma&&sleepsec>=0) /* second pass? */ BUILDSTDERR: ~~~^~~~~~~ BUILDSTDERR: lockfile.c:138:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: { if(!((ma=(char*)getenv(lgname))&& BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: (pass=auth_finduser(ma,0))&& BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: 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: { write(STDERR,a,strlen(a)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: lockfile.c:20:22: warning: 'rcsdate' defined but not used [-Wunused-variable] BUILDSTDERR: 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: 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: { 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: 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: 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: 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: return i>=0||j>STRLEN(old_)&&!strncasecmp(old_,chp,STRLEN(old_))|| BUILDSTDERR: ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: formail.c:203:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 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: if(pastad=strchr(chp,' ')) /* found an address? */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: formail.c:248:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if(!p1||p2&&p20)) /* impossible combination */ BUILDSTDERR: ~~~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: formail.c:554:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if((xheader||Xheader)&&logsummary||keepb&&!(areply||xheader||Xheader)) BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ BUILDSTDERR: formail.c:575:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: Xheader&& /* or eXtracting without */ BUILDSTDERR: ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: !findf(fcntlength,&Xheader)); /* getting Content-Length: */ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: formail.c:573:12: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: keepb&& /* if we're keeping the body and */ BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: (areply|| /* autoreplying */ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Xheader&& /* or eXtracting without */ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: !findf(fcntlength,&Xheader)); /* getting Content-Length: */ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: formail.c:616:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if(chp[-1]==HEAD_DELIMITER) BUILDSTDERR: ^ BUILDSTDERR: formail.c:684:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: ((fldp=findf(fFrom_,&aheader))&&STRLEN(From_)+1>=fldp->Tot_len|| BUILDSTDERR: formail.c:706:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: (fldp->id_len==STRLEN(messageid)&& BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: !strncasecmp(fldp->fld_text,messageid,STRLEN(messageid))|| BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: formail.c:704:4: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 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: if(fldp=findf(fsubject,&rdheader)) BUILDSTDERR: ^~~~ BUILDSTDERR: formail.c:788:15: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 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: if(!i) /* then split it! */ BUILDSTDERR: ^~ BUILDSTDERR: formail.c:843:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: while(fldp=fp2); /* escape all fields we found */ BUILDSTDERR: ^~~~ BUILDSTDERR: formail.c:790:1: warning: label 'splitit' defined but not used [-Wunused-label] BUILDSTDERR: 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: 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: *oldnewl='\n'; /* restore the newline */ BUILDSTDERR: ~~~~~~~~^~~~~ BUILDSTDERR: formail.c:309:25: note: 'oldnewl' was declared here BUILDSTDERR: { int dupid=0;char*key,*oldnewl; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: formail.c:349:8: warning: 'maxlen' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if(insoffs>=maxlen) /* past our quota? */ BUILDSTDERR: ^ BUILDSTDERR: formail.c:370:8: note: 'maxlen' was declared here BUILDSTDERR: long maxlen,ctlength;FILE*idcache=0;pid_t thepid; 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/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 BUILDSTDERR: fields.c: In function 'cleanheader': BUILDSTDERR: fields.c:34:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for(pp=&rdheader;p= *pp;pp= &(*pp)->fld_next) 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/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 BUILDSTDERR: formisc.c: In function 'startprog': BUILDSTDERR: formisc.c:184:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 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: dup(oldstdout); BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: formisc.c:174:6: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: pipe(poutfd); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: formisc.c:193:51: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: { close(STDIN);close(oldstdout);close(PWRO);dup(PRDO);close(PRDO); 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/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 BUILDSTDERR: ecommon.c: In function 'tmalloc': BUILDSTDERR: ecommon.c:21:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: { if(old=realloc(old,len)) BUILDSTDERR: ^~~ 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' BUILDSTDERR: manconf.c: In function 'main': BUILDSTDERR: manconf.c:368:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 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: 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: { sprintf(filebuf,"%s.%04d",*gargv,filecount++);freopen(filebuf,"w",stdout); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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' BUILDSTDERR: recommend.c: In function 'main': BUILDSTDERR: recommend.c:29:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 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: if(grp=getgrgid(gid)) BUILDSTDERR: ^~~ BUILDSTDERR: recommend.c:40:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if(sgid) BUILDSTDERR: ^ BUILDSTDERR: recommend.c:8:24: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: 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: #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: 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: #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: 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: #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: printf("chmod %lo %s\n",(unsigned long)(sgid|PERMIS),argv[2]); BUILDSTDERR: ^~~~~~ 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. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Arjfr5 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64 + cd procmail-3.22 + rm -rf /builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64/usr/share/man/man1 /builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64/usr/share/man/man5 + make BASENAME=/builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64/usr MANDIR=/builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64/usr/share/man install 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-49.fc30.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-49.fc30.riscv64/usr/bin -rwxr-xr-x 1 mockbuild mock 169400 Jan 13 11:20 formail -rwxr-xr-x 1 mockbuild mock 89144 Jan 13 11:20 lockfile -rwxr-xr-x 1 mockbuild mock 5859 Jan 13 11:20 mailstat -rwxr-xr-x 1 mockbuild mock 531248 Jan 13 11:20 procmail Installed in /builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64/usr/share/man/man1 -rw-r--r-- 1 mockbuild mock 15334 Jan 13 11:20 formail.1 -rw-r--r-- 1 mockbuild mock 6897 Jan 13 11:20 lockfile.1 -rw-r--r-- 1 mockbuild mock 28125 Jan 13 11:20 procmail.1 Installed in /builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64/usr/share/man/man5 -rw-r--r-- 1 mockbuild mock 16858 Jan 13 11:20 procmailex.5 -rw-r--r-- 1 mockbuild mock 31403 Jan 13 11:20 procmailrc.5 -rw-r--r-- 1 mockbuild mock 8074 Jan 13 11:20 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-49.fc30.riscv64/usr/bin/procmail chgrp mail /builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64/usr/bin/procmail /builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64/usr/bin/lockfile chmod 6755 /builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64/usr/bin/procmail chmod 2755 /builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64/usr/bin/lockfile =============================================================================== make[1]: Leaving directory '/builddir/build/BUILD/procmail-3.22' + cp debian/mailstat.1 /builddir/build/BUILDROOT/procmail-3.22-49.fc30.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-49.fc30 --unique-debug-suffix -3.22-49.fc30.riscv64 --unique-debug-src-base procmail-3.22-49.fc30.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/procmail-3.22 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64/usr/bin/procmail explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64/usr/bin/lockfile explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64/usr/bin/formail extracting debug info from /builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64/usr/bin/procmail extracting debug info from /builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64/usr/bin/lockfile extracting debug info from /builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64/usr/bin/formail /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. BUILDSTDERR: 611 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/mailstat from /bin/sh to #!/usr/bin/sh Processing files: procmail-3.22-49.fc30.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.VcHhyJ + umask 022 + cd /builddir/build/BUILD + cd procmail-3.22 + DOCDIR=/builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64/usr/share/doc/procmail + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64/usr/share/doc/procmail + cp -pr Artistic /builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64/usr/share/doc/procmail + cp -pr COPYING /builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64/usr/share/doc/procmail + cp -pr FAQ /builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64/usr/share/doc/procmail + cp -pr FEATURES /builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64/usr/share/doc/procmail + cp -pr HISTORY /builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64/usr/share/doc/procmail + cp -pr README /builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64/usr/share/doc/procmail + cp -pr KNOWN_BUGS /builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64/usr/share/doc/procmail + cp -pr examples /builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64/usr/share/doc/procmail + cp -pr telsas_procmailrc /builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64/usr/share/doc/procmail + cp -pr debian/QuickStart /builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64/usr/share/doc/procmail + cp -pr debian/README.Maildir /builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64/usr/share/doc/procmail + exit 0 Provides: procmail = 3.22-49.fc30 procmail(riscv-64) = 3.22-49.fc30 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-49.fc30.riscv64 Provides: procmail-debugsource = 3.22-49.fc30 procmail-debugsource(riscv-64) = 3.22-49.fc30 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-49.fc30.riscv64 Provides: debuginfo(build-id) = 2cc03479377d02b8e33edceaffdeaaf9f012b5bd debuginfo(build-id) = 43342836ca5b0e42aa149cdfb9ed2d0d6d5d0a18 debuginfo(build-id) = 880c07677813dd844a5d4000425d01bbd20415a5 procmail-debuginfo = 3.22-49.fc30 procmail-debuginfo(riscv-64) = 3.22-49.fc30 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-49.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64 Wrote: /builddir/build/RPMS/procmail-3.22-49.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/procmail-debugsource-3.22-49.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/procmail-debuginfo-3.22-49.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.srftNW + umask 022 + cd /builddir/build/BUILD + cd procmail-3.22 + /usr/bin/rm -rf /builddir/build/BUILDROOT/procmail-3.22-49.fc30.riscv64 + exit 0 Child return code was: 0