=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for libstree-0.4.2.tar.gz
=> Checksum SHA512 OK for libstree-0.4.2.tar.gz
===> Installing dependencies for libstree-0.4.2
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
===> Overriding tools for libstree-0.4.2
===> Extracting for libstree-0.4.2
===> Patching for libstree-0.4.2
=> Applying pkgsrc patches for libstree-0.4.2
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/devel/libstree/patches/patch-src_lst__string.c
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/devel/libstree/patches/patch-src_lst__string.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_lst__string.c,v 1.1 2013/12/10 12:01:15 jperkin Exp $
|
|Provide compat MIN()
|
|--- src/lst_string.c.orig	2004-01-13 14:14:26.000000000 +0000
|+++ src/lst_string.c
--------------------------
Patching file src/lst_string.c using Plan A...
Hunk #1 succeeded at 26.
done
===> Creating toolchain wrappers for libstree-0.4.2
===> Configuring for libstree-0.4.2
=> 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
checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g staff
checking whether build environment is sane... yes
checking for gawk... /opt/pkg/bin/nawk
checking whether make sets $(MAKE)... yes
shtool:echo:Warning: unable to determine terminal sequence for bold mode
shtool:echo:Warning: unable to determine terminal sequence for bold mode
checking for x86_64-apple-darwin23-gcc... clang
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of clang... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking build system type... x86_64-apple-darwin23
checking host system type... x86_64-apple-darwin23
checking for a sed that does not truncate output... /Users/pbulk/build/devel/libstree/work/.tools/bin/sed
checking for egrep... grep -E
checking for ld used by clang... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... clang -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for x86_64-apple-darwin23-g++... clang++
checking whether we are using the GNU C++ compiler... no
checking whether clang++ accepts -g... no
checking dependency style of clang++... none
checking how to run the C++ preprocessor... clang -E
checking for x86_64-apple-darwin23-g77... f77
checking whether we are using the GNU Fortran 77 compiler... no
checking whether f77 accepts -g... no
checking the maximum length of command line arguments... (cached) 1048576
checking command to parse nm output from clang object... ok
checking for objdir... .libs
checking for x86_64-apple-darwin23-ar... no
checking for ar... ar
checking for x86_64-apple-darwin23-ranlib... no
checking for ranlib... ranlib
checking for x86_64-apple-darwin23-strip... no
checking for strip... strip
checking if clang static flag  works... yes
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fno-common
checking if clang PIC flag -fno-common works... yes
checking if clang supports -c -o file.o... yes
checking whether the clang linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... no
checking dynamic linker characteristics... darwin23 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the clang++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... no
libtool.m4: error: problem compiling CXX test program
checking for clang++ option to produce PIC... 
checking if clang++ supports -c -o file.o... no
checking whether the clang++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... no
checking dynamic linker characteristics... darwin23 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for f77 option to produce PIC... -fno-common
checking if f77 PIC flag -fno-common works... no
checking if f77 supports -c -o file.o... no
checking whether the f77 linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... no
checking dynamic linker characteristics... PKGSRC-WARNING: Something is trying to run the fortran compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
PKGSRC-WARNING: Something is trying to run the fortran compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
darwin23 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for gtkdoc-mkdb... false
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating test/Makefile
config.status: creating docs/Makefile
config.status: creating config.h
config.status: executing depfiles commands

           libstree Configuration Summary
====================================================

  Setup finished. Now run:

  $ make
  # make install

  (or use gmake when make on your platform isn't GNU make)

=> 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.
WARNING: *** Please consider adding fortran to USE_LANGUAGES in the package Makefile.