=> Bootstrap dependency digest>=20010302: found digest-20080510
===> 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 ap22-suphp-0.7.1
Making all in src
/usr/bin/make  all-recursive
Making all in apache2
/bin/sh ../../libtool --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src   -DNETBSD -I/usr/pkg/include -I/usr/pkg/include/apr-1 -I/usr/include -I/usr/pkg/include/httpd -I/usr/pkg/include/apr-1 -pthread  -DSUPHP_PATH_TO_SUPHP=\"/usr/pkg/sbin/suphp\" -DSUPHP_USE_USERGROUP -O2 -I/usr/pkg/include -I/usr/pkg/include/apr-1 -I/usr/include -MT mod_suphp.lo -MD -MP -MF .deps/mod_suphp.Tpo -c -o mod_suphp.lo mod_suphp.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I../../src -DNETBSD -I/usr/pkg/include -I/usr/pkg/include/apr-1 -I/usr/include -I/usr/pkg/include/httpd -I/usr/pkg/include/apr-1 -pthread -DSUPHP_PATH_TO_SUPHP=\"/usr/pkg/sbin/suphp\" -DSUPHP_USE_USERGROUP -O2 -I/usr/pkg/include -I/usr/pkg/include/apr-1 -I/usr/include -MT mod_suphp.lo -MD -MP -MF .deps/mod_suphp.Tpo -c mod_suphp.c  -fPIC -DPIC -o .libs/mod_suphp.o
mod_suphp.c:85:32: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types
        if (apr_bucket_read(b, &buf, &size, APR_BLOCK_READ) == APR_SUCCESS) {
            ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/www/ap2-suphp/work/.buildlink/include/apr-1/apr_buckets.h:1007:61: note: expanded from:
#define apr_bucket_read(e,str,len,block) (e)->type->read(e, str, len, block)
                                                            ^
mod_suphp.c:1071:13: warning: implicit declaration of function 'ap_internal_redirect_handler' is invalid in C99 [-Wimplicit-function-declaration]
            ap_internal_redirect_handler(location, r);
            ^
2 warnings generated.
 gcc -DHAVE_CONFIG_H -I. -I../../src -DNETBSD -I/usr/pkg/include -I/usr/pkg/include/apr-1 -I/usr/include -I/usr/pkg/include/httpd -I/usr/pkg/include/apr-1 -pthread -DSUPHP_PATH_TO_SUPHP=\"/usr/pkg/sbin/suphp\" -DSUPHP_USE_USERGROUP -O2 -I/usr/pkg/include -I/usr/pkg/include/apr-1 -I/usr/include -MT mod_suphp.lo -MD -MP -MF .deps/mod_suphp.Tpo -c mod_suphp.c -o mod_suphp.o >/dev/null 2>&1
mv -f .deps/mod_suphp.Tpo .deps/mod_suphp.Plo
/bin/sh ../../libtool --tag=CC    --mode=link gcc -I/usr/pkg/include/httpd -I/usr/pkg/include/apr-1 -pthread  -DSUPHP_PATH_TO_SUPHP=\"/usr/pkg/sbin/suphp\" -DSUPHP_USE_USERGROUP -O2 -I/usr/pkg/include -I/usr/pkg/include/apr-1 -I/usr/include  -module -rpath '/usr/pkg/lib/httpd' -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -L/usr/lib -Wl,-rpath,/usr/lib -o mod_suphp.la  mod_suphp.lo  
gcc -shared  .libs/mod_suphp.o  -L/usr/pkg/lib -L/usr/lib  -pthread -Wl,-rpath -Wl,/usr/pkg/lib -Wl,-rpath -Wl,/usr/lib -Wl,-soname -Wl,mod_suphp.so.0 -o .libs/mod_suphp.so.0.0
(cd .libs && rm -f mod_suphp.so.0 && ln -s mod_suphp.so.0.0 mod_suphp.so.0)
(cd .libs && rm -f mod_suphp.so && ln -s mod_suphp.so.0.0 mod_suphp.so)
ar cru .libs/mod_suphp.a  mod_suphp.o
ranlib .libs/mod_suphp.a
creating mod_suphp.la
(cd .libs && rm -f mod_suphp.la && ln -s ../mod_suphp.la mod_suphp.la)
c++ -DHAVE_CONFIG_H -I.    -I/usr/pkg/include -I/usr/pkg/include/apr-1 -I/usr/include -DOPT_CONFIGFILE=\"/usr/pkg/etc/suphp.conf\" -O2 -I/usr/pkg/include -I/usr/pkg/include/apr-1 -I/usr/include -MT API.o -MD -MP -MF .deps/API.Tpo -c -o API.o API.cpp
In file included from API.cpp:21:
In file included from ./API.hpp:34:
In file included from ./File.hpp:47:
./SmartPtr.hpp:153:14: error: member reference base type 'SmartPtr<T> *' is not a structure or union
        this.reset(ref.ptr);
        ~~~~ ^
1 error generated.
*** Error code 1

Stop.
make: stopped in /scratch/www/ap2-suphp/work/suphp-0.7.1/src
*** Error code 1

Stop.
make: stopped in /scratch/www/ap2-suphp/work/suphp-0.7.1/src
*** Error code 1

Stop.
make: stopped in /scratch/www/ap2-suphp/work/suphp-0.7.1/src
*** Error code 1

Stop.
make: stopped in /scratch/www/ap2-suphp/work/suphp-0.7.1
*** Error code 1

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

Stop.
make: stopped in /bulk-data/pkgsrc/www/ap2-suphp
