+ 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/elk-3.99.8nb3/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/elk-3.99.8nb3/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum BLAKE2s OK for elk-3.99.8.tar.bz2
=> Checksum SHA512 OK for elk-3.99.8.tar.bz2
===> Installing dependencies for elk-3.99.8nb3
==========================================================================
The supported build options for elk are:

	motif xaw

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.elk (not defined)

==========================================================================
=> 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 cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency gdbm>=1.18.1: found gdbm-1.23
===> Overriding tools for elk-3.99.8nb3
===> Extracting for elk-3.99.8nb3
===> Patching for elk-3.99.8nb3
=> Applying pkgsrc patches for elk-3.99.8nb3
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/lang/elk/patches/patch-ab
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/lang/elk/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.7 2015/12/29 23:34:46 dholland Exp $
|
|Honor --without-xaw as configure argument.
|
|--- configure.orig	2011-06-18 15:08:11.000000000 +0400
|+++ configure	2012-01-22 19:22:24.000000000 +0400
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 17675.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/lang/elk/patches/patch-ac
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/lang/elk/patches/patch-ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ac,v 1.6 2015/12/29 23:34:46 dholland Exp $
|
|Don't declare own errno.
|
|--- src/io.c.orig	2006-01-09 22:17:25.000000000 +0000
|+++ src/io.c
--------------------------
Patching file src/io.c using Plan A...
Hunk #1 succeeded at 48.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/lang/elk/patches/patch-ad
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/lang/elk/patches/patch-ad
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ad,v 1.5 2015/12/29 23:34:46 dholland Exp $
|
|Don't declare own errno.
|
|--- src/libelk.c.orig	2003-12-05 12:38:37.000000000 +0000
|+++ src/libelk.c
--------------------------
Patching file src/libelk.c using Plan A...
Hunk #1 succeeded at 172.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/lang/elk/patches/patch-ae
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/lang/elk/patches/patch-ae
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ae,v 1.5 2015/12/29 23:34:46 dholland Exp $
|
|Don't declare own errno.
|
|--- src/print.c.orig	2006-01-09 22:23:12.000000000 +0000
|+++ src/print.c
--------------------------
Patching file src/print.c using Plan A...
Hunk #1 succeeded at 49.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/lang/elk/patches/patch-af
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/lang/elk/patches/patch-af
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-af,v 1.6 2015/12/29 23:34:46 dholland Exp $
|
|Don't declare own errno.
|
|--- lib/unix/unix.h.orig	2006-01-09 22:28:37.000000000 +0000
|+++ lib/unix/unix.h
--------------------------
Patching file lib/unix/unix.h using Plan A...
Hunk #1 succeeded at 46.
done
===> Creating toolchain wrappers for elk-3.99.8nb3
===> Configuring for elk-3.99.8nb3
=> 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 build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking target system type... x86_64-redhat-linux-gnu
checking for a BSD-compatible install... /bin/install -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /home/pbulk/build/lang/elk/work/.tools/bin/mkdir -p
checking for gawk... /bin/gawk
checking whether make sets $(MAKE)... yes
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 we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking whether cc understands -c and -o together... yes
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
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/lang/elk/work/.cwrapper/bin/ld
checking if the linker (/home/pbulk/build/lang/elk/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 whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
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/lang/elk/work/.cwrapper/bin/ld option to reload object files... -r
checking for x86_64-redhat-linux-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-redhat-linux-dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-redhat-linux-ar... no
checking for 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 x86_64-redhat-linux-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... cc -E
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 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/lang/elk/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 how to run the C++ preprocessor... c++ -E
checking for ld used by c++... /home/pbulk/build/lang/elk/work/.cwrapper/bin/ld -m elf_x86_64
checking if the linker (/home/pbulk/build/lang/elk/work/.cwrapper/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the c++ linker (/home/pbulk/build/lang/elk/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/lang/elk/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 ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for inttypes.h... (cached) yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/utime.h usability... no
checking sys/utime.h presence... no
checking for sys/utime.h... no
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for waitpid... yes
checking for wait3... yes
checking for wait4... yes
checking for vfork... yes
checking for uname... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for ftime... yes
checking for mktemp... yes
checking for tmpnam... yes
checking for tempnam... yes
checking for getcwd... yes
checking for getwd... yes
checking for rename... yes
checking for regcomp... yes
checking for environ... yes
checking for __environ in unistd.h... yes
checking for environ in unistd.h... yes
checking for vprintf... yes
checking for dirent... no
checking for random... yes
checking for index... yes
checking for unistd.h... (cached) yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking for getdtablesize... yes
checking for getpagesize... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for sigprocmask... yes
checking for sigblock... yes
checking for elf_begin in -lelf... no
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking for shl_load... no
checking for dld_link in -ldld... no
checking image.h usability... no
checking image.h presence... no
checking for image.h... no
checking for load_add_on... no
checking a.out.h usability... yes
checking a.out.h presence... yes
checking for a.out.h... yes
checking for dlfcn.h... (cached) yes
checking sys/dl.h usability... no
checking sys/dl.h presence... no
checking for sys/dl.h... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for atexit... yes
checking for fpurge... no
checking for BSD-style flushing... no
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking for termios.h... (cached) yes
checking for getrlimit... yes
checking for struct rlimit... yes
checking for mprotect... yes
checking for working alloca.h... yes
checking for alloca... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking if $CXX really works... yes
checking if $CC accepts -Wall... yes
checking if $CC accepts -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wmissing-prototypes -Wnested-externs -Wsign-compare... yes
checking for gdbm_open in -lgdbm... yes
checking for X... disabled
checking for XOpenDisplay in -lX11... no
checking for XtFree in -lXt... no
checking for XawTextSearch in -lXaw... no
checking for XmStringConcat in -lXm... no
checking for gawk... (cached) /bin/gawk
checking for groff -ms... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating doc/bitstring/Makefile
config.status: creating doc/cprog/Makefile
config.status: creating doc/kernel/Makefile
config.status: creating doc/man/Makefile
config.status: creating doc/oops/Makefile
config.status: creating doc/record/Makefile
config.status: creating doc/regexp/Makefile
config.status: creating doc/unix/Makefile
config.status: creating doc/usenix/Makefile
config.status: creating doc/util/Makefile
config.status: creating doc/xlib/Makefile
config.status: creating doc/xt/Makefile
config.status: creating examples/Makefile
config.status: creating include/Makefile
config.status: creating lib/Makefile
config.status: creating lib/misc/Makefile
config.status: creating lib/unix/Makefile
config.status: creating lib/xlib/Makefile
config.status: creating lib/xwidgets/Makefile
config.status: creating lib/xwidgets/xaw/Makefile
config.status: creating lib/xwidgets/motif/Makefile
config.status: creating scm/Makefile
config.status: creating src/Makefile
config.status: creating test/Makefile
config.status: creating scm/slib.scm
config.status: creating include/site.h
config.status: creating test/check-gc
config.status: creating test/check-gc2
config.status: creating test/check-r4rs
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

Elk configuration summary
-------------------------
build C++ plugins: yes
libgdbm support: yes
X11 support: no
Xaw support: no
Motif support: no
build documentation: no
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp