=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/mail/procmail", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for procmail-3.24nb1 /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 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:166:24: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 166 | signal(SIGTERM,Terminate); | ^~~~~~~~~ | | | void (*)(void) In file included from /usr/include/signal.h:42, from _autotst.c:10: /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ _autotst.c:71:6: note: 'Terminate' declared here 71 | void Terminate() | ^~~~~~~~~ _autotst.c:179:63: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 179 | kill(ppid,SIGKILL);fdcollect=pip[0];signal(SIGALRM,stimeout); | ^~~~~~~~ | | | void (*)(void) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ _autotst.c:67:6: note: 'stimeout' declared here 67 | void stimeout() | ^~~~~~~~ *** Error code 1 Stop. bmake[3]: stopped making "_autotst" in /tmp/work/mail/procmail/work/procmail-3.24/src ******************************************************* I suggest you take a look at the definition of LDFLAGS* in the Makefile before you try make again. *** Error code 1 Stop. bmake[2]: stopped making "../autoconf.h" in /tmp/work/mail/procmail/work/procmail-3.24/src *** Error code 1 Stop. bmake[1]: stopped making "make all" in /tmp/work/mail/procmail/work/procmail-3.24 *** Error code 1 Stop. bmake: stopped making "all" in /tmp/work/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