###
### Wed Jul 13 16:22:36 EDT 2005:
### /usr/pkg/bin/bmake bulk-package for ap2-auth-ldap-3.3
### Current pkg count:  26 installed packages: ap2-subversion-1.2.0 apache-2.0.54nb1 apr-0.9.6.2.0.54nb1 bzip2-1.0.3 db4-4.3.28 digest-20050323 expat-1.95.8nb2 gettext-0.11.5nb5 gettext-lib-0.11.5nb4 gettext-m4-0.11.5 gmake-3.80nb4 libiconv-1.9.2nb1 libtool-base-1.5.18nb3 neon-0.24.7nb1 openssl-0.9.7f p5-subversion-1.2.0 perl-5.8.6nb4 pkg_install-info-4.5nb3 py23-subversion-1.2.0 python23-2.3.5 ruby18-base-1.8.2nb2 ruby18-subversion-1.2.0 subversion-1.2.0 subversion-base-1.2.0 swig-1.3.24 zlib-1.2.2
###
BULK> Full rebuild in progress...
BULK> Cleaning package ap2-auth-ldap-3.3 and pre-requisite packages
===> Cleaning for ap2-auth-ldap-3.3
===> Cleaning for openldap-2.2.20nb2
===> Cleaning for db4-4.3.28
===> Cleaning for libtool-base-1.5.18nb3
===> 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 pkg_install-info-4.5nb3
===> Cleaning for perl-5.8.6nb4
===> Cleaning for tcp_wrappers-7.6.1nb4
===> Cleaning for apache-2.0.54nb1
===> Cleaning for apr-0.9.6.2.0.54nb1
===> Cleaning for expat-1.95.8nb2
===> Cleaning for zlib-1.2.2
BULK> Removing installed packages which are not needed to build ap2-auth-ldap-3.3
BULK> Keeping BULK_PREREQ: digest-20050323 (pkgtools/digest)
BULK> ap2-auth-ldap-3.3 requires installed package perl-5.8.6nb4 (lang/perl58) to build.
BULK> ap2-auth-ldap-3.3 requires installed package apr-0.9.6.2.0.54nb1 (devel/apr) to build.
BULK> ap2-auth-ldap-3.3 requires installed package zlib-1.2.2 (devel/zlib) to build.
BULK> ap2-auth-ldap-3.3 requires installed package expat-1.95.8nb2 (textproc/expat) to build.
BULK> ap2-auth-ldap-3.3 requires installed package openssl-0.9.7f (security/openssl) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r neon-0.24.7nb1
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/man/man3 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/5.8.6/sparc-solaris-thread-multi/auto/SVN/_Wc 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/5.8.6/sparc-solaris-thread-multi/auto/SVN/_Repos 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/5.8.6/sparc-solaris-thread-multi/auto/SVN/_Ra 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/5.8.6/sparc-solaris-thread-multi/auto/SVN/_Fs 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/5.8.6/sparc-solaris-thread-multi/auto/SVN/_Delta 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/5.8.6/sparc-solaris-thread-multi/auto/SVN/_Core 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/5.8.6/sparc-solaris-thread-multi/auto/SVN/_Client 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/5.8.6/sparc-solaris-thread-multi/SVN 2>/dev/null || /usr/bin/true'
BULK> ap2-auth-ldap-3.3 requires installed package libtool-base-1.5.18nb3 (devel/libtool-base) to build.
BULK> ap2-auth-ldap-3.3 requires installed package libiconv-1.9.2nb1 (converters/libiconv) to build.
BULK> ap2-auth-ldap-3.3 requires installed package gettext-lib-0.11.5nb4 (devel/gettext-lib) to build.
BULK> ap2-auth-ldap-3.3 requires installed package pkg_install-info-4.5nb3 (pkgtools/pkg_install-info) to build.
BULK> ap2-auth-ldap-3.3 requires installed package gmake-3.80nb4 (devel/gmake) to build.
BULK> ap2-auth-ldap-3.3 requires installed package apache-2.0.54nb1 (www/apache2) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r gettext-m4-0.11.5
Executing `/usr/bin/rmdir /usr/pkg/share/gettext 2>/dev/null || /usr/bin/true'
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r swig-1.3.24
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r bzip2-1.0.3
pkg_delete: unable to completely remove directory '/usr/pkg/lib/python2.3/site-packages'
pkg_delete: unable to completely remove directory '/usr/pkg/lib/python2.3'
pkg_delete: couldn't entirely delete package `python23-2.3.5'
(perhaps the packing list is incorrectly specified?)
BULK> ap2-auth-ldap-3.3 requires installed package db4-4.3.28 (databases/db4) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r ruby18-base-1.8.2nb2
Executing `/usr/bin/rmdir /usr/pkg/lib/ruby/site_ruby 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir /usr/pkg/lib/ruby 2>/dev/null || /usr/bin/true'
BULK> Installing packages which are required to build ap2-auth-ldap-3.3.
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/openldap-2.2.20nb2.tgz
===========================================================================
Installing files needed by openldap-2.2.20nb2:

	/usr/pkg/etc/openldap/ldap.conf
	    [/usr/pkg/share/examples/openldap/ldap.conf]

	/usr/pkg/etc/openldap/schema/corba.schema
	    [/usr/pkg/share/examples/openldap/schema/corba.schema]

	/usr/pkg/etc/openldap/schema/core.schema
	    [/usr/pkg/share/examples/openldap/schema/core.schema]

	/usr/pkg/etc/openldap/schema/cosine.schema
	    [/usr/pkg/share/examples/openldap/schema/cosine.schema]

	/usr/pkg/etc/openldap/schema/inetorgperson.schema
	    [/usr/pkg/share/examples/openldap/schema/inetorgperson.schema]

	/usr/pkg/etc/openldap/schema/java.schema
	    [/usr/pkg/share/examples/openldap/schema/java.schema]

	/usr/pkg/etc/openldap/schema/misc.schema
	    [/usr/pkg/share/examples/openldap/schema/misc.schema]

	/usr/pkg/etc/openldap/schema/nis.schema
	    [/usr/pkg/share/examples/openldap/schema/nis.schema]

	/usr/pkg/etc/openldap/schema/openldap.schema
	    [/usr/pkg/share/examples/openldap/schema/openldap.schema]

	/usr/pkg/etc/openldap/slapd.conf
	    [/usr/pkg/share/examples/openldap/slapd.conf]

===========================================================================
===========================================================================
The following files should be created for openldap-2.2.20nb2:

	/etc/rc.d/slurpd (m=0755)
	    [/usr/pkg/share/examples/rc.d/slurpd]

	/etc/rc.d/slapd (m=0755)
	    [/usr/pkg/share/examples/rc.d/slapd]

===========================================================================
BULK> Required package db4-4.3.28 (databases/db4) is already installed
BULK> Required package libtool-base-1.5.18nb3 (devel/libtool-base) is already installed
BULK> Required package openssl-0.9.7f (security/openssl) is already installed
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 pkg_install-info-4.5nb3 (pkgtools/pkg_install-info) is already installed
BULK> Required package perl-5.8.6nb4 (lang/perl58) is already installed
BULK> Required package tcp_wrappers-7.6.1nb4 (security/tcp_wrappers) is already installed
BULK> Required package apache-2.0.54nb1 (www/apache2) is already installed
BULK> Required package apr-0.9.6.2.0.54nb1 (devel/apr) is already installed
BULK> Required package expat-1.95.8nb2 (textproc/expat) is already installed
BULK> Required package zlib-1.2.2 (devel/zlib) is already installed
BULK> Required package digest-20050323 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (ap2-auth-ldap-3.3)
===> Checking for vulnerabilities in ap2-auth-ldap-3.3
=> mod_auth_ldap3.3.tar.gz doesn't seem to exist on this system.
=> Attempting to fetch mod_auth_ldap3.3.tar.gz from ftp://netbsd.stevens-tech.edu/pub/NetBSD/packages/distfiles/.
=> [530801 bytes]
=> Checksum SHA1 OK for mod_auth_ldap3.3.tar.gz.
=> Checksum RMD160 OK for mod_auth_ldap3.3.tar.gz.
work -> /pkgobj/www/ap2-auth-ldap/work
===> Extracting for ap2-auth-ldap-3.3
==========================================================================
The following variables will affect the build process of this package,
ap2-auth-ldap-3.3.  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 openldap>=2.2.18nb1: openldap-2.2.20nb2 found
===> Required installed package openssl>=0.9.7d: openssl-0.9.7f found
===> Required installed package apache>=2.0.52nb5: apache-2.0.54nb1 found
===> Required installed package apr>=0.9.5.2.0.52nb1: apr-0.9.6.2.0.54nb1 found
===> Required installed package expat>=1.95.8nb2: expat-1.95.8nb2 found
===> Required installed package libtool-base>=1.5.18nb1: libtool-base-1.5.18nb3 found
===> Required installed package {perl>=5.0,perl-thread>=5.0}: perl-5.8.6nb4 found
===> Patching for ap2-auth-ldap-3.3
===> Applying pkgsrc patches for ap2-auth-ldap-3.3
=> Fixing hardcoded paths.
===> Overriding tools for ap2-auth-ldap-3.3
===> Creating toolchain wrappers for ap2-auth-ldap-3.3
===> Configuring for ap2-auth-ldap-3.3
creating cache ./config.cache
checking for ranlib... ranlib
checking whether make sets ${MAKE}... yes
checking for gcc... cc
checking whether the C compiler (cc -O -I/usr/pkg/include -I/usr/include -L/usr/pkg/lib -R/usr/pkg/lib -L/usr/lib -R/usr/lib) works... yes
checking whether the C compiler (cc -O -I/usr/pkg/include -I/usr/include -L/usr/pkg/lib -R/usr/pkg/lib -L/usr/lib -R/usr/lib) is a cross-compiler... no
checking whether we are using GNU C... no
checking whether cc accepts -g... yes
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for string.h... yes
checking for strings.h... yes
checking for memory.h... yes
checking for malloc.h... yes
checking for unistd.h... yes
checking for ctype.h... yes
checking for limits... no
checking for stdint.h... no
checking for sys/types.h... yes
checking for stdlib.h... yes
checking for socket... no
checking for __socket... no
checking for socket in -lsocket... yes
checking for htonl... yes
checking for gethostname... yes
checking for gethostbyaddr... no
checking for __gethostbyaddr... no
checking for gethostbyaddr in -lnsl... yes
checking for yp_get_default_domain... yes
checking for res_search... no
checking for __res_search... no
checking for res_search in -lresolv... yes
checking for inet_aton... yes
checking for dn_skipname... yes
checking for version of apache the module is getting compiled... Apache 2.x
checking for path of Apache install directory... /usr/pkg
checking for /usr/pkg/bin/apr-config... found
checking for /usr/pkg/bin/apu-config... found
checking for memory cache support... none. memory caching support will be off
checking for Apache 2.0 module support via DSO through APXS... yes
checking for LDAP SDK... /usr/pkg/
checking for 3 arg ldap_set_rebind_proc... no
checking for ldap_start_tls_s... yes
yes
checking whether to enable SSL... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating mk_withldap

======================================================================
You're compiling the module as Dynamic Shared Object (DSO)
Make sure your apache is compiled with DSO support. To test, type
 $ /path_of/httpd -l and make sure mod_so.c is in the list

***********************************************************************************
*** Compiling mod_auth_ldap v3.2 for Apache 2.x
***********************************************************************************
Final Compilation Flags:
  HASHLIB_TYPE=
  HASHINC=
  HASHLIB=
  APR_LIBS         =  -L/usr/pkg/lib -lapr-0 -lsendfile -lrt -lm -lsocket  -lresolv -lnsl -lpthread -ldl
  APU_LIBS         =  -L/usr/pkg/lib -laprutil-0 -lexpat
  APXS             = /usr/pkg/sbin/apxs
  DEFINES          =  -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_MEMORY_H=1 -DHAVE_MALLOC_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CTYPE_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_STDLIB_H=1 -DHAVE_SOCKET=1 -DHAVE_LIBSOCKET=1 -DHAVE_HTONL=1 -DHAVE_GETHOSTNAME=1 -DHAVE_GETHOSTBYADDR=1 -DHAVE_LIBNSL=1 -DHAVE_YP_GET_DEFAULT_DOMAIN=1 -DHAVE_RES_SEARCH=1 -DHAVE_LIBRESOLV=1 -DHAVE_INET_ATON=1 -DHAVE_DN_SKIPNAME=1 -DWITH_APACHE_2=1 -DHAVE_LDAP=1 -DHAVE_LDAP_START_TLS_S=1 
  LDAP_DIR         = /usr/pkg/
  LDAP_INCLUDE_DIR = /usr/pkg//include
  LDAP_LIB_DIR     = /usr/pkg//lib
  CPPFLAGS         = -I/usr/pkg//include -L/usr/pkg/lib -R/usr/pkg/lib -lldap -llber -I/usr/pkg/include -I/usr/include
  LDFLAGS          = -L/usr/pkg/lib -R/usr/pkg/lib -L/usr/lib -R/usr/lib -L/usr/pkg//lib
  LIBS             = -lldap -llber -lresolv -lnsl -lsocket 
======================================================================
If everything looks ok, at the shell prompt, type:
make
make install
===> Building for ap2-auth-ldap-3.3
/usr/pkg/sbin/apxs -c -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_MEMORY_H=1 -DHAVE_MALLOC_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CTYPE_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_STDLIB_H=1 -DHAVE_SOCKET=1 -DHAVE_LIBSOCKET=1 -DHAVE_HTONL=1 -DHAVE_GETHOSTNAME=1 -DHAVE_GETHOSTBYADDR=1 -DHAVE_LIBNSL=1 -DHAVE_YP_GET_DEFAULT_DOMAIN=1 -DHAVE_RES_SEARCH=1 -DHAVE_LIBRESOLV=1 -DHAVE_INET_ATON=1 -DHAVE_DN_SKIPNAME=1 -DWITH_APACHE_2=1 -DHAVE_LDAP=1 -DHAVE_LDAP_START_TLS_S=1  -I/usr/pkg//include -L/usr/pkg/lib -R/usr/pkg/lib -lldap -llber -I/usr/pkg/include -I/usr/include    mod_auth_ldap.c
apxs:Error: Unknown option: R.
apxs:Error: Unknown option: /.
apxs:Error: Unknown option: u.
apxs:Error: Unknown option: s.
apxs:Error: Unknown option: r.
apxs:Error: Unknown option: /.
apxs:Error: Unknown option: k.
apxs:Error: Unknown option: /.
Usage: apxs -g [-S =] -n 
       apxs -q [-S =]  ...
       apxs -c [-S =] [-o ] [-D [=]]
               [-I ] [-L ] [-l ] [-Wc,]
               [-Wl,] [-p]  ...
       apxs -i [-S =] [-a] [-A] [-n ]  ...
       apxs -e [-S =] [-a] [-A] [-n ]  ...
*** Error code 1

Stop.
bmake: stopped in /pkgobj/www/ap2-auth-ldap/work/mod_auth_ldap3.3
*** Error code 1

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

Stop.
bmake: stopped in /usr/pkgsrc/www/ap2-auth-ldap

Please view the work log for ap2-auth-ldap-3.3


BULK> ap2-auth-ldap-3.3 was marked as broken:
-rw-r--r--   1 root     other      14683 Jul 13 16:25 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for ap2-auth-ldap
BULK> Marking all packages which depend upon ap2-auth-ldap-3.3 as broken:
BULK> Build for ap2-auth-ldap-3.3 was not successful, aborting.