=> Bootstrap dependency digest>=20010302: found digest-20080510
WARNING: [bsd.prefs.mk] The package Gauche-0.9 misses DESTDIR support.
WARNING: [license.mk] Every package should define a LICENSE.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for Gauche-0.9.tgz
=> Checksum RMD160 OK for Gauche-0.9.tgz
===> Installing dependencies for Gauche-0.9
==========================================================================
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)

==========================================================================
=> Build dependency libtool-base>=2.2.6bnb3: found libtool-base-2.2.6bnb3
=> Build dependency checkperms>=1.1: found checkperms-1.11
=> Full dependency slib-[0-9]*: found slib-3.2.2
=> Full dependency gdbm>=1.8.3nb1: found gdbm-1.8.3nb1
===> Overriding tools for Gauche-0.9
===> Extracting for Gauche-0.9
===> Patching for Gauche-0.9
=> Applying pkgsrc patches for Gauche-0.9
===> Creating toolchain wrappers for Gauche-0.9
===> Configuring for Gauche-0.9
=> 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
configure: WARNING: "Only on NetBSD 2.0 or later."
checking for x86_64--netbsd-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for cc option to accept ISO C99... -std=gnu99
checking for cc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
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 root -g wheel
checking for ar... ar
checking for as... as
checking for makeinfo... /scratch/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 how to run the C preprocessor... cc -std=gnu99 -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 whether time.h and sys/time.h may both be included... 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 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 for stdint.h... (cached) yes
checking for inttypes.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 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 sunmath.h usability... no
checking sunmath.h presence... no
checking for sunmath.h... no
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 for long... yes
checking size of long... 8
checking for int... yes
checking size of int... 4
checking for off_t... yes
checking size of off_t... 8
checking for uint16_t... yes
checking for int32_t... yes
checking for uint32_t... yes
checking for int64_t... yes
checking for uint64_t... yes
checking for long double... yes
checking for struct timespec... yes
checking for pthread_spinlock_t... yes
checking for rlim_t... yes
checking size of rlim_t... 8
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 -std=gnu99 needs -traditional... no
checking for sin in -lm... yes
checking for isinf in -lsunmath... no
checking for working alloca.h... no
checking for alloca... yes
checking for isnan... yes
checking for isinf... yes
checking for trunc... yes
checking for symlink... yes
checking for readlink... yes
checking for lchown... yes
checking for mkstemp... yes
checking for realpath... yes
checking for nanosleep... yes
checking for usleep... 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 getpgid... 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 syslog... yes
checking for setlogmask... yes
checking for sigwait... yes
checking for select... yes
checking for library containing openpty... -lutil
checking for library containing forkpty... none required
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 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... 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... no
checking for gethostbyname_r... no
checking for gethostbyaddr_r... no
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
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/genconfig
config.status: creating lib/Makefile
config.status: creating lib/slib.scm
config.status: creating doc/gosh.1
config.status: creating doc/gauche-config.1
config.status: creating doc/Makefile
config.status: creating ext/Makefile
config.status: creating ext/Makefile.ext
config.status: creating ext/auxsys/Makefile
config.status: creating ext/binary/Makefile
config.status: creating ext/charconv/Makefile
config.status: creating ext/charconv/charconv.h
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/sparse/Makefile
config.status: creating ext/srfi/Makefile
config.status: creating ext/sxml/Makefile
config.status: creating ext/syslog/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/zlib/Makefile
config.status: creating src/gauche/config.h
config.status: creating ext/auxsys/auxsysconf.h
config.status: creating ext/dbm/dbmconf.h
=== configuring in gc (/scratch/lang/gauche/work/Gauche-0.9/gc)
configure: running /bin/sh ./configure '--prefix=/usr/pkg'  '--enable-multibyte=utf8' '--with-slib=/usr/pkg/share/slib' '--enable-threads=pthreads' '--with-iconv=/usr' '--without-libiconv-prefix' '--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=-O2 -I/usr/pkg/include -I/usr/include' 'LDFLAGS=-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=7 minor=1 
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... 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... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking dependency style of cc... none
checking whether cc understands -c and -o together... yes
checking whether we are using the GNU C++ compiler... no
checking whether c++ accepts -g... no
checking dependency style of c++... none
checking for x86_64--netbsd-ar... no
checking for ar... ar
checking for x86_64--netbsd-ranlib... no
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
configure: WARNING: "Only on NetBSD 2.0 or later."
checking for xlc... no
checking for dlopen in -ldl... no
checking whether to build shared libraries... yes
checking which machine-dependent code should be used... 
checking for a sed that does not truncate output... /scratch/lang/gauche/work/.tools/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ld used by cc... /scratch/lang/gauche/work/.cwrapper/bin/ld
checking if the linker (/scratch/lang/gauche/work/.cwrapper/bin/ld) is GNU ld... yes
checking for /scratch/lang/gauche/work/.cwrapper/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking how to run the C preprocessor... cc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... cpp
checking for x86_64--netbsd-g77... f77
checking whether we are using the GNU Fortran 77 compiler... no
checking whether f77 accepts -g... no
checking the maximum length of command line arguments... (cached) 262144
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for x86_64--netbsd-ar... ar
checking for x86_64--netbsd-ranlib... ranlib
checking for x86_64--netbsd-strip... no
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/scratch/lang/gauche/work/.cwrapper/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... 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
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the c++ linker (/scratch/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... 
checking if c++ static flag  works... no
checking if c++ supports -c -o file.o... no
checking whether the c++ linker (/scratch/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
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for f77 option to produce PIC... -fPIC
checking if f77 PIC flag -fPIC works... no
checking if f77 static flag -static works... no
checking if f77 supports -c -o file.o... no
checking whether the f77 linker (/scratch/lang/gauche/work/.cwrapper/bin/ld) supports shared libraries... PKGSRC-WARNING: Something is trying to run the fortran compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
yes
checking dynamic linker characteristics... PKGSRC-WARNING: Something is trying to run the fortran compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
PKGSRC-WARNING: Something is trying to run the fortran 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... immediate
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 whether Solaris gcc optimization fix is necessary... no
checking atomic_ops.h usability... no
checking atomic_ops.h presence... no
checking for atomic_ops.h... no
configure: Using internal version of libatomic_ops
configure: creating ./config.status
config.status: creating Makefile
config.status: creating bdw-gc.pc
config.status: executing depfiles commands
config.status: executing default commands
=== configuring in libatomic_ops (/scratch/lang/gauche/work/Gauche-0.9/gc/libatomic_ops)
configure: running /bin/sh ./configure '--prefix=/usr/pkg'  '--enable-multibyte=utf8' '--with-slib=/usr/pkg/share/slib' '--enable-threads=pthreads' '--with-iconv=/usr' '--without-libiconv-prefix' '--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=-O2 -I/usr/pkg/include -I/usr/include' 'LDFLAGS=-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' 'CXX=c++' 'CXXFLAGS=-O2 -I/usr/pkg/include -I/usr/include' 'CXXCPP=cpp' 'F77=f77' 'FFLAGS=-O' --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 for a BSD-compatible install... /usr/bin/install -c -o root -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 for x86_64--netbsd-ranlib... no
checking for ranlib... ranlib
checking for style of include used by make... GNU
checking for x86_64--netbsd-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking dependency style of cc... gcc3
checking whether cc understands -c and -o together... yes
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cc -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 for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for ANSI C header files... (cached) yes
checking Determining PIC compiler flag... -fPIC
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/atomic_ops/Makefile
config.status: creating src/atomic_ops/sysdeps/Makefile
config.status: creating doc/Makefile
config.status: creating tests/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing default commands

This Gauche has been configured with the following parameters:
           version: 0.9
         multibyte: utf8
              slib: /usr/pkg/share/slib
            thread: pthreads
  optional modules: ndbm gdbm zlib

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