=> Bootstrap dependency digest>=20211023: found digest-20211023 => Checksum BLAKE2s OK for libhid-0.2.16.tar.gz => Checksum SHA512 OK for libhid-0.2.16.tar.gz ===> Installing dependencies for libhid-0.2.16nb7 ========================================================================== The following variables will affect the build process of this package, libhid-0.2.16nb7. Their current value is shown below: * LIBUSB_TYPE = compat * PYTHON_VERSION_DEFAULT = 39 Based on these variables, the following variables have been set: * PYPACKAGE = python27 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.6nb3 => Tool dependency gmake>=3.81: found gmake-4.3nb2 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency docbook-[0-9]*: found docbook-4.5 => Build dependency swig>=1.3.31<2.0: found swig-1.3.38nb3 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency python27>=2.7.1nb2: found python27-2.7.18nb5 => Full dependency libusb-compat>=0.1.6rc2: found libusb-compat-0.1.7 => Full dependency libxslt>=1.1.34nb5: found libxslt-1.1.34nb6 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for libhid-0.2.16nb7 ===> Extracting for libhid-0.2.16nb7 ===> Patching for libhid-0.2.16nb7 => Applying pkgsrc patches for libhid-0.2.16nb7 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/devel/libhid/patches/patch-configure => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/devel/libhid/patches/patch-configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configure,v 1.1 2013/12/03 01:30:06 mef Exp $ | |(1) |ERROR: [check-portability.awk] => Found test ... == ...: |ERROR: [check-portability.awk] configure: if test "$py_version" == "None"; then |(2) |Add DragonflyBSD | |--- configure.orig 2007-04-26 09:25:25.000000000 +0900 |+++ configure 2013-10-10 07:33:08.485190000 +0900 -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 2757. Hunk #2 succeeded at 22774. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/devel/libhid/patches/patch-hidparser_hidtypes.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/devel/libhid/patches/patch-hidparser_hidtypes.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-hidparser_hidtypes.h,v 1.1 2016/06/15 18:38:07 rumko Exp $ | |ulong is not defined on FreeBSD | |--- hidparser/hidtypes.h.orig 2005-09-01 12:39:04.000000000 +0000 |+++ hidparser/hidtypes.h -------------------------- Patching file hidparser/hidtypes.h using Plan A... Hunk #1 succeeded at 21. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/devel/libhid/patches/patch-include_hid.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/devel/libhid/patches/patch-include_hid.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-include_hid.h,v 1.1 2016/06/15 18:38:07 rumko Exp $ | |malloc and friends need stdlib | |--- include/hid.h.orig 2007-02-28 03:22:44.000000000 +0000 |+++ include/hid.h -------------------------- Patching file include/hid.h using Plan A... Hunk #1 succeeded at 2. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/devel/libhid/patches/patch-src_Makefile.in => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/devel/libhid/patches/patch-src_Makefile.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_Makefile.in,v 1.1 2017/12/10 15:46:26 adam Exp $ | |Fix linking on Darwin. | |--- src/Makefile.in.orig 2017-12-10 15:35:53.000000000 +0000 |+++ src/Makefile.in -------------------------- Patching file src/Makefile.in using Plan A... Hunk #1 succeeded at 39. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/devel/libhid/patches/patch-src_bsd_c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/devel/libhid/patches/patch-src_bsd_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_bsd_c,v 1.1 2013/12/03 01:30:06 mef Exp $ | | clang 3.3 warns on following line: | assigning a variable of type 'unsigned short' to itself | [-Werror,-Wself-assign] | retries = retries; | ~~~~~~~ ^ ~~~~~~~ | |--- src/bsd.c.orig 2006-02-01 21:35:49.000000000 +0900 |+++ src/bsd.c 2013-10-08 01:17:34.000000000 +0900 -------------------------- Patching file src/bsd.c using Plan A... Hunk #1 succeeded at 10. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/devel/libhid/patches/patch-test_lshid_c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/devel/libhid/patches/patch-test_lshid_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-test_lshid_c,v 1.1 2013/12/03 01:30:06 mef Exp $ | |lshid.c:32:87: error: parameter 'len' set but not used [-Werror=unused-but-set-parameter] | |--- test/lshid.c.orig 2007-03-31 23:27:51.000000000 +0900 |+++ test/lshid.c 2013-10-10 07:40:18.961805000 +0900 -------------------------- Patching file test/lshid.c using Plan A... Hunk #1 succeeded at 29. Hunk #2 succeeded at 37. done ===> Creating toolchain wrappers for libhid-0.2.16nb7 ===> Configuring for libhid-0.2.16nb7 => 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 pbulk -g wheel checking whether build environment is sane... yes checking for gawk... /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether to enable pedantic compiler checks... (cached) no checking whether to enable proper compiler warnings... (cached) yes checking whether to enable compiler warnings as errors... (cached) yes checking whether to enable debugging... (cached) no checking whether to enable gdb-enhanced debugging symbols... (cached) no checking whether to use documentation generated by doxygen... (cached) yes checking whether to enable swig python wrapper... (cached) yes checking build system type... x86_64--netbsd checking host system type... x86_64--netbsd checking for target OS... *BSD checking for style of include used by make... GNU checking for x86_64--netbsd-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 dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E 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 usb.h usability... yes checking usb.h presence... yes checking for usb.h... yes checking for x86_64--netbsd-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking for a sed that does not truncate output... /tmp/devel/libhid/work/.tools/bin/sed checking for ld used by gcc... /tmp/devel/libhid/work/.cwrapper/bin/ld checking if the linker (/tmp/devel/libhid/work/.cwrapper/bin/ld) is GNU ld... yes checking for /tmp/devel/libhid/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 recognise dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$ 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 for x86_64--netbsd-g77... gfortran checking whether we are using the GNU Fortran 77 compiler... no checking whether gfortran accepts -g... no checking the maximum length of command line arguments... (cached) 262144 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for x86_64--netbsd-ar... no checking for ar... ar checking for x86_64--netbsd-ranlib... no checking for ranlib... ranlib checking for x86_64--netbsd-strip... no 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 (/tmp/devel/libhid/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 (/tmp/devel/libhid/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 (/tmp/devel/libhid/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 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 gfortran option to produce PIC... -fPIC checking if gfortran PIC flag -fPIC works... no checking if gfortran static flag -static works... no checking if gfortran supports -c -o file.o... no checking whether the gfortran linker (/tmp/devel/libhid/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. 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 checking how to hardcode library paths into programs... immediate checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g wheel checking whether make sets $(MAKE)... (cached) yes checking for ANSI C header files... (cached) yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for inline... inline checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... no checking for preprocessor stringizing operator... yes configure: enabled compiler warnings. configure: turned compiler warnings into errors. checking for swig... /usr/pkg/bin/swig checking for SWIG version... 1.3.38 configure: SWIG executable is '/usr/pkg/bin/swig' configure: SWIG library directory is '/usr/pkg/share/swig/1.3' SWIG Version 1.3.38 Compiled with c++ [x86_64--netbsd] Please see http://www.swig.org for reporting bugs and further information checking for python version... 2.7 checking for python platform... netbsd9 checking for python script directory... ${prefix}/lib/python2.7/site-packages checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages checking for python2.7... /usr/pkg/bin/python2.7 checking for a version of Python >= '2.1.0'... yes checking for the distutils Python package... yes checking for Python include path... -I/usr/pkg/include/python2.7 checking for Python library path... -L/usr/pkg/lib -lpython2.7 checking for Python site-packages path... /usr/pkg/lib/python2.7/site-packages checking python extra libraries... -lintl -lutil checking python extra linking flags... -Wl,--export-dynamic checking consistency of all components of python development environment... yes checking for doxygen... no configure: WARNING: doxygen not found. not using doxygen. ./configure: -Wl,-zrelro: not found configure: WARNING: No appropriate db2man stylesheet found; man pages will not be rebuilt. configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating hidparser/Makefile config.status: creating swig/Makefile config.status: creating test/Makefile config.status: creating doc/doxygen.rc config.status: creating doc/Makefile config.status: creating doc/man/Makefile config.status: creating doc/www/Makefile config.status: creating pkgconfig/libhid.pc config.status: creating config.h config.status: executing depfiles commands .------------------------------------------------------------------------------ | Configuration to be used: | | CPP : gcc -E | CPPFLAGS: | CC : gcc | CFLAGS : -I/usr/pkg/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -Wall -W -Werror | CXX : c++ | CXXFLAGS: -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -Wall -W -Werror | LD : /tmp/devel/libhid/work/.cwrapper/bin/ld | LDFLAGS : -L/usr/pkg/lib -lusb `------------------------------------------------------------------------------ => 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.