+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PHP_VERSION_REQD=80 WRKLOG=/tmp/bulklog/php80-mailparse-3.0.2/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PHP_VERSION_REQD=80 WRKLOG=/tmp/bulklog/php80-mailparse-3.0.2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20211023
WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum SHA1 OK for php-mailparse/mailparse-3.0.2.tgz
=> Checksum RMD160 OK for php-mailparse/mailparse-3.0.2.tgz
=> Checksum SHA512 OK for php-mailparse/mailparse-3.0.2.tgz
===> Installing dependencies for php80-mailparse-3.0.2
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb3
=> Tool dependency automake>=1.9: found automake-1.16.5
=> Tool dependency autoconf>=2.58: found autoconf-2.71nb1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency gcc10>=10.4.0: found gcc10-10.4.0
=> Build dependency pcre2>=10.30: found pcre2-10.39
=> Build dependency php80-mbstring>0: found php80-mbstring-8.0.16
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency gcc10-libs>=10.4.0: found gcc10-libs-10.4.0
=> Full dependency php>=8.0.13<8.1: found php-8.0.16
===> Overriding tools for php80-mailparse-3.0.2
===> Extracting for php80-mailparse-3.0.2
===> Patching for php80-mailparse-3.0.2
=> Applying pkgsrc patches for php80-mailparse-3.0.2
=> Verifying /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/joyent/php-mailparse/patches/patch-aa
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/joyent/php-mailparse/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD$
|
|--- mailparse.c.orig	2008-04-08 18:43:39.000000000 +0000
|+++ mailparse.c	2008-08-05 17:30:14.358146861 +0000
--------------------------
Patching file mailparse.c using Plan A...
Hunk #1 succeeded at 30.
done
===> Creating toolchain wrappers for php80-mailparse-3.0.2
===> Configuring for php80-mailparse-3.0.2
Configuring for:
PHP Api Version:         20200930
Zend Module Api No:      20200930
Zend Extension Api No:   420200930
configure.ac:18: warning: $as_echo is obsolete; use AS_ECHO(["message"]) instead
build/php.m4:2072: PHP_CONFIG_NICE is expanded from...
configure.ac:18: the top level
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Checking for portability problems in extracted files
configure: WARNING: unrecognized options: --with-libiconv-prefix
checking for grep that handles long lines and -e... (cached) /usr/xpg4/bin/grep
checking for egrep... (cached) /usr/xpg4/bin/grep -E
checking for a sed that does not truncate output... /opt/local/bin/nbsed
checking pkg-config is at least version 0.9.0... yes
checking for x86_64-sun-solaris2.11-cc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking how to run the C preprocessor... gcc -E
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking target system type... x86_64-sun-solaris2.11
checking for PHP prefix... /opt/local
checking for PHP includes... -I/opt/local/include/php -I/opt/local/include/php/main -I/opt/local/include/php/TSRM -I/opt/local/include/php/Zend -I/opt/local/include/php/ext -I/opt/local/include/php/ext/date/lib
checking for PHP extension directory... /opt/local/lib/php/20201124
checking for PHP installed headers prefix... /opt/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... /opt/local/bin/nawk
checking if /opt/local/bin/nawk is broken... no
checking whether to enable mailparse support... yes, shared
checking for a sed that does not truncate output... /home/pbulk/build/joyent/php-mailparse/work/.tools/bin/sed
checking for ld used by gcc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... no
checking for /bin/ld option to reload object files... -r
checking for BSD-compatible nm... /opt/local/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 786240
checking command to parse /opt/local/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for x86_64-sun-solaris2.11-ar... no
checking for ar... ar
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking for x86_64-sun-solaris2.11-strip... no
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

creating libtool
appending configuration tag "CXX" to libtool
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
configure: WARNING: unrecognized options: --with-libiconv-prefix
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile.