###
### Tue Feb 3 06:15:14 EST 2004:
### bmake bulk-package for tcl-postgresql-7.3.4nb1
### Current pkg count:  8 installed packages: digest-20021220 gdbm-1.8.3 libtool-base-1.4.20010614nb19 patch-2.5.4nb2 pkg_install-info-4.5nb2 tcl-8.3.4 tcl-gdbm-0.8nb1 xpkgwedge-1.9
###
BULK> Full rebuild in progress...
BULK> Cleaning package and its depends
===> Cleaning for tcl-postgresql-7.3.4nb1
===> Cleaning for postgresql-lib-7.3.4nb1
===> Cleaning for openssl-0.9.6l
===> Cleaning for perl-5.6.1nb10
===> Cleaning for patch-2.5.4nb2
===> Cleaning for autoconf-2.59
===> Cleaning for m4-1.4nb1
===> Cleaning for pkg_install-info-4.5nb2
===> Cleaning for gtexinfo-4.6nb1
===> Cleaning for gettext-lib-0.11.5nb2
===> Cleaning for libiconv-1.9.1nb1
===> Cleaning for libtool-base-1.4.20010614nb19
===> Cleaning for gmake-3.80nb2
===> Cleaning for tcl-8.3.4
BULK> Removing installed packages which are not needed to build tcl-postgresql-7.3.4nb1
BULK> Keeping BULK_PREREQ: xpkgwedge-1.9 (pkgtools/xpkgwedge)
BULK> Keeping BULK_PREREQ: digest-20021220 (pkgtools/digest)
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r gdbm-1.8.3
BULK> tcl-postgresql-7.3.4nb1 requires installed package patch-2.5.4nb2 (devel/patch) to build.
BULK> tcl-postgresql-7.3.4nb1 requires installed package libtool-base-1.4.20010614nb19 (devel/libtool-base) to build.
BULK> tcl-postgresql-7.3.4nb1 requires installed package pkg_install-info-4.5nb2 (pkgtools/pkg_install-info) to build.
BULK> tcl-postgresql-7.3.4nb1 requires installed package tcl-8.3.4 (lang/tcl) to build.
BULK> Installing packages which are required to build tcl-postgresql-7.3.4nb1.
BULK> /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/postgresql-lib-7.3.4nb1.tgz

===> Installing configuration/support files for openssl-0.9.6l

	/usr/pkg/etc/openssl/openssl.cnf

===========================================================================
You may wish to customize the following files for openssl-0.9.6l:

	/usr/pkg/etc/openssl/openssl.cnf
===========================================================================

===========================================================================
$NetBSD: MESSAGE,v 1.5 2003/09/22 03:13:58 grant Exp $

If upgrading from SSLeay, you will need to copy your ssleay.cnf (used for
creating certificate requests with "ca") into
/usr/pkg/etc/openssl/openssl.cnf.

If installing from scratch, you may want to take a look
at /usr/pkg/share/examples/openssl/openssl.cnf copy it
to /usr/pkg/etc/openssl/openssl.cnf, and customize it.

===========================================================================

tar: Unable to access ${LIBPQ}lib/libpq.so.3.0 (No such file or directory)
tar: WARNING! These file names were not selected:
${LIBPQ}lib/libpq.so.3.0
BULK> Required package openssl-0.9.6l (security/openssl) is already installed
BULK> /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/perl-5.6.1nb10.tgz

===========================================================================
$NetBSD: MESSAGE,v 1.4 2004/01/08 19:18:00 jlam Exp $

perl-5.6.1nb10 will use the following directory as the default
location of the site-specific Perl modules:

	/usr/pkg/lib/perl5/site_perl/5.6.1

===========================================================================

BULK> Required package patch-2.5.4nb2 (devel/patch) is already installed
BULK> /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/autoconf-2.59.tgz
BULK> Required package m4-1.4nb1 (devel/m4) is already installed
BULK> Required package pkg_install-info-4.5nb2 (pkgtools/pkg_install-info) is already installed
BULK> /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/gtexinfo-4.6nb1.tgz

===> Installing configuration/support files for libiconv-1.9.1nb1

	/usr/pkg/lib/charset.alias
BULK> Required package gettext-lib-0.11.5nb2 (devel/gettext-lib) is already installed
BULK> Required package libiconv-1.9.1nb1 (converters/libiconv) is already installed
BULK> Required package libtool-base-1.4.20010614nb19 (devel/libtool-base) is already installed
BULK> /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/gmake-3.80nb2.tgz
BULK> Required package tcl-8.3.4 (lang/tcl) is already installed
BULK> Required package xpkgwedge-1.9 (pkgtools/xpkgwedge) is already installed
BULK> Required package digest-20021220 (pkgtools/digest) is already installed
bmake package (tcl-postgresql-7.3.4nb1)
===> Checking for vulnerabilities in tcl-postgresql-7.3.4nb1
=> Checksum OK for postgresql-7.3.4.tar.gz.
work.sol9 -> /work/pkgbuild/databases/tcl-postgresql/work.sol9
===> Extracting for tcl-postgresql-7.3.4nb1
===> Required installed package postgresql-lib>=7.3.4: postgresql-lib-7.3.4nb1 found
===> Required installed package openssl>=0.9.6l: openssl-0.9.6l found
===> Required installed package tcl>=8.3.4: tcl-8.3.4 found
===> Required installed package autoconf>=2.50: autoconf-2.59 found
===> Required installed package gmake>=3.78: gmake-3.80nb2 found
===> Required installed package patch>=2.2: patch-2.5.4nb2 found
==========================================================================
The following variables will affect the build process of this package,
tcl-postgresql-7.3.4nb1.  Their current value is shown below:

        * SSLBASE = /usr/pkg
        * SSLCERTS = /usr/pkg/etc/openssl/certs

You may want to abort the process now with CTRL+C and change their value
before continuing.  Be sure to run `bmake clean' after the changes.
==========================================================================
if [ -d /work/pkgbuild/databases/tcl-postgresql/work.sol9/postgresql-7.3.4/src ]; then					 /usr/bin/rm -f /work/pkgbuild/databases/tcl-postgresql/work.sol9/postgresql-7.3.4/src/Makefile.custom;			 /usr/bin/cp -f /usr/pkgsrc/databases/tcl-postgresql/../postgresql/files/Makefile.custom		 /work/pkgbuild/databases/tcl-postgresql/work.sol9/postgresql-7.3.4/src/Makefile.custom;			 fi
if [ -d /work/pkgbuild/databases/tcl-postgresql/work.sol9/postgresql-7.3.4/src/interfaces/libpq ]; then			 /usr/bin/rm -f /work/pkgbuild/databases/tcl-postgresql/work.sol9/postgresql-7.3.4/src/interfaces/libpq/GNUmakefile;	 /usr/bin/cp -f /usr/pkgsrc/databases/tcl-postgresql/../postgresql/files/GNUmakefile.libpq		 /work/pkgbuild/databases/tcl-postgresql/work.sol9/postgresql-7.3.4/src/interfaces/libpq/GNUmakefile;	 fi
if [ -d /work/pkgbuild/databases/tcl-postgresql/work.sol9/postgresql-7.3.4/src/interfaces/libpgtcl ]; then		 /usr/bin/rm -f /work/pkgbuild/databases/tcl-postgresql/work.sol9/postgresql-7.3.4/src/interfaces/libpgtcl/GNUmakefile;	 /usr/bin/cp -f /usr/pkgsrc/databases/tcl-postgresql/../postgresql/files/GNUmakefile.libpgtcl	 /work/pkgbuild/databases/tcl-postgresql/work.sol9/postgresql-7.3.4/src/interfaces/libpgtcl/GNUmakefile;	 fi
===> Patching for tcl-postgresql-7.3.4nb1
===> Applying pkgsrc patches for tcl-postgresql-7.3.4nb1
===> Overriding tools for tcl-postgresql-7.3.4nb1
===> Buildlinking for tcl-postgresql-7.3.4nb1
===> Configuring for tcl-postgresql-7.3.4nb1
cd /work/pkgbuild/databases/tcl-postgresql/work.sol9/postgresql-7.3.4 && /usr/pkg/bin/autoconf
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... sparc-sun-solaris2.9
checking host system type... sparc-sun-solaris2
checking which template to use... solaris
checking whether to build with 64-bit integer date/time support... no
checking whether to build with recode support... no
checking whether NLS is wanted... no
checking for default port number... 5432
checking for default soft limit on number of connections... 32
checking for sparc-sun-solaris2-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... no
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
configure: using CFLAGS=-O -I/usr/pkg/include
checking whether the C compiler still works... yes
checking how to run the C preprocessor... cc -Xa -E
checking where to install HTML documentation... /usr/pkg/share/doc/html/postgresql
checking whether to build with Tcl... yes
checking whether to build with Tk... no
checking whether to build Perl modules... no
checking whether to build Python modules... no
checking whether to byte-compile Python modules... no
checking whether to build Java/JDBC tools... no
checking whether to build with Kerberos 4 support... no
checking whether to build with Kerberos 5 support... no
checking whether to build with PAM support... no
building with OpenSSL support
checking for egrep... grep -E
configure: using CPPFLAGS=  -I/usr/pkg/include  -I/usr/pkg/include
configure: using LDFLAGS= -L/usr/pkg/lib -Wl,-R/usr/pkg/lib  -L/usr/pkg/lib
checking for gawk... /usr/bin/nawk
checking for flex... no
configure: WARNING:
*** Without Flex you will not be able to build PostgreSQL from CVS or
*** change any of the scanner definition files.  You can obtain Flex from
*** a GNU mirror site.  (If you are using the official distribution of
*** PostgreSQL then you do not need to worry about this because the Flex
*** output is pre-generated.)
checking whether ln -s works... yes
checking for non-GNU ld... ld
checking if the linker (ld) is GNU ld... no
checking for sparc-sun-solaris2-ranlib... no
checking for ranlib... ranlib
checking for lorder... lorder
checking for tar... /usr/pkg/bin/tar
checking for sparc-sun-solaris2-strip... no
checking for strip... strip
checking whether it is possible to strip libraries... no
checking for bison... yacc
checking for perl... /usr/pkg/bin/perl
checking for main in -lbsd... no
checking for setproctitle in -lutil... no
checking for main in -lm... yes
checking for main in -ldl... yes
checking for main in -lnsl... yes
checking for main in -lsocket... yes
checking for main in -lipc... no
checking for main in -lIPC... no
checking for main in -llc... no
checking for main in -ldld... no
checking for main in -lld... no
checking for main in -lcompat... no
checking for main in -lBSD... no
checking for main in -lgen... yes
checking for main in -lPW... no
checking for main in -lresolv... yes
checking for library containing getopt_long... no
checking for main in -lunix... no
checking for library containing crypt... none required
checking for __inet_ntoa in -lbind... no
checking for library containing fdatasync... -lrt
checking for shmget in -lcygipc... no
checking for CRYPTO_new_ex_data in -lcrypto... yes
checking for SSL_library_init in -lssl... yes
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... no
checking for unistd.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking dld.h usability... no
checking dld.h presence... no
checking for dld.h... no
checking endian.h usability... no
checking endian.h presence... no
checking for endian.h... no
checking fp_class.h usability... no
checking fp_class.h presence... no
checking for fp_class.h... no
checking getopt.h usability... no
checking getopt.h presence... no
checking for getopt.h... no
checking ieeefp.h usability... yes
checking ieeefp.h presence... yes
checking for ieeefp.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/sem.h usability... yes
checking sys/sem.h presence... yes
checking for sys/sem.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking kernel/OS.h usability... no
checking kernel/OS.h presence... no
checking for kernel/OS.h... no
checking kernel/image.h usability... no
checking kernel/image.h presence... no
checking for kernel/image.h... no
checking SupportDefs.h usability... no
checking SupportDefs.h presence... no
checking for SupportDefs.h... no
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for netinet/tcp.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for preprocessor stringizing operator... yes
checking for signed types... yes
checking for working volatile... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... no
checking for tzname... yes
checking for union semun... no
checking for struct sockaddr_un... yes
checking for struct cmsgcred... no
checking for struct fcred... no
checking for struct sockcred... no
checking for int timezone... yes
checking types of arguments for accept()... int, struct sockaddr *, int *
checking whether gettimeofday takes only one argument... no
checking for working memcmp... yes
checking for cbrt... yes
checking for fcvt... yes
checking for getopt_long... no
checking for memmove... yes
checking for pstat... no
checking for setproctitle... no
checking for setsid... yes
checking for sigprocmask... yes
checking for sysconf... yes
checking for waitpid... yes
checking for dlopen... yes
checking for fdatasync... yes
checking whether fdatasync is declared... yes
checking for PS_STRINGS... no
checking for snprintf... yes
checking for vsnprintf... yes
checking whether snprintf is declared... yes
checking whether vsnprintf is declared... yes
checking for isinf... no
checking for fpclass... yes
checking for fseeko... yes
checking for gethostname... yes
checking for getrusage... yes
checking for inet_aton... yes
checking for random... yes
checking for srandom... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strerror... yes
checking for strtol... yes
checking for strtoul... yes
checking for rint... yes
checking for finite... yes
checking for sigsetjmp... yes
checking for syslog... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for optreset... no
checking for strtoll... yes
checking for strtoull... yes
checking for atexit... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for fseeko... (cached) yes
checking test program... ok
checking whether long int is 64 bits... no
checking whether long long int is 64 bits... yes
checking whether snprintf handles 'long long int' as %lld... yes
checking for unsigned long... yes
checking size of unsigned long... 4
checking for short... yes
checking alignment of short... 2
checking for int... yes
checking alignment of int... 4
checking for long... yes
checking alignment of long... 4
checking for long long int... yes
checking alignment of long long int... 8
checking for double... yes
checking alignment of double... 8
checking for int8... no
checking for uint8... no
checking for int64... no
checking for uint64... no
checking for sig_atomic_t... yes
checking for POSIX signal interface... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for tclsh... /usr/pkg/bin/tclsh
checking for tclConfig.sh... /usr/pkg/lib/tclConfig.sh
checking for onsgmls... no
checking for nsgmls... no
checking for openjade... no
checking for jade... no
checking for DocBook V3.1... no
checking for DocBook stylesheets... no
checking for collateindex.pl... no
checking for sgmlspl... no
configure: creating ./config.status
config.status: creating GNUmakefile
config.status: creating src/Makefile.global
config.status: creating src/include/pg_config.h
config.status: linking ./src/backend/port/tas/solaris_sparc.s to src/backend/port/tas.s
config.status: linking ./src/backend/port/dynloader/solaris.c to src/backend/port/dynloader.c
config.status: linking ./src/backend/port/sysv_sema.c to src/backend/port/pg_sema.c
config.status: linking ./src/backend/port/sysv_shmem.c to src/backend/port/pg_shmem.c
config.status: linking ./src/backend/port/dynloader/solaris.h to src/include/dynloader.h
config.status: linking ./src/include/port/solaris.h to src/include/pg_config_os.h
config.status: linking ./src/makefiles/Makefile.solaris to src/Makefile.port
===> Building for tcl-postgresql-7.3.4nb1
/usr/pkg/bin/gmake -C ../../../src/interfaces/libpq all
gmake[1]: Entering directory `/work/pkgbuild/databases/tcl-postgresql/work.sol9/postgresql-7.3.4/src/interfaces/libpq'
gmake[2]: Entering directory `/work/pkgbuild/databases/tcl-postgresql/work.sol9/postgresql-7.3.4/src/interfaces/libpq'
gmake[2]: Nothing to be done for `GNUmakefile'.
gmake[2]: Leaving directory `/work/pkgbuild/databases/tcl-postgresql/work.sol9/postgresql-7.3.4/src/interfaces/libpq'
gmake[1]: Leaving directory `/work/pkgbuild/databases/tcl-postgresql/work.sol9/postgresql-7.3.4/src/interfaces/libpq'
cc -Xa -O -I/usr/pkg/include -KPIC -I../../../src/interfaces/libpq -I../../../src/include -I/usr/pkg/include  -I/usr/pkg/include  -c -o pgtcl.o pgtcl.c
cc -Xa -O -I/usr/pkg/include -KPIC -I../../../src/interfaces/libpq -I../../../src/include -I/usr/pkg/include  -I/usr/pkg/include  -c -o pgtclCmds.o pgtclCmds.c
cc -Xa -O -I/usr/pkg/include -KPIC -I../../../src/interfaces/libpq -I../../../src/include -I/usr/pkg/include  -I/usr/pkg/include  -c -o pgtclId.o pgtclId.c
ar crs libpgtcl.a `lorder pgtcl.o pgtclCmds.o pgtclId.o | tsort`
ranlib libpgtcl.a
cc -Xa -G -h libpgtcl.so.2 pgtcl.o pgtclCmds.o pgtclId.o -L../../../src/port -L/usr/pkg/lib -L/usr/pkg/lib -lpq -L../../../src/port -L/usr/pkg/lib -L/usr/pkg/lib  -R/usr/pkg/lib -o libpgtcl.so.2.3
rm -f libpgtcl.so.2
ln -s libpgtcl.so.2.3 libpgtcl.so.2
rm -f libpgtcl.so
ln -s libpgtcl.so.2.3 libpgtcl.so
/usr/pkg/bin/gmake -C ../../../src/interfaces/libpgtcl all
gmake[1]: Entering directory `/work/pkgbuild/databases/tcl-postgresql/work.sol9/postgresql-7.3.4/src/interfaces/libpgtcl'
gmake[2]: Entering directory `/work/pkgbuild/databases/tcl-postgresql/work.sol9/postgresql-7.3.4/src/interfaces/libpgtcl'
gmake[2]: Nothing to be done for `GNUmakefile'.
gmake[2]: Leaving directory `/work/pkgbuild/databases/tcl-postgresql/work.sol9/postgresql-7.3.4/src/interfaces/libpgtcl'
gmake[2]: Entering directory `/work/pkgbuild/databases/tcl-postgresql/work.sol9/postgresql-7.3.4/src/interfaces/libpgtcl'
/usr/pkg/bin/gmake -C ../../../src/interfaces/libpq all
gmake[3]: Entering directory `/work/pkgbuild/databases/tcl-postgresql/work.sol9/postgresql-7.3.4/src/interfaces/libpq'
gmake[4]: Entering directory `/work/pkgbuild/databases/tcl-postgresql/work.sol9/postgresql-7.3.4/src/interfaces/libpq'
gmake[4]: Nothing to be done for `GNUmakefile'.
gmake[4]: Leaving directory `/work/pkgbuild/databases/tcl-postgresql/work.sol9/postgresql-7.3.4/src/interfaces/libpq'
gmake[3]: Leaving directory `/work/pkgbuild/databases/tcl-postgresql/work.sol9/postgresql-7.3.4/src/interfaces/libpq'
gmake[2]: Leaving directory `/work/pkgbuild/databases/tcl-postgresql/work.sol9/postgresql-7.3.4/src/interfaces/libpgtcl'
gmake[1]: Leaving directory `/work/pkgbuild/databases/tcl-postgresql/work.sol9/postgresql-7.3.4/src/interfaces/libpgtcl'
cc -Xa -O -I/usr/pkg/include -I../../../src/interfaces/libpgtcl -I../../../src/include -I/usr/pkg/include  -I/usr/pkg/include   -c -o pgtclAppInit.o pgtclAppInit.c
cc -Xa -O -I/usr/pkg/include pgtclAppInit.o -L../../../src/interfaces/libpgtcl -lpgtcl -lpq -L/usr/pkg/lib -ltcl83 -ldl -lsocket -lnsl -lm -L../../../src/port -L/usr/pkg/lib -Wl,-R/usr/pkg/lib  -L/usr/pkg/lib -R/usr/pkg/lib -lssl -lcrypto -lrt -lresolv -lgen -lsocket -lnsl -ldl -lm  -lpgport -o pgtclsh
ld: fatal: library -lpq: not found
ld: fatal: library -lpgport: not found
ld: fatal: File processing errors. No output written to pgtclsh
gmake: *** [pgtclsh] Error 1
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/databases/tcl-postgresql
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/databases/tcl-postgresql
BULK> tcl-postgresql-7.3.4nb1 was marked as broken:
-rw-r--r--   1 root     other      21031 Feb  3 06:22 .broken.html
bmake deinstall
===> Deinstalling for tcl-postgresql
BULK> Marking all packages which depend upon tcl-postgresql-7.3.4nb1 as broken:
BULK> marking package that requires tcl-postgresql-7.3.4nb1 as broken: tk-postgresql-7.3.4nb1 (databases/tk-postgresql)
BULK> marking package that requires tcl-postgresql-7.3.4nb1 as broken: pgaccess-0.98.8 (databases/pgaccess)
BULK> Build for tcl-postgresql-7.3.4nb1 was not successful, aborting.