+ 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.13.1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libhidapi-0.13.1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for hidapi-0.13.1.tar.gz => Checksum SHA512 OK for hidapi-0.13.1.tar.gz ===> Installing dependencies for libhidapi-0.13.1 => Tool dependency cmake>=0: found cmake-3.26.3nb1 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.9.4nb1 => 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 => Full dependency libudev>=228: found libudev-243 ===> Overriding tools for libhidapi-0.13.1 ===> Extracting for libhidapi-0.13.1 ===> Patching for libhidapi-0.13.1 => Applying pkgsrc patches for libhidapi-0.13.1 => 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 248 (offset 2 lines). 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.13.1 ===> Configuring for libhidapi-0.13.1 => Adding run-time search paths to pkg-config files. => Checking for portability problems in extracted files -- The C compiler identification is GNU 6.5.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /home/pbulk/build/comms/libhidapi/work/.cwrapper/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- hidapi: v0.13.1 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found PkgConfig: /home/pbulk/build/comms/libhidapi/work/.tools/bin/pkg-config (found version "1.9.4") -- Checking for module 'libudev' -- Found libudev, version 243 -- Checking for module 'libusb-1.0>=1.0.9' -- Found libusb-1.0, version 1.0.26 -- Check for Iconv -- Performing Test Iconv_IS_BUILT_IN -- Performing Test Iconv_IS_BUILT_IN - Success -- Found Iconv: built in to C library -- Performing Test HIDAPI_ICONV_CONST -- Performing Test HIDAPI_ICONV_CONST - Failed -- Configuring done (1.3s) -- Generating done (0.0s) -- Build files have been written to: /home/pbulk/build/comms/libhidapi/work/hidapi-hidapi-0.13.1/cmake-pkgsrc-build