###
### Tue Aug 9 21:32:47 EDT 2005:
### /usr/pkg/bin/bmake bulk-package for amap-5.0
### Current pkg count:  6 installed packages: digest-20050323 gettext-lib-0.11.5nb4 gmake-3.80nb4 libiconv-1.9.2nb1 libtool-base-1.5.18nb3 pkg_install-info-4.5nb3
###
BULK> Full rebuild in progress...
BULK> Cleaning package amap-5.0 and pre-requisite packages
===> Cleaning for amap-5.0
===> Cleaning for openssl-0.9.7f
===> Cleaning for gmake-3.80nb4
===> Cleaning for gettext-lib-0.11.5nb4
===> Cleaning for libiconv-1.9.2nb1
===> Cleaning for libtool-base-1.5.18nb3
===> Cleaning for pkg_install-info-4.5nb3
===> Cleaning for perl-5.8.6nb4
BULK> Removing installed packages which are not needed to build amap-5.0
BULK> Keeping BULK_PREREQ: digest-20050323 (pkgtools/digest)
BULK> amap-5.0 requires installed package libiconv-1.9.2nb1 (converters/libiconv) to build.
BULK> amap-5.0 requires installed package gettext-lib-0.11.5nb4 (devel/gettext-lib) to build.
BULK> amap-5.0 requires installed package pkg_install-info-4.5nb3 (pkgtools/pkg_install-info) to build.
BULK> amap-5.0 requires installed package gmake-3.80nb4 (devel/gmake) to build.
BULK> amap-5.0 requires installed package libtool-base-1.5.18nb3 (devel/libtool-base) to build.
BULK> Installing packages which are required to build amap-5.0.
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/openssl-0.9.7f.tgz
===========================================================================
Installing files needed by openssl-0.9.7f:

	/usr/pkg/etc/openssl/openssl.cnf
	    [/usr/pkg/share/examples/openssl/openssl.cnf]

===========================================================================
BULK> Required package gmake-3.80nb4 (devel/gmake) is already installed
BULK> Required package gettext-lib-0.11.5nb4 (devel/gettext-lib) is already installed
BULK> Required package libiconv-1.9.2nb1 (converters/libiconv) is already installed
BULK> Required package libtool-base-1.5.18nb3 (devel/libtool-base) is already installed
BULK> Required package pkg_install-info-4.5nb3 (pkgtools/pkg_install-info) is already installed
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/perl-5.8.6nb4.tgz

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

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

	/usr/pkg/lib/perl5/site_perl/5.8.6

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

BULK> Required package digest-20050323 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (amap-5.0)
===> Checking for vulnerabilities in amap-5.0
=> Checksum SHA1 OK for amap-5.0.tar.gz.
=> Checksum RMD160 OK for amap-5.0.tar.gz.
work -> /pkgobj/security/amap/work
===> Extracting for amap-5.0
==========================================================================
The following variables will affect the build process of this package,
amap-5.0.  Their current value is shown below:

        * SSLBASE (defined)

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/pkg/bin/bmake clean' after
the changes.
==========================================================================
===> Required installed package openssl>=0.9.7d: openssl-0.9.7f found
===> Patching for amap-5.0
===> Applying pkgsrc patches for amap-5.0
===> Overriding tools for amap-5.0
===> Creating toolchain wrappers for amap-5.0
===> Configuring for amap-5.0
=> Fixing configure script.
creating cache ./config.cache
checking for a BSD compatible install... /usr/ucb/install -c -o root -g root
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking for gcc... cc
checking whether the C compiler (cc -O -I/usr/pkg/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib) works... yes
checking whether the C compiler (cc -O -I/usr/pkg/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C... no
checking whether cc accepts -g... yes
checking for a BSD compatible install... /usr/ucb/install -c -o root -g root
checking for Cygwin environment... no
checking for mingw32 environment... no
checking how to run the C preprocessor... cc -E
checking host system type... sparc-sun-solaris2.8
checking build system type... sparc-sun-solaris2.8
checking for non-GNU ld... /pkgobj/security/amap/work/.wrapper/bin/ld
checking if the linker (/pkgobj/security/amap/work/.wrapper/bin/ld) is GNU ld... no
checking for /pkgobj/security/amap/work/.wrapper/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/ccs/bin/nm -p
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/ccs/bin/nm -p output... ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for cc option to produce PIC... -KPIC
checking if cc PIC flag -KPIC works... yes
checking if cc static flag -Bstatic works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo... yes
checking whether the linker (/pkgobj/security/amap/work/.wrapper/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.8 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
creating libtool
checking for ANSI C header files... yes
checking for limits.h... yes
checking for working const... yes
checking for size_t... yes
checking for bcopy... yes
checking for memmove... yes
checking for strerror... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating pcre.h
creating pcre-config
creating RunTest
creating config.h


Starting amap auto configuration ...

Checking for openssl ...
                     ... NOT found, SSL support disabled
Checking for Solaris libraries ...

Manual page will be install to: /usr/pkg/man

Amap will be installed into .../bin and .../etc of: /usr/pkg
  (change this by running ./configure --prefix=path)

Writing Makefile.in ...
Generating Makefile ...

now type "make"
===> Building for amap-5.0
cd pcre-3.9 && make
cd . && autoheader
WARNING: `autoheader' is missing on your system.  You should only need it if
         you modified `acconfig.h' or `configure.in'.  You might want
         to install the `Autoconf' and `GNU m4' packages.  Grab them
         from any GNU archive site.
cd .  && CONFIG_FILES= CONFIG_HEADERS=config.h:config.in  /bin/sh ./config.status
creating config.h
config.h is unchanged
cc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/pkg/include -DNEWLINE=10 -O -I/usr/pkg/include -c pcre.c
cc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/pkg/include -DNEWLINE=10 -O -I/usr/pkg/include -c maketables.c
cc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/pkg/include -DNEWLINE=10 -O -I/usr/pkg/include -c get.c
cc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/pkg/include -DNEWLINE=10 -O -I/usr/pkg/include -c study.c
cc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/pkg/include -DNEWLINE=10 -O -I/usr/pkg/include -c chartables.c
rm -f libpcre.a
ar cru libpcre.a pcre.o maketables.o get.o  study.o chartables.o 
ranlib libpcre.a
cc -O -I/usr/pkg/include -DSHAREDIR="\"/usr/pkg/share/amap/\"" -c -o amap-lib.o amap-lib.c  -DAMAP_PREFIX="\"/usr/pkg/\""
"amap-lib.c", line 399: warning: a cast does not yield an lvalue
"amap-lib.c", line 399: warning: a cast does not yield an lvalue
"amap-lib.c", line 574: warning: a cast does not yield an lvalue
"amap-lib.c", line 574: warning: a cast does not yield an lvalue
"amap-lib.c", line 619: warning: a cast does not yield an lvalue
"amap-lib.c", line 731: warning: a cast does not yield an lvalue
"amap-lib.c", line 731: warning: a cast does not yield an lvalue
"amap-lib.c", line 1061: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "amap-lib.c", line 853
	argument : pointer to unsigned char
"amap-lib.c", line 1064: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "amap-lib.c", line 853
	argument : pointer to unsigned char
"amap-lib.c", line 1068: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "amap-lib.c", line 853
	argument : pointer to unsigned char
"amap-lib.c", line 1099: warning: argument #3 is incompatible with prototype:
	prototype: pointer to const char : "pcre-3.9/pcre.h", line 97
	argument : pointer to unsigned char
"amap-lib.c", line 1112: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "amap-lib.c", line 853
	argument : pointer to unsigned char
"amap-lib.c", line 1118: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "amap-lib.c", line 853
	argument : pointer to unsigned char
"amap-lib.c", line 1130: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "amap-lib.c", line 853
	argument : pointer to unsigned char
"amap-lib.c", line 1162: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "amap-lib.c", line 327
	argument : pointer to unsigned char
"amap-lib.c", line 1162: warning: assignment type mismatch:
	pointer to unsigned char "=" pointer to char
"amap-lib.c", line 1185: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "amap-lib.c", line 853
	argument : pointer to unsigned char
"amap-lib.c", line 2070: warning: a cast does not yield an lvalue
"amap-lib.c", line 2271: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "amap-lib.c", line 853
	argument : pointer to unsigned char

cc -O -I/usr/pkg/include -DSHAREDIR="\"/usr/pkg/share/amap/\"" -o amap amap.c amap-lib.o -lpcre -L./pcre-3.9/ -I./pcre-3.9/ -lnsl -lsocket -lresolv -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/lib -L/lib -L/lib  -DAMAP_PREFIX="\"/usr/pkg/\""
test -e amap6 || ln -s amap amap6
/bin/sh: test: argument expected
*** Error code 1

Stop.
bmake: stopped in /pkgobj/security/amap/work/amap-5.0
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/security/amap
===> 
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /pkgobj/security/amap/work/.work.log
===> 
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/security/amap

Please view the work log for amap-5.0


BULK> amap-5.0 was marked as broken:
-rw-r--r--   1 root     other      11020 Aug  9 21:35 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for amap
BULK> Marking all packages which depend upon amap-5.0 as broken:
BULK> Build for amap-5.0 was not successful, aborting.