+ 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/pcsc-lite-1.9.9/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pcsc-lite-1.9.9/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for pcsc-lite-1.9.9.tar.bz2 => Checksum SHA512 OK for pcsc-lite-1.9.9.tar.bz2 ===> Installing dependencies for pcsc-lite-1.9.9 ========================================================================== The following variables will affect the build process of this package, pcsc-lite-1.9.9. Their current value is shown below: * VARBASE = /var 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/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1 => Tool dependency mktools-[0-9]*: found mktools-20220614 => 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 pcsc-lite-1.9.9 ===> Extracting for pcsc-lite-1.9.9 ===> Patching for pcsc-lite-1.9.9 => Applying pkgsrc patches for pcsc-lite-1.9.9 => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/security/pcsc-lite/patches/patch-configure => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/security/pcsc-lite/patches/patch-configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configure,v 1.6 2022/01/10 16:11:52 adam Exp $ | |Make sure libpcsclite.so is not linked against -lphtread on NetBSD, as |loading libpthread.so through dlopen() is now forbidden | |--- configure.orig 2021-12-04 12:29:53.000000000 +0000 |+++ configure -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 712 (offset 1 line). done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/security/pcsc-lite/patches/patch-src_libpcsclite.pc.in => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/security/pcsc-lite/patches/patch-src_libpcsclite.pc.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_libpcsclite.pc.in,v 1.1 2020/06/20 19:03:37 adam Exp $ | |Make sure dependencies (opensc) do not get -pthread. | |--- src/libpcsclite.pc.in.orig 2013-07-31 17:13:56.000000000 +0000 |+++ src/libpcsclite.pc.in -------------------------- Patching file src/libpcsclite.pc.in using Plan A... Hunk #1 succeeded at 9. done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/security/pcsc-lite/patches/patch-src_Makefile.in => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/security/pcsc-lite/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.8 2022/01/10 16:11:52 adam Exp $ | |Make sure libpcsclite.so is not linked against -lpthread on NetBSD, as |loading libpthread.so through dlopen() is now forbidden. |Disable installation of pcsc-spy | |--- src/Makefile.in.orig 2021-12-04 12:29:54.000000000 +0000 |+++ src/Makefile.in -------------------------- Patching file src/Makefile.in using Plan A... Hunk #1 succeeded at 436 (offset 1 line). Hunk #2 succeeded at 506 (offset 1 line). Hunk #3 succeeded at 526 (offset 1 line). done ===> Creating toolchain wrappers for pcsc-lite-1.9.9 ===> Configuring for pcsc-lite-1.9.9 => 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 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/security/pcsc-lite/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 nested variables... (cached) yes checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu 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 whether make supports the include directive... yes (GNU style) checking dependency style of cc... gcc3 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 whether byte ordering is bigendian... no checking whether to enable maintainer-specific portions of Makefiles... no checking how to run the C preprocessor... cc -E checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for flex... no checking for lex... no configure: error: no lex or flex found *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/security/pcsc-lite *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/security/pcsc-lite