+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libhidapi-0.11.0/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libhidapi-0.11.0/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for hidapi-0.11.0.tar.gz => Checksum SHA512 OK for hidapi-0.11.0.tar.gz ===> Installing dependencies for libhidapi-0.11.0 => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency automake>=1.9: found automake-1.16.5nb2 => Tool dependency autoconf>=2.58: found autoconf-2.71nb2 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency gcc6>=6.5.0nb8: found gcc6-6.5.0nb8 => Full dependency libusb1>=1.0.9: found libusb1-1.0.26 ===> Overriding tools for libhidapi-0.11.0 ===> Extracting for libhidapi-0.11.0 ===> Patching for libhidapi-0.11.0 => Applying pkgsrc patches for libhidapi-0.11.0 => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/comms/libhidapi/patches/patch-configure.ac => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/comms/libhidapi/patches/patch-configure.ac Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configure.ac,v 1.3 2021/11/20 18:59:05 nia Exp $ | |- Fix syntax for autoconf-2.71 |- Always use pkg-config to find libusb1. |- Support NetBSD. | |--- configure.ac.orig 2021-09-27 10:08:20.000000000 +0000 |+++ configure.ac -------------------------- Patching file configure.ac using Plan A... Hunk #1 succeeded at 92. Hunk #2 succeeded at 246. done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/comms/libhidapi/patches/patch-libusb_Makefile.am => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/comms/libhidapi/patches/patch-libusb_Makefile.am Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libusb_Makefile.am,v 1.2 2021/11/20 18:59:05 nia Exp $ | |Support NetBSD. | |--- libusb/Makefile.am.orig 2021-09-27 10:08:20.000000000 +0000 |+++ libusb/Makefile.am -------------------------- Patching file libusb/Makefile.am using Plan A... Hunk #1 succeeded at 14. done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/comms/libhidapi/patches/patch-Makefile.am => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/comms/libhidapi/patches/patch-Makefile.am Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Makefile.am,v 1.1 2019/07/08 12:52:42 nia Exp $ | |Support NetBSD. | |--- Makefile.am.orig 2019-06-19 10:34:38.000000000 +0000 |+++ Makefile.am -------------------------- Patching file Makefile.am using Plan A... Hunk #1 succeeded at 35 (offset 4 lines). done ===> Creating toolchain wrappers for libhidapi-0.11.0 ===> Configuring for libhidapi-0.11.0 cd /home/pbulk/build/comms/libhidapi/work/hidapi-hidapi-0.11.0 && /bin/bash ./bootstrap autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I m4 autoreconf: running: /usr/pkg/bin/autoconf --force autoreconf: running: /usr/pkg/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:20: installing './ar-lib' configure.ac:20: installing './compile' configure.ac:21: installing './config.guess' configure.ac:21: installing './config.sub' configure.ac:18: installing './install-sh' configure.ac:18: installing './missing' hidtest/Makefile.am: installing './depcomp' autoreconf: Leaving directory '.' => 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. => Checking for portability problems in extracted files This build script for HIDAPI is deprecated. Consider using CMake instead. checking for a BSD-compatible install... /bin/install -c -o pbulk -g pbulk checking whether build environment is sane... yes checking for a race-free mkdir -p... /home/pbulk/build/comms/libhidapi/work/.tools/bin/mkdir -p checking for gawk... /bin/gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports the include directive... yes (GNU style) checking for x86_64-redhat-linux-gcc... cc 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 the compiler supports GNU C... yes checking whether cc accepts -g... yes checking for cc option to enable C11 features... none needed checking whether cc understands -c and -o together... yes checking dependency style of cc... gcc3 checking for x86_64-redhat-linux-ar... no checking for x86_64-redhat-linux-lib... no checking for x86_64-redhat-linux-link... no checking for ar... ar checking the archiver (ar) interface... ar checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/egrep checking for fgrep... /bin/grep -F checking for ld used by cc... /home/pbulk/build/comms/libhidapi/work/.cwrapper/bin/ld checking if the linker (/home/pbulk/build/comms/libhidapi/work/.cwrapper/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /bin/nm -B checking the name lister (/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... (cached) 2097152 checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /home/pbulk/build/comms/libhidapi/work/.cwrapper/bin/ld option to reload object files... -r checking for x86_64-redhat-linux-file... no checking for file... file checking for x86_64-redhat-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-strip... no checking for strip... strip checking for x86_64-redhat-linux-ranlib... no checking for ranlib... ranlib checking command to parse /bin/nm -B output from cc 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 x86_64-redhat-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... no checking if cc supports -c -o file.o... /bin/rm: cannot remove 'conftest*': No such file or directory yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/home/pbulk/build/comms/libhidapi/work/.cwrapper/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... /bin/rm: cannot remove 'conftest*': No such file or directory no checking dynamic linker characteristics... GNU/Linux ld.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 for x86_64-redhat-linux-gcc... (cached) cc checking whether the compiler supports GNU C... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to enable C11 features... (cached) none needed checking whether cc understands -c and -o together... (cached) yes checking dependency style of cc... (cached) gcc3 checking whether the compiler supports GNU C++... yes checking whether c++ accepts -g... yes checking for c++ option to enable C++11 features... none needed checking dependency style of c++... gcc3 checking how to run the C++ preprocessor... c++ -E checking for ld used by c++... /home/pbulk/build/comms/libhidapi/work/.cwrapper/bin/ld -m elf_x86_64 checking if the linker (/home/pbulk/build/comms/libhidapi/work/.cwrapper/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the c++ linker (/home/pbulk/build/comms/libhidapi/work/.cwrapper/bin/ld -m elf_x86_64) supports shared libraries... 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... no checking if c++ supports -c -o file.o... /bin/rm: cannot remove 'conftest*': No such file or directory yes checking if c++ supports -c -o file.o... (cached) yes checking whether the c++ linker (/home/pbulk/build/comms/libhidapi/work/.cwrapper/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for x86_64-redhat-linux-gcc... x86_64-redhat-linux-gcc checking whether the compiler supports GNU Objective C... no checking whether x86_64-redhat-linux-gcc accepts -g... no checking dependency style of x86_64-redhat-linux-gcc... gcc3 checking pkg-config is at least version 0.9.0... yes checking whether make supports nested variables... (cached) yes checking operating system... x86_64-redhat-linux-gnu (Linux back-end) checking for libudev... no Library libudev was not found on this system. Please install it and re-run ./configure *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/comms/libhidapi *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/comms/libhidapi