+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/R-4.3.2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/R-4.3.2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for R-4.3.2.tar.gz
=> Checksum SHA512 OK for R-4.3.2.tar.gz
===> Installing dependencies for R-4.3.2
==========================================================================
The following variables will affect the build process of this package,
R-4.3.2.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses
        * JPEG_DEFAULT = jpeg
        * PKGSRC_BLAS_TYPES = netlib openblas openblas_pthread openblas_openmp
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/opt/pkg/openssl/certs
        * SSLDIR = /etc/opt/pkg/openssl
        * SSLKEYS = /etc/opt/pkg/openssl/private

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

        * BLAS_INCLUDES (not defined)
        * BLAS_LIBS = -lblas
        * BLAS_PC = blas
        * BLAS_TYPE = netlib
        * CBLAS_LIBS (not defined)
        * CBLAS_PC (not defined)
        * CURSES_TYPE = ncurses
        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg
        * LAPACKE_LIBS (not defined)
        * LAPACKE_PC (not defined)
        * LAPACK_LIBS = -llapack -lblas
        * LAPACK_PC = lapack
        * TERMCAP_TYPE = curses

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 glib2-tools-[0-9]*: found glib2-tools-2.78.1
=> Tool dependency libtool-fortran>=2.4.2nb9: found libtool-fortran-2.4.7nb1
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency automake>=1.9: found automake-1.16.5nb3
=> Tool dependency autoconf>=2.58: found autoconf-2.72
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency imake-[0-9]*: found imake-1.0.10
=> Tool dependency gtexinfo>=5.1: found gtexinfo-7.1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.0.3
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2023.2
=> Build dependency xcb-proto>=1.15.2nb3: found xcb-proto-1.16.0nb1
=> Full dependency pkg_install-info-[0-9]*: found pkg_install-info-4.5nb3
=> Full dependency perl>=5.0: found perl-5.38.2
=> Full dependency unzip-[0-9]*: found unzip-6.0nb9
=> Full dependency bzip2>=1.0.5: found bzip2-1.0.8
=> Full dependency xz>=5.0.0: found xz-5.4.5
=> Full dependency libiconv>=1.9.1nb4: found libiconv-1.17
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.4
=> Full dependency glib2>=2.76.4nb1: found glib2-2.78.1nb1
=> Full dependency pcre2>=10.30: found pcre2-10.42
=> Full dependency zlib>=1.2.3: found zlib-1.2.13
=> Full dependency pango>=1.50.14nb3: found pango-1.50.14nb3
=> Full dependency png>=1.6.0nb1: found png-1.6.40
=> Full dependency cairo>=1.18.0: found cairo-1.18.0nb1
=> Full dependency readline>=6.0: found readline-8.2nb2
=> Full dependency jpeg>=9: found jpeg-9e
=> Full dependency tiff>=4.6.0: found tiff-4.6.0nb3
=> Full dependency lapack>=3.9.0nb1: found lapack-3.11.0
=> Full dependency curl>=8.4.0nb1: found curl-8.5.0
=> Full dependency tk>=8.6.13nb1: found tk-8.6.13nb1
=> Full dependency libXt>=1.0.0: found libXt-1.3.0nb1
===> Overriding tools for R-4.3.2
===> Extracting for R-4.3.2
===> Patching for R-4.3.2
=> Applying pkgsrc patches for R-4.3.2
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/math/R/patches/patch-configure.ac
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/math/R/patches/patch-configure.ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure.ac,v 1.6 2022/03/23 21:16:44 wiz Exp $
|
|Do not include system paths in R_LD_LIBRARY_PATH.
|NetBSD, FreeBSD, DragonFly, Darwin and Solaris fixes
|
|--- configure.ac.orig	2019-06-08 08:57:35.738653089 +0000
|+++ configure.ac
--------------------------
Patching file configure.ac using Plan A...
Hunk #1 succeeded at 33.
Hunk #2 succeeded at 312 (offset 21 lines).
Hunk #3 succeeded at 874 (offset 164 lines).
Hunk #4 succeeded at 1385 (offset 108 lines).
Hunk #5 succeeded at 1530 (offset 164 lines).
Hunk #6 succeeded at 1516 (offset 108 lines).
Hunk #7 failed at 1610.
Hunk #8 succeeded at 1726 (offset 164 lines).
Hunk #9 succeeded at 2666 (offset 175 lines).
1 out of 9 hunks failed--saving rejects to configure.ac.rej
done
Patch /data/jenkins/workspace/pkgsrc-upstream-trunk/math/R/patches/patch-configure.ac failed
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/math/R/patches/patch-m4_R.m4
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/math/R/patches/patch-m4_R.m4
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-m4_R.m4,v 1.3 2023/12/23 20:10:56 thor Exp $
|
|Ensure tests for clog & co. fail, not just emit warning
|
|--- m4/R.m4.orig	2022-11-01 23:15:01.000000000 +0000
|+++ m4/R.m4
--------------------------
Patching file m4/R.m4 using Plan A...
Hunk #1 succeeded at 226 (offset 1 line).
Hunk #2 succeeded at 905 (offset 1 line).
Hunk #3 succeeded at 1002 (offset 3 lines).
Hunk #4 succeeded at 3861 (offset 92 lines).
Hunk #5 failed at 4405.
1 out of 5 hunks failed--saving rejects to m4/R.m4.rej
done
Patch /data/jenkins/workspace/pkgsrc-upstream-trunk/math/R/patches/patch-m4_R.m4 failed
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/math/R/patches/patch-src_library_stats_src_Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/math/R/patches/patch-src_library_stats_src_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_library_stats_src_Makefile.in,v 1.2 2016/07/26 04:53:33 wen Exp $
|
|${R_INCLUDE_DIR} is used in the default compiler flags.
|
|--- src/library/stats/src/Makefile.in.orig	2016-07-26 01:57:49.000000000 +0000
|+++ src/library/stats/src/Makefile.in
--------------------------
Patching file src/library/stats/src/Makefile.in using Plan A...
Hunk #1 succeeded at 10.
done
ERROR: Patching failed due to modified or broken patch file(s):
ERROR: 	/data/jenkins/workspace/pkgsrc-upstream-trunk/math/R/patches/patch-configure.ac
ERROR: 	/data/jenkins/workspace/pkgsrc-upstream-trunk/math/R/patches/patch-m4_R.m4
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/math/R
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/math/R