=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for libredwg-0.12.4.tar.xz
=> Checksum SHA512 OK for libredwg-0.12.4.tar.xz
===> Installing dependencies for libredwg-0.12.4nb5
==========================================================================
The following variables will affect the build process of this package,
libredwg-0.12.4nb5.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 311

Based on these variables, the following variables have been set:

        * PYPACKAGE = python311

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/opt/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency gtexinfo>=3.12: found gtexinfo-7.1
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency xz>=4.999.9betanb1: found xz-5.4.6
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency pkg_install-info-[0-9]*: found pkg_install-info-4.5nb3
=> Full dependency libxml2>=2.10.4nb3: found libxml2-2.12.4
=> Full dependency pcre2>=10.30: found pcre2-10.43
=> Full dependency pslib>=0.4.5nb8: found pslib-0.4.5nb8
=> Full dependency py311-libxml2>=2.6.27: found py311-libxml2-2.12.4
===> Overriding tools for libredwg-0.12.4nb5
===> Extracting for libredwg-0.12.4nb5
===> Patching for libredwg-0.12.4nb5
=> Applying pkgsrc patches for libredwg-0.12.4nb5
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/cad/libredwg/patches/patch-configure
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/cad/libredwg/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.1 2021/12/11 16:00:59 gdt Exp $
|
|Kludge around use of bash extensions.
|
|Reported upstream via email.
|
|--- configure.orig	2021-03-17 08:13:26.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 17956.
done
===> Creating toolchain wrappers for libredwg-0.12.4nb5
===> Configuring for libredwg-0.12.4nb5
=> 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 a BSD-compatible install... /usr/bin/install -c -o pbulk -g staff
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... /opt/pkg/bin/nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking git version... 0.12.4
checking so version-info... 0:12:0
checking build system type... x86_64-apple-darwin22
checking host system type... x86_64-apple-darwin22
checking pkg-config is at least version 0.9.0... no
checking for x86_64-apple-darwin22-gcc... clang
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 we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking whether clang understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of clang... gcc3
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking how to print strings... print -r
checking for a sed that does not truncate output... /opt/pkg/bin/nbsed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... /usr/bin/grep -F
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 BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... (cached) 1048576
checking how to convert x86_64-apple-darwin22 file names to x86_64-apple-darwin22 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin22 file names to toolchain format... func_convert_file_noop
checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r
checking for x86_64-apple-darwin22-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-apple-darwin22-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... print -r --
checking for x86_64-apple-darwin22-ar... no
checking for ar... ar
checking for archiver @FILE support... no
checking for x86_64-apple-darwin22-strip... no
checking for strip... strip
checking for x86_64-apple-darwin22-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from clang object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for x86_64-apple-darwin22-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for x86_64-apple-darwin22-dsymutil... no
checking for dsymutil... dsymutil
checking for x86_64-apple-darwin22-nmedit... no
checking for nmedit... nmedit
checking for x86_64-apple-darwin22-lipo... no
checking for lipo... lipo
checking for x86_64-apple-darwin22-otool... no
checking for otool... otool
checking for x86_64-apple-darwin22-otool64... no
checking for otool64... no
checking for -single_module linker flag... ld: warning: -single_module is obsolete
no
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
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 for dlfcn.h... yes
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fno-common -DPIC
checking if clang PIC flag -fno-common -DPIC works... yes
checking if clang static flag -static works... no
checking if clang supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin22 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for bash... bash
checking for inline... inline
checking for C/C++ restrict keyword... __restrict
checking for PS_open_file in -lps... yes
checking for pcre2_config_8 in -lpcre2-8... yes
checking for pcre2_config_16 in -lpcre2-16... yes
checking for newXMLEntity in -lxml2... no
configure: WARNING: libxml-2.0 for test/xmlsuite not found
checking for ANSI C header files... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for unistd.h... (cached) yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking valgrind/valgrind.h usability... no
checking valgrind/valgrind.h presence... no
checking for valgrind/valgrind.h... no
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for strcasecmp header file... <strings.h>
checking libps/pslib.h usability... yes
checking libps/pslib.h presence... yes
checking for libps/pslib.h... yes
checking for pcre2.h... yes
checking for clang option to accept ISO C99... none needed
checking if pointers to integers require aligned access... no
checking for size_t... yes
checking for int16_t... yes
checking for uint16_t... yes
checking for int32_t... yes
checking for uint32_t... yes
checking for int64_t... yes
checking for uint64_t... yes
checking size of size_t... 8
checking size of wchar_t... 4
checking whether C compiler accepts -Werror=unknown-warning-option... yes
checking whether C compiler accepts -Wsuggest-attribute=format... no
checking whether C compiler accepts -mretpoline -DRETPOLINE... yes
checking whether C compiler accepts -fno-strict-aliasing... yes
checking whether C compiler accepts -fno-common... yes
checking whether C compiler accepts -fvisibility=hidden... yes
checking whether C compiler accepts -fno-semantic-interposition... yes
checking whether C compiler accepts -Wall... yes
checking whether C compiler accepts -Wextra... yes
checking whether C compiler accepts -Wundef... yes
checking whether C compiler accepts -Wwrite-strings... yes
checking whether C compiler accepts -Wpointer-arith... yes
checking whether C compiler accepts -Wmissing-declarations... yes
checking whether C compiler accepts -Wredundant-decls... yes
checking whether C compiler accepts -Wno-unused-variable... yes
checking whether C compiler accepts -Wno-unused-parameter... yes
checking whether C compiler accepts -Wno-unused-but-set-variable... yes
checking whether C compiler accepts -Wno-missing-field-initializers... yes
checking whether C compiler accepts -Wno-cast-align... yes
checking whether C compiler accepts -Wformat=2... yes
checking whether C compiler accepts -Wformat-nonliteral... yes
checking whether C compiler accepts -Wformat-security... yes
checking whether C compiler accepts -Wsign-compare... yes
checking whether C compiler accepts -Wstrict-aliasing... yes
checking whether C compiler accepts -Wshadow... yes
checking whether C compiler accepts -Winline... yes
checking whether C compiler accepts -Wpacked... yes
checking whether C compiler accepts -Wmissing-format-attribute... yes
checking whether C compiler accepts -Wmissing-noreturn... yes
checking whether C compiler accepts -Winit-self... yes
checking whether C compiler accepts -Wredundant-decls... (cached) yes
checking whether C compiler accepts -Wmissing-include-dirs... yes
checking whether C compiler accepts -Warray-bounds... yes
checking whether C compiler accepts -Wreturn-type... yes
checking whether C compiler accepts -Wswitch-enum... (cached) no
checking whether C compiler accepts -Wswitch-default... yes
checking whether C compiler accepts -Wduplicated-cond... no
checking whether C compiler accepts -Wduplicated-branches... no
checking whether C compiler accepts -Wlogical-op... no
checking whether C compiler accepts -Wrestrict... no
checking whether C compiler accepts -Wnull-dereference... yes
checking whether C compiler accepts -Wdouble-promotion... yes
checking whether C compiler accepts -Wchar-subscripts... yes
checking whether C compiler accepts -Wnested-externs... yes
checking whether C compiler accepts -Wmissing-prototypes... yes
checking whether C compiler accepts -Wstrict-prototypes... no
checking whether C compiler accepts -Wdeclaration-after-statement... yes
checking whether C compiler accepts -Wimplicit-function-declaration... yes
checking whether C compiler accepts -Wold-style-definition... yes
checking whether C compiler accepts -Wjump-misses-init... no
checking whether C compiler accepts -Wno-error=unused-variable... yes
checking whether C compiler accepts -Wno-error=unused-parameter... yes
checking whether C compiler accepts -Wno-error=unused-but-set-variable... yes
checking whether C compiler accepts -Wno-error=missing-field-initializers... yes
checking whether C compiler accepts -Wno-error=cast-align... yes
checking whether C compiler accepts -Werror=unknown-warning-option... (cached) yes
checking whether the linker accepts -Wl,--no-as-needed... no
checking whether the linker accepts -Wl,--fatal-warnings... no
checking whether the linker accepts -Wl,-fatal_warnings... yes
checking for __attribute__((visibility("default")))... yes
checking for __attribute__((gnu_format))... no
checking for __attribute__((ms_format))... no
checking for __attribute__((format))... yes
checking for __attribute__((malloc))... yes
checking for __attribute__((returns_nonnull))... yes
checking for __attribute__((noreturn))... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... (cached) yes
checking whether lstat correctly handles trailing slash... no
checking whether stat accepts an empty string... no
checking for working alloca.h... yes
checking for alloca... yes
checking for strtod... yes
checking for strdup... yes
checking for getopt_long... yes
checking for basename... yes
checking for strcasestr... yes
checking for scandir... yes
checking for floor... yes
checking for sqrt... yes
checking for floor in -lm... yes
checking for sqrt in -lm... yes
checking for sincos... no
checking for memchr... yes
checking for memmove... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strstr... yes
checking for strrchr... yes
checking for strtol... yes
checking for strtoul... yes
checking for strtoull... yes
checking for strnlen... yes
checking for memmem... yes
checking for wcslen... yes
checking for wcsnlen... yes
checking for wcscpy... yes
checking for wcscmp... yes
checking for wcsstr... yes
checking for sscanf_s... no
configure: WARNING: No secure sscanf_s found. dwgfuzz -add will produce false positives.
checking --enable-debug... no (default)
checking whether C compiler accepts -Werror... yes
checking whether to add -D_FORTIFY_SOURCE=2 to CPPFLAGS... yes
checking for restrict usability... 
no
checking --disable-write... no (default)
checking --enable-trace... no (default)
checking for setenv... yes
checking --disable-dxf... no (default)
checking --disable-json... no (default)
checking --disable-bindings... yes
checking for --enable-gcov... no (default)
checking for gperf... gperf
checking GPERF version... 3.0.3
checking for latest clang-format... clang-format{-mp,}{-devel,-{8,7,6,5,4,3}{,.9,.8,.7,.6,.5,.4,.3,.2,.1,.0},}
checking for --disable-python... check (default)
configure: WARNING: disabled swig bindings
checking for python version... 3.1
checking for python platform... darwin
checking for python script directory... ${prefix}/lib/python3.11/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python3.11/site-packages
(cached) checking for /opt/pkg/bin/perl... /opt/pkg/bin/perl
checking PERL version... v5.38.2
checking for picat... no
checking for parallel... no
checking for timeout... no
checking for makeinfo... /Users/pbulk/build/cad/libredwg/work/.tools/bin/makeinfo
checking MAKEINFO version... 7.1
checking for doxygen... no
checking for jq... no
checking for shellcheck... no
checking for rpmlint... no
checking for geojsonhint... no
checking for gjv... no
checking for jing... no
checking for valgrind... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating programs/Makefile
config.status: creating examples/Makefile
config.status: creating bindings/Makefile
config.status: creating bindings/python/Makefile
config.status: creating test/Makefile
config.status: creating test/xmlsuite/Makefile
config.status: creating test/unit-testing/Makefile
config.status: creating libredwg.pc
config.status: creating bindings/perl/Makefile.PL
config.status: creating programs/dwgfilter
config.status: creating programs/alive.test
config.status: creating programs/dxf.test
config.status: creating programs/json.test
config.status: creating programs/svg.test
config.status: creating logs-all.sh
config.status: creating log
config.status: creating dwg
config.status: creating dxf
config.status: creating json
config.status: creating svg
config.status: creating rw
config.status: creating dynapi_test_all.sh
config.status: creating unit_testing_all.sh
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
configure: WARNING: unrecognized options: --with-libiconv-prefix
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp