+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/procmail-3.24/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/procmail-3.24/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for procmail-3.24
/bin/sh ./initmake /bin/sh "/usr/bin/bash" "/bin/rm -f" "mv -f" "ln"  "-lm -ldir -lx -lsocket -lnet -linet -lnsl_s -lnsl_i -lnsl -lsun  -lgen -lsockdns -ldl"  "/lib /usr/lib /usr/local/lib"  /dev/null "/opt/local/bin/bmake" o  "gcc" "" "-s " "procmail lockfile formail mailstat"  "procmail formail lockfile mailstat"  "procmailrc procmailsc procmailex" "src man"  "/opt/local/bin"  "strip"
gcc seems to work fine, using that as the C-compiler
	...scanning for 13 libraries...
Added LDFLAGS= -lm -lsocket -lnsl -lgen -ldl -lc
/opt/local/bin/bmake make all
cd src; /opt/local/bin/bmake ../autoconf.h
/usr/bin/bash ./autoconf /usr/bin/bash "/bin/rm -f" "mv -f" /dev/null  "grep -F" "/opt/local/bin/bmake" o "/tmp ."  "/opt/local/bin" ../autoconf.h
Using the following directories for the LOCKINGTESTs:
  /tmp . 
Initiating fcntl()/kernel-locking-support tests

Proceeding with kernel-locking-support tests in the background
Testing for const
Testing for volatile
Testing for prototypes
Testing for enum
Checking for POSIX and ANSI/ISO system include files
Checking for network/comsat/biff support
Testing for void*, size_t, off_t, pid_t, time_t, mode_t, uid_t & gid_t
Checking realloc implementation
Sorry, repeatedly reallocing is inefficient
Testing for WIFEXITED(), WIFSTOPPED(), WEXITSTATUS() & WTERMSIG()
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
Waiting for the kernel-locking tests to finish...
Every two digits a file is locked.  First digit: which file, second digit:
which program, XX indicates a lock conflict or failure

Starting test 4 on /tmp/_locktest
XX3a 17XX3aXX32XX28 05 16XX28XX32XX20 04XX20XX18 03XX18XX12 12XX12XXa 11XXaXX2 10XX2
Starting test 2 on /tmp/_locktest
 06 17 03 15 01 14 05 12 01 04 10 16 05 17 02 13 01 10 04 16 05 12 07 13 01 10 06 05 14 02 17 01 06 13 00 15 04 12 00 11 17 04 16 02 13 01 15 07 04 10 12 06 11 07 00 13 02 15 06 01 14 07 10 05
Starting test 2 on ./_locktest
 17 04 16 03 01 15 12 00 07 14 03 16 02 07 15 02 11 06 10 05 13 07 14 01 03 12 01 10 03 02 16 06 15 05 17 14 04 11 04 13 10 01 12 02 16 15 17 13 14 07 11 10 04 12 01 16 15 07 13 00 14 06 12 05 11
Starting test 3 on /tmp/_locktest



Collecting results from kernel-locking tests
=============================autoconf.h===================================
/* This file was automagically generated by autoconf */

/* 65 moves in 64 steps of size 16384 when reallocing */
#define INEFFICIENTrealloc
#define NOpw_passwd
#define NOpw_class
#define NOpw_gecos
#define NOsetrgid
#define GOT_bin_test
#define MAX_argc 83748
/* Your system's strstr() is 2.42 times SLOWER than my C-routine */
#define SLOWstrstr			      /* using my substitute instead */
#define UDP_protocolno 17
#define BIFF_serviceport "512"
#define IP_localhost {127,0,0,1}
#define setrgid_RUNTIME_CHECK
#ifndef MAILSPOOLDIR
#define MAILSPOOLDIR "/var/mail/"
#endif
#define SENDMAIL "/usr/sbin/sendmail"
#define CF_no_procmail_yet
#define defPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/ucb:/opt/local/bin"
#define defSPATH "PATH=/usr/local/bin:/bin:/usr/ucb:/opt/local/bin"
#define PM_VERSION "3.24"
/*locktype: 4, countlocks: 80, timeout 0, watchdog 14, /tmp/_locktest*/
/*locktype: 2, countlocks: 0, timeout 0, watchdog 8, /tmp/_locktest*/
/*locktype: 2, countlocks: 0, timeout 0, watchdog 8, ./_locktest*/
/*locktype: 3, countlocks: 80, timeout 1, watchdog 14, /tmp/_locktest*/
/* Hotwire LOCKINGTEST=010 */
/* Procmail will lock via: dotlocking, lockf() */
#define NOfcntl_lock
#define USElockf
/* autoconf completed */
==========================================================================
echo Housekeeping file >config.check
cd src; /opt/local/bin/bmake ../new/procmail ../new/lockfile ../new/formail ../new/mailstat
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  procmail.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  cstdio.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  common.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  exopen.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  goodies.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  locking.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  mailfold.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  foldinfo.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  misc.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  pipes.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  regexp.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  robust.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  sublib.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  acommon.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  mcommon.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  lastdirsep.c
gcc -c -DPROCMAIL -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  authenticate.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  lmtp.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  memblk.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  variables.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  from.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  comsat.c
gcc -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  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 -L/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -Wl,-R/opt/local/lib -s  -lm -lsocket -lnsl -lgen -ldl -lc
ln ../src/procmail ../new/procmail
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  lockfile.c
gcc -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  lockfile.o exopen.o sublib.o acommon.o mcommon.o authenticate.o  lastdirsep.o -o lockfile -L/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -Wl,-R/opt/local/lib -s  -lm -lsocket -lnsl -lgen -ldl -lc
ln ../src/lockfile ../new/lockfile
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  formail.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  fields.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  formisc.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  ecommon.c
gcc -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  formail.o common.o fields.o formisc.o sublib.o ecommon.o  acommon.o -o formail -L/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -Wl,-R/opt/local/lib -s  -lm -lsocket -lnsl -lgen -ldl -lc
ln ../src/formail ../new/formail
cp ../examples/mailstat mailstat
ln ../src/mailstat ../new/mailstat
cd man; /opt/local/bin/bmake ../new/procmail.1 ../new/formail.1 ../new/lockfile.1 ../new/mailstat.1 ../new/procmailrc.5 ../new/procmailsc.5 ../new/procmailex.5
/usr/bin/bash ./mansed /usr/bin/bash procmail.man procmail.1 "/bin/rm -f" /dev/null
ln ../man/procmail.1 ../new/procmail.1
/usr/bin/bash ./mansed /usr/bin/bash formail.man formail.1 "/bin/rm -f" /dev/null
ln ../man/formail.1 ../new/formail.1
/usr/bin/bash ./mansed /usr/bin/bash lockfile.man lockfile.1 "/bin/rm -f" /dev/null
ln ../man/lockfile.1 ../new/lockfile.1
/usr/bin/bash ./mansed /usr/bin/bash mailstat.man mailstat.1 "/bin/rm -f" /dev/null
ln ../man/mailstat.1 ../new/mailstat.1
/usr/bin/bash ./mansed /usr/bin/bash procmailrc.man procmailrc.5 "/bin/rm -f" /dev/null
ln ../man/procmailrc.5 ../new/procmailrc.5
/usr/bin/bash ./mansed /usr/bin/bash procmailsc.man procmailsc.5 "/bin/rm -f" /dev/null
ln ../man/procmailsc.5 ../new/procmailsc.5
/usr/bin/bash ./mansed /usr/bin/bash procmailex.man procmailex.5 "/bin/rm -f" /dev/null
ln ../man/procmailex.5 ../new/procmailex.5
gcc -c -o sublib.host-o -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  sublib.c
================================================================ ===============
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 ${DESTDIR}/opt/local/bin/procmail
chmod 4755 ${DESTDIR}/opt/local/bin/procmail
================================================================ ===============
If you would like to inspect the results before running make install:
All installable files can be found in the new/ subdirectory.