=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> 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 libgphoto2-2.4.14.tar.bz2 => Checksum RMD160 OK for libgphoto2-2.4.14.tar.bz2 ===> Installing dependencies for libgphoto2-2.4.14nb1 ========================================================================== The following variables will affect the build process of this package, libgphoto2-2.4.14nb1. 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 their value before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Build dependency libtool-base>=2.2.6bnb3: found libtool-base-2.4.2 => Build dependency pkg-config>=0.25: found pkg-config-0.28 => Full dependency libltdl>=2.4.2: found libltdl-2.4.2 => Full dependency libusb>=0.1.8nb2: found libusb-0.1.12nb3 => Full dependency libexif>=0.6.20nb1: found libexif-0.6.21 => Full dependency jpeg>=9: found jpeg-9 ===> Overriding tools for libgphoto2-2.4.14nb1 ===> Extracting for libgphoto2-2.4.14nb1 ===> Patching for libgphoto2-2.4.14nb1 => Applying pkgsrc patches for libgphoto2-2.4.14nb1 ===> Creating toolchain wrappers for libgphoto2-2.4.14nb1 ===> Configuring for libgphoto2-2.4.14nb1 => 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 => Adding run-time search paths to pkg-config files. => Fixing locale directory references. 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... auto-aux/install-sh -c -d checking for gawk... /usr/bin/awk checking whether make sets $(MAKE)... yes checking for POSIX sh $() command substitution... yes checking for x86_64--netbsd-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 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 whether gcc and cc understand -c and -o together... yes 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/devel/libgphoto2/work/.tools/bin/pkg-config checking build system type... x86_64--netbsd checking host system type... x86_64--netbsd 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/devel/libgphoto2/work/.wrapper/bin/ld checking if the linker (/scratch/devel/libgphoto2/work/.wrapper/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 for /scratch/devel/libgphoto2/work/.wrapper/bin/ld option to reload object files... -r checking for x86_64--netbsd-objdump... objdump checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$ checking for x86_64--netbsd-ar... no checking for ar... ar 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 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 whether we are using the GNU C++ compiler... (cached) no checking whether c++ accepts -g... (cached) no checking dependency style of c++... (cached) none checking how to run the C++ preprocessor... cpp 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/devel/libgphoto2/work/.wrapper/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 whether the c++ linker (/scratch/devel/libgphoto2/work/.wrapper/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/devel/libgphoto2/work/.wrapper/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/devel/libgphoto2/work/.wrapper/bin/ld checking if the linker (/scratch/devel/libgphoto2/work/.wrapper/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... no checking for iconv... yes checking for working 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 iconv... (cached) yes checking for working 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 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 gdImageCreateTrueColor in -lgd... 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/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 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 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... yes 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.4.14 checking which drivers 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 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 dynamic library extension... .so checking pkg-config is at least version 0.9.0... yes 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... "-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lexif " checking libexif cpp flags... "-I/usr/pkg/include " checking for libusb-config... /usr/pkg/bin/libusb-config 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/check-camera-list.sh 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: creating doc/Makefile config.status: creating doc/Doxyfile 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 po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile === configuring in libgphoto2_port (/scratch/devel/libgphoto2/work/libgphoto2-2.4.14/libgphoto2_port) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/pkg' '--build=x86_64--netbsd' '--host=x86_64--netbsd' '--mandir=/usr/pkg/man' 'build_alias=x86_64--netbsd' 'host_alias=x86_64--netbsd' 'CC=gcc' 'CFLAGS=-O2 -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 -I/usr/include -I/usr/pkg/include' 'PKG_CONFIG=/scratch/devel/libgphoto2/work/.tools/bin/pkg-config' 'PKG_CONFIG_PATH=' 'CXXCPP=cpp' 'PKG_CONFIG_LIBDIR=/scratch/devel/libgphoto2/work/.buildlink/lib/pkgconfig:/scratch/devel/libgphoto2/work/.buildlink/share/pkgconfig' --cache-file=/dev/null --srcdir=. 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... auto-aux/install-sh -c -d checking for gawk... /usr/bin/awk checking whether make sets $(MAKE)... yes checking for x86_64--netbsd-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 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 gcc and cc understand -c and -o together... yes checking build system type... x86_64--netbsd checking host system type... x86_64--netbsd 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/devel/libgphoto2/work/.wrapper/bin/ld checking if the linker (/scratch/devel/libgphoto2/work/.wrapper/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 for /scratch/devel/libgphoto2/work/.wrapper/bin/ld option to reload object files... -r checking for x86_64--netbsd-objdump... objdump checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$ checking for x86_64--netbsd-ar... no checking for ar... ar 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 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/devel/libgphoto2/work/.wrapper/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/devel/libgphoto2/work/.wrapper/bin/ld checking if the linker (/scratch/devel/libgphoto2/work/.wrapper/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... no checking endian.h presence... no checking for endian.h... no 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 regex.h usability... yes checking regex.h presence... yes checking for regex.h... 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 stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for va_copy() or replacement... va_copy checking resmgr.h usability... no checking resmgr.h presence... no checking for resmgr.h... no 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/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 to use... autodetect checking for LIBUSB... yes checking usb.h usability... yes checking usb.h presence... yes checking for usb.h... yes checking for function usb_open in libusb... yes checking libusb library flags... "-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lusb " checking libusb cpp flags... "-I/usr/pkg/include " checking for libusb-1.0 to use... autodetect checking for LIBUSB1... no checking libusb-1.0 config program... none checking for none... no checking for HAL... 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) 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 serial/Makefile config.status: creating libusb1/Makefile config.status: creating usb/Makefile config.status: creating usbdiskdirect/Makefile config.status: creating usbscsi/Makefile config.status: creating disk/Makefile config.status: creating ptpip/Makefile 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 Configuration (libgphoto2_port 0.8.0): Build Source directory: . Compiler: gcc libltdl includes: libltdl library: -lltdl Use translations: yes Serial ports Serial support: yes resmgr locking: no ttylock locking: no lockdev locking: no USB ports libusb: yes USB ports libusb-1.0: no Documentation build API docs with gtk-doc: no (not requested) You may run "make" and "make install" now. Configuration (libgphoto2 2.4.14): Build Source code location: . GP2DDB support: no (EXPERIMENTAL) Compiler: gcc libltdl includes: libltdl library: -lltdl Features Use translations: yes JPEG mangling support: yes GD conversion support: no 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 WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile.