+ 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-2.0.1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pcsc-lite-2.0.1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for pcsc-lite-2.0.1.tar.bz2 => Checksum SHA512 OK for pcsc-lite-2.0.1.tar.bz2 ===> Installing dependencies for pcsc-lite-2.0.1 ========================================================================== The following variables will affect the build process of this package, pcsc-lite-2.0.1. 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 glib2-tools-[0-9]*: found glib2-tools-2.78.1 => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency flex>=2.5.4a: found flex-2.6.4 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency pkgconf-[0-9]*: found pkgconf-2.0.3 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency flex>=2.5.4a: found flex-2.6.4 => Build dependency gcc7>=7.5.0nb6: found gcc7-7.5.0nb6 => Full dependency libusb1>=1.0.9: found libusb1-1.0.26 => Full dependency polkit>=0.120nb4: found polkit-121 ===> Overriding tools for pcsc-lite-2.0.1 ===> Extracting for pcsc-lite-2.0.1 ===> Patching for pcsc-lite-2.0.1 => Applying pkgsrc patches for pcsc-lite-2.0.1 => 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-2.0.1 ===> Configuring for pcsc-lite-2.0.1 => 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... flex checking for lex output file root... lex.yy checking for lex library... none needed checking whether yytext is a pointer... yes checking pkg-config is at least version 0.9.0... yes 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 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 pthread_join using cc -pthread -lpthread -lrt... yes checking whether cc is Clang... no checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for pthread_cancel... yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... /bin/grep -F checking for ld used by cc... /home/pbulk/build/security/pcsc-lite/work/.cwrapper/bin/ld checking if the linker (/home/pbulk/build/security/pcsc-lite/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 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/security/pcsc-lite/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 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/security/pcsc-lite/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... no checking for sys/wait.h that is POSIX.1 compatible... yes checking for getopt.h... yes checking for sys/filio.h... no checking for syslog.h... yes checking for dl.h... no checking for fcntl.h... yes checking for alloca.h... yes checking for an ANSI C-conforming const... yes checking for uid_t in sys/types.h... yes checking for size_t... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for struct dirent.d_type... yes checking for error_at_line... yes checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for vprintf... yes checking for getopt_long... yes checking for nanosleep... yes checking for strerror... yes checking for vsnprintf... yes checking for getrandom... no checking for secure_getenv... yes checking for issetugid... no checking for working alloca.h... yes checking for alloca... yes checking for inline... inline checking for -fvisibility=hidden... yes checking for library containing dlopen... -ldl checking for socket in -lsocket... no checking for mq_getattr in -lrt... yes checking for libusb-1.0... yes checking for libusb.h... yes checking for libusb_init... yes checking for polkit-gobject-1 >= 0.111... yes PC/SC lite has been configured with following options: Version: 2.0.1 System binaries: /usr/pkg/sbin Configuration dir: /usr/pkg/etc/reader.conf.d Host: x86_64-redhat-linux-gnu Compiler: cc Preprocessor flags: -I${top_srcdir}/src -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include Compiler flags: -Wall -fno-common -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include Preprocessor flags: -I${top_srcdir}/src -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include Linker flags: -L/usr/pkg/gcc7/lib/gcc/x86_64-redhat-linux/7.5.0 -Wl,-R/usr/pkg/gcc7/lib/gcc/x86_64-redhat-linux/7.5.0 -L/usr/pkg/gcc7/lib64 -Wl,-R/usr/pkg/gcc7/lib64 -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib64 -Wl,-R/usr/lib64 Libraries: -ldl -lrt PTHREAD_CFLAGS: -pthread PTHREAD_LIBS: -lpthread -lrt PCSC_ARCH: Linux polkit support: yes polkit policy dir: /usr/pkg/share/polkit-1/actions libudev support: no libusb support: yes USB drop directory: /usr/pkg/lib/pcsc-lite/drivers ATR parsing messages: false ipcdir: /var/pcsc-lite use serial: yes use usb: yes use libsystemd: no systemd unit directory: serial config dir.: /usr/pkg/etc/reader.conf.d filter: yes documentation: yes PCSCLITE_FEATURES: Linux x86_64-redhat-linux-gnu serial usb libusb polkit usbdropdir=/usr/pkg/lib/pcsc-lite/drivers ipcdir=/var/pcsc-lite filter configdir=/usr/pkg/etc/reader.conf.d checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating doc/doxygen.conf config.status: creating doc/pcscd.8 config.status: creating doc/reader.conf.5 config.status: creating doc/example/Makefile config.status: creating etc/Makefile config.status: creating src/Makefile config.status: creating src/libpcsclite.pc config.status: creating src/pcscd.h config.status: creating src/PCSC/pcsclite.h config.status: creating src/spy/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands /bin/rm: cannot remove 'libtoolT': No such file or directory => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp