+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=31 WRKLOG=/tmp/bulklog/ruby31-yamcha-0.33nb1/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=31 WRKLOG=/tmp/bulklog/ruby31-yamcha-0.33nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for yamcha-0.33.tar.gz
=> Checksum SHA512 OK for yamcha-0.33.tar.gz
===> Installing dependencies for ruby31-yamcha-0.33nb1
=> 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
=> Full dependency yamcha>=0.33nb12: found yamcha-0.33nb12
=> Full dependency ruby31-base>=3.1.6: found ruby31-base-3.1.6
===> Overriding tools for ruby31-yamcha-0.33nb1
===> Extracting for ruby31-yamcha-0.33nb1
/bin/sed -e "s|@YAMCHA_LIBS@|`/usr/pkg/bin/yamcha-config --libs`|g"  /home/pbulk/build/textproc/ruby-yamcha/work/yamcha-0.33/ruby/extconf.rb.in > /home/pbulk/build/textproc/ruby-yamcha/work/yamcha-0.33/ruby/extconf.rb
===> Patching for ruby31-yamcha-0.33nb1
=> Applying pkgsrc patches for ruby31-yamcha-0.33nb1
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/textproc/ruby-yamcha/../../textproc/yamcha/patches/patch-aa
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/textproc/ruby-yamcha/../../textproc/yamcha/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.1 2010/09/12 02:04:21 taca Exp $
|
|Use modern Ruby's API.
|
|--- ruby/YamCha_wrap.cpp.orig	2004-09-20 09:43:22.000000000 +0000
|+++ ruby/YamCha_wrap.cpp
--------------------------
Patching file ruby/YamCha_wrap.cpp using Plan A...
Hunk #1 succeeded at 769.
Hunk #2 succeeded at 848.
Hunk #3 succeeded at 859.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/textproc/ruby-yamcha/../../textproc/yamcha/patches/patch-configure
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/textproc/ruby-yamcha/../../textproc/yamcha/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.2 2013/05/09 15:07:59 joerg Exp $
|
|--- configure.orig	2005-09-03 02:33:48.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 20169.
Hunk #2 succeeded at 20231.
Hunk #3 succeeded at 20252.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/textproc/ruby-yamcha/../../textproc/yamcha/patches/patch-libexec_mkdarts.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/textproc/ruby-yamcha/../../textproc/yamcha/patches/patch-libexec_mkdarts.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libexec_mkdarts.cpp,v 1.1 2011/03/23 09:19:39 obache Exp $
|
|* require <cstdlib> header for atoi(3).
|
|--- libexec/mkdarts.cpp.orig	2004-03-12 17:12:13.000000000 +0000
|+++ libexec/mkdarts.cpp
--------------------------
Patching file libexec/mkdarts.cpp using Plan A...
Hunk #1 succeeded at 23.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/textproc/ruby-yamcha/../../textproc/yamcha/patches/patch-libexec_mktrie.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/textproc/ruby-yamcha/../../textproc/yamcha/patches/patch-libexec_mktrie.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libexec_mktrie.cpp,v 1.1 2012/10/03 14:40:23 marino Exp $
|
|1) Fix segfault bug - bad char cast
|2) There is a duplicate delete; "is" was previously freed already.
|
|--- libexec/mktrie.cpp.orig	2004-09-20 09:59:16.000000000 +0000
|+++ libexec/mktrie.cpp
--------------------------
Patching file libexec/mktrie.cpp using Plan A...
Hunk #1 succeeded at 111.
Hunk #2 succeeded at 148.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/textproc/ruby-yamcha/../../textproc/yamcha/patches/patch-libexec_pkemine.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/textproc/ruby-yamcha/../../textproc/yamcha/patches/patch-libexec_pkemine.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libexec_pkemine.cpp,v 1.1 2012/10/03 14:40:23 marino Exp $
|
|Fix segfault bug - "is" equals std::cin when infile == "-".  This delete
|command was intended for allocated std::instream object.
|
|--- libexec/pkemine.cpp.orig	2004-03-12 17:12:13.000000000 +0000
|+++ libexec/pkemine.cpp
--------------------------
Patching file libexec/pkemine.cpp using Plan A...
Hunk #1 succeeded at 250.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/textproc/ruby-yamcha/../../textproc/yamcha/patches/patch-src_param.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/textproc/ruby-yamcha/../../textproc/yamcha/patches/patch-src_param.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_param.cpp,v 1.1 2011/03/23 09:19:39 obache Exp $
|
|* require <cstring> header for strlen(3) and strncmp(3).
|
|--- src/param.cpp.orig	2005-09-05 14:50:59.000000000 +0000
|+++ src/param.cpp
--------------------------
Patching file src/param.cpp using Plan A...
Hunk #1 succeeded at 24.
done
===> Creating toolchain wrappers for ruby31-yamcha-0.33nb1
===> Configuring for ruby31-yamcha-0.33nb1
=> Checking for portability problems in extracted files
===>  Running extconf.rb in ruby to configure
/usr/pkg/bin/ruby31  extconf.rb --with-opt-dir=/usr/pkg --vendor
checking for yamcha.h... yes
checking for -l-L/usr/pkg/lib... no
checking for -lyamcha... yes
checking for -lm... yes
checking for -lyamcha... yes
creating Makefile