+ 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/cdk-5.0.20240619nb1/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/cdk-5.0.20240619nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for cdk-5.0-20240619.tgz
=> Checksum SHA512 OK for cdk-5.0-20240619.tgz
===> Installing dependencies for cdk-5.0.20240619nb1
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency ncurses>=6.5: found ncurses-6.5
===> Overriding tools for cdk-5.0.20240619nb1
===> Extracting for cdk-5.0.20240619nb1
===> Patching for cdk-5.0.20240619nb1
===> Creating toolchain wrappers for cdk-5.0.20240619nb1
===> Configuring for cdk-5.0.20240619nb1
=> 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 build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
Configuring for linux-gnu
checking for package version... 5.0
checking for package patch date... 20240619
checking for x86_64-redhat-linux-gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix... 
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking version of cc... 8.5.0
checking if this is really Intel C compiler... no
checking if this is really Clang C compiler... no
checking for cc option to accept ANSI C... none needed
checking $CFLAGS variable... broken
configure: WARNING: your environment uses the CFLAGS variable to hold CPPFLAGS options
checking $CC variable... ok
checking for ggrep... /bin/grep
checking for egrep... (cached) /bin/grep -E
checking how to run the C preprocessor... cc -E
checking for x86_64-redhat-linux-ranlib... no
checking for ranlib... ranlib
checking for a BSD compatible install... /bin/install -c -o pbulk -g pbulk
checking whether ln -s works... yes
checking if ln -s -f options work... yes
checking for lint... no
checking for cppcheck... no
checking for splint... no
checking for x86_64-redhat-linux-ar... no
checking for ar... ar
checking whether make sets ${MAKE}... yes
checking for fgrep... /bin/grep -F
checking for makeflags variable... 
checking for ".PHONY" make-support... yes
checking if filesystem supports mixed-case filenames... yes
checking for exctags... no
checking for ctags... no
checking for exetags... no
checking for etags... no
checking for ctags... no
checking for etags... no
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 whether exit is declared... yes
checking if the POSIX test-macros are already defined... no
checking if this is the GNU C library... yes
checking if _DEFAULT_SOURCE can be used as a basis... yes
checking if _XOPEN_SOURCE=500 works with _DEFAULT_SOURCE... yes
checking if _XOPEN_SOURCE really is set... yes
checking if you want to see long compiling messages... yes
checking for specific curses-directory... no
checking if you want to use C11 _Noreturn feature... no
checking if you want to turn on gcc warnings... no
checking if you want to use pkg-config... yes
checking for x86_64-redhat-linux-pkg-config... /home/pbulk/build/devel/cdk/work/.tools/bin/pkg-config
checking for /home/pbulk/build/devel/cdk/work/.tools/bin/pkg-config library directory... checking for first directory... /home/pbulk/build/devel/cdk/work/.buildlink/lib/pkgconfig
checking if we should install .pc files for /home/pbulk/build/devel/cdk/work/.tools/bin/pkg-config... no
checking if rpath option should be used... no
checking if rpath-hack should be disabled... no
checking for updated LDFLAGS... no
checking for x86_64-redhat-linux-readelf... no
checking for readelf... /bin/readelf
checking if -fPIC option is needed in CFLAGS... yes
checking if libtool -version-number should be used... yes
checking if you want to build libraries with libtool... no
checking if you want to build shared libraries... no
checking if you want to use dmalloc for testing... no
checking if you want to use dbmalloc for testing... no
checking if you want to use valgrind for testing... no
checking if you want to perform memory-leak testing... no
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for limits.h... yes
checking for pwd.h... yes
checking for grp.h... yes
checking for mode_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for extra include directories... no
checking if we have identified curses headers... ncurses.h
checking for ncurses.h... yes
checking for terminfo header... term.h
checking for chtype typedef... yes
checking if chtype is scalar or struct... scalar
checking for unistd.h... (cached) yes
checking for getopt.h... yes
checking for header declaring getopt variables... unistd.h
checking for getcwd... yes
checking for mktime... yes
checking for strdup... yes
checking for strerror... yes
checking for getlogin... yes
checking for sleep... yes
checking for lstat... yes 
checking for wordexp... yes
checking for setlocale()... yes
checking for specific curses-directory... no
checking for specified curses library type... curses
checking for extra include directories... (cached) no
checking if we have identified curses headers... (cached) ncurses.h
checking for ncurses.h... (cached) yes
checking for terminfo header... (cached) term.h
checking for ncurses version... 6.5.20240427
checking if we have identified curses libraries... no
checking for tgoto... no
checking for tgoto in -lncurses... yes
checking if we can link with ncurses library... yes
checking for _nc_init_pthreads in -lncurses... no
checking for XXX-config rootname... cdk
checking if cdk.h should be in header subdirectory... no
checking for header subdirectory... cdk
checking for library name... cdk
checking if improved const-typing should be used... no
checking definition to turn on extended curses functions... _XOPEN_SOURCE_EXTENDED
checking for term.h... (cached) term.h
checking for unctrl.h... unctrl.h
checking for Xinitscr... no
checking for getbegx... yes
checking for getbegy... yes
checking for getmaxx... yes
checking for getmaxy... yes
checking for mvwin... yes
checking for start_color... yes
checking how to define setbegyx... "ERR"
checking for linker search path... /usr/lib64 /lib64 /lib /usr/lib
configure: creating ./config.status
config.status: creating cdk-config
config.status: creating gen-pkgconfig
config.status: creating headers
config.status: creating include/cdk_version.h
config.status: creating Makefile
config.status: creating cli/Makefile
config.status: creating examples/Makefile
config.status: creating demos/Makefile
config.status: creating include/cdk_config.h
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp