=> Bootstrap dependency digest>=20010302: found digest-20111104
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for ap13-ssl-2.8.31nb3
gcc -c  -I/usr/pkg/include/httpd -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNETBSD  -DEAPI -DEAPI_MM -O2 -I/usr/include -I/usr/pkg/include -fPIC -DPIC -DSHARED_MODULE -I/usr/include -DMOD_SSL_VERSION=\"2.8.31\" mod_ssl.c && mv mod_ssl.o mod_ssl.lo
gcc -c  -I/usr/pkg/include/httpd -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNETBSD  -DEAPI -DEAPI_MM -O2 -I/usr/include -I/usr/pkg/include -fPIC -DPIC -DSHARED_MODULE -I/usr/include -DMOD_SSL_VERSION=\"2.8.31\" ssl_engine_config.c && mv ssl_engine_config.o ssl_engine_config.lo
gcc -c  -I/usr/pkg/include/httpd -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNETBSD  -DEAPI -DEAPI_MM -O2 -I/usr/include -I/usr/pkg/include -fPIC -DPIC -DSHARED_MODULE -I/usr/include -DMOD_SSL_VERSION=\"2.8.31\" ssl_engine_compat.c && mv ssl_engine_compat.o ssl_engine_compat.lo
gcc -c  -I/usr/pkg/include/httpd -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNETBSD  -DEAPI -DEAPI_MM -O2 -I/usr/include -I/usr/pkg/include -fPIC -DPIC -DSHARED_MODULE -I/usr/include -DMOD_SSL_VERSION=\"2.8.31\" ssl_engine_ds.c && mv ssl_engine_ds.o ssl_engine_ds.lo
gcc -c  -I/usr/pkg/include/httpd -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNETBSD  -DEAPI -DEAPI_MM -O2 -I/usr/include -I/usr/pkg/include -fPIC -DPIC -DSHARED_MODULE -I/usr/include -DMOD_SSL_VERSION=\"2.8.31\" ssl_engine_dh.c && mv ssl_engine_dh.o ssl_engine_dh.lo
gcc -c  -I/usr/pkg/include/httpd -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNETBSD  -DEAPI -DEAPI_MM -O2 -I/usr/include -I/usr/pkg/include -fPIC -DPIC -DSHARED_MODULE -I/usr/include -DMOD_SSL_VERSION=\"2.8.31\" ssl_engine_init.c && mv ssl_engine_init.o ssl_engine_init.lo
ssl_engine_init.c: In function 'ssl_init_FindCAList':
ssl_engine_init.c:1011:16: warning: pointer type mismatch in conditional expression
gcc -c  -I/usr/pkg/include/httpd -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNETBSD  -DEAPI -DEAPI_MM -O2 -I/usr/include -I/usr/pkg/include -fPIC -DPIC -DSHARED_MODULE -I/usr/include -DMOD_SSL_VERSION=\"2.8.31\" ssl_engine_kernel.c && mv ssl_engine_kernel.o ssl_engine_kernel.lo
ssl_engine_kernel.c: In function 'ssl_hook_Access':
ssl_engine_kernel.c:760:21: warning: assignment discards qualifiers from pointer target type
ssl_engine_kernel.c:979:27: warning: assignment from incompatible pointer type
ssl_engine_kernel.c:1075:21: warning: assignment discards qualifiers from pointer target type
gcc -c  -I/usr/pkg/include/httpd -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNETBSD  -DEAPI -DEAPI_MM -O2 -I/usr/include -I/usr/pkg/include -fPIC -DPIC -DSHARED_MODULE -I/usr/include -DMOD_SSL_VERSION=\"2.8.31\" ssl_engine_rand.c && mv ssl_engine_rand.o ssl_engine_rand.lo
gcc -c  -I/usr/pkg/include/httpd -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNETBSD  -DEAPI -DEAPI_MM -O2 -I/usr/include -I/usr/pkg/include -fPIC -DPIC -DSHARED_MODULE -I/usr/include -DMOD_SSL_VERSION=\"2.8.31\" ssl_engine_io.c && mv ssl_engine_io.o ssl_engine_io.lo
gcc -c  -I/usr/pkg/include/httpd -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNETBSD  -DEAPI -DEAPI_MM -O2 -I/usr/include -I/usr/pkg/include -fPIC -DPIC -DSHARED_MODULE -I/usr/include -DMOD_SSL_VERSION=\"2.8.31\" ssl_engine_log.c && mv ssl_engine_log.o ssl_engine_log.lo
gcc -c  -I/usr/pkg/include/httpd -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNETBSD  -DEAPI -DEAPI_MM -O2 -I/usr/include -I/usr/pkg/include -fPIC -DPIC -DSHARED_MODULE -I/usr/include -DMOD_SSL_VERSION=\"2.8.31\" ssl_engine_mutex.c && mv ssl_engine_mutex.o ssl_engine_mutex.lo
gcc -c  -I/usr/pkg/include/httpd -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNETBSD  -DEAPI -DEAPI_MM -O2 -I/usr/include -I/usr/pkg/include -fPIC -DPIC -DSHARED_MODULE -I/usr/include -DMOD_SSL_VERSION=\"2.8.31\" ssl_engine_pphrase.c && mv ssl_engine_pphrase.o ssl_engine_pphrase.lo
gcc -c  -I/usr/pkg/include/httpd -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNETBSD  -DEAPI -DEAPI_MM -O2 -I/usr/include -I/usr/pkg/include -fPIC -DPIC -DSHARED_MODULE -I/usr/include -DMOD_SSL_VERSION=\"2.8.31\" ssl_engine_vars.c && mv ssl_engine_vars.o ssl_engine_vars.lo
ssl_engine_vars.c: In function 'ssl_var_lookup_ssl_cipher_bits':
ssl_engine_vars.c:598:21: warning: assignment discards qualifiers from pointer target type
gcc -c  -I/usr/pkg/include/httpd -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNETBSD  -DEAPI -DEAPI_MM -O2 -I/usr/include -I/usr/pkg/include -fPIC -DPIC -DSHARED_MODULE -I/usr/include -DMOD_SSL_VERSION=\"2.8.31\" ssl_engine_ext.c && mv ssl_engine_ext.o ssl_engine_ext.lo
gcc -c  -I/usr/pkg/include/httpd -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNETBSD  -DEAPI -DEAPI_MM -O2 -I/usr/include -I/usr/pkg/include -fPIC -DPIC -DSHARED_MODULE -I/usr/include -DMOD_SSL_VERSION=\"2.8.31\" ssl_scache.c && mv ssl_scache.o ssl_scache.lo
gcc -c  -I/usr/pkg/include/httpd -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNETBSD  -DEAPI -DEAPI_MM -O2 -I/usr/include -I/usr/pkg/include -fPIC -DPIC -DSHARED_MODULE -I/usr/include -DMOD_SSL_VERSION=\"2.8.31\" ssl_scache_dbm.c && mv ssl_scache_dbm.o ssl_scache_dbm.lo
gcc -c  -I/usr/pkg/include/httpd -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNETBSD  -DEAPI -DEAPI_MM -O2 -I/usr/include -I/usr/pkg/include -fPIC -DPIC -DSHARED_MODULE -I/usr/include -DMOD_SSL_VERSION=\"2.8.31\" ssl_scache_shmht.c && mv ssl_scache_shmht.o ssl_scache_shmht.lo
gcc -c  -I/usr/pkg/include/httpd -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNETBSD  -DEAPI -DEAPI_MM -O2 -I/usr/include -I/usr/pkg/include -fPIC -DPIC -DSHARED_MODULE -I/usr/include -DMOD_SSL_VERSION=\"2.8.31\" ssl_scache_shmcb.c && mv ssl_scache_shmcb.o ssl_scache_shmcb.lo
gcc -c  -I/usr/pkg/include/httpd -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNETBSD  -DEAPI -DEAPI_MM -O2 -I/usr/include -I/usr/pkg/include -fPIC -DPIC -DSHARED_MODULE -I/usr/include -DMOD_SSL_VERSION=\"2.8.31\" ssl_expr.c && mv ssl_expr.o ssl_expr.lo
gcc -c  -I/usr/pkg/include/httpd -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNETBSD  -DEAPI -DEAPI_MM -O2 -I/usr/include -I/usr/pkg/include -fPIC -DPIC -DSHARED_MODULE -I/usr/include -DMOD_SSL_VERSION=\"2.8.31\" ssl_expr_scan.c && mv ssl_expr_scan.o ssl_expr_scan.lo
gcc -c  -I/usr/pkg/include/httpd -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNETBSD  -DEAPI -DEAPI_MM -O2 -I/usr/include -I/usr/pkg/include -fPIC -DPIC -DSHARED_MODULE -I/usr/include -DMOD_SSL_VERSION=\"2.8.31\" ssl_expr_parse.c && mv ssl_expr_parse.o ssl_expr_parse.lo
gcc -c  -I/usr/pkg/include/httpd -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNETBSD  -DEAPI -DEAPI_MM -O2 -I/usr/include -I/usr/pkg/include -fPIC -DPIC -DSHARED_MODULE -I/usr/include -DMOD_SSL_VERSION=\"2.8.31\" ssl_expr_eval.c && mv ssl_expr_eval.o ssl_expr_eval.lo
gcc -c  -I/usr/pkg/include/httpd -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNETBSD  -DEAPI -DEAPI_MM -O2 -I/usr/include -I/usr/pkg/include -fPIC -DPIC -DSHARED_MODULE -I/usr/include -DMOD_SSL_VERSION=\"2.8.31\" ssl_util.c && mv ssl_util.o ssl_util.lo
gcc -c  -I/usr/pkg/include/httpd -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNETBSD  -DEAPI -DEAPI_MM -O2 -I/usr/include -I/usr/pkg/include -fPIC -DPIC -DSHARED_MODULE -I/usr/include -DMOD_SSL_VERSION=\"2.8.31\" ssl_util_ssl.c && mv ssl_util_ssl.o ssl_util_ssl.lo
ssl_util_ssl.c: In function 'SSL_X509_isSGC':
ssl_util_ssl.c:327:5: error: 'STACK' undeclared (first use in this function)
ssl_util_ssl.c:327:5: note: each undeclared identifier is reported only once for each function it appears in
ssl_util_ssl.c:327:12: error: 'sk' undeclared (first use in this function)
ssl_util_ssl.c:336:27: error: expected expression before ')' token
*** Error code 1

Stop.
make: stopped in /scratch/www/ap-ssl/work/mod_ssl-2.8.31-1.3.41/pkg.sslmod
*** Error code 1 (ignored)
=> Unwrapping files-to-be-installed.