+ 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/STk-4.0.1nb3/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/STk-4.0.1nb3/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum BLAKE2s OK for STk-4.0.1.tar.gz
=> Checksum SHA512 OK for STk-4.0.1.tar.gz
===> Installing dependencies for STk-4.0.1nb3
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2024.1
=> Build dependency xcb-proto>=1.15.2nb3: found xcb-proto-1.17.0nb1
=> Build dependency libXt>=1.0.0: found libXt-1.3.0nb1
=> Full dependency libSM>=0.99.2: found libSM-1.2.4
=> Full dependency libX11>=1.1: found libX11-1.8.9
=> Full dependency osabi-SunOS-5.11: found osabi-SunOS-5.11
===> Overriding tools for STk-4.0.1nb3
===> Extracting for STk-4.0.1nb3
===> Patching for STk-4.0.1nb3
=> Applying pkgsrc patches for STk-4.0.1nb3
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-Extensions_jpeg.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-Extensions_jpeg.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Extensions_jpeg.c,v 1.1 2020/05/03 14:49:30 rillig Exp $
|
|jpeg.c:774:17: error: array subscript has type 'char' [-Werror=char-subscripts]
|    getbits(8, qt[zz[i]]);
|
|Since zz only contains small numbers, the code is ok.
|
|--- Extensions/jpeg.c.orig	1998-01-03 12:46:25.000000000 +0000
|+++ Extensions/jpeg.c
--------------------------
Patching file Extensions/jpeg.c using Plan A...
Hunk #1 succeeded at 198.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-aa
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/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/12/29 23:34:43 dholland Exp $
|
| - DESTDIR support.
| - Don't delete any previous directory, just in case.
| - Make the build non-interactive.
|
|--- Makefile.in.orig	1999-09-03 16:21:32.000000000 -0400
|+++ Makefile.in	2008-09-06 19:39:24.000000000 -0400
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 18.
Hunk #2 succeeded at 177.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-ab
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.3 2015/12/29 23:34:43 dholland Exp $
|
|XXX: it is unclear what the point of this patch is.
|
|--- Demos/Makefile.orig
|+++ Demos/Makefile
--------------------------
Patching file Demos/Makefile using Plan A...
Hunk #1 succeeded at 34.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-ac
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ac,v 1.5 2015/12/29 23:34:43 dholland Exp $
|
|Fix NetBSD configuration.
|Support Dragonfly.
|Set library rpaths.
|
|XXX: should honor COMPILER_RPATH_FLAG.
|
|--- configure.orig	1999-09-26 15:02:14.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 565.
Hunk #2 succeeded at 584.
Hunk #3 succeeded at 698.
Hunk #4 succeeded at 1886.
Hunk #5 succeeded at 2281.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-ad
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-ad
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ad,v 1.4 2015/12/29 23:34:43 dholland Exp $
|
|Fix NetBSD configuration.
|
|--- configure.in.orig
|+++ configure.in
--------------------------
Patching file configure.in using Plan A...
Hunk #1 succeeded at 16.
Hunk #2 succeeded at 116.
Hunk #3 succeeded at 446.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-ae
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-ae
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ae,v 1.3 2015/12/29 23:34:43 dholland Exp $
|
|Update dlopen machinery for NetBSD and FreeBSD, and support Dragonfly.
|
|--- Src/dynload.c.orig	1999-09-26 15:02:14.000000000 +0000
|+++ Src/dynload.c
--------------------------
Patching file Src/dynload.c using Plan A...
Hunk #1 succeeded at 46.
Hunk #2 succeeded at 175.
Hunk #3 succeeded at 363.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-af
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-af
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-af,v 1.2 2015/12/29 23:34:43 dholland Exp $
|
|Use the right directory for docs.
|
|--- Doc/Makefile.orig
|+++ Doc/Makefile
--------------------------
Patching file Doc/Makefile using Plan A...
Hunk #1 succeeded at 20.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-ag
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-ag
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ag,v 1.2 2015/12/29 23:34:43 dholland Exp $
|
|Avoid rebuilding the manual at install time. (?)
|
|--- Doc/Extension/Makefile.orig
|+++ Doc/Extension/Makefile
--------------------------
Patching file Doc/Extension/Makefile using Plan A...
Hunk #1 succeeded at 11.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-ah
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-ah
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ah,v 1.2 2015/12/29 23:34:43 dholland Exp $
|
|Avoid rebuilding the manual at install time. (?)
|
|--- Doc/Reference/Makefile.orig
|+++ Doc/Reference/Makefile
--------------------------
Patching file Doc/Reference/Makefile using Plan A...
Hunk #1 succeeded at 10.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-ai
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-ai
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ai,v 1.2 2015/12/29 23:34:43 dholland Exp $
|
|Fix inline asm syntax.
|
|--- Mp/gmp-1.3.2/longlong.h.orig	2004-07-10 19:29:15.000000000 +0200
|+++ Mp/gmp-1.3.2/longlong.h	2004-07-10 19:46:54.000000000 +0200
--------------------------
Patching file Mp/gmp-1.3.2/longlong.h using Plan A...
Hunk #1 succeeded at 91.
Hunk #2 succeeded at 100.
Hunk #3 succeeded at 149.
Hunk #4 succeeded at 158.
Hunk #5 succeeded at 170.
Hunk #6 succeeded at 179.
Hunk #7 succeeded at 209.
Hunk #8 succeeded at 218.
Hunk #9 succeeded at 249.
Hunk #10 succeeded at 279.
Hunk #11 succeeded at 367.
Hunk #12 succeeded at 376.
Hunk #13 succeeded at 415.
Hunk #14 succeeded at 424.
Hunk #15 succeeded at 463.
Hunk #16 succeeded at 501.
Hunk #17 succeeded at 510.
Hunk #18 succeeded at 543.
Hunk #19 succeeded at 569.
Hunk #20 succeeded at 599.
Hunk #21 succeeded at 614.
Hunk #22 succeeded at 623.
Hunk #23 succeeded at 647.
Hunk #24 succeeded at 656.
Hunk #25 succeeded at 668.
Hunk #26 succeeded at 716.
Hunk #27 succeeded at 726.
Hunk #28 succeeded at 757.
Hunk #29 succeeded at 806.
Hunk #30 succeeded at 841.
Hunk #31 succeeded at 850.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-aj
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-aj
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aj,v 1.2 2015/12/29 23:34:43 dholland Exp $
|
|Don't declare own errno.
|
|--- Tcl/tclUnixPort.h.orig	2006-01-11 17:08:11.000000000 +0000
|+++ Tcl/tclUnixPort.h
--------------------------
Patching file Tcl/tclUnixPort.h using Plan A...
Hunk #1 succeeded at 176.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-ak
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-ak
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ak,v 1.2 2015/12/29 23:34:43 dholland Exp $
|
|Don't declare own errno.
|
|--- Tk/unix/tkUnixPort.h.orig	2006-01-11 17:12:28.000000000 +0000
|+++ Tk/unix/tkUnixPort.h
--------------------------
Patching file Tk/unix/tkUnixPort.h using Plan A...
Hunk #1 succeeded at 120.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-al
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-al
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-al,v 1.2 2015/12/29 23:34:43 dholland Exp $
|
|Dragonfly support.
|
|--- Src/io.c.orig	2006-01-11 17:16:11.000000000 +0000
|+++ Src/io.c
--------------------------
Patching file Src/io.c using Plan A...
Hunk #1 succeeded at 67.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-am
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-am
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-am,v 1.2 2015/12/29 23:34:43 dholland Exp $
|
|Use standard includes.
|
|--- Extensions/posix.c.orig	2006-01-11 17:19:54.000000000 +0000
|+++ Extensions/posix.c
--------------------------
Patching file Extensions/posix.c using Plan A...
Hunk #1 succeeded at 23.
Hunk #2 succeeded at 35.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-an
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-an
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-an,v 1.2 2015/12/29 23:34:43 dholland Exp $
|
|Dragonfly support.
|
|--- Src/dump.c.orig	2006-01-12 14:35:48.000000000 +0000
|+++ Src/dump.c
--------------------------
Patching file Src/dump.c using Plan A...
Hunk #1 succeeded at 22.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-ao
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-ao
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ao,v 1.3 2015/12/29 23:34:43 dholland Exp $
|
|Honor pkgsrc LDFLAGS.
|Avoid using absolute symbolic links. (in concert with pkg makefile)
|
|--- Src/Makefile.in.orig	1999-09-03 16:21:32.000000000 -0400
|+++ Src/Makefile.in	2008-09-06 20:03:00.000000000 -0400
--------------------------
Patching file Src/Makefile.in using Plan A...
Hunk #1 succeeded at 47.
Hunk #2 succeeded at 111.
Hunk #3 succeeded at 127.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-ap
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-ap
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ap,v 1.2 2015/12/29 23:34:43 dholland Exp $
|
|Fix shell quoting bug.
|
|--- Tcl/configure~	2008-09-06 18:51:25.000000000 -0400
|+++ Tcl/configure	2008-09-06 19:11:07.000000000 -0400
--------------------------
Patching file Tcl/configure using Plan A...
Hunk #1 succeeded at 3219.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-aq
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-aq
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aq,v 1.2 2015/12/29 23:34:43 dholland Exp $
|
|LP64 fixes.
|
|--- Tk/generic/tkArgv.c~	1998-01-03 07:46:25.000000000 -0500
|+++ Tk/generic/tkArgv.c	2008-09-06 19:25:03.000000000 -0400
--------------------------
Patching file Tk/generic/tkArgv.c using Plan A...
Hunk #1 succeeded at 178.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-ar
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/STk/patches/patch-ar
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ar,v 1.2 2015/12/29 23:34:43 dholland Exp $
|
|LP64 fixes.
|
|--- Tk/generic/tkCursor.c~	1998-01-03 07:46:25.000000000 -0500
|+++ Tk/generic/tkCursor.c	2008-09-06 19:26:43.000000000 -0400
--------------------------
Patching file Tk/generic/tkCursor.c using Plan A...
Hunk #1 succeeded at 288.
done
===> Creating toolchain wrappers for STk-4.0.1nb3
===> Configuring for STk-4.0.1nb3
=> 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
creating cache ./config.cache
checking for ranlib... ranlib
Using 'gcc' compiler
Using '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include' compilation options
Assumming OS is SUNOS5
checking for gcc... gcc
checking whether the C compiler (gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib) works... yes
checking whether the C compiler (gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for POSIXized ISC... no
checking how to run the C preprocessor... gcc -E
checking for X... libraries , headers 
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... no
checking for gethostbyname in -lnsl... yes
checking for connect... no
checking for connect in -lsocket... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking fd_set and sys/select... yes
Multiple precision library: libgmp
Hash tables support: yes
Posix support: yes
STklos support: yes
Socket support: yes
Regexp support: yes
Process support: yes
Html support: yes
Base64 support: yes
Locale support: yes
Pixmap Images support: yes
JPEG Images support: yes
Determining options for dynamic loading for SUNOS5

not updating unwritable cache ./config.cache
creating ./config.status
creating Makefile
creating Utils/STk.spec
**** Configuring Src directory
creating cache ./config.cache
checking how to run the C preprocessor... gcc -E
checking for unistd.h... yes
checking for limits.h... yes
checking for sigaction... yes
checking for select... yes
checking for dlopen in -ldl... yes
checking for socket in -lsocket... yes
checking for t_accept in -lnsl... yes
checking for ANSI C header files... yes
checking for pid_t... yes
checking fd_set and sys/select... yes
not updating unwritable cache ./config.cache
creating ./config.status
creating Makefile
**** Configuring Extensions directory
creating cache ./config.cache
checking how to run the C preprocessor... gcc -E
checking for unistd.h... yes
checking for limits.h... yes
checking for sigaction... yes
not updating unwritable cache ./config.cache
creating ./config.status
creating Makefile
creating stk-genmake
**** Configuring Stack directory
creating cache ./config.cache
checking for gcc... gcc
checking whether we are using GNU C... yes
checking for ranlib... ranlib
Stack library configuration
         Machine type:  UNKNOWN_ARCH
    Low level support: 
not updating unwritable cache ./config.cache
creating ./config.status
creating libstack.h
creating Makefile
**** Configuring Tcl directory
creating cache ./config.cache
checking for ranlib... ranlib
checking whether cross-compiling... no
checking for getcwd... yes
checking for opendir... yes
checking for strerror... yes
checking for strstr... yes
checking for strtol... yes
checking for tmpnam... yes
checking for waitpid... yes
checking for strerror... (cached) yes
checking for getwd... yes
checking for wait3... yes
checking for uname... yes
checking for sin... no
checking for -lieee... no
checking dirent.h... yes
checking how to run the C preprocessor... gcc -E
checking for errno.h... yes
checking for float.h... yes
checking for limits.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for sys/wait.h... yes
checking for unistd.h... yes
checking fd_set and sys/select... yes
checking for sys/time.h... 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 for tm_zone in struct tm... no
checking for tzname... yes
checking tm_tzadj in struct tm... no
checking tm_gmtoff in struct tm... no
checking timezone variable... yes
checking proper strstr implementation... yes
checking for strtoul... yes
checking for strtod... yes
checking for strtod... (cached) yes
checking for Solaris strtod bug... ok
checking for ANSI C header files... yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for opendir... (cached) yes
checking sys_errlist... no
checking union wait... no
checking matherr support... yes
checking for vfork... yes
checking vfork/signal bug... ok
checking for strncasecmp... yes
checking for BSDgettimeofday... no
checking for gettimeofday... yes
checking for gettimeofday declaration... present
checking for -linet... no
checking for net/errno.h... no
checking for connect... no
checking for -lsocket... yes
checking for gethostbyname... no
checking for -lnsl... yes
checking system version (for dynamic loading)... SunOS-5.11
checking for -ldl... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
**** Configuring Tk directory
creating cache ./config.cache
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for unistd.h... yes
checking for limits.h... yes
checking stdlib.h... yes
checking fd_set and sys/select... yes
checking whether cross-compiling... no
checking for ANSI C header files... yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for X... libraries , headers 
checking for X11 header files... checking for -lXbsd... no
checking for connect... no
checking for -lsocket... yes
checking for gethostbyname... no
checking for -lnsl... yes
checking for sin... no
checking for -lieee... no
checking for memmove... yes
checking whether char is unsigned... no
checking for strtod... yes
checking for Solaris 2.4 strtod bug... ok
updating cache ./config.cache
creating ./config.status
creating Makefile
 
 
SUMMARY
*******
   Your system is  SUNOS5
   C compiler is: gcc
   Compilation options: -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include
   Dynamic loading enabled: yes
   X11 libraries directory:
   X11 headers directory:
 
   You have chosen the following options
		Multiple precision library:      libgmp
		Hash tables support:             yes
		Posix support:                   yes
		STklos support:                  yes
		Socket support:                  yes
		Regexp support:                  yes
		Process support:                 yes
		Html support:                    yes
		Pixmap Images support:           yes
		Jpeg Images support:             yes
		Base64 support:                  yes
		Locale support:                  yes
 
If this is correct, you can just type 'make' now at your shell prompt.
Otherwise, rerun configure with proper options (see the README file for
a description of STk configure options.)