+ 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/ncftp3-3.2.7/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ncftp3-3.2.7/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for ncftp-3.2.7-src.tar.xz
=> Checksum SHA512 OK for ncftp-3.2.7-src.tar.xz
===> Installing dependencies for ncftp3-3.2.7
==========================================================================
The following variables will affect the build process of this package,
ncftp3-3.2.7.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses

Based on these variables, the following variables have been set:

        * CURSES_TYPE = ncurses

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 mktools-[0-9]*: found mktools-20220614
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency perl>=5.0: found perl-5.40.0nb1
=> 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 ncftp3-3.2.7
===> Extracting for ncftp3-3.2.7
===> Patching for ncftp3-3.2.7
=> Applying pkgsrc patches for ncftp3-3.2.7
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/ncftp3/patches/patch-configure
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/ncftp3/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.1 2017/07/08 22:27:36 adam Exp $
|
|On Darwin, properly detect system version.
|Do not try putting man-pages in better places.
|
|--- configure.orig	2016-12-04 18:54:11.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 1235 (offset 3 lines).
Hunk #2 succeeded at 12163 (offset 127 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/ncftp3/patches/patch-ncftp_main.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/ncftp3/patches/patch-ncftp_main.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ncftp_main.c,v 1.1 2024/01/10 18:01:55 adam Exp $
|
|Make ncftp build reproducible.
|https://bugs.debian.org/829249
|
|--- ncftp/main.c.orig	2016-11-16 00:29:47.000000000 +0000
|+++ ncftp/main.c
--------------------------
Patching file ncftp/main.c using Plan A...
Hunk #1 succeeded at 65.
Hunk #2 succeeded at 79.
done
===> Creating toolchain wrappers for ncftp3-3.2.7
===> Configuring for ncftp3-3.2.7
=> 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
creating cache ./config.cache
checking if you set and exported the environment variable CC... cc
checking for environment variable CFLAGS... -pipe -O2 -I/usr/pkg/include/ncurses
checking for environment variable CPPFLAGS... -I/usr/pkg/include/ncurses
checking for environment variable LDFLAGS... -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
checking for environment variable LIBS... 
checking for clang C compiler... /home/pbulk/build/net/ncftp3/work/.cwrapper/bin/clang
checking if CC should now be set... no
checking for gcc... cc
checking whether the C compiler (cc -pipe -O2 -I/usr/pkg/include/ncurses -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib) works... yes
checking whether the C compiler (cc -pipe -O2 -I/usr/pkg/include/ncurses -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking version of C library... glibc2.28
checking platform... linux-x86_64
chmod: changing permissions of 'sh/config.guess': Read-only file system
chmod: changing permissions of 'sh/config.sub': Read-only file system
checking if the C compiler can use precompiled headers... no
checking how to run the C preprocessor... /lib/cpp
checking the version of GCC... 8.5.0
checking if we should customize your CFLAGS environment variable... no
checking for ldd... yes
checking if compiled programs use a shared library version of libgcc... no
checking if this is a debug build... no
checking for unistd.h... yes
checking size of st_size field in struct stat... 8
checking size of off_t... 8
checking if we should add CFLAGS for LFS64 support... no
checking if we should add CFLAGS for reentrancy... -D_REENTRANT
checking for strip... strip
checking for object suffix... o
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... no
checking for ANSI C header files... yes
checking for arpa/nameser.h... yes
checking for gnu/libc-version.h... yes
checking for locale.h... yes
checking for net/errno.h... no
checking for nserve.h... no
checking for resolv.h... yes
checking for sgtty.h... yes
checking for string.h... yes
checking for strings.h... yes
checking for sys/id.h... no
checking for sys/ioctl.h... yes
checking for syslog.h... yes
checking for sys/sendfile.h... yes
checking for sys/socket.h... yes
checking for sys/time.h... yes
checking for sys/types.h... yes
checking for sys/utsname.h... yes
checking for sys/systeminfo.h... no
checking for termio.h... yes
checking for termios.h... yes
checking for time.h... yes
checking for utime.h... yes
checking for unistd.h... (cached) yes
checking for gnu/libc-version.h... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/un.h... yes
checking for UNIX domain sockets... yes
checking for sun_len field in struct sockaddr_un... no
checking for strerror... yes
checking for socket... yes
checking for gethostbyname... yes
checking if we need to look for a separate DNS resolver library... no
checking if SOCKS5 will be used... no
checking for curses library headers... checking for ncurses.h... no
checking for curses.h... no
checking for termios.h... (cached) yes
checking for termio.h... (cached) yes
checking for sgtty.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for curses library... yes
checking for working const... yes
checking for size_t... yes
checking for off_t... yes
checking for mode_t... yes
checking for pid_t... yes
checking for uid_t in sys/types.h... yes
checking what type main() should return... int
checking for 64-bit integral type: long long... yes
checking how to print a 64-bit integral type... %lld
checking how to scan a 64-bit integral type... %lld
checking if everything was available to use the 64-bit integral type... yes
checking what type the tv_sec field of struct timeval is... long long
checking what type the tv_usec field of struct timeval is... long long
checking for perl... /usr/pkg/bin/perl
checking for mktemp... /bin/mktemp
checking for return type from write... ssize_t
checking for size parameter to write... size_t
checking for return type from send... ssize_t
checking for size parameter to send... size_t
checking for size parameter to connect... socklen_t
checking for size parameter to setsockopt... socklen_t
checking for backlog parameter to listen... int
checking for seconds parameter to alarm... unsigned int
checking for address parameter to gethostbyaddr... const struct in_addr *
checking for size parameter to gethostname... size_t
checking for negative_control_t... no
checking for ssize_t... yes
checking for sa_family_t... yes
checking types of arguments for select()... int,fd_set *,struct timeval *
checking for struct stat64... not needed
checking for sig_atomic_t... yes
checking how to access getopt() global variables... automatic
checking for useable _res global variable... yes
checking for struct cmsghdr... yes
checking for msg_control field in struct msghdr... yes
checking for msg_accrights field in struct msghdr... no
checking for sys/time.h... (cached) yes
checking for getcwd... yes
checking for getwd... yes
checking for fstat64... yes
checking for getdomainname... yes
checking for gethostname... yes
checking for getpass... yes
checking for getpassphrase... no
checking for gnu_get_libc_release... yes
checking for gnu_get_libc_version... yes
checking for inet_aton... yes
checking for inet_ntop... yes
checking for llseek... no
checking for lseek64... yes
checking for lstat64... yes
checking for memmove... yes
checking for mktime... yes
checking for open64... yes
checking for pathconf... yes
checking for readlink... yes
checking for recvfile... no
checking for res_init... no
checking for sendfile... yes
checking for setlocale... yes
checking for setpgid... yes
checking for setpgrp... yes
checking for setsid... yes
checking for setvbuf... yes
checking for sigaction... yes
checking for sigsetjmp... no
checking for stat64... yes
checking for strcasecmp... yes
checking for strcoll... yes
checking for strdup... yes
checking for strerror... (cached) yes
checking for strncoll... no
checking for strstr... yes
checking for strtoq... yes
checking for symlink... yes
checking for sysconf... yes
checking for sysctl... yes
checking for sysinfo... yes
checking for syslog... yes
checking for tcgetattr... yes
checking for uname... yes
checking for waitpid... yes
checking for gethostbyaddr_r... yes
checking for gethostbyname_r... yes
checking for gethostbyname2_r... yes
checking for getlogin_r... yes
checking for getpwnam_r... yes
checking for _posix_getpwnam_r... no
checking for getpwuid_r... yes
checking for _posix_getpwuid_r... no
checking for getservbyname_r... yes
checking for getservbyport_r... yes
checking for gmtime_r... yes
checking for localtime_r... yes
checking for readdir_r... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking if snprintf works correctly... yes
checking what snprintf() returns... length of data written
checking for sigsetjmp and siglongjmp... yes
checking if setpgrp behavior needs to be checked... no
checking whether setvbuf behavior can be checked... yes
checking whether setvbuf arguments are reversed... no
checking for working alloca.h... yes
checking for alloca... yes
checking string parameter to waddstr... /tmp/configure.SVKxhucHfU/curses.c:19:11: fatal error: curses.h: No such file or directory
 # include <curses.h>
           ^~~~~~~~~~
compilation terminated.
const char *
checking whether curses structure has maxx or _maxx field... _maxx
checking for getcurx() functionality in curses library... yes
checking for getyx() functionality in curses library... yes
checking for getmaxx() functionality in curses library... yes
checking for getmaxyx() functionality in curses library... yes
checking for getbegx() functionality in curses library... yes
checking for getbegyx() functionality in curses library... yes
checking for touchwin() functionality in curses library... yes
checking for beep() functionality in curses library... yes
checking for keypad... yes
checking for nodelay... yes
checking for curs_set... yes
checking for doupdate... yes
checking for wnoutrefresh... yes
checking for long file names... yes
checking whether make sets ${MAKE}... yes
checking for gtar... /bin/tar
checking how to create TAR files... /bin/tar -c --owner=root --group=root --verbose -f
checking for ranlib... ranlib
checking for ar... ar
checking for a BSD compatible install... /bin/install -c -o pbulk -g pbulk
checking for pwd... /home/pbulk/build/net/ncftp3/work/.tools/bin/pwd
checking for ccdv... /home/pbulk/build/net/ncftp3/work/ncftp-3.2.7/ccdv
checking if shell can test for symlinks... yes
checking CC... cc
checking CFLAGS... -D_REENTRANT -pipe -O2 -I/usr/pkg/include/ncurses -Wno-format-y2k
checking CPPFLAGS... -I/home/pbulk/build/net/ncftp3/work/ncftp-3.2.7 -I/home/pbulk/build/net/ncftp3/work/ncftp-3.2.7/libncftp -I/home/pbulk/build/net/ncftp3/work/ncftp-3.2.7/sio -I/home/pbulk/build/net/ncftp3/work/ncftp-3.2.7/Strn -I/usr/pkg/include/ncurses
checking DEFS... 
checking NDEFS...  -DLINUX=58000 -DLINUX_GLIBC=22800
checking LDFLAGS... -L/home/pbulk/build/net/ncftp3/work/ncftp-3.2.7/libncftp -L/home/pbulk/build/net/ncftp3/work/ncftp-3.2.7/sio -L/home/pbulk/build/net/ncftp3/work/ncftp-3.2.7/Strn -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
checking LIBS... 
updating cache ./config.cache
creating ./config.status
creating Makefile
creating Makefile.bin
creating ncftp/Makefile
creating libncftp/Makefile
creating Strn/Makefile
creating sio/Makefile
creating sh_util/Makefile
creating vis/Makefile
creating config.h