<86>Aug 23 07:42:38 userdel[1725536]: delete user 'rooter'
<86>Aug 23 07:42:38 userdel[1725536]: removed group 'rooter' owned by 'rooter'
<86>Aug 23 07:42:38 userdel[1725536]: removed shadow group 'rooter' owned by 'rooter'
<86>Aug 23 07:42:38 groupadd[1725542]: group added to /etc/group: name=rooter, GID=675
<86>Aug 23 07:42:38 groupadd[1725542]: group added to /etc/gshadow: name=rooter
<86>Aug 23 07:42:38 groupadd[1725542]: new group: name=rooter, GID=675
<86>Aug 23 07:42:38 useradd[1725550]: new user: name=rooter, UID=675, GID=675, home=/root, shell=/bin/bash
<86>Aug 23 07:42:38 userdel[1725573]: delete user 'builder'
<86>Aug 23 07:42:38 userdel[1725573]: removed group 'builder' owned by 'builder'
<86>Aug 23 07:42:38 userdel[1725573]: removed shadow group 'builder' owned by 'builder'
<86>Aug 23 07:42:38 groupadd[1725587]: group added to /etc/group: name=builder, GID=676
<86>Aug 23 07:42:38 groupadd[1725587]: group added to /etc/gshadow: name=builder
<86>Aug 23 07:42:38 groupadd[1725587]: new group: name=builder, GID=676
<86>Aug 23 07:42:38 useradd[1725592]: new user: name=builder, UID=676, GID=676, home=/usr/src, shell=/bin/bash
<13>Aug 23 07:42:41 rpmi: ppp-common-0.5.1-alt1 1244040597 installed
<13>Aug 23 07:42:41 rpmi: sendmail-common-1.7-alt3 1353029717 installed
Building target platforms: i586
Building for target i586
Wrote: /usr/src/in/nosrpm/procmail-3.22-alt10.nosrc.rpm
Installing procmail-3.22-alt10.src.rpm
Building target platforms: i586
Building for target i586
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.31347
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf procmail-3.22
+ echo 'Source #0 (procmail-3.22.tar):'
Source #0 (procmail-3.22.tar):
+ /bin/tar -xf /usr/src/RPM/SOURCES/procmail-3.22.tar
+ cd procmail-3.22
+ /bin/chmod -c -Rf u+rwX,go-w .
+ echo 'Patch #1 (procmail-3.22-deb-fixes.patch):'
Patch #1 (procmail-3.22-deb-fixes.patch):
+ /usr/bin/patch -p1
patching file src/autoconf
patching file src/comsat.c
patching file src/formail.c
patching file src/header.h
patching file src/mailfold.c
patching file src/manconf.c
patching file src/memblk.c
patching file src/memblk.h
patching file src/pipes.c
patching file src/procmail.c
+ echo 'Patch #2 (procmail-3.22-owl-alt-fixes.patch):'
Patch #2 (procmail-3.22-owl-alt-fixes.patch):
+ /usr/bin/patch -p1
patching file man/mansed
patching file src/autoconf
Hunk #2 succeeded at 1454 (offset -4 lines).
Hunk #3 succeeded at 1462 (offset -4 lines).
Hunk #4 succeeded at 1492 (offset -4 lines).
patching file src/cstdio.c
patching file src/exopen.c
patching file src/foldinfo.c
patching file src/formail.c
patching file src/lmtp.c
patching file src/lockfile.c
patching file src/misc.c
patching file src/pipes.c
patching file src/procmail.c
patching file src/regexp.c
patching file src/robust.c
+ echo 'Patch #3 (procmail-3.22-owl-alt-config.patch):'
Patch #3 (procmail-3.22-owl-alt-config.patch):
+ /usr/bin/patch -p1
patching file config.h
+ echo 'Patch #4 (procmail-3.22-deb-alt-doc.patch):'
Patch #4 (procmail-3.22-deb-alt-doc.patch):
+ /usr/bin/patch -p1
patching file man/procmail.man
patching file man/procmailrc.man
+ echo 'Patch #5 (procmail-3.22-deb-355472-doc-procmailex.patch):'
Patch #5 (procmail-3.22-deb-355472-doc-procmailex.patch):
+ /usr/bin/patch -p1
patching file man/procmailex.man
+ echo 'Patch #6 (procmail-3.22-deb-151627-formail.patch):'
Patch #6 (procmail-3.22-deb-151627-formail.patch):
+ /usr/bin/patch -p1
patching file src/formisc.c
+ echo 'Patch #7 (procmail-3.22-deb-474298-484352-mailfold.patch):'
Patch #7 (procmail-3.22-deb-474298-484352-mailfold.patch):
+ /usr/bin/patch -p1
patching file src/mailfold.c
+ echo 'Patch #8 (procmail-3.22-owl-truncate.patch):'
Patch #8 (procmail-3.22-owl-truncate.patch):
+ /usr/bin/patch -p1
patching file src/mailfold.c
+ echo 'Patch #9 (procmail-3.22-deb-337048-mailstat.patch):'
Patch #9 (procmail-3.22-deb-337048-mailstat.patch):
+ /usr/bin/patch -p1
patching file examples/mailstat
+ echo 'Patch #10 (procmail-3.22-deb-452723-doc-procmailrc.patch):'
Patch #10 (procmail-3.22-deb-452723-doc-procmailrc.patch):
+ /usr/bin/patch -p1
patching file man/procmailrc.man
+ echo 'Patch #11 (procmail-3.22-taviso-bound-CVE-2014-3618.patch):'
Patch #11 (procmail-3.22-taviso-bound-CVE-2014-3618.patch):
+ /usr/bin/patch -p1
patching file src/formisc.c
+ echo 'Patch #12 (procmail-3.22-deb-771958-bound.patch):'
Patch #12 (procmail-3.22-deb-771958-bound.patch):
+ /usr/bin/patch -p1
patching file src/cstdio.c
Hunk #1 succeeded at 145 (offset 1 line).
Hunk #2 succeeded at 200 (offset 1 line).
+ echo 'Patch #13 (procmail-3.22-deb-769937-formail-bound.patch):'
Patch #13 (procmail-3.22-deb-769937-formail-bound.patch):
+ /usr/bin/patch -p1
patching file src/formail.c
patching file src/formisc.c
+ echo 'Patch #14 (procmail-3.22-deb-876511-formail-bound-CVE-2017-16844.patch):'
Patch #14 (procmail-3.22-deb-876511-formail-bound-CVE-2017-16844.patch):
+ /usr/bin/patch -p1
patching file src/formisc.c
+ echo 'Patch #15 (procmail-3.22-rh-formail-uninitialized.patch):'
Patch #15 (procmail-3.22-rh-formail-uninitialized.patch):
+ /usr/bin/patch -p1
patching file src/formail.c
+ find -type f -name '*.orig' -delete
+ find -type f -print0
+ xargs -r0 grep -FZl /usr/ucb/mail --
+ xargs -r0 sed -i 's|/usr/ucb/mail|/bin/mail|g' --
+ find -type f -print0
+ xargs -r0 grep -FZl getline --
+ xargs -r0 sed -i s/getline/get_line/g --
+ sed -i 's,\(/usr\)\(/spool\)\?/mail,/var\2/mail,g' examples/advanced FAQ
+ sed -i /binmail/d man/formail.man man/lockfile.man man/procmail.man man/procmailex.man man/procmailrc.man man/procmailsc.man
+ install -pm644 /usr/src/RPM/SOURCES/README.Maildir .
+ xz -9k HISTORY
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.31347
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd procmail-3.22
++ getconf LFS_CFLAGS
+ make -j8 CC=gcc 'CFLAGS0=-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpie -fno-strict-aliasing -Wno-comment -Wno-parentheses -Wno-unused -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' 'LDFLAGS0=-pie -Wl,-z,relro,-z,now' LOCKINGTEST=100 SEARCHLIBS=-lm
/bin/sh ./initmake /bin/sh "/bin/sh" "/bin/rm -f" "mv -f" "ln" \
 "-lm" \
 "/lib /usr/lib /usr/local/lib" \
 /dev/null "make" o \
 "gcc" "-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpie -fno-strict-aliasing -Wno-comment -Wno-parentheses -Wno-unused -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 " "-pie -Wl,-z,relro,-z,now  " "procmail lockfile formail mailstat" \
 "procmail formail lockfile" \
 "procmailrc procmailsc procmailex" "src man" \
 "/usr/bin" \
 "strip"
gcc seems to work fine, using that as the C-compiler
	...scanning for 1 libraries...
Added LDFLAGS= -lm -lc
cd src; make ../autoconf.h
make: Entering directory '/usr/src/RPM/BUILD/procmail-3.22'
echo Housekeeping file >config.check
make: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22'
/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 */

/* 5 moves in 64 steps of size 16384 when reallocing */
#define NOpw_passwd
#define NOpw_class
#define NOpw_gecos
#define NOsetrgid
#define MAX_argc 83725
/* Your system's strstr() is 1.98 times FASTER than my C-routine */
#define UDP_protocolno 17
#define BIFF_serviceport "512"
#define IP_localhost {127,0,0,1}
#define setrgid_RUNTIME_CHECK
#define MAILSPOOLDIR "/var/spool/mail/"
#define SENDMAIL "/usr/sbin/sendmail"
#define PM_VERSION "3.22"
/* Hotwire LOCKINGTEST=100 */
/* Procmail will lock via: dotlocking, fcntl() */
/* autoconf completed */
==========================================================================
cd src; make ../new/procmail ../new/lockfile ../new/formail ../new/mailstat
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 '/usr/src/RPM/BUILD/procmail-3.22/src'
gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpie -fno-strict-aliasing -Wno-comment -Wno-parentheses -Wno-unused -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  common.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpie -fno-strict-aliasing -Wno-comment -Wno-parentheses -Wno-unused -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  cstdio.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpie -fno-strict-aliasing -Wno-comment -Wno-parentheses -Wno-unused -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  sublib.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpie -fno-strict-aliasing -Wno-comment -Wno-parentheses -Wno-unused -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  goodies.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make: Entering directory '/usr/src/RPM/BUILD/procmail-3.22'
===============================================================================

Also, HIGHLY RECOMMENDED (type 'make install-suid' to execute it):

chown root /usr/bin/procmail
chmod 4755 /usr/bin/procmail
chmod a+w /var/spool/mail/.
===============================================================================
make: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22'
make[2]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
manconf.c: In function 'main':
manconf.c:368:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
      while(*++p=='\t');*(q=strchr(p,'\n'))='\0';
      ^~~~~
manconf.c:368:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
      while(*++p=='\t');*(q=strchr(p,'\n'))='\0';
                        ^
manconf.c: In function 'pname':
manconf.c:77:52: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
    { sprintf(filebuf,"%s.%04d",*gargv,filecount++);freopen(filebuf,"w",stdout);
                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpie -fno-strict-aliasing -Wno-comment -Wno-parentheses -Wno-unused -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  locking.c
locking.c: In function 'lockit':
locking.c:103:6: 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:2: 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:2: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result]
  setegid(gid);        /* we put back our regular permissions */
  ^~~~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpie -fno-strict-aliasing -Wno-comment -Wno-parentheses -Wno-unused -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  foldinfo.c
foldinfo.c: In function 'screenmailbox':
foldinfo.c:191:55: warning: bitwise comparison always evaluates to false [-Wtautological-compare]
      ((S_IWGRP|S_IXGRP|S_IWOTH|S_IXOTH)&stbuf.st_mode)==
                                                       ^~
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpie -fno-strict-aliasing -Wno-comment -Wno-parentheses -Wno-unused -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  mailfold.c
mailfold.c: In function 'readmail':
mailfold.c:381:6: warning: type of 'rhead' defaults to 'int' [-Wimplicit-int]
 void readmail(rhead,tobesent)const long tobesent;
      ^~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpie -fno-strict-aliasing -Wno-comment -Wno-parentheses -Wno-unused -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  exopen.c
exopen.c: In function 'unique':
exopen.c:60:6: warning: ignoring return value of 'nice', declared with attribute warn_unused_result [-Wunused-result]
    { nice(0);SETerrno(0);nice(-NICE_RANGE);
      ^~~~~~~
exopen.c:60:26: warning: ignoring return value of 'nice', declared with attribute warn_unused_result [-Wunused-result]
    { nice(0);SETerrno(0);nice(-NICE_RANGE);
                          ^~~~~~~~~~~~~~~~~
exopen.c:116:6: warning: ignoring return value of 'nice', declared with attribute warn_unused_result [-Wunused-result]
      nice(NICE_RANGE/2);nice(0);   /* put back the priority to the old level */
      ^~~~~~~~~~~~~~~~~~
exopen.c:116:25: warning: ignoring return value of 'nice', declared with attribute warn_unused_result [-Wunused-result]
      nice(NICE_RANGE/2);nice(0);   /* put back the priority to the old level */
                         ^~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpie -fno-strict-aliasing -Wno-comment -Wno-parentheses -Wno-unused -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  acommon.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpie -fno-strict-aliasing -Wno-comment -Wno-parentheses -Wno-unused -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  procmail.c
procmail.c: In function 'main':
procmail.c:498:2: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result]
  setuid(uid);      /* make sure we have enough space */
  ^~~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpie -fno-strict-aliasing -Wno-comment -Wno-parentheses -Wno-unused -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  robust.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/man'
/bin/sh ./mansed /bin/sh procmail.man procmail.1 "/bin/rm -f" /dev/null
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/man'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpie -fno-strict-aliasing -Wno-comment -Wno-parentheses -Wno-unused -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  lastdirsep.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpie -fno-strict-aliasing -Wno-comment -Wno-parentheses -Wno-unused -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  mcommon.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpie -fno-strict-aliasing -Wno-comment -Wno-parentheses -Wno-unused -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  pipes.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpie -fno-strict-aliasing -Wno-comment -Wno-parentheses -Wno-unused -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  memblk.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/man'
/bin/sh ./mansed /bin/sh formail.man formail.1 "/bin/rm -f" /dev/null
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/man'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpie -fno-strict-aliasing -Wno-comment -Wno-parentheses -Wno-unused -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  regexp.c
regexp.c: In function 'bregcomp':
regexp.c:387:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
       { for(;f->spawn!=f;f=f->spawn);   /* search start */
         ^~~
regexp.c:388:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
         i->next=f;      /* of loop */
         ^
regexp.c: In function 'bregexec':
regexp.c:512:24: warning: 'bom' may be used uninitialized in this function [-Wmaybe-uninitialized]
   ;{ const char*start,*bom=0;
                        ^~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpie -fno-strict-aliasing -Wno-comment -Wno-parentheses -Wno-unused -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  misc.c
In file included from procmail.h:3,
                 from misc.c:13:
misc.c: In function 'setids':
includes.h:376:22: 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:6: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result]
      setegid(gid);
      ^~~~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpie -fno-strict-aliasing -Wno-comment -Wno-parentheses -Wno-unused -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  comsat.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
gcc -c -DPROCMAIL -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpie -fno-strict-aliasing -Wno-comment -Wno-parentheses -Wno-unused -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  authenticate.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/man'
/bin/sh ./mansed /bin/sh lockfile.man lockfile.1 "/bin/rm -f" /dev/null
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/man'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpie -fno-strict-aliasing -Wno-comment -Wno-parentheses -Wno-unused -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  from.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpie -fno-strict-aliasing -Wno-comment -Wno-parentheses -Wno-unused -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  lockfile.c
lockfile.c: In function 'elog':
lockfile.c:54:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
 { write(STDERR,a,strlen(a));
   ^~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
cp ../examples/mailstat mailstat
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpie -fno-strict-aliasing -Wno-comment -Wno-parentheses -Wno-unused -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  variables.c
variables.c: In function 'sputenv':
variables.c:80:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
    { for(preenv=environ;*preenv;preenv++);
      ^~~
variables.c:81:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
      preenv[1]=0;*(lastenv=preenv)=(char*)(split=newdynstring(&myenv,a));
      ^~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpie -fno-strict-aliasing -Wno-comment -Wno-parentheses -Wno-unused -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  lmtp.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
ln ../src/mailstat ../new/mailstat
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpie -fno-strict-aliasing -Wno-comment -Wno-parentheses -Wno-unused -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  fields.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/man'
/bin/sh ./mansed /bin/sh procmailrc.man procmailrc.5 "/bin/rm -f" /dev/null
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/man'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpie -fno-strict-aliasing -Wno-comment -Wno-parentheses -Wno-unused -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  ecommon.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/man'
/bin/sh ./mansed /bin/sh procmailex.man procmailex.5 "/bin/rm -f" /dev/null
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/man'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/man'
ln ../man/procmail.1 ../new/procmail.1
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/man'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/man'
ln ../man/formail.1 ../new/formail.1
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/man'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/man'
ln ../man/lockfile.1 ../new/lockfile.1
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/man'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/man'
ln ../man/procmailrc.5 ../new/procmailrc.5
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/man'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/man'
ln ../man/procmailex.5 ../new/procmailex.5
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/man'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpie -fno-strict-aliasing -Wno-comment -Wno-parentheses -Wno-unused -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  lockfile.o exopen.o sublib.o acommon.o mcommon.o authenticate.o lastdirsep.o -o lockfile -pie -Wl,-z,relro,-z,now   -lm -lc
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
ln ../src/lockfile ../new/lockfile
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/man'
/bin/sh ./mansed /bin/sh procmailsc.man procmailsc.5 "/bin/rm -f" /dev/null
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/man'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/man'
ln ../man/procmailsc.5 ../new/procmailsc.5
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/man'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpie -fno-strict-aliasing -Wno-comment -Wno-parentheses -Wno-unused -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  formisc.c
formisc.c: In function 'startprog':
formisc.c:161:3: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result]
   dup(oldstdout);
   ^~~~~~~~~~~~~~
formisc.c:174:6: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result]
      pipe(poutfd);
      ^~~~~~~~~~~~
formisc.c:193:51: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result]
       { close(STDIN);close(oldstdout);close(PWRO);dup(PRDO);close(PRDO);
                                                   ^~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpie -fno-strict-aliasing -Wno-comment -Wno-parentheses -Wno-unused -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  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 -pie -Wl,-z,relro,-z,now   -lm -lc
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
ln ../src/procmail ../new/procmail
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpie -fno-strict-aliasing -Wno-comment -Wno-parentheses -Wno-unused -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  formail.c
formail.c: In function 'main':
formail.c:788:15: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 accuhdr:    { for(i=minfields;--i&&readhead()&&digheadr();); /* found enough */
               ^~~
formail.c:789:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
        if(!i)        /* then split it! */
        ^~
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpie -fno-strict-aliasing -Wno-comment -Wno-parentheses -Wno-unused -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  formail.o common.o fields.o formisc.o sublib.o ecommon.o acommon.o -o formail -pie -Wl,-z,relro,-z,now   -lm -lc
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
ln ../src/formail ../new/formail
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make: Entering directory '/usr/src/RPM/BUILD/procmail-3.22'
If you would like to inspect the results before running make install:
All installable files can be found in the new/ subdirectory.
make: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22'
+ exit 0
Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.65514
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ /bin/chmod -Rf u+rwX -- /usr/src/tmp/procmail-buildroot
+ :
+ /bin/rm -rf -- /usr/src/tmp/procmail-buildroot
+ cd procmail-3.22
+ mkdir -p /usr/src/tmp/procmail-buildroot/usr/bin /usr/src/tmp/procmail-buildroot/usr/share/man/man1 /usr/src/tmp/procmail-buildroot/usr/share/man/man5
+ make 'INSTALL=/bin/install -p' install BASENAME=/usr/src/tmp/procmail-buildroot/usr MANDIR=/usr/src/tmp/procmail-buildroot/usr/share/man
make: Entering directory '/usr/src/RPM/BUILD/procmail-3.22'
make[1]: Entering directory '/usr/src/RPM/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 '/usr/src/RPM/BUILD/procmail-3.22/man'
make[3]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[3]: '../man/man.sed' is up to date.
make[3]: Leaving directory '/usr/src/RPM/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[2]: Leaving directory '/usr/src/RPM/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 '/usr/src/RPM/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 '/usr/src/RPM/BUILD/procmail-3.22/src'
/bin/install -p new/procmail new/lockfile new/formail new/mailstat /usr/src/tmp/procmail-buildroot/usr/bin
echo Housekeeping file >install.bin
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22'

Installed in /usr/src/tmp/procmail-buildroot/usr/bin
-rwxr-xr-x 1 builder builder 134640 Aug 23 07:42 formail
-rwxr-xr-x 1 builder builder  83412 Aug 23 07:42 lockfile
-rwxr-xr-x 1 builder builder   5859 Aug 23 07:42 mailstat
-rwxr-xr-x 1 builder builder 433416 Aug 23 07:42 procmail
Installed in /usr/src/tmp/procmail-buildroot/usr/share/man/man1
-rwxr-xr-x 1 builder builder 15317 Aug 23 07:42 formail.1
-rwxr-xr-x 1 builder builder  6880 Aug 23 07:42 lockfile.1
-rwxr-xr-x 1 builder builder 27824 Aug 23 07:42 procmail.1
Installed in /usr/src/tmp/procmail-buildroot/usr/share/man/man5
-rwxr-xr-x 1 builder builder 16805 Aug 23 07:42 procmailex.5
-rwxr-xr-x 1 builder builder 31449 Aug 23 07:42 procmailrc.5
-rwxr-xr-x 1 builder builder  8074 Aug 23 07:42 procmailsc.5
make[1]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22'
make[2]: Entering directory '/usr/src/RPM/BUILD/procmail-3.22/src'
make[2]: 'recommend' is up to date.
make[2]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22/src'
===============================================================================

Also, HIGHLY RECOMMENDED (type 'make install-suid' to execute it):

chown root /usr/src/tmp/procmail-buildroot/usr/bin/procmail
chmod 4755 /usr/src/tmp/procmail-buildroot/usr/bin/procmail
chmod a+w /var/spool/mail/.
===============================================================================
make[1]: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22'
make: Leaving directory '/usr/src/RPM/BUILD/procmail-3.22'
+ install -pm644 /usr/src/RPM/SOURCES/mailstat.1 /usr/src/tmp/procmail-buildroot/usr/share/man/man1/
+ /usr/lib/rpm/brp-alt
Cleaning files in /usr/src/tmp/procmail-buildroot (auto)
Verifying and fixing files in /usr/src/tmp/procmail-buildroot (binconfig,pkgconfig,libtool,desktop)
Checking contents of files in /usr/src/tmp/procmail-buildroot/ (default)
Compressing files in /usr/src/tmp/procmail-buildroot (auto)
mode of '/usr/src/tmp/procmail-buildroot/usr/share/man/man5/procmailex.5' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
mode of '/usr/src/tmp/procmail-buildroot/usr/share/man/man5/procmailsc.5' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
mode of '/usr/src/tmp/procmail-buildroot/usr/share/man/man5/procmailrc.5' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
mode of '/usr/src/tmp/procmail-buildroot/usr/share/man/man1/lockfile.1' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
mode of '/usr/src/tmp/procmail-buildroot/usr/share/man/man1/formail.1' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
mode of '/usr/src/tmp/procmail-buildroot/usr/share/man/man1/procmail.1' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
Verifying ELF objects in /usr/src/tmp/procmail-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
Hardlinking identical .pyc and .pyo files
Processing files: procmail-3.22-alt10
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.57291
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd procmail-3.22
+ DOCDIR=/usr/src/tmp/procmail-buildroot/usr/share/doc/procmail-3.22
+ export DOCDIR
+ rm -rf /usr/src/tmp/procmail-buildroot/usr/share/doc/procmail-3.22
+ /bin/mkdir -p /usr/src/tmp/procmail-buildroot/usr/share/doc/procmail-3.22
+ cp -prL Artistic FAQ FEATURES HISTORY.xz KNOWN_BUGS README README.Maildir examples /usr/src/tmp/procmail-buildroot/usr/share/doc/procmail-3.22
+ chmod -R go-w /usr/src/tmp/procmail-buildroot/usr/share/doc/procmail-3.22
+ chmod -R a+rX /usr/src/tmp/procmail-buildroot/usr/share/doc/procmail-3.22
+ exit 0
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9nmAzi
find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.RX1r77
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services)
Provides: MDA
Requires: shadow-utils >= 0:20000902-alt3, /bin/sh, /lib/ld-linux.so.2, libc.so.6 >= set:pnCE0ZdiC7, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.2.5), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libm.so.6(GLIBC_2.0), rtld(GNU_HASH)
Requires(rpmlib): rpmlib(SetVersions)
Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.QRcXim
Creating procmail-debuginfo package
Processing files: procmail-debuginfo-3.22-alt10
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.4F4Nur
find-provides: running scripts (debuginfo)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.M4bIgb
find-requires: running scripts (debuginfo)
Requires: procmail = 3.22-alt10, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libm.so.6)
Wrote: /usr/src/RPM/RPMS/i586/procmail-3.22-alt10.i586.rpm
Wrote: /usr/src/RPM/RPMS/i586/procmail-debuginfo-3.22-alt10.i586.rpm
15.40user 4.40system 0:19.41elapsed 101%CPU (0avgtext+0avgdata 66508maxresident)k
0inputs+0outputs (0major+630200minor)pagefaults 0swaps
22.57user 11.39system 0:32.74elapsed 103%CPU (0avgtext+0avgdata 116712maxresident)k
0inputs+0outputs (0major+906081minor)pagefaults 0swaps