+ 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/rexx-regina-3.9.5/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/rexx-regina-3.9.5/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for regina395.zip
=> Checksum SHA512 OK for regina395.zip
===> Installing dependencies for rexx-regina-3.9.5
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency unzip-[0-9]*: found unzip-6.0nb9
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
===> Overriding tools for rexx-regina-3.9.5
===> Extracting for rexx-regina-3.9.5
===> Patching for rexx-regina-3.9.5
=> Applying pkgsrc patches for rexx-regina-3.9.5
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/rexx-regina/patches/patch-aa
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/rexx-regina/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.4 2024/04/02 18:08:37 rhialto Exp $
|
|- try to defang the building for 32 bits
|- use our $LDFLAGS
|- portability fix of `test ==`
|
|--- configure.orig	2022-08-10 05:33:51.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 3507.
Hunk #2 succeeded at 3564.
Hunk #3 succeeded at 9252.
Hunk #4 succeeded at 9340.
Hunk #5 succeeded at 9934.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/rexx-regina/patches/patch-ab
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/rexx-regina/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.4 2024/04/02 18:08:37 rhialto Exp $
|
|Set rpaths.
|XXX: should honor COMPILER_RPATH_FLAG.
|Honor pkgsrc LDFLAGS.
|
|--- Makefile.in.orig	2022-08-24 05:38:36.000000000 +0000
|+++ Makefile.in
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 121.
Hunk #2 succeeded at 1056.
done
===> Creating toolchain wrappers for rexx-regina-3.9.5
===> Configuring for rexx-regina-3.9.5
=> Fixing etc directory path
=> 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
=> Replacing regina interpreter in demo/*.rexx regutil/*.rexx.
=> Checking for portability problems in extracted files
checking for one of the following C compilers: clang gcc xlc c99 c89 acc cc... using gcc specified in CC env variable
checking for x86_64-sun-solaris2.11-gcc... (cached) gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for library containing strerror... none required
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking target system type... x86_64-sun-solaris2.11
checking if compiler supports ANSI prototypes... yes
checking for main in -lcrypt... yes
checking for crypt function... yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -ll
checking whether yytext is a pointer... yes
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... (cached) /usr/xpg4/bin/grep
checking for egrep... (cached) /usr/xpg4/bin/grep -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 arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking fnmatch.h usability... yes
checking fnmatch.h presence... yes
checking for fnmatch.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking readline/history.h usability... no
checking readline/history.h presence... no
checking for readline/history.h... no
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking for memory.h... (cached) yes
checking ncurses.h usability... no
checking ncurses.h presence... no
checking for ncurses.h... no
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking readline/readline.h usability... no
checking readline/readline.h presence... no
checking for readline/readline.h... no
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking share.h usability... no
checking share.h presence... no
checking for share.h... no
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking socket.h usability... no
checking socket.h presence... no
checking for socket.h... no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking statvfs.h usability... no
checking statvfs.h presence... no
checking for statvfs.h... no
checking for stdlib.h... (cached) yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking term.h usability... no
checking term.h presence... yes
configure: WARNING: term.h: present but cannot be compiled
configure: WARNING: term.h:     check for missing prerequisite headers?
configure: WARNING: term.h: see the Autoconf documentation
configure: WARNING: term.h:     section "Present But Cannot Be Compiled"
configure: WARNING: term.h: proceeding with the compiler's result
configure: WARNING:     ## ---------------------------- ##
configure: WARNING:     ## Report this to mark@rexx.org ##
configure: WARNING:     ## ---------------------------- ##
checking for term.h... no
checking termcap.h usability... no
checking termcap.h presence... no
checking for termcap.h... no
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking vfs.h usability... no
checking vfs.h presence... no
checking for vfs.h... no
checking for sysconf... yes
checking for div... yes
checking for raise... yes
checking for putenv... yes
checking for usleep... yes
checking for random... yes
checking for ftruncate... yes
checking for memcpy... yes
checking for memmove... yes
checking for strerror... yes
checking for strerror_r... yes
checking for gettimeofday... yes
checking for ftime... yes
checking for poll... yes
checking for _fullpath... no
checking for vsprintf... yes
checking for _splitpath2... no
checking for _splitpath... no
checking for sigaction... yes
checking for strtof... yes
checking for lstat... yes
checking for mkstemp... yes
checking for inet_ntop... yes
checking for gmtime_r... yes
checking for localtime_r... yes
checking for getgrgid_r... yes
checking for getpwuid_r... yes
checking for gethostbyname_r... no
checking for atoll... yes
checking for fseeko... yes
checking for ftello... yes
checking for getopt_long... yes
checking for readlink... yes
checking for realpath... yes
checking for getbootfile... no
checking for tgetstr... no
checking for statfs... yes
checking for mbstowcs... yes
checking for mmap... yes
checking for iconv... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether gcc understands -c and -o together... yes
checking whether __sighandler_t is defined... no
checking for struct random_data... no
checking whether compiler supports __builtin_return_address inline function... yes
checking for long long int... yes
checking for socklen_t... yes
checking for union semun... no
configure: checking if statvfs.f_mntfromname exists...
no
checking for working memcmp... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for library containing tgetent... -ltermcap
checking for library containing log10... -lm
checking for library containing add_history... no
checking for library containing crypt... none required
checking for library containing dlopen... none required
checking for library containing shl_load... no
checking for library containing socket... -lsocket
checking for library containing gethostbyname... -lnsl
checking for dlfcn.h... (cached) yes
checking shared library/external function extensions... .so/.so
checking whether gcc understands --version-script... no
checking for main in -lrt... yes
checking whether Posix Threads are supported... yes
checking for library containing pthread_exit... none required
checking for library containing sem_init... none required
checking if getgrgid_r has 5 args and returns an int... yes
checking if getpwuid_r returns an int... yes
checking compiler flags for a dynamic object... -fPIC
checking if dynamic loading of external functions is supported... "yes"
checking if symbols need underscore prepended in loadable modules... no
checking for getconf... yes
checking large file support flags... -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
checking where rpms are built... checking for rpmbuild... no 
"not avaliable"
checking where deb packages are built... checking for dpkg-buildpackage... no 
"not avaliable"
checking where apk packages are built... checking for abuild... no 
"not avaliable"
checking getting PACKAGE_RELEASE value... 240713.0447
checking for lsb_release... no
checking for service manager... sysvinit
checking whether char is unsigned... no
checking compiler switch for unsigned char... "-funsigned-char"
configure: creating ./config.status
config.status: creating Makefile
config.status: creating regina-config
config.status: creating rxstack.init.d
config.status: creating libregina.pc
config.status: creating APKBUILD
config.status: creating PackageInfo
config.status: creating PackageInfo-devel
config.status: creating PackageInfo-lib
config.status: creating Regina.spec
config.status: creating debian/rules
config.status: creating config.h

Regina (regina-rexx-3.9.5) has now been configured with the following options:

         Dynamic Loading Support: supported. Extra components: libregina.so regina libregutil.so librxtest1.so librxtest2.so 
                   Build options: 64BIT GCI
   binaries will be installed in: ${exec_prefix}/bin
  libraries will be installed in: /opt/pkg/lib
     addons will be installed in: /opt/pkg/lib/regina-rexx/addons
                        {prefix}: /opt/pkg
                   {exec_prefix}: ${prefix}

To build the Regina binaries, and dynamically loadable libraries, type 'make'
To install Regina in the above directories, type 'make install'