###
### Sat Jul 10 19:46:15 CEST 2004:
### /usr/pkg/bin/bmake bulk-package for AiCA-0.71.1
### Current pkg count:  4 installed packages: digest-20021220 patch-2.5.4nb2 perl-5.8.4 yup-1.0
###
BULK> Full rebuild in progress...
BULK> Cleaning package and its depends
===> Cleaning for AiCA-0.71.1
BULK> Removing installed packages which are not needed to build AiCA-0.71.1
BULK> Keeping BULK_PREREQ: digest-20021220 (pkgtools/digest)
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r yup-1.0
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r patch-2.5.4nb2
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r perl-5.8.4
BULK> Installing packages which are required to build AiCA-0.71.1.
BULK> Required package digest-20021220 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (AiCA-0.71.1)
===> Checking for vulnerabilities in AiCA-0.71.1
=> AiCA-0.71.1.tar.gz doesn't seem to exist on this system.
=> Attempting to fetch AiCA-0.71.1.tar.gz from ftp://ftp.cz.NetBSD.org/pub/NetBSD/packages/distfiles/.
=> [488560 bytes]
AiCA-0.71.1.tar.gz: No such file or directory.
=> Attempting to fetch AiCA-0.71.1.tar.gz from http://mars.elcom.nitech.ac.jp/security/.
=> [488560 bytes]
=> Checksum OK for AiCA-0.71.1.tar.gz.
work -> /pkgbuild/security/AiCA/work
===> Extracting for AiCA-0.71.1
===> Patching for AiCA-0.71.1
===> Overriding tools for AiCA-0.71.1
===> Configuring for AiCA-0.71.1
creating cache ./config.cache
checking host system type... sparc-sun-solaris2
checking for gcc... cc
checking whether the C compiler (cc -O -Wl,-R/usr/pkg/lib -L/usr/pkg/lib) works... yes
checking whether the C compiler (cc -O -Wl,-R/usr/pkg/lib -L/usr/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C... no
checking whether cc accepts -g... yes
checking for ranlib... ranlib
checking for gethostbyname in -lnsl... yes
checking for socket in -lsocket... yes
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for termio.h... yes
checking for termios.h... yes
checking for sys/time.h... yes
checking for sys/times.h... yes
checking for sys/ioctl.h... yes
checking for netinet/in.h... yes
checking for netdb.h... yes
checking for sys/resource.h... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for 8-bit clean memcmp... yes
checking for localtime_r... yes
checking for getrusage... yes
updating cache ./config.cache
creating ./config.status
creating aicrypto/hmac/Makefile
creating aicrypto/rand/Makefile
creating aicrypto/des/Makefile
creating aicrypto/tool/Makefile
creating aicrypto/pem/Makefile
creating aicrypto/md2/Makefile
creating aicrypto/rsa/Makefile
creating aicrypto/ecc/Makefile
creating aicrypto/ecdsa/Makefile
creating aicrypto/md5/Makefile
creating aicrypto/rc2/Makefile
creating aicrypto/lnm/Makefile
creating aicrypto/sha1/Makefile
creating aicrypto/pkcs/Makefile
creating aicrypto/asn1/Makefile
creating aicrypto/x509/Makefile
creating aicrypto/smime/Makefile
creating aicrypto/ssl/Makefile
creating aicrypto/lib/Makefile
creating aicrypto/Makefile
creating ca/Makefile
creating apps/Makefile
creating Makefile
creating aiconfig.h
===> Building for AiCA-0.71.1
cp -f aiconfig.h aicrypto/aiconfig.h
cp -f ca/ca_err.c apps/
cp -f apps/req.c ca/
aicrypto
asn1
cc -O2 -I../include -I..   -c asn1.c
cc: Warning: option -2 passed to ld
"asn1.c", line 232: warning: argument #1 is incompatible with prototype:
	prototype: pointer to unsigned char : "asn1.c", line 57
	argument : pointer to char
"asn1.c", line 242: warning: return value type mismatch
"asn1.c", line 399: warning: statement not reached
cc -O2 -I../include -I..   -c asn1_print.c
cc: Warning: option -2 passed to ld
"asn1_print.c", line 311: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "/usr/include/iso/stdio_iso.h", line 183
	argument : pointer to unsigned char
"asn1_print.c", line 312: warning: argument #2 is incompatible with prototype:
	prototype: pointer to const char : "/usr/include/iso/string_iso.h", line 64
	argument : pointer to unsigned char
"asn1_print.c", line 330: warning: argument #2 is incompatible with prototype:
	prototype: pointer to char : "asn1_print.c", line 288
	argument : pointer to unsigned char
"asn1_print.c", line 332: warning: argument #2 is incompatible with prototype:
	prototype: pointer to char : "asn1_print.c", line 89
	argument : pointer to unsigned char
"asn1_print.c", line 393: warning: argument #5 is incompatible with prototype:
	prototype: pointer to function() returning pointer to char : "asn1_print.c", line 340
	argument : pointer to char
"asn1_print.c", line 401: warning: argument #5 is incompatible with prototype:
	prototype: pointer to function() returning pointer to char : "asn1_print.c", line 340
	argument : pointer to char
cc -O2 -I../include -I..   -c asn1_cert.c
cc: Warning: option -2 passed to ld
"asn1_cert.c", line 143: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "../include/ok_asn1.h", line 223
	argument : pointer to unsigned char
"asn1_cert.c", line 146: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "../include/ok_asn1.h", line 225
	argument : pointer to unsigned char
"asn1_cert.c", line 149: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "../include/ok_asn1.h", line 222
	argument : pointer to unsigned char
"asn1_cert.c", line 152: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "../include/ok_asn1.h", line 224
	argument : pointer to unsigned char
cc -O2 -I../include -I..   -c asn1_crl.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c asn1_obj.c
cc: Warning: option -2 passed to ld
"asn1_obj.c", line 282: warning: statement not reached
cc -O2 -I../include -I..   -c asn1_file.c
cc: Warning: option -2 passed to ld
"asn1_file.c", line 91: warning: return value type mismatch
cc -O2 -I../include -I..   -c asn1_rsa.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c asn1_set.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c asn1_req.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c asn1_p7sign.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c asn1_p7env.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c asn1_p12.c
cc: Warning: option -2 passed to ld
"asn1_p12.c", line 182: warning: argument #3 is incompatible with prototype:
	prototype: pointer to unsigned char : "../include/ok_asn1.h", line 294
	argument : pointer to char
"asn1_p12.c", line 224: warning: argument #3 is incompatible with prototype:
	prototype: pointer to unsigned char : "../include/ok_asn1.h", line 294
	argument : pointer to char
"asn1_p12.c", line 262: warning: argument #3 is incompatible with prototype:
	prototype: pointer to unsigned char : "../include/ok_asn1.h", line 294
	argument : pointer to char
"asn1_p12.c", line 289: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "../include/ok_asn1.h", line 226
	argument : pointer to unsigned char
cc -O2 -I../include -I..   -c asn1_ext.c
cc: Warning: option -2 passed to ld
"asn1_ext.c", line 69: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "asn1_ext.c", line 53
	argument : pointer to unsigned char
cp *.o ../lib/
des
cc -O2 -I../include -I..   -c des.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c des_mode.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c 3des.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c des_key.c
cc: Warning: option -2 passed to ld
cp *.o ../lib/
lnm
cc -O2 -I../include -I..   -c large_add.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c large_divmod.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c large_multi.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c large_sub.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c large_exp.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c large_ext.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c large_sqr.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c large_sqrt.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c large_prime.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c large_long.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c large_set.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c large_shift.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c large_sys.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c large_tool.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c large_rand.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c large_kara.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c large_karasqr.c
cc: Warning: option -2 passed to ld
cp *.o ../lib/
rand
cc -O2 -I../include -I..   -c rand.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c lutzrand.c
cc: Warning: option -2 passed to ld
"lutzrand.c", line 320: warning: newline not last character in file
cc -O2 -I../include -I..   -c lutzseed.c
cc: Warning: option -2 passed to ld
"lutzseed.c", line 65: warning: implicit function declaration: getpid
cp *.o ../lib/
ecc
cc -O2 -I../include -I..   -c ecc.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c ecc_gen.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c ecc_std.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c ecc_vfy.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c ecp_addsub.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c ecp_multi.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c ecp_paddsub.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c ecp_pmulti.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c ecp_conv.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c ecp_tool.c
cc: Warning: option -2 passed to ld
cp *.o ../lib/
ecdsa
cc -O2 -I../include -I..   -c ecdsa.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c ecdsa_key.c
cc: Warning: option -2 passed to ld
cp *.o ../lib/
md2
cc -O2 -I../include -I..   -c md2.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c md2c.c
cc: Warning: option -2 passed to ld
cp *.o ../lib/
md5
cc -O2 -I../include -I..   -c md5.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c md5c.c
cc: Warning: option -2 passed to ld
cp *.o ../lib/
sha1
cc -O2 -I../include -I..   -c sha1.c
cc: Warning: option -2 passed to ld
"sha1.c", line 67: warning: initializer does not fit or is out of range: 0xefcdab89
"sha1.c", line 67: warning: initializer does not fit or is out of range: 0x98badcfe
"sha1.c", line 67: warning: initializer does not fit or is out of range: 0xc3d2e1f0
cp *.o ../lib/
hmac
cc -O2 -I../include -I..   -c hmac.c
cc: Warning: option -2 passed to ld
cp *.o ../lib/
pem
cc -O2 -I../include -I..   -c base64.c
cc: Warning: option -2 passed to ld
"base64.c", line 122: warning: return value type mismatch
cc -O2 -I../include -I..   -c pem.c
cc: Warning: option -2 passed to ld
"pem.c", line 69: warning: return value type mismatch
"pem.c", line 95: warning: return value type mismatch
"pem.c", line 139: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "../include/ok_pem.h", line 82
	argument : pointer to unsigned char
"pem.c", line 181: warning: return value type mismatch
"pem.c", line 211: warning: assignment type mismatch:
	pointer to char "=" pointer to unsigned char
"pem.c", line 228: warning: return value type mismatch
"pem.c", line 245: warning: assignment type mismatch:
	pointer to unsigned char "=" pointer to char
cc -O2 -I../include -I..   -c pem_w.c
cc: Warning: option -2 passed to ld
"pem_w.c", line 195: warning: assignment type mismatch:
	pointer to unsigned char "=" pointer to char
"pem_w.c", line 198: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const char : "/usr/include/iso/stdio_iso.h", line 192
	argument : pointer to unsigned char
cc -O2 -I../include -I..   -c pem_cry.c
cc: Warning: option -2 passed to ld
"pem_cry.c", line 137: warning: argument #5 is incompatible with prototype:
	prototype: pointer to char : "pem_cry.c", line 67
	argument : pointer to unsigned char
"pem_cry.c", line 140: warning: argument #5 is incompatible with prototype:
	prototype: pointer to char : "pem_cry.c", line 91
	argument : pointer to unsigned char
"pem_cry.c", line 188: warning: argument #5 is incompatible with prototype:
	prototype: pointer to char : "pem_cry.c", line 67
	argument : pointer to unsigned char
"pem_cry.c", line 191: warning: argument #5 is incompatible with prototype:
	prototype: pointer to char : "pem_cry.c", line 91
	argument : pointer to unsigned char
cc -O2 -I../include -I..   -c pem_msg.c
cc: Warning: option -2 passed to ld
"pem_msg.c", line 70: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "../include/ok_pem.h", line 82
	argument : pointer to unsigned char
"pem_msg.c", line 93: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "../include/ok_pem.h", line 84
	argument : pointer to unsigned char
"pem_msg.c", line 97: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const char : "/usr/include/iso/stdio_iso.h", line 192
	argument : pointer to unsigned char
"pem_msg.c", line 179: warning: argument #1 is incompatible with prototype:
	prototype: pointer to unsigned char : "../include/ok_pem.h", line 77
	argument : pointer to char
"pem_msg.c", line 180: warning: assignment type mismatch:
	pointer to unsigned char "=" pointer to char
"pem_msg.c", line 182: warning: argument #2 is incompatible with prototype:
	prototype: pointer to unsigned char : "../include/ok_base64.h", line 55
	argument : pointer to char
"pem_msg.c", line 182: warning: assignment type mismatch:
	pointer to unsigned char "=" pointer to char
"pem_msg.c", line 189: warning: assignment type mismatch:
	pointer to unsigned char "=" pointer to char
"pem_msg.c", line 195: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "/usr/include/iso/string_iso.h", line 64
	argument : pointer to unsigned char
"pem_msg.c", line 197: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "/usr/include/iso/string_iso.h", line 64
	argument : pointer to unsigned char
"pem_msg.c", line 201: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "/usr/include/iso/string_iso.h", line 64
	argument : pointer to unsigned char
"pem_msg.c", line 204: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "/usr/include/iso/string_iso.h", line 64
	argument : pointer to unsigned char
"pem_msg.c", line 207: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "/usr/include/iso/string_iso.h", line 64
	argument : pointer to unsigned char
"pem_msg.c", line 217: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "/usr/include/iso/string_iso.h", line 64
	argument : pointer to unsigned char
"pem_msg.c", line 220: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "/usr/include/iso/string_iso.h", line 64
	argument : pointer to unsigned char
"pem_msg.c", line 222: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "/usr/include/iso/string_iso.h", line 64
	argument : pointer to unsigned char
"pem_msg.c", line 224: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "/usr/include/iso/string_iso.h", line 64
	argument : pointer to unsigned char
"pem_msg.c", line 224: warning: argument #2 is incompatible with prototype:
	prototype: pointer to const char : "/usr/include/iso/string_iso.h", line 64
	argument : pointer to unsigned char
"pem_msg.c", line 226: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "/usr/include/iso/string_iso.h", line 64
	argument : pointer to unsigned char
"pem_msg.c", line 227: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "/usr/include/iso/string_iso.h", line 64
	argument : pointer to unsigned char
"pem_msg.c", line 228: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "/usr/include/iso/string_iso.h", line 64
	argument : pointer to unsigned char
cc -O2 -I../include -I..   -c pem_pkcs.c
cc: Warning: option -2 passed to ld
"pem_pkcs.c", line 67: warning: return value type mismatch
"pem_pkcs.c", line 109: warning: return value type mismatch
"pem_pkcs.c", line 154: warning: return value type mismatch
cp *.o ../lib/
pkcs
cc -O2 -I../include -I..   -c pkcs12.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c p12_key.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c p12_file.c
cc: Warning: option -2 passed to ld
"p12_file.c", line 108: warning: argument #1 is incompatible with prototype:
	prototype: pointer to unsigned char : "../include/ok_tool.h", line 65
	argument : pointer to char
cc -O2 -I../include -I..   -c p12_asn1.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c p12_tool.c
cc: Warning: option -2 passed to ld
"p12_tool.c", line 93: warning: assignment type mismatch:
	pointer to char "=" pointer to unsigned char
"p12_tool.c", line 97: warning: argument #2 is incompatible with prototype:
	prototype: pointer to unsigned char : "../include/ok_tool.h", line 64
	argument : pointer to char
cc -O2 -I../include -I..   -c p12_mac.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c pkcs7.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c p7_file.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c p7_data.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c p7_enc.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c p7_env.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c p7_sign.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c p7m_asn1.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c p7s_asn1.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c p7s_attr.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c pbe.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c pbe_cry.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c pbe_key.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c dec_info.c
cc: Warning: option -2 passed to ld
"dec_info.c", line 92: warning: newline not last character in file
cc -O2 -I../include -I..   -c pkcs8.c
cc: Warning: option -2 passed to ld
"pkcs8.c", line 123: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const char : "/usr/include/iso/string_iso.h", line 70
	argument : pointer to unsigned char
"pkcs8.c", line 232: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const char : "/usr/include/iso/string_iso.h", line 70
	argument : pointer to unsigned char
cc -O2 -I../include -I..   -c p8_file.c
cc: Warning: option -2 passed to ld
cp *.o ../lib/
rc2
cc -O2 -I../include -I..   -c rc2.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c rc2mode.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c rc2key.c
cc: Warning: option -2 passed to ld
cp *.o ../lib/
rsa
cc -O2 -I../include -I..   -c rsa.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c rsa_key.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c rsa_asn1.c
cc: Warning: option -2 passed to ld
cp *.o ../lib/
x509
cc -O2 -I../include -I..   -c cert.c
cc: Warning: option -2 passed to ld
"cert.c", line 133: warning: newline not last character in file
cc -O2 -I../include -I..   -c cert_ext.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c cert_vfy.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c cert_print.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c cert_asn1.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c cert_tool.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c crl.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c crl_print.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c crl_vfy.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c crl_asn1.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c req_vfy.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c req_asn1.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c key.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c key_tool.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c cert_extns.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c cert_extstr.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c crl_ext.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c crl_extstr.c
cc: Warning: option -2 passed to ld
"crl_extstr.c", line 168: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "crl_extstr.c", line 54
	argument : pointer to unsigned char
cc -O2 -I../include -I..   -c x509_file.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c x509_time.c
cc: Warning: option -2 passed to ld
"x509_time.c", line 69: warning: implicit function declaration: localtime_r
"x509_time.c", line 76: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const char : "/usr/include/iso/stdlib_iso.h", line 94
	argument : pointer to unsigned char
"x509_time.c", line 79: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const char : "/usr/include/iso/stdlib_iso.h", line 94
	argument : pointer to unsigned char
"x509_time.c", line 88: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const char : "/usr/include/iso/stdlib_iso.h", line 94
	argument : pointer to unsigned char
"x509_time.c", line 91: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const char : "/usr/include/iso/stdlib_iso.h", line 94
	argument : pointer to unsigned char
"x509_time.c", line 94: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const char : "/usr/include/iso/stdlib_iso.h", line 94
	argument : pointer to unsigned char
"x509_time.c", line 97: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const char : "/usr/include/iso/stdlib_iso.h", line 94
	argument : pointer to unsigned char
"x509_time.c", line 103: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const char : "/usr/include/iso/stdlib_iso.h", line 94
	argument : pointer to unsigned char
"x509_time.c", line 141: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "/usr/include/iso/stdio_iso.h", line 183
	argument : pointer to unsigned char
"x509_time.c", line 146: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "/usr/include/iso/stdio_iso.h", line 183
	argument : pointer to unsigned char
"x509_time.c", line 148: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const char : "/usr/include/iso/string_iso.h", line 70
	argument : pointer to unsigned char
cc -O2 -I../include -I..   -c clist.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c clist_file.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c clist_tool.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c ext_gn.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c ext_pol.c
cc: Warning: option -2 passed to ld
"ext_pol.c", line 114: warning: assignment type mismatch:
	pointer to char "=" pointer to unsigned char
cp *.o ../lib/
tool
cc -O2 -I../include -I..   -c pass.c
cc: Warning: option -2 passed to ld
"pass.c", line 82: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "/usr/include/iso/string_iso.h", line 66
	argument : pointer to unsigned char
"pass.c", line 90: warning: implicit function declaration: ioctl
"pass.c", line 116: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "/usr/include/iso/string_iso.h", line 66
	argument : pointer to unsigned char
cc -O2 -I../include -I..   -c digest.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c signature.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c defalgo.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c error.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c io.c
cc: Warning: option -2 passed to ld
"io.c", line 73: warning: newline not last character in file
cp *.o ../lib/
smime
cc -O2 -I../include -I..   -c mime_head.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I..   -c smime_dec.c
cc: Warning: option -2 passed to ld
"smime_dec.c", line 119: warning: assignment type mismatch:
	pointer to char "=" pointer to unsigned char
"smime_dec.c", line 121: warning: assignment type mismatch:
	pointer to char "=" pointer to unsigned char
"smime_dec.c", line 167: warning: assignment type mismatch:
	pointer to char "=" pointer to unsigned char
"smime_dec.c", line 172: warning: return value type mismatch
cc -O2 -I../include -I..   -c smime_enc.c
cc: Warning: option -2 passed to ld
"smime_enc.c", line 83: warning: argument #2 is incompatible with prototype:
	prototype: pointer to unsigned char : "../include/ok_pkcs7.h", line 217
	argument : pointer to char
"smime_enc.c", line 95: warning: assignment type mismatch:
	pointer to unsigned char "=" pointer to char
"smime_enc.c", line 98: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const char : "/usr/include/iso/string_iso.h", line 70
	argument : pointer to unsigned char
"smime_enc.c", line 110: warning: argument #2 is incompatible with prototype:
	prototype: pointer to char : "smime_enc.c", line 65
	argument : pointer to unsigned char
"smime_enc.c", line 187: warning: argument #2 is incompatible with prototype:
	prototype: pointer to unsigned char : "../include/ok_pkcs7.h", line 217
	argument : pointer to char
"smime_enc.c", line 192: warning: assignment type mismatch:
	pointer to unsigned char "=" pointer to char
"smime_enc.c", line 195: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const char : "/usr/include/iso/string_iso.h", line 70
	argument : pointer to unsigned char
"smime_enc.c", line 224: warning: argument #2 is incompatible with prototype:
	prototype: pointer to unsigned char : "../include/ok_pkcs7.h", line 227
	argument : pointer to char
"smime_enc.c", line 229: warning: assignment type mismatch:
	pointer to unsigned char "=" pointer to char
"smime_enc.c", line 232: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const char : "/usr/include/iso/string_iso.h", line 70
	argument : pointer to unsigned char
cp *.o ../lib/
lib
ar r libaicrypto.a *.o
ar: creating libaicrypto.a
ranlib libaicrypto.a
ssl
cc -O2 -I../include -I.. -DPREFIX=\"/usr/pkg\"   -c ssl.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I.. -DPREFIX=\"/usr/pkg\"   -c ssl_alert.c
cc: Warning: option -2 passed to ld
"ssl_alert.c", line 135: warning: argument #3 is incompatible with prototype:
	prototype: pointer to char : "../include/ok_ssl.h", line 543
	argument : pointer to unsigned char
cc -O2 -I../include -I.. -DPREFIX=\"/usr/pkg\"   -c ssl_bind.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I.. -DPREFIX=\"/usr/pkg\"   -c ssl_cs.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I.. -DPREFIX=\"/usr/pkg\"   -c ssl_hello.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I.. -DPREFIX=\"/usr/pkg\"   -c ssl_hs.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I.. -DPREFIX=\"/usr/pkg\"   -c ssl_hsclnt.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I.. -DPREFIX=\"/usr/pkg\"   -c ssl_hskey.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I.. -DPREFIX=\"/usr/pkg\"   -c ssl_hsserv.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I.. -DPREFIX=\"/usr/pkg\"   -c ssl_name.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I.. -DPREFIX=\"/usr/pkg\"   -c ssl_rand.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I.. -DPREFIX=\"/usr/pkg\"   -c ssl_read.c
cc: Warning: option -2 passed to ld
"ssl_read.c", line 84: warning: argument #2 is incompatible with prototype:
	prototype: pointer to char : "unknown", line 0
	argument : pointer to unsigned char
"ssl_read.c", line 91: warning: implicit function declaration: read
cc -O2 -I../include -I.. -DPREFIX=\"/usr/pkg\"   -c ssl_rec.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I.. -DPREFIX=\"/usr/pkg\"   -c ssl_recproc.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I.. -DPREFIX=\"/usr/pkg\"   -c ssl_sock.c
cc: Warning: option -2 passed to ld
"ssl_sock.c", line 107: warning: implicit function declaration: sleep
"ssl_sock.c", line 125: warning: implicit function declaration: close
cc -O2 -I../include -I.. -DPREFIX=\"/usr/pkg\"   -c ssl_tool.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I.. -DPREFIX=\"/usr/pkg\"   -c ssl_write.c
cc: Warning: option -2 passed to ld
"ssl_write.c", line 98: warning: argument #2 is incompatible with prototype:
	prototype: pointer to char : "unknown", line 0
	argument : pointer to unsigned char
"ssl_write.c", line 107: warning: implicit function declaration: write
"ssl_write.c", line 197: warning: argument #2 is incompatible with prototype:
	prototype: pointer to char : "unknown", line 0
	argument : pointer to unsigned char
cc -O2 -I../include -I.. -DPREFIX=\"/usr/pkg\"   -c ssl_list.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I.. -DPREFIX=\"/usr/pkg\"   -c ssl_vfy.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I.. -DPREFIX=\"/usr/pkg\"   -c ssl_cb.c
cc: Warning: option -2 passed to ld
cc -O2 -I../include -I.. -DPREFIX=\"/usr/pkg\"   -c ssl_opssl.c
cc: Warning: option -2 passed to ld
ar r libaissl.a *.o
ar: creating libaissl.a
ranlib libaissl.a
cp aicrypto/lib/libaicrypto.a lib/
cp aicrypto/ssl/libaissl.a lib/
apps
cc -O2 -I../ca -I../aicrypto/include -I../aicrypto -DAICONFIG=\"/usr/pkg/lib/aica.cnf\" -DPREFIX=\"/usr/pkg\"   -c asn1view.c
cc: Warning: option -2 passed to ld
"asn1view.c", line 43: warning: implicit function declaration: exit
"asn1view.c", line 48: warning: implicit function declaration: free
"asn1view.c", line 78: warning: implicit function declaration: print_pkcs12
cc -O2 -I../ca -I../aicrypto/include -I../aicrypto -DAICONFIG=\"/usr/pkg/lib/aica.cnf\" -DPREFIX=\"/usr/pkg\"   -c p12.c
cc: Warning: option -2 passed to ld
"p12.c", line 77: warning: implicit function declaration: free
cc -O2 -I../ca -I../aicrypto/include -I../aicrypto -DAICONFIG=\"/usr/pkg/lib/aica.cnf\" -DPREFIX=\"/usr/pkg\"   -c certvfy.c
cc: Warning: option -2 passed to ld
cc -O2 -I../ca -I../aicrypto/include -I../aicrypto -DAICONFIG=\"/usr/pkg/lib/aica.cnf\" -DPREFIX=\"/usr/pkg\"   -c certview.c
cc: Warning: option -2 passed to ld
cc -O2 -I../ca -I../aicrypto/include -I../aicrypto -DAICONFIG=\"/usr/pkg/lib/aica.cnf\" -DPREFIX=\"/usr/pkg\"   -c certconv.c
cc: Warning: option -2 passed to ld
"certconv.c", line 60: warning: implicit function declaration: exit
"certconv.c", line 126: warning: implicit function declaration: atoi
"certconv.c", line 129: warning: implicit function declaration: OK_set_pem_cry_algo
cc -O2 -I../ca -I../aicrypto/include -I../aicrypto -DAICONFIG=\"/usr/pkg/lib/aica.cnf\" -DPREFIX=\"/usr/pkg\"   -c certreq.c
cc: Warning: option -2 passed to ld
"certreq.c", line 80: warning: implicit function declaration: req_config
"certreq.c", line 107: warning: implicit function declaration: CA_get_errstr
"certreq.c", line 132: warning: implicit function declaration: OK_set_pem_cry_algo
cc -O2 -I../ca -I../aicrypto/include -I../aicrypto -DAICONFIG=\"/usr/pkg/lib/aica.cnf\" -DPREFIX=\"/usr/pkg\"   -c req.c
cc: Warning: option -2 passed to ld
"req.c", line 104: warning: assignment type mismatch:
	pointer to char "=" pointer to unsigned char
cc -O2 -I../ca -I../aicrypto/include -I../aicrypto -DAICONFIG=\"/usr/pkg/lib/aica.cnf\" -DPREFIX=\"/usr/pkg\"   -c ca_err.c
cc: Warning: option -2 passed to ld
cc asn1view.o p12.o -O2 -L../lib -laicrypto -o asn1view
cc: Warning: option -2 passed to ld
/usr/ccs/bin/ld: illegal option -- 2
usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?] file(s)
	[-64]		enforce a 64-bit link-edit
	[-a]		create an absolute file
	[-b]		do not do special PIC relocations in a.out
	[-B direct]	specify `direct' bindings for executable when run
	[-B dynamic | static]
			search for shared libraries|archives
	[-B eliminate]	eliminate unqualified global symbols from the
			symbol table
	[-B group]	relocate object from within group
	[-B local]	reduce unqualified global symbols to local
	[-B reduce]	process symbol reductions
	[-B symbolic]	bind external references to definitions when creating
			shared objects
	[-c name]	record configuration file `name'
	[-C]		demangle C++ symbol name diagnostics
	[-d y | n]	operate in dynamic|static mode
	[-D token,...]	print diagnostic messages
	[-e epsym]	use `epsym' as entry point address
	[-f name]	specify library for which this file is an auxiliary
			filter
	[-F name]	specify library for which this file is a filter
	[-G]		create a shared object
	[-h name]	use `name' as internal shared object identifier
	[-i]		ignore LD_LIBRARY_PATH setting
	[-I name]	use `name' as path of interpreter
	[-l x]		search for libx.so or libx.a
	[-L path]	search for libraries in directory `path'
	[-m]		print memory map
	[-M mapfile]	use processing directives contained in `mapfile'
	[-N string]	create a dynamic dependency for `string'
	[-o outfile]	name the output file `outfile'
	[-p auditlib]	identify audit library to accompany this object
	[-P auditlib]	identify audit library for processing the dependencies
			of this object
	[-Q y | n]	do|do not place version information in output file
	[-r]		create a relocatable object
	[-R path]	specify a library search path to be used at run time
	[-s]		strip any symbol and debugging information
	[-S supportlib]
			specify a link-edit support library
	[-t]		do not warn of multiply-defined symbols that have
			different sizes or alignments
	[-u symname]	create an undefined symbol `symname'
	[-V]		print version information
	[-Y P,dirlist]	use `dirlist' as a default path when searching for
			libraries
	[-z absexec]	when building an executable absolute symbols
 			referenced in dynamic objects are promoted to
 			the executable
	[-z allextract | defaultextract | weakextract]
			extract all member files, only members that resolve
			undefined tor tentative symbols, or allow extraction of
			archive members to resolvetweak references from 
			archive files
	[-z combreloc]	combine multiple relocation sections
	[-z nocompstrtab]	disable compression of string tables
	[-z defs]	disallow undefined symbol references
	[-z endfiltee]	marks a filtee such that it will terminate a filters
			search
	[-z finiarray=function]
			name of function to be appended to the .finiarray
	[-z groupperm | nogroupperm]
			enable|disable setting of group permissions
			on dynamic dependencies
	[-z ignore | record]
			ignore|record unused dynamic dependencies
	[-z initarray=function]
			name of function to be appended to the .initarray
	[-z initfirst]	mark object to indicate that its .init section should
			be executed before the .init section of any other
			objects
	[-z interpose]	dynamic object is to be an `interposer' on direct
			bindings
	[-z lazyload | nolazyload]
			enable|disable delayed loading of shared objects
	[-z ld32=arg1,arg2,...]
			define arguments applicable to the 32-bit class of ld(1)
	[-z ld64=arg1,arg2,...]
			define arguments applicable to the 64-bit class of ld(1)
	[-z loadfltr]	mark filter as requiring immediate loading of its
			filtees at runtime
	[-z muldefs]	allow multiply-defined symbols
	[-z nodefs]	allow undefined symbol references
	[-z nodefaultlib]
			mark object to ignore any default library search path
	[-z nodelete]	mark object as non-deletable
	[-z nodlopen]	mark object as non-dlopen()'able
	[-z nodump]	mark object as non-dldump()'able
	[-z nopartial]	expand any partially initialized symbols
	[-z noversion]	don't record any version sections
	[-z now]	mark object as requiring non-lazy binding
	[-z origin]	mark object as requiring $ORIGIN processing
	[-z preinitarray=function]
			name of function to be appended to the .preinitarray
	[-z redlocsym]	reduce local syms in .symtab to a minimum
	[-z rescan]	rescan archive list until no further member
			extraction occurs
	[-z text]	disallow output relocations against text
	[-z textoff]	allow output relocations against text
	[-z textwarn]	warn if there are relocations against text
	[-z verbose]	generate warnings for suspicious processings
*** Error code 1

Stop.
bmake: stopped in /pkgbuild/security/AiCA/work/AiCA-0.71.1/apps
*** Error code 1

Stop.
bmake: stopped in /pkgbuild/security/AiCA/work/AiCA-0.71.1
*** Error code 1

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

Stop.
bmake: stopped in /usr/pkgsrc/security/AiCA
BULK> AiCA-0.71.1 was marked as broken:
-rw-r--r--   1 root     other      37766 Jul 10 19:48 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for AiCA
BULK> Marking all packages which depend upon AiCA-0.71.1 as broken:
BULK> Build for AiCA-0.71.1 was not successful, aborting.