=> Bootstrap dependency digest>=20010302: found digest-20160304
===> 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'.
=> Checksum SHA1 OK for libapreq2-2.13.tar.gz
=> Checksum RMD160 OK for libapreq2-2.13.tar.gz
=> Checksum SHA512 OK for libapreq2-2.13.tar.gz
===> Installing dependencies for p5-ap22-libapreq2-2.13nb1
==========================================================================
The following variables will affect the build process of this package,
p5-ap22-libapreq2-2.13nb1.  Their current value is shown below:

        * PKG_APACHE_DEFAULT = apache24

Based on these variables, the following variables have been set:

        * APACHE_PKG_PREFIX = ap22
        * PKG_APACHE = apache22

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6
=> Tool dependency gmake>=3.81: found gmake-4.1nb3
=> Tool dependency perl>=5.24.0: found perl-5.24.1
=> Tool dependency checkperms>=1.1: found checkperms-1.11nb1
=> Build dependency apache>=2.2.3<2.3: found apache-2.2.32
=> Build dependency apache>=2.2.31nb2: found apache-2.2.32
=> Build dependency cwrappers>=20150314: found cwrappers-20170112
=> Full dependency p5-ExtUtils-XSBuilder>=0.23: found p5-ExtUtils-XSBuilder-0.28nb8
=> Full dependency perl<5.26.0: found perl-5.24.1
=> Full dependency perl>=5.24.0: found perl-5.24.1
=> Full dependency ap22-perl>=2.0.3: found ap22-perl-2.0.10
===> Overriding tools for p5-ap22-libapreq2-2.13nb1
===> Extracting for p5-ap22-libapreq2-2.13nb1
===> Patching for p5-ap22-libapreq2-2.13nb1
=> Applying pkgsrc patches for p5-ap22-libapreq2-2.13nb1
=> Verifying /data/pkgsrc-current/www/p5-libapreq2/patches/patch-aa
=> Applying pkgsrc patch /data/pkgsrc-current/www/p5-libapreq2/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.1 2011/03/30 18:38:07 bouyer Exp $
|
|perl_install cause the Makefile in perl/ to be rebuilt with /usr/pkg/lib
|as library path instead of the source tree. install the tries to relink
|the target with the new path, which fails because the just-installed
|libraries are not in the buildlink directory.
|Just don't rebuild makefiles, the run-time search path has been fixed
|by buildlink already.
|
|--- glue/Makefile.am.orig	2011-03-29 21:44:52.000000000 +0200
|+++ glue/Makefile.am	2011-03-29 21:45:29.000000000 +0200
--------------------------
Patching file glue/Makefile.am using Plan A...
Hunk #1 succeeded at 15.
done
=> Verifying /data/pkgsrc-current/www/p5-libapreq2/patches/patch-ab
=> Applying pkgsrc patch /data/pkgsrc-current/www/p5-libapreq2/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.1 2011/03/30 18:38:07 bouyer Exp $
|
|perl_install cause the Makefile in perl/ to be rebuilt with /usr/pkg/lib
|as library path instead of the source tree. install the tries to relink
|the target with the new path, which fails because the just-installed
|libraries are not in the buildlink directory.
|Just don't rebuild makefiles, the run-time search path has been fixed
|by buildlink already.
|
|--- glue/Makefile.in.orig	2011-03-29 21:45:01.000000000 +0200
|+++ glue/Makefile.in	2011-03-29 21:45:35.000000000 +0200
--------------------------
Patching file glue/Makefile.in using Plan A...
Hunk #1 succeeded at 365 (offset 100 lines).
done
=> Verifying /data/pkgsrc-current/www/p5-libapreq2/patches/patch-apreq2-config.in
=> Applying pkgsrc patch /data/pkgsrc-current/www/p5-libapreq2/patches/patch-apreq2-config.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-apreq2-config.in,v 1.1 2014/07/27 22:59:11 jperkin Exp $
|
|Avoid WRKDIR rpaths.
|
|--- apreq2-config.in.orig	2009-03-06 00:39:06.000000000 +0000
|+++ apreq2-config.in
--------------------------
Patching file apreq2-config.in using Plan A...
Hunk #1 succeeded at 216.
done
=> Fixing module installation.
WARNING: [subst.mk:apxs] Ignoring non-existent file "./env/Makefile.in".
===> Creating toolchain wrappers for p5-ap22-libapreq2-2.13nb1
/bin/mkdir -p /data/scratch/www/p5-libapreq2/work/.buildlink/bin && /bin/ln -fs ../sbin/apxs /data/scratch/www/p5-libapreq2/work/.buildlink/bin/apxs
/bin/mkdir -p /data/scratch/www/p5-libapreq2/work/.buildlink/bin && /bin/ln -fs apr-1-config /data/scratch/www/p5-libapreq2/work/.buildlink/bin/apr-config
/bin/mkdir -p /data/scratch/www/p5-libapreq2/work/.buildlink/bin && /bin/ln -fs apu-1-config /data/scratch/www/p5-libapreq2/work/.buildlink/bin/apu-config
===> Configuring for p5-ap22-libapreq2-2.13nb1
/bin/ln -fs /data/pkgsrc-current/mk/gnu-config/config.guess /data/scratch/www/p5-libapreq2/work/libapreq2-2.13
/bin/ln -fs /data/pkgsrc-current/mk/gnu-config/config.sub /data/scratch/www/p5-libapreq2/work/libapreq2-2.13
=> Checking for portability problems in extracted files
perl: 24 ok
mod_perl2: 2.000010 ok
Apache::Test: 1.40 ok
ExtUtils::MakeMaker: 7.1002 ok
ExtUtils::XSBuilder: 0.28 ok
Test::More: 1.001014 ok
./configure --enable-perl-glue --with-apache2-apxs="/usr/pkg/sbin/apxs" --with-perl="/usr/pkg/bin/perl" --with-mm-opts="INSTALLDIRS=vendor"
checking for a BSD-compatible install... /data/scratch/www/p5-libapreq2/work/.tools/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... gcc
checking for C compiler default output file name... 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... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... x86_64-unknown-netbsd7.0
checking host system type... x86_64-unknown-netbsd7.0
checking for a sed that does not truncate output... /data/scratch/www/p5-libapreq2/work/.tools/bin/sed
checking for grep that handles long lines and -e... /data/scratch/www/p5-libapreq2/work/.tools/bin/grep
checking for egrep... /data/scratch/www/p5-libapreq2/work/.tools/bin/grep -E
checking for ld used by gcc... /data/scratch/www/p5-libapreq2/work/.cwrapper/bin/ld
checking if the linker (/data/scratch/www/p5-libapreq2/work/.cwrapper/bin/ld) is GNU ld... yes
checking for /data/scratch/www/p5-libapreq2/work/.cwrapper/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking how to run the C preprocessor... cpp
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... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... no
checking whether c++ accepts -g... no
checking dependency style of c++... none
checking how to run the C++ preprocessor... cpp
checking whether we are using the GNU Fortran 77 compiler... no
checking whether g77 accepts -g... no
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/data/scratch/www/p5-libapreq2/work/.cwrapper/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the c++ linker (/data/scratch/www/p5-libapreq2/work/.cwrapper/bin/ld) supports shared libraries... PKGSRC-WARNING: Something is trying to run the c++ compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
yes
libtool.m4: error: problem compiling CXX test program
checking for c++ option to produce PIC... 
checking if c++ static flag  works... no
checking if c++ supports -c -o file.o... no
checking whether the c++ linker (/data/scratch/www/p5-libapreq2/work/.cwrapper/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... PKGSRC-WARNING: Something is trying to run the c++ compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
NetBSD ld.elf_so
(cached) (cached) checking how to hardcode library paths into programs... unsupported
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... no
checking if g77 static flag -static works... no
checking if g77 supports -c -o file.o... no
checking whether the g77 linker (/data/scratch/www/p5-libapreq2/work/.cwrapper/bin/ld) supports shared libraries... PKGSRC-WARNING: Something is trying to run the fortran compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
yes
checking dynamic linker characteristics... PKGSRC-WARNING: Something is trying to run the fortran compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
NetBSD ld.elf_so
(cached) (cached) checking how to hardcode library paths into programs... immediate
checking for ranlib... (cached) ranlib
checking for a BSD-compatible install... /data/scratch/www/p5-libapreq2/work/.tools/bin/install -c
checking whether ln -s works... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for /usr/pkg/bin/apr-1-config... yes
checking for /usr/pkg/bin/apu-1-config... yes
checking for perl... /usr/pkg/bin/perl
checking for ExtUtils::XSBuilder... yes
checking for mod_perl2... yes
checking for Apache::Test... yes
checking for ExtUtils::MakeMaker... yes
  setting APR_INCLUDES to " -I/usr/pkg/include/apr-1 "
  setting APR_LTFLAGS to " /usr/pkg/lib/libapr-1.la"
  adding "/usr/pkg/lib/libaprutil-1.la" to APR_LTFLAGS
  setting APR_LIBS to " -lrt -lcrypt -lpthread"
  adding "-lexpat" to APR_LIBS
  setting APR_LDFLAGS to " -L/usr/pkg/lib -laprutil-1 "
  adding "-lapr-1" to APR_LDFLAGS
  adding "-DNETBSD" to CPPFLAGS
libapreq2 Version: 2.8.0
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating library/Makefile
config.status: creating library/t/Makefile
config.status: creating module/Makefile
config.status: creating module/apache2/Makefile
config.status: creating glue/Makefile
config.status: creating build/doxygen.conf
config.status: creating include/groups.dox
config.status: creating apreq2-config
config.status: creating include/apreq_config.h
config.status: executing depfiles commands
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile.
WARNING: *** Please consider adding fortran to USE_LANGUAGES in the package Makefile.