Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/procmail.spec'], nspawn_args=[]shell=Falseuid=1004env={'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/centos-7-x86_64/root'gid=135user='mockbuild'timeout=0logger=printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/procmail.spec'] with env {'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/procmail-3.22-36.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/procmail.spec'], nspawn_args=[]shell=Falseuid=1004env={'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/centos-7-x86_64/root'gid=135user='mockbuild'timeout=0logger=printOutput=True) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/procmail.spec'] with env {'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AKXcDD + 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 -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd procmail-3.22 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (procmail-3.22-rhconfig.patch): + echo 'Patch #0 (procmail-3.22-rhconfig.patch):' + /usr/bin/cat /builddir/build/SOURCES/procmail-3.22-rhconfig.patch + /usr/bin/patch -p1 -b --suffix .rhconfig --fuzz=0 patching file Makefile patching file config.h Hunk #4 succeeded at 99 (offset 7 lines). Patch #1 (procmail-3.15.1-man.patch): + echo 'Patch #1 (procmail-3.15.1-man.patch):' + /usr/bin/cat /builddir/build/SOURCES/procmail-3.15.1-man.patch + /usr/bin/patch -p1 --fuzz=0 patching file man/procmail.man Patch #2 (procmail_3.22-8.debian.patch): + echo 'Patch #2 (procmail_3.22-8.debian.patch):' + /usr/bin/cat /builddir/build/SOURCES/procmail_3.22-8.debian.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/procmail-3.22-truncate.patch + /usr/bin/patch -p1 -b --suffix .truncate --fuzz=0 patching file src/mailfold.c Patch #5 (procmail-3.22-ipv6.patch): + echo 'Patch #5 (procmail-3.22-ipv6.patch):' + /usr/bin/cat /builddir/build/SOURCES/procmail-3.22-ipv6.patch + /usr/bin/patch -p1 -b --suffix .ipv6 --fuzz=0 patching file src/autoconf patching file src/comsat.c patching file src/network.h Patch #6 (procmail-3.22-getline.patch): + echo 'Patch #6 (procmail-3.22-getline.patch):' + /usr/bin/cat /builddir/build/SOURCES/procmail-3.22-getline.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/procmail-3.22-CVE-2014-3618.patch + /usr/bin/patch -p1 -b --suffix .CVE-2014-3618 --fuzz=0 patching file src/formisc.c Patch #8 (procmail-3.22-out-of-bounds-rw-fixes.patch): + echo 'Patch #8 (procmail-3.22-out-of-bounds-rw-fixes.patch):' + /usr/bin/cat /builddir/build/SOURCES/procmail-3.22-out-of-bounds-rw-fixes.patch + /usr/bin/patch -p1 -b --suffix .out-of-bounds-rw-fixes --fuzz=0 patching file src/cstdio.c patching file src/formail.c patching file src/formisc.c + find examples -type f + xargs chmod 644 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.He8py4 + umask 022 + cd /builddir/build/BUILD + cd procmail-3.22 ++ 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 163838 /* soft limit */ /* Your system's strstr() is 2.88 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' ++ getconf LFS_CFLAGS + make 'RPM_OPT_FLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -pie -Wl,-z,relro,-z,now -Wno-comments procmail.c procmail.c: In function 'savepass': procmail.c:76:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(tpass=auth_finduid(uid,0)) /* save by copying */ ^ procmail.c: In function 'main': procmail.c:132:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if(chp2=(char*)argv[argc+1]) ^ procmail.c:141:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if(chp2=(char*)argv[argc+1]) ^ In file included from procmail.c:26:0: memblk.h:28:20: warning: statement with no effect [-Wunused-value] #define private(x) 1 ^ procmail.c:256:8: note: in expansion of macro 'private' private(1); /* gets the original */ ^ memblk.h:28:20: warning: statement with no effect [-Wunused-value] #define private(x) 1 ^ procmail.c:285:8: note: in expansion of macro 'private' { private(0); /* time to share */ ^ memblk.h:28:20: warning: statement with no effect [-Wunused-value] #define private(x) 1 ^ procmail.c:289:8: note: in expansion of macro 'private' private(1); ^ procmail.c:293:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(pidchild=sfork()) ^ procmail.c:292:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if(argv[++argc]) /* more than one recipient */ ^ procmail.c:305:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(chp=(char*)argv[argc]); ^ procmail.c:427:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(chp=(char*)argv[argc]) /* interpret command line specs first */ ^ procmail.c: In function 'tryopen': procmail.c:590:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(((stbuf.st_uid!=uid&&stbuf.st_uid!=ROOT_uid|| /* check uid, */ ^ procmail.c:593:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (stbuf.st_mode&S_IWGRP)&& /* for writable by group, */ ^ procmail.c:595:4: warning: suggest parentheses around '&&' within '||' [-Wparentheses] )&&strcmp(devnull,buf)|| /* /dev/null is a special case, */ ^ procmail.c:602:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (stbuf.st_mode&(S_IWGRP|S_IXGRP))==(S_IWGRP|S_IXGRP)&& ^ procmail.c:598:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] !(stbuf.st_mode&S_ISVTX)&& /* means we don't care if */ ^ procmail.c: In function 'mainloop': procmail.c:735:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for(chp=buf;i= *chp++;) ^ procmail.c:790:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(ofiltflag=flags[FILTER]) ^ procmail.c:792:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(chp=gobenv(buf,end)) /* can it be an environment name? */ ^ In file included from procmail.c:26:0: memblk.h:28:20: warning: statement with no effect [-Wunused-value] #define private(x) 1 ^ procmail.c:841:7: note: in expansion of macro 'private' private(0); /* can't share anymore */ ^ procmail.c: In function 'main': procmail.c:498:8: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(uid); /* make sure we have enough space */ ^ procmail.c:180:24: warning: 'chp2' may be used uninitialized in this function [-Wmaybe-uninitialized] if(Deliverymode==1&&!(chp=chp2)) ^ cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -pie -Wl,-z,relro,-z,now -Wno-comments cstdio.c cstdio.c: In function 'changerc': cstdio.c:75:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(dp=incnamed->enext) /* fixup the name list */ ^ cstdio.c: In function 'refillL': cstdio.c:251:3: warning: implicit declaration of function 'waitfor' [-Wimplicit-function-declaration] { if((retcode=waitfor(childserverpid))==EXIT_SUCCESS) ^ cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -pie -Wl,-z,relro,-z,now -Wno-comments common.c common.c: In function 'shexec': common.c:29:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for(*(p=(const char**)newargv)=binsh;*++p= *argv++;); ^ common.c: In function 'detab': common.c:36:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses] { while(p=strpbrk(p,"\t\n\v\f\r")) ^ cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -pie -Wl,-z,relro,-z,now -Wno-comments exopen.c exopen.c: In function 'unique': exopen.c:132:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] flags&doCHOWN&& ^ exopen.c:116:10: warning: ignoring return value of 'nice', declared with attribute warn_unused_result [-Wunused-result] nice(nicediff); /* put back the priority to the old level */ ^ cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -pie -Wl,-z,relro,-z,now -Wno-comments goodies.c goodies.c: In function 'readparse': goodies.c:92:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(got<=NORMAL_TEXT&&bracelev|| ^ goodies.c:173:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(got<=NORMAL_TEXT&&bracelev|| ^ goodies.c:309:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(q=simplesplit(p,startb,fencepost,&got)) /* simply split */ ^ goodies.c: In function 'metaparse': goodies.c:385:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses] { if(sh=!!strpbrk(p,shellmetas)) ^ cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -pie -Wl,-z,relro,-z,now -Wno-comments locking.c locking.c: In function 'lockit': locking.c:103:13: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] setegid(gid); /* we put back our regular permissions */ ^ locking.c: In function 'unlock': locking.c:136:9: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] setegid(sgid); /* try and get some extra permissions */ ^ locking.c:141:9: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] setegid(gid); /* we put back our regular permissions */ ^ cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -pie -Wl,-z,relro,-z,now -Wno-comments mailfold.c mailfold.c: In function 'dirfile': mailfold.c:147:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(dirp=opendir(buf)) ^ mailfold.c:148:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] { while(dp=readdir(dirp)) /* there still are directory entries */ ^ mailfold.c:195:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if(errno=EEXIST||!stat(buf,&stbuf)||errno!=ENOENT||rename(buf2,buf)) ^ mailfold.c: In function 'writefolder': mailfold.c:214:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(blen=Tmnate-linkfolder) /* copy the names into safety */ ^ mailfold.c: In function 'logabstract': mailfold.c:340:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] { if(lgabstract>0||(logopened||verbose)&&lgabstract) /* don't mail it back? */ ^ mailfold.c:345:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] { if(chp=strchr(themail.p,'\n')) ^ In file included from mailfold.c:18:0: mailfold.c: In function 'readmail': memblk.h:28:20: warning: statement with no effect [-Wunused-value] #define private(x) 1 ^ mailfold.c:400:17: note: in expansion of macro 'private' themail=new;private(1); ^ memblk.h:28:20: warning: statement with no effect [-Wunused-value] #define private(x) 1 ^ mailfold.c:414:17: note: in expansion of macro 'private' themail=new;private(1); ^ mailfold.c:423:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(thebody=strchr(thebody,'\n')) ^ cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -pie -Wl,-z,relro,-z,now -Wno-comments foldinfo.c foldinfo.c: In function 'rnmbogus': foldinfo.c:60:3: warning: implicit declaration of function 'ultoan' [-Wimplicit-function-declaration] *p++='.';ultoan((unsigned long)stbuf->st_ino,p); /* i-node numbered */ ^ foldinfo.c: In function 'trymkdir': foldinfo.c:84:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] !stbuf.st_uid&&!chown(dir,uid,sgid)))) /* or be safely fixable */ ^ foldinfo.c:93:31: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] return S_IFDIR|NORMdirperm&~cumask; /* nope */ ^ foldinfo.c: In function 'foldertype': foldinfo.c:158:30: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] newfile:mode=S_IFREG|NORMperm&~cumask; ^ foldinfo.c: In function 'screenmailbox': foldinfo.c:189:55: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] ((S_IWGRP|S_IXGRP|S_IWOTH|S_IXOTH)&stbuf.st_mode)== ^ foldinfo.c:264:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] !S_ISDIR(stbuf.st_mode)&&stbuf.st_mode&S_ISGID)) ^ foldinfo.c: In function 'foldertype': foldinfo.c:106:32: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized] (strcpy(chp,maildirnew),mode=trymkdir(buffer,paranoid,i),S_ISDIR(mode))&& ^ foldinfo.c:102:19: note: 'i' was declared here { mode_t mode;int i; ^ foldinfo.c:165:12: warning: 'mode' may be used uninitialized in this function [-Wmaybe-uninitialized] *modep=mode; ^ cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -pie -Wl,-z,relro,-z,now -Wno-comments misc.c misc.c: In function 'elog': misc.c:51:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(p=lmax?frealloc(old,newmax):fmalloc(newmax))/* fragile allocation */ ^ misc.c: In function 'nextrcfile': misc.c:217:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(p= *gargv) ^ misc.c: In function 'sterminate': misc.c:264:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(i=(lcking&~lck__NOMSG)>>1) ^ misc.c: In function 'enoughprivs': misc.c:364:12: warning: suggest parentheses around '&&' within '||' [-Wparentheses] passinvk&&auth_whatuid(passinvk)==uid|| ^ misc.c:365:13: warning: suggest parentheses around '&&' within '||' [-Wparentheses] euid==uid&&egid==gid; ^ misc.c: In function 'conditions': misc.c:394:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if(flags[BODY_GREP]) /* what needs to be egrepped? */ ^ In file included from procmail.h:3:0, from misc.c:13: misc.c: In function 'setids': includes.h:376:30: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] #define setruid(uid) setreuid(uid,-1) ^ misc.c:99:6: note: in expansion of macro 'setruid' setruid(uid); ^ misc.c:102:13: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] setegid(gid); ^ misc.c: In function 'conditions': misc.c:586:13: warning: 'xponent' may be used uninitialized in this function [-Wmaybe-uninitialized] score+=j?xponent:weight; ^ misc.c:546:30: warning: 'weight' may be used uninitialized in this function [-Wmaybe-uninitialized] { score+=weight;weight*=xponent; ^ cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -pie -Wl,-z,relro,-z,now -Wno-comments pipes.c pipes.c: In function 'callnewprog': pipes.c:133:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(newargv[argc]= *walkargs++) ^ pipes.c: In function 'pipin': pipes.c:257:1: warning: label 'builtin' defined but not used [-Wunused-label] builtin: ^ pipes.c: In function 'pipthrough': pipes.c:193:9: warning: 'eq' may be used uninitialized in this function [-Wmaybe-uninitialized] *eq='=';name=Stdout;Stdout=0;primeStdout(name);free(name); ^ cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -pie -Wl,-z,relro,-z,now -Wno-comments regexp.c regexp.c: In function 'cleantail': regexp.c:421:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define PC(thiss,t) (((struct evoi*)geno(thiss,t))->st_) ^ regexp.c:431:24: note: in expansion of macro 'PC' while(thiss= *(reg= &PC(oldthis=thiss,th1))) /* wipe out list till you */ ^ regexp.c: In function 'bregexec': regexp.c:463:2: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] i+=ign_case&'a'-'A'; /* transmogrify it to lowercase */ ^ regexp.c:516:5: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] i+=ign_case&'a'-'A'; /* transmogrify it to lowercase */ ^ regexp.c:567:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if(i!='\n') ^ regexp.c: In function 'por': regexp.c:297:41: warning: 'rvold' may be used uninitialized in this function [-Wmaybe-uninitialized] cachea=pvold;cachep=p;cacher=(char*)r-(char*)rvold; ^ regexp.c:297:10: warning: 'pvold' may be used uninitialized in this function [-Wmaybe-uninitialized] cachea=pvold;cachep=p;cacher=(char*)r-(char*)rvold; ^ regexp.c: In function 'bregexec': regexp.c:512:24: warning: 'bom' may be used uninitialized in this function [-Wmaybe-uninitialized] ;{ const char*start,*bom; ^ cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -pie -Wl,-z,relro,-z,now -Wno-comments robust.c robust.c: In function 'heapdefrag': robust.c:42:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(p=malloc(1)) ^ robust.c: In function 'tmalloc': robust.c:49:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(p=malloc(len)) ^ robust.c:54:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(p=malloc(len)) /* some other process has paniced (and died 8-) */ ^ robust.c: In function 'trealloc': robust.c:65:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(p=realloc(old,len)) ^ robust.c:70:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(p=realloc(old,len)) ^ robust.c: In function 'ssleep': robust.c:183:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if(alrmtime) ^ cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -pie -Wl,-z,relro,-z,now -Wno-comments sublib.c cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -pie -Wl,-z,relro,-z,now -Wno-comments acommon.c cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -pie -Wl,-z,relro,-z,now -Wno-comments mcommon.c cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -pie -Wl,-z,relro,-z,now -Wno-comments lastdirsep.c lastdirsep.c: In function 'lastdirsep': lastdirsep.c:18:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(p=strpbrk(filename,dirsep)) ^ cc -c -DPROCMAIL -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -pie -Wl,-z,relro,-z,now -Wno-comments authenticate.c authenticate.c: In function 'auth_finduser': authenticate.c:80:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(p=strchr(user,'@')) /* does the username contain an @? */ ^ authenticate.c: In function 'auth_zeroout': authenticate.c:148:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(p=(struct passwd*)pass->pw) ^ authenticate.c: In function 'auth_freeid': authenticate.c:170:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(p=(struct passwd*)pass->pw) ^ cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -pie -Wl,-z,relro,-z,now -Wno-comments lmtp.c lmtp.c:54:8: warning: type defaults to 'int' in declaration of 'ctopfd' [-Wimplicit-int] static ctopfd; ^ lmtp.c: In function 'bufwrite': lmtp.c:78:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] { if(already&&already!=rwrite(savstdout,bufcur=buf2,already)|| ^ cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -pie -Wl,-z,relro,-z,now -Wno-comments memblk.c memblk.c: In function 'read2blk': memblk.c:151:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(newlast=(*read_func)(mb->p+filled,mb->len-filled,data)) ^ cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -pie -Wl,-z,relro,-z,now -Wno-comments variables.c variables.c: In function 'sputenv': variables.c:70:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] { while(*preenv=preenv[1]) /* wipe this entry out of the environment */ ^ variables.c: In function 'cleanupenv': variables.c:159:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for(ep=emax;p= *ep;ep++) /* scan for this keeper */ ^ variables.c:184:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for(pp=ld_;p= *pp;pp++) /* does it start with LD_ or similar? */ ^ variables.c: In function 'asenvcpy': variables.c:300:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(chp=strchr(src,'=')) /* is it an assignment? */ ^ variables.c:314:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(chp=eputenv(chp,src)) ^ cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -pie -Wl,-z,relro,-z,now -Wno-comments from.c from.c: In function 'findtstamp': from.c:43:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(*start==' '&&(++start==end||*start==' '&&++start==end)) ^ In file included from from.c:16:0: from.c: In function 'makeFrom': memblk.h:28:20: warning: statement with no effect [-Wunused-value] #define private(x) 1 ^ from.c:93:3: note: in expansion of macro 'private' private(1); /* we're not yet sharing */ ^ from.c:134:15: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] else if(!from) /* leave the From_ line alone */ ^ from.c:158:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] { if(lfr) /* did we skip a From_ line? */ ^ from.c: In function 'checkprivFrom_': from.c:179:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(grp=getgrgid(gid)) /* check out the invoker's gid */ ^ cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -pie -Wl,-z,relro,-z,now -Wno-comments comsat.c comsat.c: In function 'setcomsat': comsat.c:84:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(csvalid=newvalid) ^ setid.c: In function 'main': setid.c:13:13: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(argc!=2&&argc!=3||geteuid()||!(p=getpwnam(argv[1]))) ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -pie -Wl,-z,relro,-z,now -Wno-comments lockfile.c lockfile.c: In function 'main': lockfile.c:134:10: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(*cp&&cp[1]||ma&&sleepsec>=0) /* second pass? */ ^ lockfile.c:138:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (pass=auth_finduser(ma,0))&& ^ lockfile.c: At top level: lockfile.c:20:22: warning: 'rcsdate' defined but not used [-Wunused-variable] static /*const*/char rcsdate[]="$Date: 2001/08/04 07:12:16 $"; ^ lockfile.c: In function 'elog': lockfile.c:54:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] { write(STDERR,a,strlen(a)); ^ lockfile.c: In function 'main': lockfile.c:193:40: warning: 't' may be used uninitialized in this function [-Wmaybe-uninitialized] if(force&&!lstat(cp,&stbuf)&&force");*++chp=' '); /* continued regular field */ ^ formail.c:135:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] { for(chp=p->fld_text;chp=strchr(chp,'\n');) /* continued regular */ ^ formail.c:138:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for(chp=p->fld_text;chp=strstr(chp,"\n ");*++chp='>'); ^ formail.c: In function 'procfields': formail.c:165:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(fp2=findf(fldp,&Rheader)) /* explicitly rename field */ ^ formail.c:174:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if(fp2=findf(fldp,&Uheader)) ^ formail.c: In function 'digheadr': formail.c:202:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] return i>=0||j>STRLEN(old_)&&!strncasecmp(old_,chp,STRLEN(old_))|| ^ formail.c:203:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] j>STRLEN(x_)&&!strncasecmp(x_,chp,STRLEN(x_)); ^ formail.c: In function 'getsender': formail.c:233:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(pastad=strchr(chp,' ')) /* found an address? */ ^ formail.c:248:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(!p1||p2&&p20)) /* impossible combination */ ^ formail.c:554:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if((xheader||Xheader)&&logsummary||keepb&&!(areply||xheader||Xheader)) ^ formail.c:575:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] Xheader&& /* or eXtracting without */ ^ formail.c:573:12: warning: suggest parentheses around '&&' within '||' [-Wparentheses] keepb&& /* if we're keeping the body and */ ^ formail.c:616:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if(chp[-1]==HEAD_DELIMITER) ^ formail.c:684:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] ((fldp=findf(fFrom_,&aheader))&&STRLEN(From_)+1>=fldp->Tot_len|| ^ formail.c:706:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (fldp->id_len==STRLEN(messageid)&& ^ formail.c:704:4: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if(!findf(fldp,&rdheader)) /* only add what didn't exist */ ^ formail.c:727:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(fldp=findf(fsubject,&rdheader)) ^ formail.c:843:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(fldp=rdheader) /* we already read some "valid" fields */ ^ formail.c:850:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(p=memchr(chp,'\n',fldp->Tot_len)) ^ formail.c:859:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(fldp=fp2); /* escape all fields we found */ ^ formail.c:790:1: warning: label 'splitit' defined but not used [-Wunused-label] splitit: { if(!lnl) /* did the previous mail end with an empty line? */ ^ formail.c: At top level: formail.c:15:22: warning: 'rcsdate' defined but not used [-Wunused-variable] static /*const*/char rcsdate[]="$Date: 2001/08/04 07:07:43 $"; ^ formail.c: In function 'main': formail.c:356:10: warning: 'oldnewl' may be used uninitialized in this function [-Wmaybe-uninitialized] *oldnewl='\n'; /* restore the newline */ ^ formail.c:309:25: note: 'oldnewl' was declared here { int dupid=0;char*key,*oldnewl; ^ formail.c:349:8: warning: 'maxlen' may be used uninitialized in this function [-Wmaybe-uninitialized] if(insoffs>=maxlen) /* past our quota? */ ^ formail.c:370:8: note: 'maxlen' was declared here long maxlen,ctlength;FILE*idcache=0;pid_t thepid; ^ cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -pie -Wl,-z,relro,-z,now -Wno-comments fields.c fields.c: In function 'cleanheader': fields.c:34:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for(pp=&rdheader;p= *pp;pp= &(*pp)->fld_next) ^ cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -pie -Wl,-z,relro,-z,now -Wno-comments formisc.c formisc.c: In function 'startprog': formisc.c:184:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] while(childlimit&&children>=childlimit||(child=fork())==-1&&children) ^ formisc.c:161:6: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(oldstdout); ^ formisc.c:174:10: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result] pipe(poutfd); ^ formisc.c:193:54: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] { close(STDIN);close(oldstdout);close(PWRO);dup(PRDO);close(PRDO); ^ cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -pie -Wl,-z,relro,-z,now -Wno-comments ecommon.c ecommon.c: In function 'tmalloc': ecommon.c:21:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(p=malloc(len)) ^ ecommon.c: In function 'trealloc': ecommon.c:27:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses] { if(old=realloc(old,len)) ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -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' manconf.c: In function 'pname': manconf.c:77:59: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] { sprintf(filebuf,"%s.%04d",*gargv,filecount++);freopen(filebuf,"w",stdout); ^ 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' recommend.c: In function 'main': recommend.c:29:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if(!stat(mailspooldir,&stbuf)&&!(stbuf.st_mode&S_IWOTH)) ^ recommend.c:41:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(grp=getgrgid(gid)) ^ recommend.c:40:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if(sgid) ^ recommend.c:45:3: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] printf("chmod %lo %s\n",(unsigned long)(sgid|S_ISUID|PERMIS),argv[1]); ^ recommend.c:45:3: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] recommend.c:47:6: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] printf("chmod %lo %s\n",(unsigned long)(sgid|PERMIS),argv[2]); ^ recommend.c:47:6: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 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.kqoldQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/procmail-3.22-36.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/procmail-3.22-36.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/procmail-3.22-36.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/procmail-3.22-36.el7.x86_64 + cd procmail-3.22 + rm -rf /builddir/build/BUILDROOT/procmail-3.22-36.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT/procmail-3.22-36.el7.x86_64/usr/bin + mkdir -p /builddir/build/BUILDROOT/procmail-3.22-36.el7.x86_64/usr/share/man/man1 /builddir/build/BUILDROOT/procmail-3.22-36.el7.x86_64/usr/share/man/man5 + make BASENAME=/builddir/build/BUILDROOT/procmail-3.22-36.el7.x86_64/usr MANDIR=/builddir/build/BUILDROOT/procmail-3.22-36.el7.x86_64/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-36.el7.x86_64/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-36.el7.x86_64/usr/bin -rwxr-xr-x 1 mockbuild mockbuild 138304 Aug 3 05:59 formail -rwxr-xr-x 1 mockbuild mockbuild 70680 Aug 3 05:59 lockfile -rwxr-xr-x 1 mockbuild mockbuild 5859 Aug 3 05:59 mailstat -rwxr-xr-x 1 mockbuild mockbuild 418000 Aug 3 05:59 procmail Installed in /builddir/build/BUILDROOT/procmail-3.22-36.el7.x86_64/usr/share/man/man1 -rw-r--r-- 1 mockbuild mockbuild 15334 Aug 3 05:59 formail.1 -rw-r--r-- 1 mockbuild mockbuild 6897 Aug 3 05:59 lockfile.1 -rw-r--r-- 1 mockbuild mockbuild 28125 Aug 3 05:59 procmail.1 Installed in /builddir/build/BUILDROOT/procmail-3.22-36.el7.x86_64/usr/share/man/man5 -rw-r--r-- 1 mockbuild mockbuild 16858 Aug 3 05:59 procmailex.5 -rw-r--r-- 1 mockbuild mockbuild 31403 Aug 3 05:59 procmailrc.5 -rw-r--r-- 1 mockbuild mockbuild 8074 Aug 3 05:59 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-36.el7.x86_64/usr/bin/procmail chgrp mail /builddir/build/BUILDROOT/procmail-3.22-36.el7.x86_64/usr/bin/procmail /builddir/build/BUILDROOT/procmail-3.22-36.el7.x86_64/usr/bin/lockfile chmod 6755 /builddir/build/BUILDROOT/procmail-3.22-36.el7.x86_64/usr/bin/procmail chmod 2755 /builddir/build/BUILDROOT/procmail-3.22-36.el7.x86_64/usr/bin/lockfile =============================================================================== make[1]: Leaving directory `/builddir/build/BUILD/procmail-3.22' + cp debian/mailstat.1 /builddir/build/BUILDROOT/procmail-3.22-36.el7.x86_64/usr/share/man/man1 + cp -p /builddir/build/SOURCES/procmailrc telsas_procmailrc + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/procmail-3.22 extracting debug info from /builddir/build/BUILDROOT/procmail-3.22-36.el7.x86_64/usr/bin/procmail extracting debug info from /builddir/build/BUILDROOT/procmail-3.22-36.el7.x86_64/usr/bin/lockfile extracting debug info from /builddir/build/BUILDROOT/procmail-3.22-36.el7.x86_64/usr/bin/formail /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 611 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: procmail-3.22-36.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.uuFJfD + umask 022 + cd /builddir/build/BUILD + cd procmail-3.22 + DOCDIR=/builddir/build/BUILDROOT/procmail-3.22-36.el7.x86_64/usr/share/doc/procmail-3.22 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/procmail-3.22-36.el7.x86_64/usr/share/doc/procmail-3.22 + cp -pr Artistic /builddir/build/BUILDROOT/procmail-3.22-36.el7.x86_64/usr/share/doc/procmail-3.22 + cp -pr COPYING /builddir/build/BUILDROOT/procmail-3.22-36.el7.x86_64/usr/share/doc/procmail-3.22 + cp -pr FAQ /builddir/build/BUILDROOT/procmail-3.22-36.el7.x86_64/usr/share/doc/procmail-3.22 + cp -pr FEATURES /builddir/build/BUILDROOT/procmail-3.22-36.el7.x86_64/usr/share/doc/procmail-3.22 + cp -pr HISTORY /builddir/build/BUILDROOT/procmail-3.22-36.el7.x86_64/usr/share/doc/procmail-3.22 + cp -pr README /builddir/build/BUILDROOT/procmail-3.22-36.el7.x86_64/usr/share/doc/procmail-3.22 + cp -pr KNOWN_BUGS /builddir/build/BUILDROOT/procmail-3.22-36.el7.x86_64/usr/share/doc/procmail-3.22 + cp -pr examples /builddir/build/BUILDROOT/procmail-3.22-36.el7.x86_64/usr/share/doc/procmail-3.22 + cp -pr telsas_procmailrc /builddir/build/BUILDROOT/procmail-3.22-36.el7.x86_64/usr/share/doc/procmail-3.22 + cp -pr debian/QuickStart /builddir/build/BUILDROOT/procmail-3.22-36.el7.x86_64/usr/share/doc/procmail-3.22 + cp -pr debian/README.Maildir /builddir/build/BUILDROOT/procmail-3.22-36.el7.x86_64/usr/share/doc/procmail-3.22 + exit 0 Provides: procmail = 3.22-36.el7 procmail(x86-64) = 3.22-36.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.4)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) rtld(GNU_HASH) Processing files: procmail-debuginfo-3.22-36.el7.x86_64 Provides: procmail-debuginfo = 3.22-36.el7 procmail-debuginfo(x86-64) = 3.22-36.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/procmail-3.22-36.el7.x86_64 Wrote: /builddir/build/RPMS/procmail-3.22-36.el7.x86_64.rpm Wrote: /builddir/build/RPMS/procmail-debuginfo-3.22-36.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.HrS451 + umask 022 + cd /builddir/build/BUILD + cd procmail-3.22 + rm -rf /builddir/build/BUILDROOT/procmail-3.22-36.el7.x86_64 + exit 0 Child return code was: 0