###
### Sun Jul 11 02:49:19 CEST 2004:
### /usr/pkg/bin/bmake bulk-package for libksba-0.4.7nb1
### Current pkg count:  8 installed packages: digest-20021220 gettext-lib-0.11.5nb3 libgcrypt-1.2.0 libgpg-error-0.6nb1 libiconv-1.9.1nb2 libtool-base-1.5.6nb1 patch-2.5.4nb2 pkg_install-info-4.5nb2
###
BULK> Full rebuild in progress...
BULK> Cleaning package and its depends
===> Cleaning for libksba-0.4.7nb1
===> Cleaning for pkg_install-info-4.5nb2
===> Cleaning for libtool-base-1.5.6nb1
===> Cleaning for patch-2.5.4nb2
BULK> Removing installed packages which are not needed to build libksba-0.4.7nb1
BULK> Keeping BULK_PREREQ: digest-20021220 (pkgtools/digest)
BULK> libksba-0.4.7nb1 requires installed package libtool-base-1.5.6nb1 (devel/libtool-base) to build.
BULK> libksba-0.4.7nb1 requires installed package patch-2.5.4nb2 (devel/patch) to build.
BULK> libksba-0.4.7nb1 requires installed package pkg_install-info-4.5nb2 (pkgtools/pkg_install-info) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r libiconv-1.9.1nb2
BULK> Installing packages which are required to build libksba-0.4.7nb1.
BULK> Required package pkg_install-info-4.5nb2 (pkgtools/pkg_install-info) is already installed
BULK> Required package libtool-base-1.5.6nb1 (devel/libtool-base) is already installed
BULK> Required package patch-2.5.4nb2 (devel/patch) is already installed
BULK> Required package digest-20021220 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (libksba-0.4.7nb1)
===> Checking for vulnerabilities in libksba-0.4.7nb1
=> libksba-0.4.7.tar.gz doesn't seem to exist on this system.
=> Attempting to fetch libksba-0.4.7.tar.gz from ftp://ftp.cz.NetBSD.org/pub/NetBSD/packages/distfiles/.
=> [445328 bytes]
=> Checksum OK for libksba-0.4.7.tar.gz.
work -> /pkgbuild/security/libksba04/work
===> Extracting for libksba-0.4.7nb1
===> Required installed package pkg_install-info-[0-9]*: pkg_install-info-4.5nb2 found
===> Required installed package libtool-base>=1.5.2nb4: libtool-base-1.5.6nb1 found
===> Required installed package patch>=2.2: patch-2.5.4nb2 found
===> Patching for libksba-0.4.7nb1
===> Applying pkgsrc patches for libksba-0.4.7nb1
===> Overriding tools for libksba-0.4.7nb1
===> Buildlinking for libksba-0.4.7nb1
===> Configuring for libksba-0.4.7nb1
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 bmake 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... 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 bmake... 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 bmake sets $(MAKE)... (cached) yes
checking for bison... yacc
checking for inline... inline
checking build system type... sparc-sun-solaris2.9
checking host system type... sparc-sun-solaris2
checking for non-GNU ld... /pkgbuild/security/libksba04/work/.buildlink/bin/ld
checking if the linker (/pkgbuild/security/libksba04/work/.buildlink/bin/ld) is GNU ld... no
checking for /pkgbuild/security/libksba04/work/.buildlink/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking for a sed that does not truncate output... /pkgbuild/security/libksba04/work/.tools/bin/sed
checking how to recognise dependent libraries... pass_all
checking command to parse nm output... failed
checking for egrep... grep -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... 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-ranlib... no
checking for ranlib... ranlib
checking for sparc-sun-solaris2-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... no
checking whether the linker (/pkgbuild/security/libksba04/work/.buildlink/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 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
creating libtool
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for memmove... yes
checking for strchr... yes
checking for strtol... yes
checking for strtoul... yes
checking for stpcpy... no
checking for timegm... no
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
===> Building for libksba-0.4.7nb1
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
source='asn1-gentables.c' object='asn1-gentables.o' libtool=no  depfile='.deps/asn1-gentables.Po' tmpdepfile='.deps/asn1-gentables.TPo'  depmode=none /bin/ksh ../depcomp  cc -DHAVE_CONFIG_H -I. -I. -I..      -O -c `test -f 'asn1-gentables.c' || echo './'`asn1-gentables.c
source='asn1-parse.c' object='asn1-parse.o' libtool=no  depfile='.deps/asn1-parse.Po' tmpdepfile='.deps/asn1-parse.TPo'  depmode=none /bin/ksh ../depcomp  cc -DHAVE_CONFIG_H -I. -I. -I..      -O -c `test -f 'asn1-parse.c' || echo './'`asn1-parse.c
source='asn1-func.c' object='asn1-func.o' libtool=no  depfile='.deps/asn1-func.Po' tmpdepfile='.deps/asn1-func.TPo'  depmode=none /bin/ksh ../depcomp  cc -DHAVE_CONFIG_H -I. -I. -I..      -O -c `test -f 'asn1-func.c' || echo './'`asn1-func.c
"asn1-func.c", line 1046: warning: implicit function declaration: alloca
"asn1-func.c", line 1046: warning: improper pointer/integer combination: op "="
source='oid.c' object='oid.o' libtool=no  depfile='.deps/oid.Po' tmpdepfile='.deps/oid.TPo'  depmode=none /bin/ksh ../depcomp  cc -DHAVE_CONFIG_H -I. -I. -I..      -O -c `test -f 'oid.c' || echo './'`oid.c
"oid.c", line 55: warning: assignment type mismatch:
	pointer to const unsigned char "=" pointer to const char
"oid.c", line 113: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const char : "oid.c", line 54
	argument : pointer to const unsigned char
"oid.c", line 160: warning: identifier redeclared: ksba_oid_from_str
	current : function(pointer to const char, pointer to pointer to char, pointer to unsigned int) returning enum  {KSBA_Invalid_Cert_Object(49), KSBA_Unknown_Name(48), KSBA_Unsupported_CRL_Version(47), KSBA_Invalid_CRL_Object(46), KSBA_Buffer_Too_Short(45), KSBA_User_Error(44), KSBA_Invalid_Time(43), KSBA_Unknown_Sexp(42), KSBA_Invalid_Sexp(41), KSBA_Invalid_OID_String(40), KSBA_Invalid_Index(39), KSBA_Encoding_Error(38), KSBA_Module_Not_Found(37), KSBA_File_Error(36), KSBA_Missing_Action(35), KSBA_Duplicate_Value(34), KSBA_Invalid_State(33), KSBA_Missing_Value(32), KSBA_Unsupported_Encoding(31), KSBA_Unsupported_CMS_Version(30), KSBA_Invalid_CMS_Object(29), KSBA_Unsupported_CMS_Object(28), KSBA_Unknown_CMS_Object(27), KSBA_No_CMS_Object(26), KSBA_Object_Too_Short(25), KSBA_Object_Too_Large(24), KSBA_Unsupported_Algorithm(23), KSBA_Unknown_Algorithm(22), KSBA_Not_DER_Encoded(21), KSBA_Unexpected_Tag(20), KSBA_Invalid_Keyinfo(19), KSBA_Invalid_Length(18), KSBA_Invalid_Tag(17), KSBA_Syntax_Error(16), KSBA_Value_Not_Found(15), KSBA_Identifier_Not_Found(14), KSBA_Element_Not_Found(13), KSBA_BER_Error(12), KSBA_Bug(11), KSBA_No_Value(10), KSBA_No_Data(9), KSBA_Invalid_Attr(8), KSBA_Write_Error(7), KSBA_Read_Error(6), KSBA_Conflict(5), KSBA_Not_Implemented(4), KSBA_Invalid_Value(3), KSBA_Out_Of_Core(2), KSBA_General_Error(1), KSBA_No_Error(0), KSBA_EOF(-1)}
	previous: function(pointer to const char, pointer to pointer to char, pointer to unsigned int) returning int : "ksba.h", line 362
"oid.c", line 218: warning: argument #2 is incompatible with prototype:
	prototype: pointer to char : "oid.c", line 119
	argument : pointer to unsigned char
"oid.c", line 223: warning: argument #2 is incompatible with prototype:
	prototype: pointer to char : "oid.c", line 119
	argument : pointer to unsigned char
"oid.c", line 233: warning: assignment type mismatch:
	pointer to char "=" pointer to unsigned char
source='util.c' object='util.o' libtool=no  depfile='.deps/util.Po' tmpdepfile='.deps/util.TPo'  depmode=none /bin/ksh ../depcomp  cc -DHAVE_CONFIG_H -I. -I. -I..      -O -c `test -f 'util.c' || echo './'`util.c
/bin/ksh ../libtool --mode=link cc  -O   -R/usr/pkg/lib -o asn1-gentables  asn1-gentables.o asn1-parse.o asn1-func.o oid.o util.o 
mkdir .libs
cc -O -o asn1-gentables asn1-gentables.o asn1-parse.o asn1-func.o oid.o util.o  -L/pkgbuild/security/libksba04/work/.buildlink/lib -R/usr/pkg/lib
Undefined			first referenced
 symbol  			    in file
alloca                              asn1-func.o
ld: fatal: Symbol referencing errors. No output written to asn1-gentables
*** Error code 1

Stop.
bmake: stopped in /pkgbuild/security/libksba04/work/libksba-0.4.7/src
*** Error code 1

Stop.
bmake: stopped in /pkgbuild/security/libksba04/work/libksba-0.4.7
*** Error code 1

Stop.
bmake: stopped in /pkgbuild/security/libksba04/work/libksba-0.4.7
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/security/libksba04
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/security/libksba04
BULK> libksba-0.4.7nb1 was marked as broken:
-rw-r--r--   1 root     other      10769 Jul 11 02:52 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for libksba
BULK> Marking all packages which depend upon libksba-0.4.7nb1 as broken:
BULK> Build for libksba-0.4.7nb1 was not successful, aborting.