=> Bootstrap dependency digest>=20010302: found digest-20190127
=> Checksum SHA1 OK for libgphoto2-2.5.8.tar.bz2
=> Checksum RMD160 OK for libgphoto2-2.5.8.tar.bz2
=> Checksum SHA512 OK for libgphoto2-2.5.8.tar.bz2
===> Installing dependencies for libgphoto2-2.5.8nb5
==========================================================================
The following variables will affect the build process of this package,
libgphoto2-2.5.8nb5.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg

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

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg

You may want to abort the process now with CTRL-C and change the value
of variables in the first group 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.6nb2
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.7.3
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency libltdl>=2.4.2: found libltdl-2.4.6
=> Full dependency libusb1>=1.0.9: found libusb1-1.0.24
=> Full dependency libexif>=0.6.20nb1: found libexif-0.6.22
=> Full dependency libxml2>=2.9.10nb3: found libxml2-2.9.12
=> Full dependency jpeg>=9: found jpeg-9d
===> 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'.
===> Overriding tools for libgphoto2-2.5.8nb5
===> Extracting for libgphoto2-2.5.8nb5
===> Patching for libgphoto2-2.5.8nb5
=> Applying pkgsrc patches for libgphoto2-2.5.8nb5
=> Verifying /tree/pkgsrc/devel/libgphoto2/patches/patch-aj
=> Applying pkgsrc patch /tree/pkgsrc/devel/libgphoto2/patches/patch-aj
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aj,v 1.1 2008/04/29 09:31:09 sborrill Exp $
|
|--- libgphoto2_port/serial/unix.c.orig	2008-03-24 19:00:32.000000000 +0000
|+++ libgphoto2_port/serial/unix.c	2008-04-25 00:10:34.000000000 +0100
--------------------------
Patching file libgphoto2_port/serial/unix.c using Plan A...
Hunk #1 succeeded at 40 (offset 2 lines).
done
=> Verifying /tree/pkgsrc/devel/libgphoto2/patches/patch-an
=> Applying pkgsrc patch /tree/pkgsrc/devel/libgphoto2/patches/patch-an
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-an,v 1.2 2012/02/13 12:08:11 drochner Exp $
|
|--- libgphoto2_port/configure.orig	2011-11-29 21:04:51.000000000 +0000
|+++ libgphoto2_port/configure
--------------------------
Patching file libgphoto2_port/configure using Plan A...
Hunk #1 succeeded at 17003 (offset 1581 lines).
done
=> Verifying /tree/pkgsrc/devel/libgphoto2/patches/patch-ao
=> Applying pkgsrc patch /tree/pkgsrc/devel/libgphoto2/patches/patch-ao
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ao,v 1.1 2009/11/20 17:02:23 drochner Exp $
|
|--- configure.orig	2009-08-17 11:47:39.000000000 +0200
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 22204 (offset -419 lines).
done
=> Verifying /tree/pkgsrc/devel/libgphoto2/patches/patch-camlibs_ax203_jpeg__memsrcdest.c
=> Applying pkgsrc patch /tree/pkgsrc/devel/libgphoto2/patches/patch-camlibs_ax203_jpeg__memsrcdest.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-camlibs_ax203_jpeg__memsrcdest.c,v 1.1 2016/02/04 11:57:50 wiz Exp $
|
|Fix build with jpeg-9b.
|
|--- camlibs/ax203/jpeg_memsrcdest.c.orig	2012-12-13 08:49:31.000000000 +0000
|+++ camlibs/ax203/jpeg_memsrcdest.c
--------------------------
Patching file camlibs/ax203/jpeg_memsrcdest.c using Plan A...
Hunk #1 succeeded at 143.
done
=> Verifying /tree/pkgsrc/devel/libgphoto2/patches/patch-camlibs_ax203_jpeg__memsrcdest.h
=> Applying pkgsrc patch /tree/pkgsrc/devel/libgphoto2/patches/patch-camlibs_ax203_jpeg__memsrcdest.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-camlibs_ax203_jpeg__memsrcdest.h,v 1.1 2016/02/04 11:57:50 wiz Exp $
|
|Fix build with jpeg-9b.
|
|--- camlibs/ax203/jpeg_memsrcdest.h.orig	2012-12-13 08:49:31.000000000 +0000
|+++ camlibs/ax203/jpeg_memsrcdest.h
--------------------------
Patching file camlibs/ax203/jpeg_memsrcdest.h using Plan A...
Hunk #1 succeeded at 1.
done
=> Verifying /tree/pkgsrc/devel/libgphoto2/patches/patch-camlibs_barbie_barbie.c
=> Applying pkgsrc patch /tree/pkgsrc/devel/libgphoto2/patches/patch-camlibs_barbie_barbie.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-camlibs_barbie_barbie.c,v 1.1 2018/01/31 10:53:40 jperkin Exp $
|
|Set _POSIX_C_SOURCE correctly.
|
|--- camlibs/barbie/barbie.c.orig	2014-06-04 18:19:35.000000000 +0000
|+++ camlibs/barbie/barbie.c
--------------------------
Patching file camlibs/barbie/barbie.c using Plan A...
Hunk #1 succeeded at 21.
done
=> Verifying /tree/pkgsrc/devel/libgphoto2/patches/patch-camlibs_jl2005c_jpeg__memsrcdest.c
=> Applying pkgsrc patch /tree/pkgsrc/devel/libgphoto2/patches/patch-camlibs_jl2005c_jpeg__memsrcdest.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-camlibs_jl2005c_jpeg__memsrcdest.c,v 1.1 2016/02/04 11:57:50 wiz Exp $
|
|Fix build with jpeg-9b.
|
|--- camlibs/jl2005c/jpeg_memsrcdest.c.orig	2012-12-13 08:49:29.000000000 +0000
|+++ camlibs/jl2005c/jpeg_memsrcdest.c
--------------------------
Patching file camlibs/jl2005c/jpeg_memsrcdest.c using Plan A...
Hunk #1 succeeded at 143.
done
=> Verifying /tree/pkgsrc/devel/libgphoto2/patches/patch-camlibs_jl2005c_jpeg__memsrcdest.h
=> Applying pkgsrc patch /tree/pkgsrc/devel/libgphoto2/patches/patch-camlibs_jl2005c_jpeg__memsrcdest.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-camlibs_jl2005c_jpeg__memsrcdest.h,v 1.1 2016/02/04 11:57:50 wiz Exp $
|
|Fix build with jpeg-9b.
|
|--- camlibs/jl2005c/jpeg_memsrcdest.h.orig	2012-12-13 08:49:29.000000000 +0000
|+++ camlibs/jl2005c/jpeg_memsrcdest.h
--------------------------
Patching file camlibs/jl2005c/jpeg_memsrcdest.h using Plan A...
Hunk #1 succeeded at 1.
done
=> Verifying /tree/pkgsrc/devel/libgphoto2/patches/patch-camlibs_kodak_dc120_dc120.c
=> Applying pkgsrc patch /tree/pkgsrc/devel/libgphoto2/patches/patch-camlibs_kodak_dc120_dc120.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-camlibs_kodak_dc120_dc120.c,v 1.1 2018/01/31 10:53:40 jperkin Exp $
|
|Set _POSIX_C_SOURCE correctly.
|
|--- camlibs/kodak/dc120/dc120.c.orig	2015-02-22 08:30:09.000000000 +0000
|+++ camlibs/kodak/dc120/dc120.c
--------------------------
Patching file camlibs/kodak/dc120/dc120.c using Plan A...
Hunk #1 succeeded at 19.
done
=> Verifying /tree/pkgsrc/devel/libgphoto2/patches/patch-camlibs_kodak_dc120_library.c
=> Applying pkgsrc patch /tree/pkgsrc/devel/libgphoto2/patches/patch-camlibs_kodak_dc120_library.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-camlibs_kodak_dc120_library.c,v 1.1 2018/01/31 10:53:40 jperkin Exp $
|
|Set _POSIX_C_SOURCE correctly.
|
|--- camlibs/kodak/dc120/library.c.orig	2015-02-22 08:30:12.000000000 +0000
|+++ camlibs/kodak/dc120/library.c
--------------------------
Patching file camlibs/kodak/dc120/library.c using Plan A...
Hunk #1 succeeded at 19.
done
=> Verifying /tree/pkgsrc/devel/libgphoto2/patches/patch-camlibs_panasonic_coolshot_library.c
=> Applying pkgsrc patch /tree/pkgsrc/devel/libgphoto2/patches/patch-camlibs_panasonic_coolshot_library.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-camlibs_panasonic_coolshot_library.c,v 1.1 2018/01/31 10:53:40 jperkin Exp $
|
|Set _POSIX_C_SOURCE correctly.
|
|--- camlibs/panasonic/coolshot/library.c.orig	2014-06-27 05:31:22.000000000 +0000
|+++ camlibs/panasonic/coolshot/library.c
--------------------------
Patching file camlibs/panasonic/coolshot/library.c using Plan A...
Hunk #1 succeeded at 24.
done
=> Verifying /tree/pkgsrc/devel/libgphoto2/patches/patch-camlibs_st2205_st2205.c
=> Applying pkgsrc patch /tree/pkgsrc/devel/libgphoto2/patches/patch-camlibs_st2205_st2205.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-camlibs_st2205_st2205.c,v 1.1 2018/01/31 10:53:40 jperkin Exp $
|
|Set _POSIX_C_SOURCE correctly.
|
|--- camlibs/st2205/st2205.c.orig	2014-07-22 21:59:09.000000000 +0000
|+++ camlibs/st2205/st2205.c
--------------------------
Patching file camlibs/st2205/st2205.c using Plan A...
Hunk #1 succeeded at 18.
done
=> Verifying /tree/pkgsrc/devel/libgphoto2/patches/patch-libgphoto2__port_gphoto2_gphoto2-port-portability.h
=> Applying pkgsrc patch /tree/pkgsrc/devel/libgphoto2/patches/patch-libgphoto2__port_gphoto2_gphoto2-port-portability.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libgphoto2__port_gphoto2_gphoto2-port-portability.h,v 1.1 2018/01/31 10:53:40 jperkin Exp $
|
|Set _XOPEN_SOURCE / _POSIX_C_SOURCE correctly.
|
|--- libgphoto2_port/gphoto2/gphoto2-port-portability.h.orig	2014-06-27 05:26:01.000000000 +0000
|+++ libgphoto2_port/gphoto2/gphoto2-port-portability.h
--------------------------
Patching file libgphoto2_port/gphoto2/gphoto2-port-portability.h using Plan A...
Hunk #1 succeeded at 176.
Hunk #2 succeeded at 188.
done
=> Verifying /tree/pkgsrc/devel/libgphoto2/patches/patch-libgphoto2_gphoto2-file.c
=> Applying pkgsrc patch /tree/pkgsrc/devel/libgphoto2/patches/patch-libgphoto2_gphoto2-file.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libgphoto2_gphoto2-file.c,v 1.1 2018/01/31 10:53:40 jperkin Exp $
|
|Set _POSIX_SOURCE correctly.
|
|--- libgphoto2/gphoto2-file.c.orig	2014-11-05 20:37:59.000000000 +0000
|+++ libgphoto2/gphoto2-file.c
--------------------------
Patching file libgphoto2/gphoto2-file.c using Plan A...
Hunk #1 succeeded at 24.
done
=> Verifying /tree/pkgsrc/devel/libgphoto2/patches/patch-packaging_generic_check-ptp-camera
=> Applying pkgsrc patch /tree/pkgsrc/devel/libgphoto2/patches/patch-packaging_generic_check-ptp-camera
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-packaging_generic_check-ptp-camera,v 1.1 2020/08/18 00:30:13 tnn Exp $
|
|double brackets
|
|--- packaging/generic/check-ptp-camera.orig	2020-08-18 00:27:22.303662350 +0000
|+++ packaging/generic/check-ptp-camera
--------------------------
Patching file packaging/generic/check-ptp-camera using Plan A...
Hunk #1 succeeded at 20.
done
===> Creating toolchain wrappers for libgphoto2-2.5.8nb5
===> Configuring for libgphoto2-2.5.8nb5
=> Generating pkg-config files for builtin xz package.
=> 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
=> Replacing sh interpreter in packaging/generic/check-ptp-camera.
=> Adding run-time search paths to pkg-config files.
=> Fixing locale directory references.
=> Checking for portability problems in extracted files
checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g users
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... auto-aux/install-sh -c -d
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for POSIX sh $() command substitution... yes
checking for i486--netbsdelf-gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking whether we are using the GNU C++ compiler... no
checking whether c++ accepts -g... no
checking dependency style of c++... none
checking for i486--netbsdelf-ar... no
checking for i486--netbsdelf-lib... no
checking for i486--netbsdelf-link... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
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 stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for va_copy() or replacement... va_copy
checking for flex... /usr/bin/flex
checking for bison... no
checking whether to enable GP2DDB... 
checking PKG_CONFIG_PATH... empty
checking for pkg-config... /scratch/work/devel/libgphoto2/work/.tools/bin/pkg-config
checking build system type... i486--netbsdelf
checking host system type... i486--netbsdelf
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /scratch/work/devel/libgphoto2/work/.cwrapper/bin/ld
checking if the linker (/scratch/work/devel/libgphoto2/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 how to convert i486--netbsdelf file names to i486--netbsdelf format... func_convert_file_noop
checking how to convert i486--netbsdelf file names to toolchain format... func_convert_file_noop
checking for /scratch/work/devel/libgphoto2/work/.cwrapper/bin/ld option to reload object files... -r
checking for i486--netbsdelf-objdump... objdump
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking for i486--netbsdelf-dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for i486--netbsdelf-ar... ar
checking for archiver @FILE support... @
checking for i486--netbsdelf-strip... no
checking for strip... strip
checking for i486--netbsdelf-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 a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for i486--netbsdelf-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
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 (/scratch/work/devel/libgphoto2/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 for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
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... no
checking how to run the C++ preprocessor... cpp
checking whether the c++ linker (/scratch/work/devel/libgphoto2/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...  -DPIC
checking if c++ PIC flag  -DPIC works... no
checking if c++ static flag  works... no
checking if c++ supports -c -o file.o... rm: conftest*: No such file or directory
no
checking if c++ supports -c -o file.o... (cached) no
checking whether the c++ linker (/scratch/work/devel/libgphoto2/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
checking how to hardcode library paths into programs... unsupported
checking ltdl.h usability... yes
checking ltdl.h presence... yes
checking for ltdl.h... yes
checking for lt_dlinit in -lltdl... yes
checking that we can compile and link with libltdl... yes
checking for po/Makevars requiring hack... no
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /scratch/work/devel/libgphoto2/work/.cwrapper/bin/ld
checking if the linker (/scratch/work/devel/libgphoto2/work/.cwrapper/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking whether NLS is requested... yes
checking for GNU gettext in libc... no
checking for iconv... yes
checking for GNU gettext in libintl... (cached) yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... /usr/lib/libintl.so
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for msgmerge... (cached) /usr/bin/msgmerge
checking for iconv... (cached) yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for asm .symver support... yes
checking for main in -libs... no
checking for jpeg_start_decompress in -ljpeg... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for dynamic library extension... .so
checking pkg-config is at least version 0.9.0... yes
checking for libxml-2.0 to use... autodetect
checking for LIBXML2... yes
checking libxml/parser.h usability... yes
checking libxml/parser.h presence... yes
checking for libxml/parser.h... yes
checking for function xmlFirstElementChild in libxml-2.0... yes
checking libxml-2.0 library flags... "-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lxml2 "
checking libxml-2.0 cpp flags... "-I/usr/pkg/include/libxml2 "
checking for gdlib to use... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for memory.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for unistd.h... (cached) yes
checking mcheck.h usability... no
checking mcheck.h presence... no
checking for mcheck.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for inline... inline
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for getopt... yes
checking for getopt_long... yes
checking for mkdir... yes
checking for strdup... yes
checking for strncpy... yes
checking for strcpy... yes
checking for snprintf... yes
checking for sprintf... yes
checking for vsnprintf... yes
checking for gmtime_r... yes
checking for statfs... yes
checking for localtime_r... yes
checking for lstat... yes
checking for inet_aton... yes
checking for rand_r... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_gmtoff in struct tm... yes
checking for sys/mount.h... yes
checking for sys/statfs.h... no
checking for sys/user.h... no
checking for sys/vfs.h... no
checking for struct statfs.f_bfree... no
checking for struct statfs.f_bavail... no
checking for struct statfs.f_favail... no
checking for struct statvfs.f_blocks... no
checking for uint8_t in stdint.h... yes
checking whether byte ordering is bigendian... no
checking for le32toh in machine/endian.h... yes
checking for swap32 in machine/endian.h... no
checking for bswap_32 in byteswap.h... no
checking for bswap32 in machine/endian.h... yes
checking where to install camlibs... ${libdir}/libgphoto2/2.5.8
checking which camlibs to compile... all
checking main docdir... ${prefix}/share/doc (FHS style)
checking package docdir... ${prefix}/share/doc/libgphoto2 (default style)
checking for dot... false
checking for doxygen... (cached) false
checking whether to create internal code docs... no
checking for html dir... ${prefix}/share/doc/libgphoto2/html (default)
checking for rpmbuild or rpm... using autodetection
checking for rpmbuild... no
checking for rpm... no
checking for rpmbuild or rpm... false (autodetected)
checking for libexif to use... autodetect
checking for LIBEXIF... yes
checking whether we use a version of libexif with ExifData.ifd[]... yes
checking libexif/exif-data.h usability... yes
checking libexif/exif-data.h presence... yes
checking for libexif/exif-data.h... yes
checking for function exif_data_new in libexif... yes
checking libexif library flags... "-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lexif "
checking libexif cpp flags... "-I/usr/pkg/include "
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating README
config.status: creating Makefile
config.status: creating gphoto2-config
config.status: creating camlibs/Makefile
config.status: creating camlibs/canon/doc/Makefile
config.status: creating camlibs/konica/localization/Makefile
config.status: creating libgphoto2/Makefile
config.status: creating libgphoto2.pc
config.status: creating libgphoto2-uninstalled.pc
config.status: creating examples/Makefile
config.status: creating tests/Makefile
config.status: creating tests/ddb/Makefile
config.status: creating tests/ddb/check-ddb.sh
config.status: creating packaging/Makefile
config.status: creating packaging/linux-hotplug/Makefile
config.status: creating packaging/generic/Makefile
config.status: creating packaging/rpm/Makefile
config.status: creating packaging/rpm/package.spec
config.status: creating po/Makefile.in
config.status: WARNING:  'po/Makefile.in.in' seems to ignore the --datarootdir setting
config.status: creating doc/Makefile
config.status: creating doc/Doxyfile
config.status: creating doc/Doxyfile-internals
config.status: creating doc/api/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing default-2 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
=== configuring in libgphoto2_port (/scratch/work/devel/libgphoto2/work/libgphoto2-2.5.8/libgphoto2_port)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/pkg'  '--with-gdlib=no' '--build=i486--netbsdelf' '--host=i486--netbsdelf' '--mandir=/usr/pkg/man' '--enable-option-checking=yes' 'build_alias=i486--netbsdelf' 'host_alias=i486--netbsdelf' 'CC=gcc' 'CFLAGS=-O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include' 'LDFLAGS=-L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib' 'LIBS=' 'CPPFLAGS=-I/usr/include -I/usr/pkg/include' 'CXX=c++' 'CXXFLAGS=-O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include' 'PKG_CONFIG=/scratch/work/devel/libgphoto2/work/.tools/bin/pkg-config' 'PKG_CONFIG_PATH=' 'CXXCPP=cpp' 'PKG_CONFIG_LIBDIR=/scratch/work/devel/libgphoto2/work/.buildlink/lib/pkgconfig:/scratch/work/devel/libgphoto2/work/.buildlink/share/pkgconfig' --cache-file=/dev/null --srcdir=.
configure: WARNING: unrecognized options: --with-gdlib
checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g users
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... auto-aux/install-sh -c -d
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for i486--netbsdelf-gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for i486--netbsdelf-ar... no
checking for i486--netbsdelf-lib... no
checking for i486--netbsdelf-link... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... i486--netbsdelf
checking host system type... i486--netbsdelf
checking how to print strings... printf
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... /scratch/work/devel/libgphoto2/work/.cwrapper/bin/ld
checking if the linker (/scratch/work/devel/libgphoto2/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 how to convert i486--netbsdelf file names to i486--netbsdelf format... func_convert_file_noop
checking how to convert i486--netbsdelf file names to toolchain format... func_convert_file_noop
checking for /scratch/work/devel/libgphoto2/work/.cwrapper/bin/ld option to reload object files... -r
checking for i486--netbsdelf-objdump... objdump
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking for i486--netbsdelf-dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for i486--netbsdelf-ar... ar
checking for archiver @FILE support... @
checking for i486--netbsdelf-strip... no
checking for strip... strip
checking for i486--netbsdelf-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 a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for i486--netbsdelf-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
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 (/scratch/work/devel/libgphoto2/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 for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
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... no
checking ltdl.h usability... yes
checking ltdl.h presence... yes
checking for ltdl.h... yes
checking for lt_dlinit in -lltdl... yes
checking that we can compile and link with libltdl... yes
checking for POSIX sh $() command substitution... yes
checking for po/Makevars requiring hack... no
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /scratch/work/devel/libgphoto2/work/.cwrapper/bin/ld
checking if the linker (/scratch/work/devel/libgphoto2/work/.cwrapper/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking whether NLS is requested... yes
checking for GNU gettext in libc... no
checking for iconv... yes
checking for GNU gettext in libintl... (cached) yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... /usr/lib/libintl.so
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for msgmerge... (cached) /usr/bin/msgmerge
checking for iconv... (cached) yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for gettext... no
checking for gettext in -lintl... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for inline... inline
checking for an ANSI C-conforming const... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking sgetty.h usability... no
checking sgetty.h presence... no
checking for sgetty.h... no
checking ttold.h usability... no
checking ttold.h presence... no
checking for ttold.h... no
checking ioctl-types.h usability... no
checking ioctl-types.h presence... no
checking for ioctl-types.h... no
checking for fcntl.h... (cached) yes
checking sgtty.h usability... yes
checking sgtty.h presence... yes
checking for sgtty.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for sys/time.h... (cached) yes
checking termio.h usability... no
checking termio.h presence... no
checking for termio.h... no
checking for unistd.h... (cached) yes
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking byteswap.h usability... no
checking byteswap.h presence... no
checking for byteswap.h... no
checking asm/io.h usability... no
checking asm/io.h presence... no
checking for asm/io.h... no
checking mntent.h usability... no
checking mntent.h presence... no
checking for mntent.h... no
checking sys/mntent.h usability... no
checking sys/mntent.h presence... no
checking for sys/mntent.h... no
checking sys/mnttab.h usability... no
checking sys/mnttab.h presence... no
checking for sys/mnttab.h... no
checking scsi/sg.h usability... no
checking scsi/sg.h presence... no
checking for scsi/sg.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for regexec in -lregex... no
checking for asm .symver support... yes
checking for mnt_mountp in struct mnttab... no
checking for setmntent... no
checking for endmntent... no
checking for strerror... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for flock... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for va_copy() or replacement... va_copy
checking lockdev.h usability... no
checking lockdev.h presence... no
checking for lockdev.h... no
checking for ttylock.h... no
checking for dev_lock in -llockdev... no
checking for pthread_create in -lpthread... yes
checking PKG_CONFIG_PATH... empty
checking for pkg-config... /scratch/work/devel/libgphoto2/work/.tools/bin/pkg-config
checking for dynamic library extension... .so
checking pkg-config is at least version 0.9.0... yes
checking for libusb-1.0 to use... autodetect
checking for LIBUSB1... yes
checking for libusb_strerror... yes
checking libusb.h usability... yes
checking libusb.h presence... yes
checking for libusb.h... yes
checking for function libusb_init in libusb-1.0... yes
checking libusb-1.0 library flags... "-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lusb-1.0 "
checking libusb-1.0 cpp flags... "-I/usr/pkg/include/libusb-1.0 "
checking for libusb to use... autodetect
checking for LIBUSB... no
checking libusb config program... libusb-config
checking for libusb-config... no
checking for re_compile_pattern... no
checking main docdir... ${prefix}/share/doc (FHS style)
checking package docdir... ${prefix}/share/doc/libgphoto2_port (default style)
checking for html dir... ${prefix}/share/doc/libgphoto2_port/html (default)
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: WARNING:  'po/Makefile.in.in' seems to ignore the --datarootdir setting
config.status: creating libgphoto2_port/Makefile
config.status: creating libgphoto2_port.pc
config.status: creating libgphoto2_port-uninstalled.pc
config.status: creating gphoto2-port-config
config.status: creating test/Makefile
config.status: creating doc/Makefile
config.status: creating m4/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing default-2 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
configure: WARNING: unrecognized options: --with-gdlib

Configuration (libgphoto2_port 0.12.0):

  Build
    Source directory:              .
    Compiler:                      gcc
    libltdl includes:              
    libltdl library:               -lltdl
    Use translations:              yes

  Serial ports
    Serial support:                yes
    ttylock locking:               no
    lockdev locking:               no

  USB ports
    libusb-1.0:                    yes
    libusb:                        no

  Documentation
    build API docs with gtk-doc:   no (not requested)

You may run "make" and "make install" now.

Configuration (libgphoto2 2.5.8):

  Build
    Source code location:          .
    GP2DDB support:                no  (EXPERIMENTAL)
    Compiler:                      gcc
    libltdl includes:              
    libltdl library:               -lltdl

  Features
    Use translations:              yes
    JPEG mangling support:         yes
    libxml-2.0:                    yes
    XML support for Olympus E s..: yes
    gdlib:                         no
    libGD conversion support:      no
    Camlibs:                       all
    build API docs with gtk-doc:   no (not requested)
    libexif:                       yes

    Subprojects:                   libgphoto2_port

You may run "make" and "make install" now.
Please check whether the configuration I detected matches what you
would like to have. E.g. make sure that USB support is there if you
intend to use USB cameras with libgphoto2 photo camera library.

Please also check that PKG_CONFIG_PATH contains
    ${libdir}/pkgconfig
before compiling any libgphoto2 frontend.

=> 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.