=> Bootstrap dependency digest>=20010302: found digest-20121220
WARNING: [license.mk] Every package should define a LICENSE.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for ap13-ssl-2.8.31nb4
--- all ---
--- mod_ssl.lo ---
--- 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_config.c && mv ssl_engine_config.o ssl_engine_config.lo
--- 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\" mod_ssl.c && mv mod_ssl.o mod_ssl.lo
--- 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_compat.c && mv ssl_engine_compat.o ssl_engine_compat.lo
--- 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_ds.c && mv ssl_engine_ds.o ssl_engine_ds.lo
--- 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_dh.c && mv ssl_engine_dh.o ssl_engine_dh.lo
--- ssl_engine_init.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_kernel.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_kernel.c && mv ssl_engine_kernel.o ssl_engine_kernel.lo
ssl_engine_kernel.c:760:21: warning: assigning to 'SSL_CIPHER *' (aka 'struct ssl_cipher_st *') from 'const SSL_CIPHER *' (aka 'const struct ssl_cipher_st *') discards qualifiers [-Wincompatible-pointer-types]
            pCipher = SSL_get_current_cipher(ssl);
                    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
ssl_engine_kernel.c:979:27: warning: incompatible pointer types assigning to 'struct stack_st_X509 *' from '_STACK *' (aka 'struct stack_st *') [-Wincompatible-pointer-types]
                certstack = sk_new_null();
                          ^ ~~~~~~~~~~~~~
ssl_engine_kernel.c:1075:21: warning: assigning to 'SSL_CIPHER *' (aka 'struct ssl_cipher_st *') from 'const SSL_CIPHER *' (aka 'const struct ssl_cipher_st *') discards qualifiers [-Wincompatible-pointer-types]
            pCipher = SSL_get_current_cipher(ssl);
                    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- ssl_engine_init.lo ---
ssl_engine_init.c:1011:16: warning: pointer type mismatch ('int (*)(X509_NAME **, X509_NAME **)' and 'int (*)(const X509_NAME *const *, const X509_NAME *const *)') [-Wpointer-type-mismatch]
    skCAList = sk_X509_NAME_new(ssl_init_FindCAList_X509NameCmp);
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- ssl_engine_kernel.lo ---
3 warnings generated.
--- ssl_engine_init.lo ---
/usr/include/openssl/safestack.h:1880:31: note: expanded from macro 'sk_X509_NAME_new'
#define sk_X509_NAME_new(cmp) SKM_sk_new(X509_NAME, (cmp))
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/safestack.h:137:28: note: expanded from macro 'SKM_sk_new'
        ((STACK_OF(type) *)sk_new(CHECKED_SK_CMP_FUNC(type, cmp)))
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/safestack.h:81:6: note: expanded from macro 'CHECKED_SK_CMP_FUNC'
        ((1 ? p : (int (*)(const type * const *, const type * const *))0)))
            ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
--- 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_rand.c && mv ssl_engine_rand.o ssl_engine_rand.lo
--- 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_io.c && mv ssl_engine_io.o ssl_engine_io.lo
--- 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_log.c && mv ssl_engine_log.o ssl_engine_log.lo
--- 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_mutex.c && mv ssl_engine_mutex.o ssl_engine_mutex.lo
--- 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_pphrase.c && mv ssl_engine_pphrase.o ssl_engine_pphrase.lo
--- ssl_engine_vars.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_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_engine_ext.c && mv ssl_engine_ext.o ssl_engine_ext.lo
--- ssl_engine_vars.lo ---
ssl_engine_vars.c:598:21: warning: assigning to 'SSL_CIPHER *' (aka 'struct ssl_cipher_st *') from 'const SSL_CIPHER *' (aka 'const struct ssl_cipher_st *') discards qualifiers [-Wincompatible-pointer-types]
        if ((cipher = SSL_get_current_cipher(ssl)) != NULL)
                    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
--- 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.c && mv ssl_scache.o ssl_scache.lo
--- 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_dbm.c && mv ssl_scache_dbm.o ssl_scache_dbm.lo
--- 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_shmht.c && mv ssl_scache_shmht.o ssl_scache_shmht.lo
--- 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_scache_shmcb.c && mv ssl_scache_shmcb.o ssl_scache_shmcb.lo
--- 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.c && mv ssl_expr.o ssl_expr.lo
--- 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_parse.c && mv ssl_expr_parse.o ssl_expr_parse.lo
--- 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_expr_eval.c && mv ssl_expr_eval.o ssl_expr_eval.lo
--- 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.c && mv ssl_util.o ssl_util.lo
--- ssl_util_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_util_ssl.c && mv ssl_util_ssl.o ssl_util_ssl.lo
--- ssl_util_sdbm.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_sdbm.c && mv ssl_util_sdbm.o ssl_util_sdbm.lo
--- ssl_util_ssl.lo ---
ssl_util_ssl.c:327:5: error: unknown type name 'STACK'; did you mean '_STACK'?
    STACK *sk;
    ^~~~~
    _STACK
/usr/include/openssl/stack.h:74:4: note: '_STACK' declared here
        } _STACK;  /* Use STACK_OF(...) instead */
          ^
ssl_util_ssl.c:336:20: error: use of undeclared identifier 'STACK'; did you mean '_STACK'?
        if ((sk = (STACK *)X509V3_EXT_d2i(ext)) != NULL) {
                   ^
ssl_util_ssl.c:336:27: error: expected expression
        if ((sk = (STACK *)X509V3_EXT_d2i(ext)) != NULL) {
                          ^
3 errors generated.
*** [ssl_util_ssl.lo] Error code 1

make: stopped in /scratch/www/ap-ssl/work/mod_ssl-2.8.31-1.3.41/pkg.sslmod
1 error

make: stopped in /scratch/www/ap-ssl/work/mod_ssl-2.8.31-1.3.41/pkg.sslmod
*** [all] Error code 2 (ignored)
A failure has been detected in another branch of the parallel make

make: stopped in /scratch/www/ap-ssl/work/mod_ssl-2.8.31-1.3.41
*** Error code 2

Stop.
make: stopped in /bulk-data/pkgsrc/www/ap-ssl
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/www/ap-ssl
