=> Bootstrap dependency digest>=20211023: found digest-20211023 => Checksum BLAKE2s OK for Gauche-0.9.10.tgz => Checksum SHA512 OK for Gauche-0.9.10.tgz ===> Installing dependencies for Gauche-0.9.10 ========================================================================== 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.6nb3 => Tool dependency gmake>=3.81: found gmake-4.3nb2 => Tool dependency gtexinfo>=5.0: found gtexinfo-6.8 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency slib-[0-9]*: found slib-3.2.6 => Full dependency gdbm>=1.18.1: found gdbm-1.22 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for Gauche-0.9.10 ===> Extracting for Gauche-0.9.10 ===> Patching for Gauche-0.9.10 => Applying pkgsrc patches for Gauche-0.9.10 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gauche/patches/patch-aa => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gauche/patches/patch-aa Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-aa,v 1.16 2018/07/26 16:55:29 jperkin Exp $ | |* Use correct CFLAGS on SunOS. |* XXX something about arm |* XXX something about rint() | |--- configure.orig 2018-07-03 11:43:06.000000000 +0000 |+++ configure -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 4537 (offset -113 lines). Hunk #2 succeeded at 6302 (offset 49 lines). Hunk #3 succeeded at 7419 (offset -46 lines). Hunk #4 succeeded at 8370 (offset 89 lines). Hunk #5 succeeded at 10114 (offset -46 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gauche/patches/patch-af => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/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.7 2016/10/13 00:30:13 enami Exp $ | |Honor pkgsrc LDFLAGS. | |--- ext/dbm/Makefile.in.orig 2016-01-09 11:15:43.000000000 +0000 |+++ ext/dbm/Makefile.in -------------------------- Patching file ext/dbm/Makefile.in using Plan A... Hunk #1 succeeded at 16. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gauche/patches/patch-ag => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/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.8 2016/10/13 00:30:13 enami Exp $ | |Honor pkgsrc LDFLAGS. | |--- ext/charconv/Makefile.in.orig 2016-01-09 11:15:43.000000000 +0000 |+++ ext/charconv/Makefile.in -------------------------- Patching file ext/charconv/Makefile.in using Plan A... Hunk #1 succeeded at 11 (offset 2 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gauche/patches/patch-ext_tls_axTLS_ssl_os__port.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gauche/patches/patch-ext_tls_axTLS_ssl_os__port.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ext_tls_axTLS_ssl_os__port.h,v 1.1 2018/07/26 16:55:29 jperkin Exp $ | |Provide endian support on SunOS. | |--- ext/tls/axTLS/ssl/os_port.h.orig 2017-04-14 08:07:25.000000000 +0000 |+++ ext/tls/axTLS/ssl/os_port.h -------------------------- Patching file ext/tls/axTLS/ssl/os_port.h using Plan A... Hunk #1 succeeded at 164 (offset 2 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gauche/patches/patch-ext_zlib_Makefile.in => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/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.1 2018/07/26 16:55:29 jperkin Exp $ | |Ensure correct zlib library is linked. | |--- ext/zlib/Makefile.in.orig 2017-04-14 08:07:25.000000000 +0000 |+++ ext/zlib/Makefile.in -------------------------- Patching file ext/zlib/Makefile.in using Plan A... Hunk #1 succeeded at 21. done ===> Creating toolchain wrappers for Gauche-0.9.10 ===> Configuring for Gauche-0.9.10 => 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--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 multibyte encoding... utf8 checking thread type... configure: WARNING: "Only on NetBSD 2.0 or later." pthreads checking for x86_64--netbsd-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 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 how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep 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 stdatomic.h usability... yes checking stdatomic.h presence... yes checking for stdatomic.h... yes checking for x86_64--netbsd-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking for gcc option to accept ISO C99... none needed checking for gcc option to accept ISO Standard C... (cached) none needed 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 wheel checking whether ln -s works... yes checking for x86_64--netbsd-ar... no checking for x86_64--netbsd-gar... no checking for ar... ar checking for makeinfo... /tmp/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 ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking for unistd.h... (cached) yes checking rpc/types.h usability... yes checking rpc/types.h presence... yes checking for rpc/types.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking crypt.h usability... no checking crypt.h presence... no checking for crypt.h... no checking pty.h usability... no checking pty.h presence... no checking for pty.h... no checking util.h usability... yes checking util.h presence... yes checking for util.h... yes checking bsd/libutil.h usability... no checking bsd/libutil.h presence... no checking for bsd/libutil.h... no checking libutil.h usability... no checking libutil.h presence... no checking for libutil.h... no checking sys/loadavg.h usability... no checking sys/loadavg.h presence... no checking for sys/loadavg.h... no checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking fpu_control.h usability... no checking fpu_control.h presence... no checking for fpu_control.h... no checking sunmath.h usability... no checking sunmath.h presence... no checking for sunmath.h... no checking crt_externs.h usability... no checking crt_externs.h presence... no checking for crt_externs.h... no checking libproc.h usability... yes checking libproc.h presence... yes 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 off_t... 8 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 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... no checking for alloca... yes checking for isnan... yes checking for isinf... yes checking for trunc... 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 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 how to make dynamic loadable module... ok checking linker takes --rpath flag... yes checking linker takes --soname flag... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking gdbm.h usability... yes checking gdbm.h presence... yes checking for gdbm.h... yes checking for gdbm_open in -lgdbm... yes checking ndbm.h usability... yes checking ndbm.h presence... yes checking for ndbm.h... yes checking for dbm_open... yes checking dbm.h usability... no checking dbm.h presence... no checking for dbm.h... no checking gdbm/dbm.h usability... no checking gdbm/dbm.h presence... no checking for gdbm/dbm.h... no checking gdbm-dbm.h usability... no checking gdbm-dbm.h presence... no checking for gdbm-dbm.h... 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... 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 zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking mbedtls/net_sockets.h usability... no checking mbedtls/net_sockets.h presence... no checking for mbedtls/net_sockets.h... no checking mbedtls/net.h usability... no checking mbedtls/net.h presence... no checking for mbedtls/net.h... no checking for library containing mbedtls_ctr_drbg_init... no checking for library containing mbedtls_x509_crt_init... no checking for library containing mbedtls_ssl_init... no configure: Can't find mbedtls headers and/or libraries. checking for openssl... openssl 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/net/Makefile config.status: creating ext/peg/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/threads/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 ext/dbm/dbmconf.h config.status: executing VERSION commands config.status: executing src/features commands === configuring in gc (/tmp/lang/gauche/work/Gauche-0.9.10/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=gcc' 'CFLAGS=-O2 -fPIC -D_FORTIFY_SOURCE=2 -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=0 micro=4 checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g wheel checking whether build environment is sane... yes checking for a thread-safe 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 for style of include used by make... GNU checking for x86_64--netbsd-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 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 whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking whether we are using the GNU C++ compiler... no checking whether c++ accepts -g... no checking dependency style of c++... 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/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /tmp/lang/gauche/work/.cwrapper/bin/ld checking if the linker (/tmp/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 /tmp/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 gcc 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 how to run the C preprocessor... gcc -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 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... yes 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 (/tmp/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 (/tmp/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 (/tmp/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 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 execinfo.h usability... yes checking execinfo.h presence... 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 Solaris gcc optimization fix is necessary... no checking for dladdr... yes checking for sigsetjmp... yes checking sys/dg_sys_info.h usability... no checking sys/dg_sys_info.h presence... no 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.10 multibyte: utf8 documentation: Yes slib: /usr/pkg/share/slib thread: pthreads tls/ssl: axtls 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.