###
### Mon Jul 11 20:59:07 EDT 2005:
### /usr/pkg/bin/bmake bulk-package for libksba-0.9.11
### Current pkg count:  7 installed packages: digest-20050323 gawk-3.1.4nb2 gettext-lib-0.11.5nb4 libgpg-error-1.0 libiconv-1.9.2nb1 libtool-base-1.5.18nb3 pkg_install-info-4.5nb3
###
BULK> Full rebuild in progress...
BULK> Cleaning package libksba-0.9.11 and pre-requisite packages
===> Cleaning for libksba-0.9.11
===> Cleaning for libtool-base-1.5.18nb3
===> Cleaning for pkg_install-info-4.5nb3
===> Cleaning for libgcrypt-1.2.1
===> Cleaning for libgpg-error-1.0
===> Cleaning for libiconv-1.9.2nb1
===> Cleaning for gettext-lib-0.11.5nb4
===> Cleaning for gawk-3.1.4nb2
BULK> Removing installed packages which are not needed to build libksba-0.9.11
BULK> Keeping BULK_PREREQ: digest-20050323 (pkgtools/digest)
BULK> libksba-0.9.11 requires installed package pkg_install-info-4.5nb3 (pkgtools/pkg_install-info) to build.
BULK> libksba-0.9.11 requires installed package libiconv-1.9.2nb1 (converters/libiconv) to build.
BULK> libksba-0.9.11 requires installed package gettext-lib-0.11.5nb4 (devel/gettext-lib) to build.
BULK> libksba-0.9.11 requires installed package libgpg-error-1.0 (security/libgpg-error) to build.
BULK> libksba-0.9.11 requires installed package libtool-base-1.5.18nb3 (devel/libtool-base) to build.
BULK> libksba-0.9.11 requires installed package gawk-3.1.4nb2 (lang/gawk) to build.
BULK> Installing packages which are required to build libksba-0.9.11.
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/libgcrypt-1.2.1.tgz
BULK> Required package libgpg-error-1.0 (security/libgpg-error) is already installed
BULK> Required package libiconv-1.9.2nb1 (converters/libiconv) is already installed
BULK> Required package gettext-lib-0.11.5nb4 (devel/gettext-lib) is already installed
BULK> Required package gawk-3.1.4nb2 (lang/gawk) is already installed
BULK> Required package digest-20050323 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (libksba-0.9.11)
===> Checking for vulnerabilities in libksba-0.9.11
=> libksba-0.9.11.tar.gz doesn't seem to exist on this system.
=> Attempting to fetch libksba-0.9.11.tar.gz from ftp://netbsd.stevens-tech.edu/pub/NetBSD/packages/distfiles/.
=> [602298 bytes]
=> Checksum SHA1 OK for libksba-0.9.11.tar.gz.
=> Checksum RMD160 OK for libksba-0.9.11.tar.gz.
work -> /pkgobj/security/libksba/work
===> Extracting for libksba-0.9.11
===> Required installed package pkg_install-info-[0-9]*: pkg_install-info-4.5nb3 found
===> Required installed package libgcrypt>=1.2.0nb3: libgcrypt-1.2.1 found
===> Required installed package libgpg-error>=0.6nb2: libgpg-error-1.0 found
===> Required installed package gettext-lib>=0.11.5nb4: gettext-lib-0.11.5nb4 found
===> Required installed package libiconv>=1.9.1nb4: libiconv-1.9.2nb1 found
===> Required installed package libtool-base>=1.5.18nb1: libtool-base-1.5.18nb3 found
===> Patching for libksba-0.9.11
===> Applying pkgsrc patches for libksba-0.9.11
===> Overriding tools for libksba-0.9.11
===> Creating toolchain wrappers for libksba-0.9.11
===> Configuring for libksba-0.9.11
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 for a BSD-compatible install... /usr/ucb/install -c -o root -g root
checking whether build environment is sane... yes
checking for gawk... /usr/bin/nawk
checking whether make sets $(MAKE)... yes
checking for sparc-sun-solaris2-strip... no
checking for strip... strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gawk... (cached) /usr/bin/nawk
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
checking for style of include used by make... GNU
checking dependency style of cc... none
checking how to run the C preprocessor... cc -E
checking for a BSD-compatible install... /usr/ucb/install -c -o root -g root
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for bison... no
checking for byacc... no
checking for inline... inline
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2
checking for a sed that does not truncate output... /pkgobj/security/libksba/work/.tools/bin/sed
checking for egrep... grep -E
checking for non-GNU ld... /pkgobj/security/libksba/work/.wrapper/bin/ld
checking if the linker (/pkgobj/security/libksba/work/.wrapper/bin/ld) is GNU ld... no
checking for /pkgobj/security/libksba/work/.wrapper/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for sparc-sun-solaris2-g++... CC
checking whether we are using the GNU C++ compiler... no
checking whether CC accepts -g... yes
checking dependency style of CC... none
checking how to run the C++ preprocessor... CC -E
checking for sparc-sun-solaris2-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... 262144
checking command to parse nm output from cc object... failed
checking for objdir... .libs
checking for sparc-sun-solaris2-ar... no
checking for ar... ar
checking for sparc-sun-solaris2-ranlib... no
checking for ranlib... ranlib
checking for sparc-sun-solaris2-strip... strip
checking if cc static flag  works... yes
checking for cc option to produce PIC... -KPIC
checking if cc PIC flag -KPIC works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/pkgobj/security/libksba/work/.wrapper/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
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 CC linker (/pkgobj/security/libksba/work/.wrapper/bin/ld) supports shared libraries... yes
checking for CC option to produce PIC... -KPIC
checking if CC PIC flag -KPIC works... yes
checking if CC supports -c -o file.o... yes
checking whether the CC linker (/pkgobj/security/libksba/work/.wrapper/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
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... -KPIC
checking if f77 PIC flag -KPIC works... no
checking if f77 supports -c -o file.o... no
checking whether the f77 linker (/pkgobj/security/libksba/work/.wrapper/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking for gpg-error-config... /usr/pkg/bin/gpg-error-config
checking for GPG Error - version >= 0.7... yes
checking whether GPG_ERR_UNKNOWN_CRIT_EXTN is declared... no
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... yes
checking for unsigned int... yes
checking size of unsigned int... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking for u32 typedef... no
checking for memmove... yes
checking for strchr... yes
checking for strtol... yes
checking for strtoul... yes
checking for stpcpy... no
checking for gmtime_r... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/ksba-config
config.status: creating tests/Makefile
config.status: creating doc/Makefile
config.status: creating config.h
config.status: executing depfiles commands

        Libksba v0.9.11 has been configured as follows:

        Platform:  sparc-sun-solaris2


===> Building for libksba-0.9.11
cd . && /bin/ksh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
/usr/pkg/bin/bmake  all-recursive
Making all in src
/usr/pkg/bin/bmake  all-am
source='reader.c' object='reader.lo' libtool=yes  DEPDIR=.deps depmode=none /bin/ksh ../depcomp  /bin/ksh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H  -I. -I. -I..   -I/usr/pkg/include -I/usr/include  -I/usr/pkg/include  -c -o reader.lo reader.c
mkdir .libs
 cc -DHAVE_CONFIG_H -I. -I.. -I/pkgobj/security/libksba/work/.buildlink/include -c reader.c  -KPIC -DPIC -o .libs/reader.o
 cc -DHAVE_CONFIG_H -I. -I.. -I/pkgobj/security/libksba/work/.buildlink/include -c reader.c -o reader.o >/dev/null 2>&1
source='writer.c' object='writer.lo' libtool=yes  DEPDIR=.deps depmode=none /bin/ksh ../depcomp  /bin/ksh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H  -I. -I. -I..   -I/usr/pkg/include -I/usr/include  -I/usr/pkg/include  -c -o writer.lo writer.c
 cc -DHAVE_CONFIG_H -I. -I.. -I/pkgobj/security/libksba/work/.buildlink/include -c writer.c  -KPIC -DPIC -o .libs/writer.o
"writer.c", line 292: warning: assignment type mismatch:
	pointer to unsigned char "=" pointer to char
 cc -DHAVE_CONFIG_H -I. -I.. -I/pkgobj/security/libksba/work/.buildlink/include -c writer.c -o writer.o >/dev/null 2>&1
source='asn1-parse.c' object='asn1-parse.lo' libtool=yes  DEPDIR=.deps depmode=none /bin/ksh ../depcomp  /bin/ksh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H  -I. -I. -I..   -I/usr/pkg/include -I/usr/include  -I/usr/pkg/include  -c -o asn1-parse.lo asn1-parse.c
 cc -DHAVE_CONFIG_H -I. -I.. -I/pkgobj/security/libksba/work/.buildlink/include -c asn1-parse.c  -KPIC -DPIC -o .libs/asn1-parse.o
 cc -DHAVE_CONFIG_H -I. -I.. -I/pkgobj/security/libksba/work/.buildlink/include -c asn1-parse.c -o asn1-parse.o >/dev/null 2>&1
source='asn1-func.c' object='asn1-func.lo' libtool=yes  DEPDIR=.deps depmode=none /bin/ksh ../depcomp  /bin/ksh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H  -I. -I. -I..   -I/usr/pkg/include -I/usr/include  -I/usr/pkg/include  -c -o asn1-func.lo asn1-func.c
 cc -DHAVE_CONFIG_H -I. -I.. -I/pkgobj/security/libksba/work/.buildlink/include -c asn1-func.c  -KPIC -DPIC -o .libs/asn1-func.o
"asn1-func.c", line 1048: warning: implicit function declaration: alloca
"asn1-func.c", line 1048: warning: improper pointer/integer combination: op "="
 cc -DHAVE_CONFIG_H -I. -I.. -I/pkgobj/security/libksba/work/.buildlink/include -c asn1-func.c -o asn1-func.o >/dev/null 2>&1
source='asn1-func2.c' object='asn1-func2.lo' libtool=yes  DEPDIR=.deps depmode=none /bin/ksh ../depcomp  /bin/ksh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H  -I. -I. -I..   -I/usr/pkg/include -I/usr/include  -I/usr/pkg/include  -c -o asn1-func2.lo asn1-func2.c
 cc -DHAVE_CONFIG_H -I. -I.. -I/pkgobj/security/libksba/work/.buildlink/include -c asn1-func2.c  -KPIC -DPIC -o .libs/asn1-func2.o
 cc -DHAVE_CONFIG_H -I. -I.. -I/pkgobj/security/libksba/work/.buildlink/include -c asn1-func2.c -o asn1-func2.o >/dev/null 2>&1
source='ber-help.c' object='ber-help.lo' libtool=yes  DEPDIR=.deps depmode=none /bin/ksh ../depcomp  /bin/ksh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H  -I. -I. -I..   -I/usr/pkg/include -I/usr/include  -I/usr/pkg/include  -c -o ber-help.lo ber-help.c
 cc -DHAVE_CONFIG_H -I. -I.. -I/pkgobj/security/libksba/work/.buildlink/include -c ber-help.c  -KPIC -DPIC -o .libs/ber-help.o
"ber-help.c", line 43: warning: argument #2 is incompatible with prototype:
	prototype: pointer to char : "ksba.h", line 426
	argument : pointer to unsigned char
 cc -DHAVE_CONFIG_H -I. -I.. -I/pkgobj/security/libksba/work/.buildlink/include -c ber-help.c -o ber-help.o >/dev/null 2>&1
source='ber-decoder.c' object='ber-decoder.lo' libtool=yes  DEPDIR=.deps depmode=none /bin/ksh ../depcomp  /bin/ksh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H  -I. -I. -I..   -I/usr/pkg/include -I/usr/include  -I/usr/pkg/include  -c -o ber-decoder.lo ber-decoder.c
 cc -DHAVE_CONFIG_H -I. -I.. -I/pkgobj/security/libksba/work/.buildlink/include -c ber-decoder.c  -KPIC -DPIC -o .libs/ber-decoder.o
"ber-decoder.c", line 358: warning: argument #2 is incompatible with prototype:
	prototype: pointer to char : "ksba.h", line 426
	argument : pointer to unsigned char
"ber-decoder.c", line 1018: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const char : "ksba.h", line 465
	argument : pointer to unsigned char
"ber-decoder.c", line 1103: warning: argument #2 is incompatible with prototype:
	prototype: pointer to char : "ber-decoder.c", line 366
	argument : pointer to unsigned char
 cc -DHAVE_CONFIG_H -I. -I.. -I/pkgobj/security/libksba/work/.buildlink/include -c ber-decoder.c -o ber-decoder.o >/dev/null 2>&1
source='der-encoder.c' object='der-encoder.lo' libtool=yes  DEPDIR=.deps depmode=none /bin/ksh ../depcomp  /bin/ksh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H  -I. -I. -I..   -I/usr/pkg/include -I/usr/include  -I/usr/pkg/include  -c -o der-encoder.lo der-encoder.c
 cc -DHAVE_CONFIG_H -I. -I.. -I/pkgobj/security/libksba/work/.buildlink/include -c der-encoder.c  -KPIC -DPIC -o .libs/der-encoder.o
 cc -DHAVE_CONFIG_H -I. -I.. -I/pkgobj/security/libksba/work/.buildlink/include -c der-encoder.c -o der-encoder.o >/dev/null 2>&1
source='cert.c' object='cert.lo' libtool=yes  DEPDIR=.deps depmode=none /bin/ksh ../depcomp  /bin/ksh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H  -I. -I. -I..   -I/usr/pkg/include -I/usr/include  -I/usr/pkg/include  -c -o cert.lo cert.c
 cc -DHAVE_CONFIG_H -I. -I.. -I/pkgobj/security/libksba/work/.buildlink/include -c cert.c  -KPIC -DPIC -o .libs/cert.o
"cert.c", line 366: warning: return value type mismatch
"cert.c", line 633: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const char : "convert.h", line 27
	argument : pointer to unsigned char
"cert.c", line 1187: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const char : "ksba.h", line 465
	argument : pointer to const unsigned char
"cert.c", line 1283: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const char : "ksba.h", line 465
	argument : pointer to const unsigned char
"cert.c", line 1481: identifier redeclared: ksba_cert_get_crl_dist_point
	current : function(pointer to struct ksba_cert_s {int initialized, int ref_count, pointer to struct ksba_asn_tree_s {..} asn_tree, pointer to struct asn_node_struct {..} root, pointer to unsigned char image, unsigned int imagelen, unsigned int last_error, struct  {..} cache}, int, pointer to pointer to struct ksba_name_s {}, pointer to pointer to struct ksba_name_s {}, pointer to unsigned int) returning unsigned int
	previous: function(pointer to struct ksba_cert_s {int initialized, int ref_count, pointer to struct ksba_asn_tree_s {..} asn_tree, pointer to struct asn_node_struct {..} root, pointer to unsigned char image, unsigned int imagelen, unsigned int last_error, struct  {..} cache}, int, pointer to pointer to struct ksba_name_s {}, pointer to pointer to struct ksba_name_s {}, pointer to enum  {KSBA_CRLREASON_OTHER(32768), KSBA_CRLREASON_AA_COMPROMISE(1024), KSBA_CRLREASON_PRIVILEGE_WITHDRAWN(512), KSBA_CRLREASON_REMOVE_FROM_CRL(256), KSBA_CRLREASON_CERTIFICATE_HOLD(64), KSBA_CRLREASON_CESSATION_OF_OPERATION(32), KSBA_CRLREASON_SUPERSEDED(16), KSBA_CRLREASON_AFFILIATION_CHANGED(8), KSBA_CRLREASON_CA_COMPROMISE(4), KSBA_CRLREASON_KEY_COMPROMISE(2), KSBA_CRLREASON_UNSPECIFIED(1)}) returning unsigned int : "ksba.h", line 232
"cert.c", line 1695: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "/usr/include/iso/string_iso.h", line 66
	argument : pointer to unsigned char
"cert.c", line 1708: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "/usr/include/iso/string_iso.h", line 66
	argument : pointer to unsigned char
"cert.c", line 1782: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "/usr/include/iso/string_iso.h", line 66
	argument : pointer to unsigned char
"cert.c", line 1908: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const char : "ksba.h", line 465
	argument : pointer to const unsigned char
cc: acomp failed for cert.c
*** Error code 1

Stop.
bmake: stopped in /pkgobj/security/libksba/work/libksba-0.9.11/src
*** Error code 1

Stop.
bmake: stopped in /pkgobj/security/libksba/work/libksba-0.9.11/src
*** Error code 1

Stop.
bmake: stopped in /pkgobj/security/libksba/work/libksba-0.9.11
*** Error code 1

Stop.
bmake: stopped in /pkgobj/security/libksba/work/libksba-0.9.11
*** Error code 1

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

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

Please view the work log for libksba-0.9.11


BULK> libksba-0.9.11 was marked as broken:
-rw-r--r--   1 root     other      18503 Jul 11 21:01 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for libksba
BULK> Marking all packages which depend upon libksba-0.9.11 as broken:
BULK> marking package that requires libksba-0.9.11 as broken: dirmngr-0.9.1 (security/dirmngr)
BULK> marking package that requires libksba-0.9.11 as broken: gnupg-devel-1.9.16 (security/gnupg-devel)
BULK> marking package that requires libksba-0.9.11 as broken: pinentry-0.7.1nb1 (security/pinentry)
BULK> Build for libksba-0.9.11 was not successful, aborting.