+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/link-grammar-5.12.3/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/link-grammar-5.12.3/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for link-grammar-5.12.3.tar.gz
=> Checksum SHA512 OK for link-grammar-5.12.3.tar.gz
===> Installing dependencies for link-grammar-5.12.3
=> 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 pkgconf-[0-9]*: found pkgconf-2.3.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency pcre2>=10.30: found pcre2-10.44
===> Overriding tools for link-grammar-5.12.3
===> Extracting for link-grammar-5.12.3
===> Patching for link-grammar-5.12.3
=> Applying pkgsrc patches for link-grammar-5.12.3
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/textproc/link-grammar/../link-grammar/patches/patch-aa
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/textproc/link-grammar/../link-grammar/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.3 2015/08/26 12:23:01 wiz Exp $
|
|Do not try to regenerate words.
|
|--- data/en/words/Makefile.in.orig	2015-02-01 05:46:07.000000000 +0000
|+++ data/en/words/Makefile.in
--------------------------
Patching file data/en/words/Makefile.in using Plan A...
Hunk #1 succeeded at 476 (offset 48 lines).
Hunk #2 succeeded at 491 (offset 3 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/textproc/link-grammar/../link-grammar/patches/patch-configure
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/textproc/link-grammar/../link-grammar/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.5 2023/10/15 06:39:25 ryoon Exp $
|
|* POSIX shell portability.
|
|--- configure.orig	2023-03-24 16:25:36.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 17054.
Hunk #2 succeeded at 24640 (offset -2 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/textproc/link-grammar/../link-grammar/patches/patch-link-grammar_parse_extract-links.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/textproc/link-grammar/../link-grammar/patches/patch-link-grammar_parse_extract-links.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-link-grammar_parse_extract-links.c,v 1.2 2023/12/11 16:32:19 jperkin Exp $
|
|__GNUC__ does not imply malloc_trim() support.
|
|--- link-grammar/parse/extract-links.c.orig	2023-03-16 18:49:51.000000000 +0000
|+++ link-grammar/parse/extract-links.c
--------------------------
Patching file link-grammar/parse/extract-links.c using Plan A...
Hunk #1 succeeded at 294.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/textproc/link-grammar/../link-grammar/patches/patch-link-grammar_resources.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/textproc/link-grammar/../link-grammar/patches/patch-link-grammar_resources.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-link-grammar_resources.c,v 1.1 2023/10/15 06:39:25 ryoon Exp $
|
|--- link-grammar/resources.c.orig	2023-03-05 03:54:59.000000000 +0000
|+++ link-grammar/resources.c
--------------------------
Patching file link-grammar/resources.c using Plan A...
Hunk #1 succeeded at 38.
done
===> Creating toolchain wrappers for link-grammar-5.12.3
===> Configuring for link-grammar-5.12.3
=> 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
=> Adding run-time search paths to pkg-config files.
checking whether configure should try to set CFLAGS/CXXFLAGS... no
checking for a BSD-compatible install... /bin/install -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /home/pbulk/build/textproc/link-grammar/work/.tools/bin/mkdir -p
checking for gawk... /bin/gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
Hello World! Where am I?\nchecking for x86_64-redhat-linux-gcc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of cc... gcc3
Hah! I think I found where you are hiding!\nchecking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking for C compiler vendor... gnu
checking how to run the C preprocessor... cc -E
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by cc... /home/pbulk/build/textproc/link-grammar/work/.cwrapper/bin/ld
checking if the linker (/home/pbulk/build/textproc/link-grammar/work/.cwrapper/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /bin/nm -B
checking the name lister (/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... (cached) 2097152
checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /home/pbulk/build/textproc/link-grammar/work/.cwrapper/bin/ld option to reload object files... -r
checking for x86_64-redhat-linux-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-redhat-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-redhat-linux-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64-redhat-linux-strip... no
checking for strip... strip
checking for x86_64-redhat-linux-ranlib... no
checking for ranlib... ranlib
checking command to parse /bin/nm -B output from cc 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-redhat-linux-mt... no
checking for mt... no
checking if : is a manifest tool... no
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 cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... /bin/rm: cannot remove 'conftest*': No such file or directory
yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/home/pbulk/build/textproc/link-grammar/work/.cwrapper/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... /bin/rm: cannot remove 'conftest*': No such file or directory
no
checking dynamic linker characteristics... GNU/Linux ld.so
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 how to run the C++ preprocessor... c++ -E
checking for ld used by c++... /home/pbulk/build/textproc/link-grammar/work/.cwrapper/bin/ld -m elf_x86_64
checking if the linker (/home/pbulk/build/textproc/link-grammar/work/.cwrapper/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the c++ linker (/home/pbulk/build/textproc/link-grammar/work/.cwrapper/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... no
checking if c++ supports -c -o file.o... /bin/rm: cannot remove 'conftest*': No such file or directory
yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/home/pbulk/build/textproc/link-grammar/work/.cwrapper/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking pkg-config is at least version 0.9.0... yes
checking for flex... no
checking for lex... no
configure: error: No flex/lex program found. Please install the "flex" or
                 "btyacc" package.
*** Error code 1

Stop.
bmake[1]: stopped making "configure" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/textproc/link-grammar
*** Error code 1

Stop.
bmake: stopped making "configure" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/textproc/link-grammar