+ 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/Gauche-0.9.15/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/Gauche-0.9.15/work.log
=> Checksum BLAKE2s OK for Gauche-0.9.15.tgz
=> Checksum SHA512 OK for Gauche-0.9.15.tgz
===> Installing dependencies for Gauche-0.9.15
==========================================================================
The supported build options for Gauche are:

	eucjp gdbm sjis utf8

The currently selected options are:

	gdbm utf8

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.gauche (not defined)

==========================================================================
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency gtexinfo>=5.0: found gtexinfo-7.1.1nb1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency slib-[0-9]*: found slib-3.3.1
=> Full dependency pkg_install-info-[0-9]*: found pkg_install-info-4.5nb3
=> Full dependency gdbm>=1.18.1: found gdbm-1.23
=> Full dependency libiconv>=1.9.1nb4: found libiconv-1.17
=> Full dependency mbedtls>=2.28.3nb1: found mbedtls-2.28.8
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5
===> Overriding tools for Gauche-0.9.15
===> Extracting for Gauche-0.9.15
===> Patching for Gauche-0.9.15
=> Applying pkgsrc patches for Gauche-0.9.15
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gauche/patches/patch-af
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gauche/patches/patch-af
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-af,v 1.8 2024/12/12 15:14:35 ryoon Exp $
|
|Honor pkgsrc LDFLAGS.
|
|--- ext/dbm/Makefile.in.orig	2024-04-23 23:27:26.000000000 +0000
|+++ ext/dbm/Makefile.in
--------------------------
Patching file ext/dbm/Makefile.in using Plan A...
Hunk #1 succeeded at 17.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gauche/patches/patch-ag
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gauche/patches/patch-ag
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ag,v 1.9 2024/12/12 15:14:35 ryoon Exp $
|
|Honor pkgsrc LDFLAGS.
|
|--- ext/charconv/Makefile.in.orig	2024-04-23 23:27:26.000000000 +0000
|+++ ext/charconv/Makefile.in
--------------------------
Patching file ext/charconv/Makefile.in using Plan A...
Hunk #1 succeeded at 12.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gauche/patches/patch-ext_Makefile.ext.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gauche/patches/patch-ext_Makefile.ext.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ext_Makefile.ext.in,v 1.1 2024/12/12 15:14:35 ryoon Exp $
|
|--- ext/Makefile.ext.in.orig	2024-12-11 14:18:52.342355951 +0000
|+++ ext/Makefile.ext.in
--------------------------
Patching file ext/Makefile.ext.in using Plan A...
Hunk #1 succeeded at 14.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gauche/patches/patch-ext_zlib_Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gauche/patches/patch-ext_zlib_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ext_zlib_Makefile.in,v 1.2 2024/12/12 15:14:35 ryoon Exp $
|
|--- ext/zlib/Makefile.in.orig	2024-12-11 14:28:37.613803963 +0000
|+++ ext/zlib/Makefile.in
--------------------------
Patching file ext/zlib/Makefile.in using Plan A...
Hunk #1 succeeded at 5.
done
===> Creating toolchain wrappers for Gauche-0.9.15
===> Configuring for Gauche-0.9.15
=> 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
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 for x86_64-sun-solaris2.11-windres... no
checking for windres... no
checking how to print strings... printf
checking for x86_64-sun-solaris2.11-gcc... 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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking for a sed that does not truncate output... /usr/bin/sed
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 fgrep... /usr/xpg4/bin/grep -F
checking for ld used by gcc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p
checking the name lister (/usr/bin/nm -p) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786240
checking how to convert x86_64-sun-solaris2.11 file names to x86_64-sun-solaris2.11 format... func_convert_file_noop
checking how to convert x86_64-sun-solaris2.11 file names to toolchain format... func_convert_file_noop
checking for /bin/ld option to reload object files... -r
checking for x86_64-sun-solaris2.11-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-sun-solaris2.11-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-sun-solaris2.11-ar... no
checking for ar... ar
checking for archiver @FILE support... no
checking for x86_64-sun-solaris2.11-strip... no
checking for strip... strip
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking for gawk... /usr/bin/nawk
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-sun-solaris2.11-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for sys/time.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/bin/ld -64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory
no
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking thread type... pthreads
checking for stdatomic.h... yes
checking for x86_64-sun-solaris2.11-gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking how to run the C preprocessor... gcc -E
checking for an ANSI C-conforming const... yes
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking whether ln -s works... yes
checking for install-info... /home/pbulk/build/lang/gauche/work/.tools/bin/install-info
checking for x86_64-sun-solaris2.11-ar... ar
checking for makeinfo... /home/pbulk/build/lang/gauche/work/.tools/bin/makeinfo
checking for gzip... gzip
checking for x86_64-sun-solaris2.11-gcc... no
checking for x86_64-sun-solaris2.11-gcc... no
checking for gcc... gcc
checking for gosh... gosh
checking for time.h... yes
checking for sys/time.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for glob.h... yes
checking for dlfcn.h... (cached) yes
checking for getopt.h... yes
checking for sched.h... yes
checking for unistd.h... (cached) yes
checking for rpc/types.h... yes
checking for malloc.h... yes
checking for syslog.h... yes
checking for crypt.h... yes
checking for pty.h... no
checking for util.h... no
checking for bsd/libutil.h... no
checking for libutil.h... no
checking for sys/loadavg.h... yes
checking for sys/resource.h... yes
checking for sys/statvfs.h... yes
checking for sys/mman.h... yes
checking for stdalign.h... yes
checking for fpu_control.h... no
checking for sys/inotify.h... yes
checking for sys/event.h... no
checking for sunmath.h... no
checking for crt_externs.h... no
checking for libproc.h... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for inline... inline
checking whether byte ordering is bigendian... no
checking whether struct tm is in sys/time.h or time.h... time.h
checking size of long... 8
checking size of int... 4
checking size of intptr_t... 8
checking size of uintptr_t... 8
checking size of size_t... 8
checking size of ssize_t... 8
checking size of ptrdiff_t... 8
checking size of off_t... 8
checking size of double... 8
checking size of float... 4
checking for long long... yes
checking for long double... yes
checking for struct timespec... yes
checking for pthread_spinlock_t... yes
checking size of rlim_t... 8
checking for struct stat.st_atim... yes
checking for struct stat.st_mtim... yes
checking for struct stat.st_ctim... yes
checking for struct group.gr_passwd... yes
checking for struct passwd.pw_passwd... yes
checking for struct passwd.pw_gecos... yes
checking for struct passwd.pw_class... no
checking time_t is integral... yes
checking whether gcc needs -traditional... no
checking for sin in -lm... yes
checking for isinf in -lsunmath... no
checking for clock_gettime in -lrt... yes
checking for proc_pidpath in -lproc... no
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for isnan... yes
checking for isinf... no
checking for trunc... yes
checking for rint... yes
checking for tgamma... yes
checking for lgamma... yes
checking for symlink... yes
checking for readlink... yes
checking for lchown... yes
checking for realpath... yes
checking for nanosleep... yes
checking for usleep... yes
checking for utimensat... yes
checking for random... yes
checking for srandom... yes
checking for lrand48... yes
checking for srand48... yes
checking for putenv... yes
checking for setenv... yes
checking for unsetenv... yes
checking for clearenv... yes
checking for getpgid... yes
checking for setgroups... yes
checking for gethostname... yes
checking for sethostname... yes
checking for getdomainname... no
checking for setdomainname... no
checking for gettimeofday... yes
checking for getloadavg... yes
checking for clock_gettime... yes
checking for clock_getres... yes
checking for syslog... yes
checking for setlogmask... yes
checking for sigwait... yes
checking for fpsetprec... no
checking for issetugid... yes
checking for strsignal... yes
checking for mkdtemp... yes
checking for mkstemp... yes
checking for select... yes
checking for library containing openpty... no
checking for library containing forkpty... no
checking for fcntl... yes
checking for library containing crypt... none required
checking for library containing dlopen... none required
checking for library containing sched_yield... none required
checking for pthread_cancel... yes
checking how to make dynamic loadable module... ok
checking linker takes --rpath flag... no
checking linker takes --soname flag... no
checking for IPv6... yes
checking for struct sockaddr_storage... yes
checking for net/if.h... yes
checking for struct ifreq... yes
checking for struct ifreq.ifr_ifindex... no
checking for struct ifreq.ifr_index... yes
checking for struct ifreq.ifr_netmask... no
checking for struct sockaddr_un.sun_len... no
checking for struct sockaddr_in.sin_len... no
checking for struct sockaddr_in6.sin6_len... no
checking for library containing shutdown... -lsocket
checking for library containing gethostbyname_r... -lnsl
checking for gethostbyname_r... yes
checking number of arguments for gethostbyname_r... 
checking for gethostbyaddr_r... yes
checking number of arguments for gethostbyaddr_r... 
checking for getprotobyname_r... yes
checking number of arguments for getprotobyname_r... 
checking for getprotobynumber_r... yes
checking number of arguments for getprotobynumber_r... 
checking for getservbyname_r... yes
checking for getservbyname_r... (cached) yes
checking number of arguments for getservbyname_r... 
checking for getservbyport_r... yes
checking number of arguments for getservbyport_r... 
checking for socklen_t... yes
checking for iconv.h... yes
checking for gdbm.h... yes
checking for gdbm_open in -lgdbm... yes
checking for ndbm.h... yes
checking for dbm_open... yes
checking for dbm.h... no
checking for gdbm/dbm.h... no
checking for gdbm-dbm.h... no
checking for zlib.h... yes
checking for mbedtls_ssl_init in -lmbedtls... yes
checking for mbedtls/version.h... yes
checking for library containing mbedtls_ctr_drbg_init... -lmbedcrypto
checking for library containing mbedtls_x509_crt_init... -lmbedx509
checking for library containing mbedtls_ssl_init... none required
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/genconfig
config.status: creating src/makeverslink
config.status: creating lib/Makefile
config.status: creating doc/gosh.1
config.status: creating doc/gauche-config.1
config.status: creating doc/gauche-cesconv.1
config.status: creating doc/gauche-install.1
config.status: creating doc/gauche-package.1
config.status: creating doc/Makefile
config.status: creating ext/Makefile
config.status: creating ext/Makefile.ext
config.status: creating ext/bcrypt/Makefile
config.status: creating ext/binary/Makefile
config.status: creating ext/charconv/Makefile
config.status: creating ext/charconv/iconv-adapter.h
config.status: creating ext/data/Makefile
config.status: creating ext/dbm/Makefile
config.status: creating ext/digest/Makefile
config.status: creating ext/fcntl/Makefile
config.status: creating ext/file/Makefile
config.status: creating ext/gauche/Makefile
config.status: creating ext/mt-random/Makefile
config.status: creating ext/native/Makefile
config.status: creating ext/peg/Makefile
config.status: creating ext/scheme/Makefile
config.status: creating ext/sparse/Makefile
config.status: creating ext/srfi/Makefile
config.status: creating ext/sxml/Makefile
config.status: creating ext/syslog/Makefile
config.status: creating ext/tls/Makefile
config.status: creating ext/termios/Makefile
config.status: creating ext/text/Makefile
config.status: creating ext/util/Makefile
config.status: creating ext/uvector/Makefile
config.status: creating ext/vport/Makefile
config.status: creating ext/rfc/Makefile
config.status: creating ext/zlib/Makefile
config.status: creating ext/windows/Makefile
config.status: creating examples/Makefile
config.status: creating examples/standalone/Makefile
config.status: creating gc/configure.gnu-gauche
config.status: creating Gauche.spec
config.status: creating tools/Makefile
config.status: creating tools/scoop/Makefile
config.status: creating tools/tls/Makefile
config.status: creating src/gauche/config.h
config.status: creating src/gauche/priv/configP.h
config.status: creating ext/dbm/dbmconf.h
config.status: executing libtool commands
rm: libtoolT: No such file or directory
config.status: executing VERSION commands
config.status: executing src/features commands
=== configuring in gc (/home/pbulk/build/lang/gauche/work/Gauche-0.9.15/gc)
configure: running /usr/bin/bash ./configure.gnu --disable-option-checking '--prefix=/opt/pkg'  '--enable-multibyte=utf8' '--with-slib=/opt/pkg/share/slib' '--enable-threads=pthreads' '--with-iconv=/opt/pkg' '--with-zlib=/opt/pkg' '--with-libiconv-prefix=/opt/pkg' '--build=x86_64-sun-solaris2.11' '--host=x86_64-sun-solaris2.11' '--infodir=/opt/pkg/info' '--mandir=/opt/pkg/share/man' 'build_alias=x86_64-sun-solaris2.11' 'host_alias=x86_64-sun-solaris2.11' 'CC=gcc' 'CFLAGS=-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include' 'LDFLAGS=-L/opt/pkg/lib -Wl,-R/opt/pkg/lib -liconv -lintl -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64' 'LIBS=' 'CPPFLAGS=-I/opt/pkg/include -I/usr/include' --cache-file=/dev/null --srcdir=.
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 GC version numbers... major=8 minor=2                 micro=4
checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for a race-free mkdir -p... ./install-sh -c -d
checking for gawk... /usr/bin/nawk
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 the include directive... yes (GNU style)
checking for x86_64-sun-solaris2.11-gcc... 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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking whether the compiler supports GNU C++... no
checking whether g++ accepts -g... no
checking for g++ option to enable C++11 features... none needed
checking dependency style of g++... none
checking dependency style of gcc... gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
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 fgrep... /usr/xpg4/bin/grep -F
checking for ld used by gcc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p
checking the name lister (/usr/bin/nm -p) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786240
checking how to convert x86_64-sun-solaris2.11 file names to x86_64-sun-solaris2.11 format... func_convert_file_noop
checking how to convert x86_64-sun-solaris2.11 file names to toolchain format... func_convert_file_noop
checking for /bin/ld option to reload object files... -r
checking for x86_64-sun-solaris2.11-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-sun-solaris2.11-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-sun-solaris2.11-ar... no
checking for ar... ar
checking for archiver @FILE support... no
checking for x86_64-sun-solaris2.11-strip... no
checking for strip... strip
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-sun-solaris2.11-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/bin/ld -64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory
no
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for emscripten... no
checking for inline... inline
configure: WARNING: "Explicit GC_INIT() calls may be required."
checking for pthread_self in -lpthread... yes
checking whether compiler supports -Wextra... yes
checking whether compiler supports -Wpedantic... yes
checking for xlc... no
checking whether compiler supports -fno-strict-aliasing... yes
checking for getcontext... yes
checking for dl_iterate_phdr... yes
checking for dlopen in -ldl... yes
checking for execinfo.h... yes
checking whether to build shared libraries... yes
checking whether compiler supports -fvisibility... yes
checking which machine-dependent code should be used... 
checking whether AIX gcc optimization fix is necessary... no
checking whether -Wno-frame-address works... yes
checking for dladdr... yes
checking for sigsetjmp... yes
checking for pthread_setname_np... yes (with tid)
checking for sys/dg_sys_info.h... no
checking for compiler intrinsics support... yes
checking which libatomic_ops to use... none
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating bdw-gc.pc
config.status: creating include/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
config.status: executing default commands

This Gauche has been configured with the following parameters:
           version: 0.9.15
     documentation: Yes
              slib: /opt/pkg/share/slib
            thread: pthreads
           tls/ssl: mbedtls 
          CA store: check 
  optional modules: ndbm gdbm zlib

=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile.