=> 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 rtorrent-0.9.6.tar.gz
=> Checksum RMD160 OK for rtorrent-0.9.6.tar.gz
=> Checksum SHA512 OK for rtorrent-0.9.6.tar.gz
===> Installing dependencies for rtorrent-0.9.6nb4
==========================================================================
The supported build options for rtorrent are:

	xmlrpc

The currently selected options are:

	xmlrpc

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.rtorrent (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
rtorrent-0.9.6nb4.  Their current value is shown below:

        * KRB5_DEFAULT = heimdal
        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private

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

        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = heimdal

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 pkgconf-[0-9]*: found pkgconf-1.3.5
=> Tool dependency checkperms>=1.1: found checkperms-1.11nb1
=> Build dependency cwrappers>=20150314: found cwrappers-20170611
=> Full dependency xmlrpc-c-ss>=1.25.26nb5: found xmlrpc-c-ss-1.25.26nb5
=> Full dependency curl>=7.54.0nb1: found curl-7.54.0nb1
=> Full dependency ncurses>=6.0: found ncurses-6.0nb3
=> Full dependency libtorrent>=0.13.6nb1: found libtorrent-0.13.6nb1
===> Overriding tools for rtorrent-0.9.6nb4
===> Extracting for rtorrent-0.9.6nb4
===> Patching for rtorrent-0.9.6nb4
=> Applying pkgsrc patches for rtorrent-0.9.6nb4
=> Verifying /data/pkgsrc-current/net/rtorrent/patches/patch-ad
=> Applying pkgsrc patch /data/pkgsrc-current/net/rtorrent/patches/patch-ad
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ad,v 1.5 2014/06/15 22:44:15 tron Exp $
|
|Fix build under DragonFly.
|
|--- src/utils/directory.cc.orig	2014-04-21 14:34:45.000000000 +0100
|+++ src/utils/directory.cc	2014-06-15 21:07:36.000000000 +0100
--------------------------
Patching file src/utils/directory.cc using Plan A...
Hunk #1 succeeded at 44.
Hunk #2 succeeded at 58.
Hunk #3 succeeded at 71.
done
=> Verifying /data/pkgsrc-current/net/rtorrent/patches/patch-ae
=> Applying pkgsrc patch /data/pkgsrc-current/net/rtorrent/patches/patch-ae
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ae,v 1.3 2012/05/16 17:42:37 tron Exp $
|
|Fix build under Solaris and DragonFly.
|
|--- src/utils/directory.h.orig	2012-03-29 14:06:11.000000000 +0100
|+++ src/utils/directory.h	2012-05-14 23:40:30.000000000 +0100
--------------------------
Patching file src/utils/directory.h using Plan A...
Hunk #1 succeeded at 50.
done
=> Verifying /data/pkgsrc-current/net/rtorrent/patches/patch-af
=> Applying pkgsrc patch /data/pkgsrc-current/net/rtorrent/patches/patch-af
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-af,v 1.4 2011/08/01 13:12:38 wiz Exp $
|
|Make this work with "ncurses" 5.8. Patch taken from here.
|
|http://www.mail-archive.com/arch-general@archlinux.org/msg18728.html
|
|--- src/display/canvas.h.orig	2011-04-07 13:36:10.000000000 +0100
|+++ src/display/canvas.h	2011-07-30 16:40:10.000000000 +0100
--------------------------
Patching file src/display/canvas.h using Plan A...
Hunk #1 succeeded at 37.
Hunk #2 succeeded at 49.
done
=> Verifying /data/pkgsrc-current/net/rtorrent/patches/patch-ag
=> Applying pkgsrc patch /data/pkgsrc-current/net/rtorrent/patches/patch-ag
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ag,v 1.6 2014/06/15 22:44:15 tron Exp $
|
|Fix handling of command line options.
|
|http://libtorrent.rakshasa.no/ticket/2657
|
|--- src/main.cc.orig	2012-03-20 15:09:58.000000000 +0000
|+++ src/main.cc
--------------------------
Patching file src/main.cc using Plan A...
Hunk #1 succeeded at 836 (offset -15 lines).
done
=> Verifying /data/pkgsrc-current/net/rtorrent/patches/patch-src_display_window__file__list.cc
=> Applying pkgsrc patch /data/pkgsrc-current/net/rtorrent/patches/patch-src_display_window__file__list.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_display_window__file__list.cc,v 1.3 2013/09/18 16:33:08 joerg Exp $
|
|--- src/display/window_file_list.cc.orig	2012-02-14 03:32:01.000000000 +0000
|+++ src/display/window_file_list.cc
--------------------------
Patching file src/display/window_file_list.cc using Plan A...
Hunk #1 succeeded at 36.
done
=> Verifying /data/pkgsrc-current/net/rtorrent/patches/patch-src_signal__handler.cc
=> Applying pkgsrc patch /data/pkgsrc-current/net/rtorrent/patches/patch-src_signal__handler.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_signal__handler.cc,v 1.3 2013/09/18 16:33:09 joerg Exp $
|
|--- src/signal_handler.cc.orig	2012-03-29 13:06:11.000000000 +0000
|+++ src/signal_handler.cc
--------------------------
Patching file src/signal_handler.cc using Plan A...
Hunk #1 succeeded at 38.
done
===> Creating toolchain wrappers for rtorrent-0.9.6nb4
===> Configuring for rtorrent-0.9.6nb4
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Checking for portability problems in extracted files
checking for a BSD-compatible install... /usr/bin/install -c -o pbulkXXX -g users
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for cppunit-config... no
checking for Cppunit - version >= 1.9.6... no
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of c++... gcc3
checking build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
checking how to print strings... printf
checking for x86_64--netbsd-gcc... gcc
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 whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /data/scratch/net/rtorrent/work/.cwrapper/bin/ld
checking if the linker (/data/scratch/net/rtorrent/work/.cwrapper/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking how to convert x86_64--netbsd file names to x86_64--netbsd format... func_convert_file_noop
checking how to convert x86_64--netbsd file names to toolchain format... func_convert_file_noop
checking for /data/scratch/net/rtorrent/work/.cwrapper/bin/ld option to reload object files... -r
checking for x86_64--netbsd-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking for x86_64--netbsd-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64--netbsd-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64--netbsd-strip... no
checking for strip... strip
checking for x86_64--netbsd-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for x86_64--netbsd-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/data/scratch/net/rtorrent/work/.cwrapper/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory
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
checking how to run the C++ preprocessor... c++ -E
checking for ld used by c++... /data/scratch/net/rtorrent/work/.cwrapper/bin/ld
checking if the linker (/data/scratch/net/rtorrent/work/.cwrapper/bin/ld) is GNU ld... yes
checking whether the c++ linker (/data/scratch/net/rtorrent/work/.cwrapper/bin/ld) supports shared libraries... cc1: warning: command line option '-std=c++11' is valid for C++/ObjC++ but not for C [enabled by default]
yes
checking for c++ option to produce PIC... -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/data/scratch/net/rtorrent/work/.cwrapper/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... cc1: warning: command line option '-std=c++11' is valid for C++/ObjC++ but not for C [enabled by default]
NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking for user-defined CXXFLAGS... user-defined "-O2 -I/usr/include -I/usr/pkg/include -I/usr/include/krb5 -I/usr/pkg/include/ncurses"
checking for TR1 support... yes
checking for C++11 support... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for execinfo.h... no
checking for proper overloaded template function disambiguation... yes
checking for sysroot... no
checking sys/vfs.h usability... no
checking sys/vfs.h presence... no
checking for sys/vfs.h... no
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/statfs.h usability... no
checking sys/statfs.h presence... no
checking for sys/statfs.h... no
checking for statvfs... ok
checking for pthread_join in LIBS= with CFLAGS= -pthread ... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... no
checking for NcursesW wide-character library... no
checking for Ncurses library... yes
checking for working ncurses/curses.h... yes
checking for working ncurses.h... yes
checking pkg-config is at least version 0.9.0... yes
checking for libcurl... yes
checking for libtorrent... yes
checking for XMLRPC-C... failed
configure: error: Could not compile XMLRPC-C test.
*** Error code 1

Stop.
make[1]: stopped in /data/pkgsrc-current/net/rtorrent
*** Error code 1

Stop.
make: stopped in /data/pkgsrc-current/net/rtorrent
