+ 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 ===> 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 Whoeaaa! There's something fishy going on here. You have a look and see if you detect anything uncanny: ******************************************************* gcc -c -fno-inline-functions -pipe -O2 -msave-args -fno-aggressive-loop-optimizations _autotst.c _autotst.c: In function 'main': _autotst.c:8:41: error: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] 8 | endpwent();endgrent();memmove(a,"0",1);bcopy("0",a,1);strcspn(a,"0"); | ^~~~~ _autotst.c:8:41: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] _autotst.c:14:2: error: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 14 | bzero(a,2);memset(a,'\0',2); | ^~~~~ _autotst.c:14:2: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] *** Error code 1 Stop. bmake[3]: stopped making "_autotst.o" in /home/pbulk/build/mail/procmail/work/procmail-3.24/src ******************************************************* Your include files seem to be beyond repair . I give up. *** Error code 1 Stop. bmake[2]: stopped making "../autoconf.h" in /home/pbulk/build/mail/procmail/work/procmail-3.24/src *** Error code 1 Stop. bmake[1]: stopped making "make all" in /home/pbulk/build/mail/procmail/work/procmail-3.24 *** Error code 1 Stop. bmake: stopped making "all" in /home/pbulk/build/mail/procmail/work/procmail-3.24 *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/procmail *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/procmail