+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/procmail-3.24/work.log
+ su pbulk -c '"$@"' make /opt/pkg/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/pkg/bin/bmake" o  "gcc" "" "-s " "procmail lockfile formail mailstat"  "procmail formail lockfile mailstat"  "procmailrc procmailsc procmailex" "src man"  "/opt/pkg/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/pkg/bin/bmake make all
cd src; /opt/pkg/bin/bmake ../autoconf.h
/usr/bin/bash ./autoconf /usr/bin/bash "/bin/rm -f" "mv -f" /dev/null  "grep -F" "/opt/pkg/bin/bmake" o "/tmp ."  "/opt/pkg/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
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
XX32 16XX32XX1a 14 13XX22XX1aXX2a 15XX10 02XX10XX8 01XX38 07XX38XX0 00XX0
Starting test 2 on /tmp/_locktest
 17 14 13 11 12 10 11 12 10 06 05 07 04 03 01 02 00 10 06 16 07 15 16 17 01 13 02 00 05 06 16 04 17 01 17 02 13 00 05 15 16 15 14 03 15 13 15 00 10 06
Starting test 2 on ./_locktest
 17 03 15 02 16 10 17 03 14 05 13 02 06 12 01 11 10 04 03 05 06 02 07 00 11 04 03 16 12 05 10 14 13 00 11 07 15 01 16 07 14 05 12 06 13 02 10 11 01 14 15
Starting test 3 on /tmp/_locktest



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

#define NOpw_passwd
#define NOpw_class
#define NOpw_gecos
#define NOsetrgid
#define GOT_bin_test
#define MAX_argc 83748
/* Your system's strstr() is 1.27 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/pkg/bin"
#define defSPATH "PATH=/usr/local/bin:/bin:/usr/ucb:/opt/pkg/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/pkg/bin/bmake ../new/procmail ../new/lockfile ../new/formail ../new/mailstat
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  procmail.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  cstdio.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  common.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  exopen.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  goodies.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  locking.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  mailfold.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  foldinfo.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  misc.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  pipes.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  regexp.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  robust.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  sublib.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  acommon.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  mcommon.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  lastdirsep.c
gcc -c -DPROCMAIL -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  authenticate.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  lmtp.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  memblk.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  variables.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  from.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  comsat.c
gcc -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  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 -Wl,-R/opt/pkg/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  lockfile.c
gcc -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  lockfile.o exopen.o sublib.o acommon.o mcommon.o authenticate.o  lastdirsep.o -o lockfile -Wl,-R/opt/pkg/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  formail.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  fields.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  formisc.c
gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  ecommon.c
gcc -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  formail.o common.o fields.o formisc.o sublib.o ecommon.o  acommon.o -o formail -Wl,-R/opt/pkg/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/pkg/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  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/pkg/bin/procmail
chmod 4755 ${DESTDIR}/opt/pkg/bin/procmail
================================================================ ===============
If you would like to inspect the results before running make install:
All installable files can be found in the new/ subdirectory.