+ 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/bsdtar-3.7.4/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/bsdtar-3.7.4/work.log
===> Building for bsdtar-3.7.4
--- libarchive/test/list.h ---
--- tar/test/list.h ---
./build/autoconf/install-sh -c -d tar/test
--- libarchive/test/list.h ---
./build/autoconf/install-sh -c -d libarchive/test
--- tar/test/list.h ---
cat ./tar/test/test_*.c | grep '^DEFINE_TEST' > tar/test/list.h
--- libarchive/test/list.h ---
cat ./libarchive/test/test_*.c | grep '^DEFINE_TEST' > libarchive/test/list.h
--- cpio/test/list.h ---
./build/autoconf/install-sh -c -d cpio/test
--- cat/test/list.h ---
--- cpio/test/list.h ---
cat ./cpio/test/test_*.c | grep '^DEFINE_TEST' > cpio/test/list.h
--- cat/test/list.h ---
./build/autoconf/install-sh -c -d cat/test
--- unzip/test/list.h ---
./build/autoconf/install-sh -c -d unzip/test
--- cat/test/list.h ---
cat ./cat/test/test_*.c | grep '^DEFINE_TEST' > cat/test/list.h
--- unzip/test/list.h ---
cat ./unzip/test/test_*.c | grep '^DEFINE_TEST' > unzip/test/list.h
--- all ---
/opt/pkg/bin/bmake  all-am
--- tar/.dirstamp ---
--- tar/.deps/.dirstamp ---
--- libarchive/.dirstamp ---
--- libarchive/.deps/.dirstamp ---
--- libarchive_fe/.dirstamp ---
--- libarchive_fe/.deps/.dirstamp ---
--- tar/bsdtar-bsdtar.o ---
  CC       tar/bsdtar-bsdtar.o
--- tar/bsdtar-cmdline.o ---
  CC       tar/bsdtar-cmdline.o
--- tar/bsdtar-bsdtar.o ---
tar/bsdtar.c: In function 'main':
tar/bsdtar.c:374:43: error: 'INT_MAX' undeclared (first use in this function)
  374 |                         if (l < 0 || l >= INT_MAX || *(bsdtar->argument) == '\0' ||
      |                                           ^~~~~~~
tar/bsdtar.c:71:1: note: 'INT_MAX' is defined in header '<limits.h>'; did you forget to '#include <limits.h>'?
   70 | #include "err.h"
  +++ |+#include <limits.h>
   71 | 
tar/bsdtar.c:374:43: note: each undeclared identifier is reported only once for each function it appears in
  374 |                         if (l < 0 || l >= INT_MAX || *(bsdtar->argument) == '\0' ||
      |                                           ^~~~~~~
*** [tar/bsdtar-bsdtar.o] Error code 1

bmake[1]: stopped in /home/pbulk/build/archivers/bsdtar/work/libarchive-3.7.4
1 error

bmake[1]: stopped in /home/pbulk/build/archivers/bsdtar/work/libarchive-3.7.4
*** [all] Error code 2

bmake: stopped in /home/pbulk/build/archivers/bsdtar/work/libarchive-3.7.4
1 error

bmake: stopped in /home/pbulk/build/archivers/bsdtar/work/libarchive-3.7.4
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/archivers/bsdtar
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/archivers/bsdtar