+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/Gauche-0.9.15/work.log
+ su pbulk -c '"$@"' make /usr/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 gdbm>=1.18.1: found gdbm-1.23
=> Full dependency mbedtls>=2.28.3nb1: found mbedtls-2.28.8
===> 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-netbsd-trunk-x86_64/lang/gauche/patches/patch-af
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/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-netbsd-trunk-x86_64/lang/gauche/patches/patch-ag
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/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-netbsd-trunk-x86_64/lang/gauche/patches/patch-ext_Makefile.ext.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/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-netbsd-trunk-x86_64/lang/gauche/patches/patch-ext_zlib_Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/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 build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
checking target system type... x86_64--netbsd
checking for x86_64--netbsd-windres... no
checking for windres... no
checking how to print strings... printf
checking for x86_64--netbsd-gcc... cc
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 cc accepts -g... yes
checking for cc 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/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /home/pbulk/build/lang/gauche/work/.cwrapper/bin/ld
checking if the linker (/home/pbulk/build/lang/gauche/work/.cwrapper/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking how to convert x86_64--netbsd file names to x86_64--netbsd format... func_convert_file_noop
checking how to convert x86_64--netbsd file names to toolchain format... func_convert_file_noop
checking for /home/pbulk/build/lang/gauche/work/.cwrapper/bin/ld option to reload object files... -r
checking for x86_64--netbsd-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking for x86_64--netbsd-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64--netbsd-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64--netbsd-strip... no
checking for strip... strip
checking for x86_64--netbsd-ranlib... no
checking for ranlib... ranlib
checking for gawk... /usr/bin/awk
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for x86_64--netbsd-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 cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/home/pbulk/build/lang/gauche/work/.cwrapper/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory
no
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking thread type... configure: WARNING: "Only on NetBSD 2.0 or later."
pthreads
checking for stdatomic.h... yes
checking for x86_64--netbsd-gcc... (cached) cc
checking whether the compiler supports GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to enable C11 features... (cached) none needed
checking how to run the C preprocessor... cc -E
checking for an ANSI C-conforming const... yes
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -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--netbsd-ar... ar
checking for makeinfo... /home/pbulk/build/lang/gauche/work/.tools/bin/makeinfo
checking for gzip... gzip
checking for x86_64--netbsd-gcc... no
checking for x86_64--netbsd-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... no
checking for pty.h... no
checking for util.h... yes
checking for bsd/libutil.h... no
checking for libutil.h... no
checking for sys/loadavg.h... no
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... no
checking for sys/event.h... yes
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... yes
checking time_t is integral... yes
checking whether cc 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... no
checking for alloca... yes
checking for isnan... yes
checking for isinf... yes
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... no
checking for getpgid... yes
checking for setgroups... yes
checking for gethostname... yes
checking for sethostname... yes
checking for getdomainname... yes
checking for setdomainname... yes
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... yes
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... -lutil
checking for library containing forkpty... none required
checking for fcntl... yes
checking for library containing crypt... -lcrypt
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... yes
checking linker takes --soname flag... yes
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... yes
checking for struct ifreq.ifr_index... yes
checking for struct ifreq.ifr_netmask... no
checking for struct sockaddr_un.sun_len... yes
checking for struct sockaddr_in.sin_len... yes
checking for struct sockaddr_in6.sin6_len... yes
checking for library containing shutdown... none required
checking for library containing gethostbyname_r... none required
checking for getservbyname_r... (cached) no
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... none required
checking for library containing mbedtls_x509_crt_init... none required
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 /bin/sh ./configure.gnu --disable-option-checking '--prefix=/usr/pkg'  '--enable-multibyte=utf8' '--with-slib=/usr/pkg/share/slib' '--enable-threads=pthreads' '--with-iconv=/usr' '--with-zlib=/usr' '--build=x86_64--netbsd' '--host=x86_64--netbsd' '--infodir=/usr/pkg/info' '--mandir=/usr/pkg/man' 'build_alias=x86_64--netbsd' 'host_alias=x86_64--netbsd' 'CC=cc' 'CFLAGS=-pipe -O2 -I/usr/pkg/include -I/usr/include' 'LDFLAGS=-Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib' 'LIBS=' 'CPPFLAGS=-I/usr/pkg/include -I/usr/include' --cache-file=/dev/null --srcdir=.
checking build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
checking target system type... x86_64--netbsd
checking GC version numbers... major=8 minor=2                 micro=4
checking for a BSD-compatible install... /usr/bin/install -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/awk
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--netbsd-gcc... cc
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 cc accepts -g... yes
checking for cc option to enable C11 features... none needed
checking whether cc understands -c and -o together... yes
checking dependency style of cc... gcc3
checking whether the compiler supports GNU C++... no
checking whether c++ accepts -g... no
checking for c++ option to enable C++11 features... none needed
checking dependency style of c++... none
checking dependency style of cc... 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/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /home/pbulk/build/lang/gauche/work/.cwrapper/bin/ld
checking if the linker (/home/pbulk/build/lang/gauche/work/.cwrapper/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking how to convert x86_64--netbsd file names to x86_64--netbsd format... func_convert_file_noop
checking how to convert x86_64--netbsd file names to toolchain format... func_convert_file_noop
checking for /home/pbulk/build/lang/gauche/work/.cwrapper/bin/ld option to reload object files... -r
checking for x86_64--netbsd-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking for x86_64--netbsd-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64--netbsd-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64--netbsd-strip... no
checking for strip... strip
checking for x86_64--netbsd-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for x86_64--netbsd-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 cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/home/pbulk/build/lang/gauche/work/.cwrapper/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory
no
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... cpp
checking whether the c++ linker (/home/pbulk/build/lang/gauche/work/.cwrapper/bin/ld) supports shared libraries... PKGSRC-WARNING: Something is trying to run the c++ compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
yes
libtool.m4: error: problem compiling CXX test program
checking for c++ option to produce PIC...  -DPIC
checking if c++ PIC flag  -DPIC works... no
checking if c++ static flag  works... no
checking if c++ supports -c -o file.o... rm: conftest*: No such file or directory
no
checking if c++ supports -c -o file.o... (cached) no
checking whether the c++ linker (/home/pbulk/build/lang/gauche/work/.cwrapper/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... PKGSRC-WARNING: Something is trying to run the c++ compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
NetBSD ld.elf_so
checking how to hardcode library paths into programs... unsupported
checking for emscripten... no
checking for inline... inline
configure: WARNING: "Explicit GC_INIT() calls may be required."
checking for pthread_self in -lpthread... yes
configure: WARNING: "Only on NetBSD 2.0 or later."
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... no
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 and arg)
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: /usr/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.