+ 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
XX38XX32 16XX38XX32XX22 14XX22XX8XX12XX0 00XX8XX0 01 /tmp/_locktest
 17 16 15 14 00 12 01 13 07 06 10 07 04 00 11 07 13 00 16 15 07 07 11 10 16 06 13 15 14 17 07 12 11 02 16 00 02 15 06 14 05 06 04 05 01 16 04
Starting test 2 on ./_locktest
 07 06 10 05 12 16 03 15 04 16 07 01 00 15 02 03 01 00 04 12 03 11 10 16 05 17 04 16 02 15 03 15 01 13 00 07 17 06 02 12 01 03 11 00 11 07 10 17 04 10 06 10
Starting test 3 on /tmp/_locktest



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 NOsetrgid
#define GOT_bin_test
#define MAX_argc 83748
/* Your system's strstr() is 1.00 times SLOWER than my C-routine */
#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.